/*
Theme Name: 天辅考研
Theme URI: https://example.com
Author: 天辅考研
Description: 考研一站式备考服务平台 WordPress 主题
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lingwenwendu
*/

/* =========================================
   Base Variables
   ========================================= */
:root {
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-muted: #888888;
  --color-border: #e8e8e8;
  --color-active: #007bff;
  --color-footer-bg: #2b2b2b;
  --color-footer-text: #ffffff;
  --color-footer-muted: #b0b0b0;
  --container-max: 1200px;
  --font-stack: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.site-header--home {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #ffffff;
  border-bottom: 1px solid #eef0f3;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header--home.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 30, 60, 0.08);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.brand-logo {
  width: 208px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-text);
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
  color: var(--color-active);
  border-bottom-color: rgba(0, 123, 255, 0.35);
}

.nav-menu a.is-active {
  color: var(--color-active);
  border-bottom-color: var(--color-active);
  font-weight: 500;
}

/* =========================================
   Hero Carousel
   ========================================= */
.hero {
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 500px;
  position: relative;
}

.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1920px 500px;
  min-height: 500px;
}

.hero-slide-bg1 {
  background-image: url('./img/banner1.png');
}

.hero-slide-bg2 {
  background-image: url('./img/banner2.png');
}

.hero-slide-bg3 {
  background-image: url('./img/banner3.png');
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(320px, 52vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255, 214, 102, 0.2) 0%, transparent 42%),
    linear-gradient(125deg, #0b6efd 0%, #0056d6 45%, #003f9e 100%);
}

.hero-slide--2 .hero-slide-bg {
  background: radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #0061ff 0%, #0046c7 50%, #003399 100%);
}

.hero-slide--3 .hero-slide-bg {
  background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16) 0%, transparent 38%),
    linear-gradient(120deg, #0a58ca 0%, #0b6efd 55%, #17a2b8 120%);
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.06) 0deg 8deg,
      transparent 8deg 16deg);
  pointer-events: none;
}

.hero-slide-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 56px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hero-title-accent {
  color: #ffe066;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.hero-sub {
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================
   Sections
   ========================================= */
.section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head--brush {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-head--brush .section-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 28px;
}

.section-head--brush::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: min(360px, 78%);
  height: 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 123, 255, 0) 0%, rgba(0, 123, 255, 0.18) 35%, rgba(0, 123, 255, 0.22) 50%, rgba(0, 123, 255, 0.18) 65%, rgba(0, 123, 255, 0) 100%);
  filter: blur(0.5px);
  z-index: 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #1a1a1a;
}

.section-title img {
  width: 369px;
  height: 60px;
  max-width: 100%;
}

/* =========================================
   Course Cards
   ========================================= */
.section--courses {
  background: #e9f5ff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(15, 30, 60, 0.05);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.16),
      transparent 55%);
  transition: opacity 0.35s ease;
}

.course-card[data-tone="orange"]::after {
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(253, 126, 20, 0.18),
      transparent 55%);
}

.course-card.is-hover-lift {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 30, 60, 0.12);
  border-color: rgba(0, 123, 255, 0.22);
}

.course-card[data-tone="orange"].is-hover-lift {
  border-color: rgba(253, 126, 20, 0.28);
}

.course-card.is-hover-lift::after {
  opacity: 1;
}

.course-card-head {
  padding: 0;
  color: #ffffff;
  width: 276px;
  height: 97px;
  position: absolute;
  top: -24px;
}

.course-card--blue .course-card-head {
  background: url('./img/block-1-1.png') no-repeat;
  background-size: 276px 97px;
}

.course-card--orange .course-card-head {
  background: url('./img/block-1-3.png') no-repeat;
  background-size: 276px 97px;
}

.course-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 14px;
}

.course-card-body {
  padding: 78px 18px 20px 18px;
  text-align: center;
}

.course-card-list {
  margin: 0 0 16px;
  color: #444444;
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0;
  height: 140px;
  text-align: left;
}

.course-card-list li {
  margin-bottom: 0.45em;
}

.course-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.blue-icon {
  background: url('./img/block-1-4.png') no-repeat center;
  background-size: 15px 16px;
  display: inline-block;
  width: 15px;
  height: 16px;
}

.orange-icon {
  background: url('./img/block-1-5.png') no-repeat center;
  background-size: 15px 16px;
  display: inline-block;
  width: 15px;
  height: 16px;
}

.course-card-btn--blue {
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.45);
  background: rgba(0, 123, 255, 0.06);
}

.course-card-btn--orange {
  color: #fd7e14;
  border-color: rgba(253, 126, 20, 0.55);
  background: rgba(253, 126, 20, 0.06);
}

.course-card-btn:hover .blue-icon,
.course-card-btn:hover .orange-icon {
  transform: translateX(3px);
}

/* =========================================
   Faculty Section
   ========================================= */
.section--faculty {
  background: #f8fbff;
  padding-bottom: 64px;
}

.faculty-wrap {
  position: relative;
}

.faculty-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: stretch;
}

.faculty-intro {
  --gx: 50%;
  --gy: 35%;
  position: relative;
  border-radius: 12px;
  padding: 24px 22px;
  color: #ffffff;
  background: linear-gradient(160deg, #0b6efd 0%, #0056d6 55%, #0041a8 100%);
  box-shadow: 0 14px 36px rgba(0, 86, 214, 0.28);
  overflow: hidden;
}

.faculty-intro::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.35), transparent 55%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.faculty-intro.is-glow::before {
  opacity: 0.55;
}

.faculty-intro-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 800;
}

.faculty-intro-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.faculty-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.faculty-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.faculty-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.faculty-carousel.faculty-swiper {
  width: 1200px;
  max-width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  height: 450px;
}

.faculty-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.faculty-card {
  width: 280px;
  position: relative;
  height: 490px;
  overflow: hidden;
}

.faculty-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(280px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.18),
      transparent 60%);
  transition: opacity 0.35s ease;
}

.faculty-card.is-hover-lift::after {
  opacity: 1;
}

.faculty-photo-wrap {
  position: relative;
  background: url(./img/block-2-bg.png) no-repeat center;
  background-size: 280px auto;
}

.faculty-bt {
  position: absolute;
  left: 0;
  bottom: 40px;
}

.faculty-bt i {
  width: 74px;
  height: 52px;
  background: url(./img/block-2-sz-bg.png) no-repeat center;
  background-size: 74px 53px;
  display: block;
  font-style: normal;
  color: #fff;
  text-align: center;
  padding-top: 3px;
  font-weight: bold;
  font-size: 16px;
}

.faculty-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 385;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faculty-tag-con {
  background-color: #fff;
  border-radius: 12px;
  margin-top: -20px;
  padding-bottom: 20px;
  padding-top: 20px;
  width: 280px;
}

.faculty-tag {
  display: inline-block;
  padding: 2px 15px;
  font-size: 20px;
  line-height: 20px;
  border-left: solid 3px #1774fc;
  font-weight: 700;
}

.faculty-bio {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.55;
  padding-left: 20px;
}

.faculty-card-hidden {
  background: linear-gradient(0deg, #0b6efd 0%, #0056d6 100%);
  position: absolute;
  left: 0;
  top: 500px;
  right: 0;
  padding: 10px;
  height: 450px;
  z-index: 2;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: top 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.faculty-card:hover .faculty-card-hidden {
  top: 0px;
  opacity: 1;
  visibility: visible;
}

.faculty-card-hidden strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.faculty-card-hidden p {
  display: block;
  font-size: 14px;
  color: #fff;
  padding: 7px 0;
  margin: 0;
}

.faculty-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #0b6efd;
  background: rgba(11, 110, 253, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.faculty-nav:hover {
  background: rgba(11, 110, 253, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 110, 253, 0.18);
}

.faculty-nav:active {
  transform: translateY(0);
}

.faculty-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================================
   Services Section
   ========================================= */
.section--services {
  position: relative;
  padding: 56px 0 64px;
  color: #ffffff;
}

.services-bg {
  position: absolute;
  inset: 0;
  background: url("./img/block-3-bg.png") center no-repeat;
  background-size: 100% 787px;
  opacity: 1;
}

.services-inner {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-tile {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-tile.is-tile-active {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.service-tile-media {
  position: relative;
  overflow: hidden;
}

.service-tile-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-tile.is-tile-active .service-tile-media img {
  transform: scale(1.07);
}

.service-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 50, 0) 35%, rgba(6, 20, 50, 0.55) 100%);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.service-tile.is-tile-active .service-tile-shade {
  opacity: 0.72;
}

.service-tile-cap {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-tile-cap strong {
  font-size: 0.95rem;
}

.service-tile-cap span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

/* =========================================
   Campus Section
   ========================================= */
.section--campus {
  background: #eef7ff;
}

.campus-panel {
  padding-bottom: 18px;
}

.campus-panel.is-active {
  display: block;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.campus-card {
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  row-gap: 8px;
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid #e6edf7;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 30, 60, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}

.campus-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.14),
      transparent 60%);
  transition: opacity 0.35s ease;
}

.campus-card.is-hover-lift {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 30, 60, 0.1);
  border-color: rgba(0, 123, 255, 0.22);
}

.campus-card.is-hover-lift::after {
  opacity: 1;
}

.campus-card--featured {
  grid-column: 1 / 2;
  background: linear-gradient(145deg, #0b6efd 0%, #0056d6 100%);
  border-color: rgba(0, 86, 214, 0.35);
  color: #ffffff;
}

.campus-card--featured .campus-name {
  color: #ffffff;
}

.campus-card--featured .campus-line {
  color: rgba(255, 255, 255, 0.92);
}

.campus-card--featured .icon--line {
  color: rgba(255, 255, 255, 0.9);
}

.campus-card--featured .campus-qr {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.campus-name {
  grid-column: 1 / 3;
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: #333;
  border-bottom: solid 1px #bfeafa;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.campus-line {
  grid-column: 1 / 2;
  margin: 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.55;
}

.icon-lc {
  display: block;
  background: url(./img/block-4-1.png) no-repeat center;
  background-size: 16px 20px;
  width: 40px;
  height: 20px;
}

.campus-qr {
  grid-row: 2 / span 3;
  grid-column: 2 / 3;
  align-self: start;
  width: 84px;
  height: 84px;
  border-radius: 6px;
  border: 1px dashed rgba(0, 123, 255, 0.35);
  background: repeating-linear-gradient(45deg,
      #f3f6fb,
      #f3f6fb 6px,
      #e9eef5 6px,
      #e9eef5 12px);
}

.campus-dots {
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  display: none;
}

.campus-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: rgba(0, 123, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.campus-dot.is-active {
  background: #007bff;
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* =========================================
   News Section
   ========================================= */
.section--news {
  background: #fff;
}

.news-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 1200px;
  overflow: hidden;
}

.news-list li {
  margin-bottom: 10px;
  width: 33%;
  float: left;
}

.news-list a {
  color: #333333;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.news-list a:hover {
  color: #007bff;
  padding-left: 4px;
}

/* =========================================
   About Page
   ========================================= */
.page-about .nav-menu a {
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
}

.page-about .nav-menu a:hover {
  border-bottom-color: rgba(0, 123, 255, 0.35);
}

.page-about .nav-menu a.is-active {
  border-bottom-color: var(--color-active, #007bff);
}

.about-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
}

.about-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./img/about-banner.png") center/cover no-repeat;
  background-size: 100% 450px;
  pointer-events: none;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 85, 0.15);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px;
  max-width: 900px;
}

.about-hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.about-hero-title::after {
  content: "";
  display: block;
  width: 148px;
  height: 4px;
  margin: 10px auto 0;
  background: #fff;
  box-shadow: 2px 2px 2px #999;
}

.about-hero-lead {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}

.about-intro {
  background: #eef7ff;
  padding: 40px 0 70px;
}

.about-intro-heading {
  margin: 0 0 70px;
  text-align: center;
  font-size: clamp(1.375rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111111;
}

.about-intro-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 40px 160px 48px 40px;
  overflow: visible;
  max-width: 800px;
  position: relative;
}

.about-intro-title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  color: #111111;
}

.about-intro-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px 0 0;
  background: var(--color-active);
}

.about-intro-subtitle {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111111;
}

.about-intro-text p {
  margin: 0 0 1.15em;
  font-size: 0.9375rem;
  text-align: justify;
  color: #333333;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-media {
  position: absolute;
  top: -40px;
  right: -352px;
}

.about-intro-image {
  width: 100%;
  max-width: 440px;
  min-height: 360px;
}

/* =========================================
   News Page
   ========================================= */
.news-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 48px;
}

.news-page .container.news-list-section {
  width: 100%;
  max-width: 1200px;
}

.news-list-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.news-page .news-list {
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.news-page .news-list li {
  width: 100%;
  float: none;
  margin-bottom: 0;
}

.news-page .news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 0;
  transition: background 0.2s;
}

.news-page .news-item:last-child {
  border-bottom: none;
}

.news-page .news-item:hover {
  background: #f8faff;
}

.news-page .news-date {
  min-width: 170px;
  text-align: center;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-page .news-day {
  display: inline;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1;
  margin-right: 10px;
}

.news-page .news-date-separator {
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
}

.news-page .news-month {
  display: block;
  font-size: 1rem;
  margin-top: 2px;
  color: #888;
}

.news-page .news-year {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-top: 2px;
}

.news-page .news-content {
  flex: 1;
  border-left: 1px solid #e8e8e8;
  padding-left: 50px;
}

.news-page .news-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.news-page .news-title:hover {
  color: #0056b3;
  text-decoration: underline;
}

.news-page .news-desc {
  margin: 8px 0 0 0;
  color: #555;
  font-size: 1rem;
}

.news-page .news-link {
  display: block;
  margin-top: 12px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

/* =========================================
   Pagination
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  border-color: #007bff;
  color: #007bff;
  background: rgba(0, 123, 255, 0.04);
}

.pagination .page-numbers.current {
  background: #007bff;
  border-color: #007bff;
  color: #ffffff;
  font-weight: 600;
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #888888;
  cursor: default;
}

.pagination .page-numbers.dots:hover {
  background: transparent;
  border-color: #e8e8e8;
  color: #888888;
}

.pagination .prev,
.pagination .next {
  padding: 0 16px;
  font-size: 0.875rem;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: rgba(0, 123, 255, 0.08);
}

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   Article Page
   ========================================= */
.article-page {
  padding: 48px 0 64px;
}

.article-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.article-meta {
  margin: 0 0 32px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.article-body p {
  margin: 0 0 1.25em;
  font-size: 1rem;
  text-align: left;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-figure {
  margin: 32px 0;
  padding: 0;
}

.article-figure--inline {
  margin: 28px 0 36px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  gap: 40px 48px;
  padding-bottom: 40px;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  color: var(--color-footer-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: center;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: repeating-linear-gradient(
    45deg,
    #3a3a3a,
    #3a3a3a 8px,
    #4a4a4a 8px,
    #4a4a4a 16px
  );
  border: 1px solid #555555;
  border-radius: 4px;
}

.qr-label {
  font-size: 0.8125rem;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding: 24px 0 32px;
}

.footer-legal {
  text-align: center;
}

.footer-legal p {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--color-footer-muted);
  line-height: 1.6;
}

.footer-legal span {
  padding: 0 10px;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
  .faculty-swiper {
    height: auto;
  }

  .faculty-card {
    height: auto;
  }

  .faculty-card-hidden {
    display: none;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faculty-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .campus-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-card {
    padding: 24px 20px;
  }

  .about-intro-media {
    position: static;
    margin-top: 24px;
  }

  .news-content {
    padding-left: 20px;
  }
}
/*
Theme Name: 天辅考研
Theme URI: https://example.com
Author: 天辅考研
Description: 考研一站式备考服务平台 WordPress 主题
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lingwenwendu
*/

/* =========================================
   Base Variables
   ========================================= */
:root {
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-muted: #888888;
  --color-border: #e8e8e8;
  --color-active: #007bff;
  --color-footer-bg: #2b2b2b;
  --color-footer-text: #ffffff;
  --color-footer-muted: #b0b0b0;
  --container-max: 1200px;
  --font-stack: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.site-header--home {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #ffffff;
  border-bottom: 1px solid #eef0f3;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header--home.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 30, 60, 0.08);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.brand-logo {
  width: 208px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-text);
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
  color: var(--color-active);
  border-bottom-color: rgba(0, 123, 255, 0.35);
}

.nav-menu a.is-active {
  color: var(--color-active);
  border-bottom-color: var(--color-active);
  font-weight: 500;
}

/* =========================================
   Hero Carousel
   ========================================= */
.hero {
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 500px;
  position: relative;
}

.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1920px 500px;
  min-height: 500px;
}

.hero-slide-bg1 {
  background-image: url('./img/banner1.png');
}

.hero-slide-bg2 {
  background-image: url('./img/banner2.png');
}

.hero-slide-bg3 {
  background-image: url('./img/banner3.png');
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(320px, 52vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255, 214, 102, 0.2) 0%, transparent 42%),
    linear-gradient(125deg, #0b6efd 0%, #0056d6 45%, #003f9e 100%);
}

.hero-slide--2 .hero-slide-bg {
  background: radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #0061ff 0%, #0046c7 50%, #003399 100%);
}

.hero-slide--3 .hero-slide-bg {
  background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16) 0%, transparent 38%),
    linear-gradient(120deg, #0a58ca 0%, #0b6efd 55%, #17a2b8 120%);
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.06) 0deg 8deg,
      transparent 8deg 16deg);
  pointer-events: none;
}

.hero-slide-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 56px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hero-title-accent {
  color: #ffe066;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.hero-sub {
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================
   Sections
   ========================================= */
.section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head--brush {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-head--brush .section-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 28px;
}

.section-head--brush::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: min(360px, 78%);
  height: 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 123, 255, 0) 0%, rgba(0, 123, 255, 0.18) 35%, rgba(0, 123, 255, 0.22) 50%, rgba(0, 123, 255, 0.18) 65%, rgba(0, 123, 255, 0) 100%);
  filter: blur(0.5px);
  z-index: 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #1a1a1a;
}

.section-title img {
  width: 369px;
  height: 60px;
  max-width: 100%;
}

/* =========================================
   Course Cards
   ========================================= */
.section--courses {
  background: #e9f5ff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(15, 30, 60, 0.05);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.16),
      transparent 55%);
  transition: opacity 0.35s ease;
}

.course-card[data-tone="orange"]::after {
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(253, 126, 20, 0.18),
      transparent 55%);
}

.course-card.is-hover-lift {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 30, 60, 0.12);
  border-color: rgba(0, 123, 255, 0.22);
}

.course-card[data-tone="orange"].is-hover-lift {
  border-color: rgba(253, 126, 20, 0.28);
}

.course-card.is-hover-lift::after {
  opacity: 1;
}

.course-card-head {
  padding: 0;
  color: #ffffff;
  width: 276px;
  height: 97px;
  position: absolute;
  top: -24px;
}

.course-card--blue .course-card-head {
  background: url('./img/block-1-1.png') no-repeat;
  background-size: 276px 97px;
}

.course-card--orange .course-card-head {
  background: url('./img/block-1-3.png') no-repeat;
  background-size: 276px 97px;
}

.course-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 14px;
}

.course-card-body {
  padding: 78px 18px 20px 18px;
  text-align: center;
}

.course-card-list {
  margin: 0 0 16px;
  color: #444444;
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0;
  height: 140px;
  text-align: left;
}

.course-card-list li {
  margin-bottom: 0.45em;
}

.course-card-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.course-card-btn img{
  display: none;
    width: 115px;
    height: 115px;
    position: absolute;
    top: -74px;
    left: -6px;
    z-index: 111;
}
a.course-card-btn:hover img{
  display: block;
}

.course-card-btn .icon {
  display:inline-block;
  width: 15px;
  height: 16px;
}

.blue-icon {
  background: url('./img/block-1-4.png') no-repeat center;
  background-size: 15px 16px;
}

.orange-icon {
  background: url('./img/block-1-5.png') no-repeat center;
  background-size: 15px 16px;
}

.course-card-btn--blue {
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.45);
  background: rgba(0, 123, 255, 0.06);
}

.course-card-btn--blue:hover {
  /* background: url('./img/block-1-5.png') no-repeat center #007bff;
  color: #ffffff;
  border-color: #007bff; */
}

.course-card-btn--orange {
  color: #fd7e14;
  border-color: rgba(253, 126, 20, 0.55);
  background: rgba(253, 126, 20, 0.06);
}

.course-card-btn--orange:hover {
  /* background: #fd7e14;
  color: #ffffff;
  border-color: #fd7e14; */
}

.course-card-btn:hover .icon {
  transform: translateX(3px);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(15, 30, 60, 0.05);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.16),
      transparent 55%);
  transition: opacity 0.35s ease;
}

.course-card[data-tone="orange"]::after {
  background: radial-gradient(420px circle at var(--glow-x) var(--glow-y),
      rgba(253, 126, 20, 0.18),
      transparent 55%);
}

.course-card.is-hover-lift {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 30, 60, 0.12);
  border-color: rgba(0, 123, 255, 0.22);
}

.course-card[data-tone="orange"].is-hover-lift {
  border-color: rgba(253, 126, 20, 0.28);
}

.course-card.is-hover-lift::after {
  opacity: 1;
}

.course-card-head {
  padding: 0;
  color: #ffffff;
  width: 276px;
  height: 97px;
  position: absolute;
  top: -24px;
}

.course-card--blue .course-card-head {
  background: url('./img/block-1-1.png') no-repeat;
  background-size: 276px 97px;
}

.course-card--orange .course-card-head {
  background: url('./img/block-1-3.png') no-repeat;
  background-size: 276px 97px;
}

.course-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 14px;
}

.course-card-body {
  padding: 78px 18px 20px 18px;
  text-align: center;
}

.course-card-list {
  margin: 0 0 16px;
  color: #444444;
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0;
  height: 140px;
  text-align: left;
}

.course-card-list li {
  margin-bottom: 0.45em;
}

.course-card-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.course-card-btn img{
  display: none;
    width: 115px;
    height: 115px;
    position: absolute;
    top: -74px;
    left: -6px;
    z-index: 111;
}
a.course-card-btn:hover img{
  display: block;
}

.course-card-btn .icon {
  display:inline-block;
  width: 15px;
  height: 16px;
}

.blue-icon {
  background: url('./img/block-1-4.png') no-repeat center;
  background-size: 15px 16px;
}

.orange-icon {
  background: url('./img/block-1-5.png') no-repeat center;
  background-size: 15px 16px;
}

.course-card-btn--blue {
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.45);
  background: rgba(0, 123, 255, 0.06);
}

.course-card-btn--blue:hover {
  /* background: url('./img/block-1-5.png') no-repeat center #007bff;
  color: #ffffff;
  border-color: #007bff; */
}

.course-card-btn--orange {
  color: #fd7e14;
  border-color: rgba(253, 126, 20, 0.55);
  background: rgba(253, 126, 20, 0.06);
}

.course-card-btn--orange:hover {
  /* background: #fd7e14;
  color: #ffffff;
  border-color: #fd7e14; */
}

.course-card-btn:hover .icon {
  transform: translateX(3px);
}

/* =========================================
   Faculty Section
   ========================================= */
.section--faculty {
  background: #f8fbff;
  padding-bottom: 64px;
}

.faculty-wrap {
  position: relative;
}

.faculty-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: stretch;
}

.faculty-intro {
  --gx: 50%;
  --gy: 35%;
  position: relative;
  border-radius: 12px;
  padding: 24px 22px;
  color: #ffffff;
  background: linear-gradient(160deg, #0b6efd 0%, #0056d6 55%, #0041a8 100%);
  box-shadow: 0 14px 36px rgba(0, 86, 214, 0.28);
  overflow: hidden;
}

.faculty-intro::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.35), transparent 55%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.faculty-intro.is-glow::before {
  opacity: 0.55;
}

.faculty-intro-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 800;
}

.faculty-intro-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.faculty-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.faculty-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.faculty-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.faculty-carousel.faculty-swiper {
  width: 1200px;
  max-width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  height: 450px;
}

.faculty-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.faculty-card {
  width: 280px;
  position: relative;
  height: 490px;
  overflow: hidden;
}

.faculty-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(280px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.18),
      transparent 60%);
  transition: opacity 0.35s ease;
}

.faculty-card.is-hover-lift::after {
  opacity: 1;
}

.faculty-photo-wrap {
  position: relative;
  background: url(./img/block-2-bg.png) no-repeat center;
  background-size: 280px auto;
}

.faculty-bt {
  position: absolute;
  left: 0;
  bottom: 40px;
}

.faculty-bt i {
  width: 74px;
  height: 52px;
  background: url(./img/block-2-sz-bg.png) no-repeat center;
  background-size: 74px 53px;
  display: block;
  font-style: normal;
  color: #fff;
  text-align: center;
  padding-top: 3px;
  font-weight: bold;
  font-size: 16px;
}

.faculty-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 385;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faculty-tag-con {
  background-color: #fff;
  border-radius: 12px;
  margin-top: -20px;
  padding-bottom: 20px;
  padding-top: 20px;
  width: 280px;
}

.faculty-tag {
  display: inline-block;
  padding: 2px 15px;
  font-size: 20px;
  line-height: 20px;
  border-left: solid 3px #1774fc;
  font-weight: 700;
}

.faculty-bio {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.55;
  padding-left: 20px;
}

.faculty-card-hidden {
  background: linear-gradient(0deg, #0b6efd 0%, #0056d6 100%);
  position: absolute;
  left: 0;
  top: 500px;
  right: 0;
  padding: 10px;
  height: 450px;
  z-index: 2;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: top 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.faculty-card:hover .faculty-card-hidden {
  top: 0px;
  opacity: 1;
  visibility: visible;
}

.faculty-card-hidden strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.faculty-card-hidden p {
  display: block;
  font-size: 14px;
  color: #fff;
  padding: 7px 0;
  margin: 0;
}

.faculty-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #0b6efd;
  background: rgba(11, 110, 253, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.faculty-nav:hover {
  background: rgba(11, 110, 253, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 110, 253, 0.18);
}

.faculty-nav:active {
  transform: translateY(0);
}

.faculty-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================================
   Services Section
   ========================================= */
.section--services {
  position: relative;
  padding: 56px 0 64px;
  color: #ffffff;
}

.services-bg {
  position: absolute;
  inset: 0;
  background: url("./img/block-3-bg.png") center no-repeat;
  background-size: 100% 787px;
  opacity: 1;
}

.services-inner {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-tile {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-tile.is-tile-active {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.service-tile-media {
  position: relative;
  overflow: hidden;
}

.service-tile-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-tile.is-tile-active .service-tile-media img {
  transform: scale(1.07);
}

.service-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 50, 0) 35%, rgba(6, 20, 50, 0.55) 100%);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.service-tile.is-tile-active .service-tile-shade {
  opacity: 0.72;
}

.service-tile-cap {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-tile-cap strong {
  font-size: 0.95rem;
}

.service-tile-cap span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

/* =========================================
   Campus Section
   ========================================= */
.section--campus {
  background: #eef7ff;
}

.campus-panel {
  padding-bottom: 18px;
}

.campus-panel.is-active {
  display: block;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.campus-card {
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  row-gap: 8px;
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid #e6edf7;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 30, 60, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}

.campus-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--glow-x) var(--glow-y),
      rgba(0, 123, 255, 0.14),
      transparent 60%);
  transition: opacity 0.35s ease;
}

.campus-card.is-hover-lift {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 30, 60, 0.1);
  border-color: rgba(0, 123, 255, 0.22);
}

.campus-card.is-hover-lift::after {
  opacity: 1;
}

.campus-card--featured {
  grid-column: 1 / 2;
  background: linear-gradient(145deg, #0b6efd 0%, #0056d6 100%);
  border-color: rgba(0, 86, 214, 0.35);
  color: #ffffff;
}

.campus-card--featured .campus-name {
  color: #ffffff;
}

.campus-card--featured .campus-line {
  color: rgba(255, 255, 255, 0.92);
}

.campus-card--featured .icon--line {
  color: rgba(255, 255, 255, 0.9);
}

.campus-card--featured .campus-qr {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.campus-name {
  grid-column: 1 / 3;
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: #333;
  border-bottom: solid 1px #bfeafa;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.campus-line {
  grid-column: 1 / 2;
  margin: 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.55;
}

.icon-lc {
  display: block;
  background: url(./img/block-4-1.png) no-repeat center;
  background-size: 16px 20px;
  width: 40px;
  height: 20px;
}

.campus-qr {
  grid-row: 2 / span 3;
  grid-column: 2 / 3;
  align-self: start;
  width: 84px;
  height: 84px;
  border-radius: 6px;
  border: 1px dashed rgba(0, 123, 255, 0.35);
  background: repeating-linear-gradient(45deg,
      #f3f6fb,
      #f3f6fb 6px,
      #e9eef5 6px,
      #e9eef5 12px);
}

.campus-dots {
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  display: none;
}

.campus-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: rgba(0, 123, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.campus-dot.is-active {
  background: #007bff;
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* =========================================
   News Section
   ========================================= */
.section--news {
  background: #fff;
}

.news-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 1200px;
  overflow: hidden;
}

.news-list li {
  margin-bottom: 10px;
  width: 33%;
  float: left;
}

.news-list a {
  color: #333333;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.news-list a:hover {
  color: #007bff;
  padding-left: 4px;
}

/* =========================================
   About Page
   ========================================= */
.page-about .nav-menu a {
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
}

.page-about .nav-menu a:hover {
  border-bottom-color: rgba(0, 123, 255, 0.35);
}

.page-about .nav-menu a.is-active {
  border-bottom-color: var(--color-active, #007bff);
}

.about-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
}

.about-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./img/about-banner.png") center/cover no-repeat;
  background-size: 100% 450px;
  pointer-events: none;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 85, 0.15);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px;
  max-width: 900px;
}

.about-hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.about-hero-title::after {
  content: "";
  display: block;
  width: 148px;
  height: 4px;
  margin: 10px auto 0;
  background: #fff;
  box-shadow: 2px 2px 2px #999;
}

.about-hero-lead {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}

.about-intro {
  background: #eef7ff;
  padding: 40px 0 70px;
}

.about-intro-heading {
  margin: 0 0 70px;
  text-align: center;
  font-size: clamp(1.375rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111111;
}

.about-intro-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 40px 160px 48px 40px;
  overflow: visible;
  max-width: 800px;
  position: relative;
}

.about-intro-title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  color: #111111;
}

.about-intro-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px 0 0;
  background: var(--color-active);
}

.about-intro-subtitle {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111111;
}

.about-intro-text p {
  margin: 0 0 1.15em;
  font-size: 0.9375rem;
  text-align: justify;
  color: #333333;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-media {
  position: absolute;
  top: -40px;
  right: -352px;
}

.about-intro-image {
  width: 100%;
  max-width: 440px;
  min-height: 360px;
}

/* =========================================
   News Page
   ========================================= */
.news-page {
  background: #fff;
  min-height: 60vh;
  padding-bottom: 48px;
}

.news-page .container.news-list-section {
  width: 100%;
  max-width: 1200px;
}

.news-list-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.news-page .news-list {
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.news-page .news-list li {
  width: 100%;
  float: none;
  margin-bottom: 0;
}

.news-page .news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 0;
  transition: background 0.2s;
}

.news-page .news-item:last-child {
  border-bottom: none;
}

.news-page .news-item:hover {
  background: #f8faff;
}

.news-page .news-date {
  min-width: 170px;
  text-align: center;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-page .news-day {
  display: inline;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1;
  margin-right: 10px;
}

.news-page .news-date-separator {
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
}

.news-page .news-month {
  display: block;
  font-size: 1rem;
  margin-top: 2px;
  color: #888;
}

.news-page .news-year {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-top: 2px;
}

.news-page .news-content {
  flex: 1;
  border-left: 1px solid #e8e8e8;
  padding-left: 50px;
}

.news-page .news-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.news-page .news-title:hover {
  color: #0056b3;
  text-decoration: underline;
}

.news-page .news-desc {
  margin: 8px 0 0 0;
  color: #555;
  font-size: 1rem;
}

.news-page .news-link {
  display: block;
  margin-top: 12px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

/* =========================================
   Pagination
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  border-color: #007bff;
  color: #007bff;
  background: rgba(0, 123, 255, 0.04);
}

.pagination .page-numbers.current {
  background: #007bff;
  border-color: #007bff;
  color: #ffffff;
  font-weight: 600;
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #888888;
  cursor: default;
}

.pagination .page-numbers.dots:hover {
  background: transparent;
  border-color: #e8e8e8;
  color: #888888;
}

.pagination .prev,
.pagination .next {
  padding: 0 16px;
  font-size: 0.875rem;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: rgba(0, 123, 255, 0.08);
}

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   Article Page
   ========================================= */
.article-page {
  padding: 48px 0 64px;
}

.article-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.article-meta {
  margin: 0 0 32px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.article-body p {
  margin: 0 0 1.25em;
  font-size: 1rem;
  text-align: left;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-figure {
  margin: 32px 0;
  padding: 0;
}

.article-figure--inline {
  margin: 28px 0 36px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  gap: 40px 48px;
  padding-bottom: 40px;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  color: var(--color-footer-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: center;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: repeating-linear-gradient(
    45deg,
    #3a3a3a,
    #3a3a3a 8px,
    #4a4a4a 8px,
    #4a4a4a 16px
  );
  border: 1px solid #555555;
  border-radius: 4px;
}

.qr-label {
  font-size: 0.8125rem;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding: 24px 0 32px;
}

.footer-legal {
  text-align: center;
}

.footer-legal p {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--color-footer-muted);
  line-height: 1.6;
}

.footer-legal span {
  padding: 0 10px;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
  .faculty-swiper {
    height: auto;
  }

  .faculty-card {
    height: auto;
  }

  .faculty-card-hidden {
    display: none;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faculty-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .campus-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-card {
    padding: 24px 20px;
  }

  .about-intro-media {
    position: static;
    margin-top: 24px;
  }

  .news-content {
    padding-left: 20px;
  }
}
