:root {
  --orange: #e17c2a;
  --orange-deep: #b85a1f;
  --orange-soft: #f4c39a;
  --orange-fog: rgba(225, 124, 42, 0.12);
  --ink: #1e2735;
  --ink-soft: #667488;
  --night: #121923;
  --paper: #ffffff;
  --paper-soft: #fcf7f1;
  --line: rgba(184, 90, 31, 0.14);
  --shadow: 0 22px 56px rgba(53, 29, 13, 0.12);
  --container: min(1440px, calc(100vw - 72px));
  --header-viewport-offset: 0px;
  --header-top-gap: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 126px;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-logo-main {
  width: auto;
  height: clamp(30px, 3vw, 38px);
  object-fit: contain;
  object-position: left center;
}

.brand-logo-secondary {
  width: auto;
  height: clamp(30px, 3vw, 38px);
  object-fit: contain;
  object-position: left center;
}

.hero-header {
  position: fixed;
  top: calc(var(--header-viewport-offset) + var(--header-top-gap));
  left: 0;
  right: 0;
  z-index: 40;
  padding-top: 0;
  transition: transform 0.25s ease, opacity 0.3s ease;
}

.hero-header.scrolled {
  background: transparent;
  backdrop-filter: none;
}

.hero-header-inner {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 22px;
  isolation: isolate;
}

.hero-header-inner > :not(.hero-header-glass) {
  position: relative;
  z-index: 2;
}

.hero-header-glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 42px rgba(7, 14, 26, 0.12),
    0 6px 18px rgba(180, 209, 242, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(165%) contrast(1.02);
  -webkit-backdrop-filter: blur(18px) saturate(165%) contrast(1.02);
  transition:
    background 0.42s ease,
    box-shadow 0.42s ease,
    backdrop-filter 0.42s ease,
    -webkit-backdrop-filter 0.42s ease;
}

.hero-header-glass::before,
.hero-header-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.hero-header-glass::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 38%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.82;
  transition: opacity 0.42s ease, background 0.42s ease;
}

.hero-header-glass::after {
  inset: 8% 6% 10% 6%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 34%, rgba(162, 210, 255, 0.09) 50%, rgba(255, 220, 184, 0.06) 68%, rgba(255, 255, 255, 0.03) 82%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  filter: blur(12px);
  opacity: 0.48;
  mix-blend-mode: screen;
  animation: liquidGlassShift 9s ease-in-out infinite alternate;
  transition: opacity 0.42s ease, background 0.42s ease;
}

.hero-header.scrolled .hero-header-glass {
  background: rgba(72, 80, 92, 0.34);
  box-shadow:
    0 18px 42px rgba(7, 14, 26, 0.2),
    0 6px 18px rgba(180, 209, 242, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -8px 18px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px) saturate(190%) contrast(1.06);
  -webkit-backdrop-filter: blur(26px) saturate(190%) contrast(1.06);
}

.hero-header.scrolled .hero-header-glass::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03) 38%, transparent 68%);
  opacity: 0.72;
}

.hero-header.scrolled .hero-header-glass::after {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 34%, rgba(162, 210, 255, 0.07) 50%, rgba(255, 220, 184, 0.05) 68%, rgba(255, 255, 255, 0.02) 82%);
  opacity: 0.34;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.footer-links a {
  position: relative;
  padding: 8px 10px;
  padding-bottom: 8px;
  font-size: 14px;
  border-radius: 999px;
  transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.site-nav-light {
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 1px 14px rgba(8, 12, 18, 0.2),
    0 0 26px rgba(8, 12, 18, 0.12);
  transition: color 0.36s ease, text-shadow 0.36s ease;
}

.hero-header.scrolled .site-nav-light {
  text-shadow:
    0 1px 12px rgba(8, 12, 18, 0.5),
    0 0 22px rgba(8, 12, 18, 0.3);
}

.site-nav-light a:hover,
.site-nav-light a:focus-visible,
.site-nav-light a.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1));
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 18px rgba(115, 149, 188, 0.1);
}

.site-nav-light a::after,
.footer-links a::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), var(--orange-soft));
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

@keyframes liquidGlassShift {
  0% {
    background-position: 0 0, 0 0, 0% 50%;
    transform: translate3d(-1%, 0, 0) scale(1.02);
  }

  100% {
    background-position: 0 0, 0 0, 100% 50%;
    transform: translate3d(1%, 0, 0) scale(1.04);
  }
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero-portal {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #11161d;
}

.hero-banner-track {
  position: relative;
  min-height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.85s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center center;
}

.hero-slide.is-active .hero-media img {
  animation: heroBannerZoom 6.6s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.45), rgba(8, 12, 18, 0.68)),
    linear-gradient(90deg, rgba(16, 21, 29, 0.8), rgba(16, 21, 29, 0.26) 48%, rgba(16, 21, 29, 0.54));
  pointer-events: none;
}

.hero-shade-soft {
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.38), rgba(10, 12, 18, 0.56)),
    linear-gradient(90deg, rgba(16, 21, 29, 0.72), rgba(16, 21, 29, 0.18) 58%, rgba(16, 21, 29, 0.48));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  pointer-events: none;
}

.hero-glow-left {
  width: 320px;
  height: 320px;
  left: -110px;
  top: 180px;
  background: rgba(225, 124, 42, 0.16);
}

.hero-glow-right {
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: 0;
  background: rgba(225, 124, 42, 0.14);
}

.hero-center {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 140px 0 120px;
}

@keyframes heroBannerZoom {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-media img {
    animation: none;
  }
}

.hero-center-left {
  justify-items: start;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.section-band,
.section-title p,
.profile-slide em,
.advisor-card span,
.curriculum-panel-content ul li::marker {
  letter-spacing: 0.18em;
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  text-transform: uppercase;
  color: rgba(255, 225, 198, 0.84);
}

.hero-copy h1,
.section-title h2,
.philosophy-card blockquote,
.principal-copy h3,
.education-copy h3,
.curriculum-panel-content h3,
.class-type-card h3,
.admission-panel h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.26;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.84);
}

.hero-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 92px;
}

.hero-value-grid article {
  padding: 0 22px;
}

.hero-value-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.48;
  font-family: "Noto Serif SC", serif;
}

.hero-value-grid span {
  display: block;
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-notice-card {
  width: min(560px, 100%);
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(225, 124, 42, 0.26), transparent 36%),
    linear-gradient(180deg, rgba(18, 25, 35, 0.54), rgba(18, 25, 35, 0.22));
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 56px rgba(9, 12, 18, 0.26);
}

.hero-notice-banner {
  --banner-frame-gap: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: var(--banner-frame-gap);
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: 0 26px 56px rgba(9, 12, 18, 0.26);
}

.hero-notice-banner img {
  display: block;
  width: min(640px, calc(100vw - 120px));
  height: auto;
  aspect-ratio: 380 / 163;
  object-fit: contain;
}

.hero-notice-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 232, 213, 0.88);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-notice-card h2 {
  margin: 20px 0 14px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.24;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.hero-notice-card p {
  margin: 0;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.82);
}

.hero-notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 26px;
}

.hero-notice-meta span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 240, 228, 0.84);
  font-size: 13px;
}

.notice-alt {
  background:
    radial-gradient(circle at top right, rgba(255, 202, 154, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(86, 42, 22, 0.5), rgba(18, 25, 35, 0.2));
}

.hero-banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-banner-arrow:hover {
  background: rgba(225, 124, 42, 0.68);
  transform: scale(1.06);
}

.hero-banner-prev {
  left: 28px;
}

.hero-banner-next {
  right: 28px;
}

.hero-banner-nav {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 5;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-dot.is-active {
  width: 64px;
  background: linear-gradient(90deg, var(--orange-soft), var(--orange));
  transform: scaleY(1.08);
}

.section {
  padding: 110px 0;
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  right: -160px;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 124, 42, 0.12), rgba(225, 124, 42, 0.02) 44%, transparent 66%);
  opacity: 0;
  transform: translateY(48px) scale(0.86);
  transition: opacity 1.15s cubic-bezier(0.2, 0.75, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.section.is-inview::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 72%, rgba(225, 124, 42, 0.08));
  opacity: 0;
  transform: translate3d(-4%, 5%, 0) scale(1.03);
  transition: opacity 1.2s cubic-bezier(0.2, 0.75, 0.2, 1), transform 1.35s cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.section.is-inview::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-title p {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3vw, 38px);
  color: rgba(30, 39, 53, 0.18);
}

.section-title.light h2,
.section-title.light p {
  color: #fff;
}

.section-title.light p {
  opacity: 0.66;
}

.section-title.small-title h2 {
  font-size: clamp(28px, 3.5vw, 38px);
}

.centered-title {
  text-align: center;
}

.section-intro.centered {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  line-height: 1.95;
  color: var(--ink-soft);
}

.profile-section {
  background:
    radial-gradient(circle at left top, var(--orange-fog), transparent 24%),
    linear-gradient(180deg, #fcfbf8 0%, #fff 100%);
}

.profile-layout,
.education-layout,
.admission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: center;
}

.profile-text,
.education-copy p,
.philosophy-card p,
.principal-copy p,
.advisor-card p,
.class-type-card p,
.profile-slide p,
.curriculum-copy p,
.curriculum-panel-content p,
.admission-panel p {
  line-height: 1.95;
  color: var(--ink-soft);
}

.intro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 26px;
}

.intro-highlights span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(225, 124, 42, 0.1);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 700;
}

.profile-text {
  margin-top: 24px;
}

.profile-visual {
  display: grid;
  gap: 22px;
}

.profile-image-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-image-wide {
  aspect-ratio: 16 / 9;
}

.profile-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--parallax-y, 0px)) scale(1.09);
  transition: transform 0.28s linear;
}

.profile-stats-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-stats-card article {
  padding: 24px 22px;
  background: linear-gradient(180deg, #f5e4d3, #fff);
  border-top: 3px solid var(--orange);
  box-shadow: 0 14px 34px rgba(53, 29, 13, 0.08);
}

.profile-stats-card strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
  color: var(--orange-deep);
}

.profile-stats-card span {
  display: block;
  margin-top: 10px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.philosophy-section {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  color: #fff;
  background: #16181d;
}

.philosophy-backdrop,
.philosophy-backdrop img,
.philosophy-shade {
  position: absolute;
  inset: 0;
}

.philosophy-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--parallax-y, 0px)) scale(1.1);
  transition: transform 0.28s linear;
}

.philosophy-shade {
  background:
    linear-gradient(180deg, rgba(16, 18, 24, 0.42), rgba(16, 18, 24, 0.76)),
    radial-gradient(circle at center, rgba(225, 124, 42, 0.14), transparent 42%);
  pointer-events: none;
}

.philosophy-stage {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  display: grid;
  place-items: center;
  gap: 28px;
  text-align: center;
}

.philosophy-stage blockquote {
  max-width: 920px;
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.7;
  font-family: "Noto Serif SC", serif;
}

.principal-section {
  background: linear-gradient(180deg, #fff 0%, #faf5ee 100%);
}

.principal-layout {
  display: grid;
}

.philosophy-card,
.principal-card,
.advisor-card,
.class-type-card,
.profile-slide,
.admission-card,
.admission-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbf7f2);
  box-shadow: var(--shadow);
}

.principal-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: visible;
  min-height: 520px;
  position: relative;
}

.principal-photo {
  min-height: 100%;
  overflow: visible;
  background:
    radial-gradient(circle at center, rgba(225, 124, 42, 0.1), transparent 56%),
    linear-gradient(180deg, #f7f0e8, #fff);
}

.principal-photo img {
  /* 关键：图片比照片框宽 15%，多出的 15% 从左侧溢出（让左肩破框），
     底部严丝合缝、不放缩、不下移，顶部破框由图片本身位置自然显示 */
  width: 115%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right top;
  transform: translate(0, 0);
  transition: transform 0.28s linear;
}

.principal-copy {
  padding: 42px 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.principal-copy h3 {
  margin-top: 20px;
  font-size: 32px;
}

.principal-copy p {
  margin: 16px 0 0;
}

.principal-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.principal-highlights article {
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #fff8f0, #fff);
  border-top: 3px solid var(--orange);
}

.principal-highlights strong {
  display: block;
  font-size: 18px;
  font-family: "Noto Serif SC", serif;
  color: var(--orange-deep);
}

.principal-highlights span {
  display: block;
  margin-top: 10px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.academy-section {
  color: #fff;
  background:
    radial-gradient(circle at 12% 50%, rgba(225, 124, 42, 0.9), rgba(92, 43, 19, 0.94) 34%, transparent 35%),
    linear-gradient(90deg, #4c2a1a 0%, #6f3f26 31%, #8893a4 31%, #8893a4 100%);
}

.academy-layout {
  display: grid;
  gap: 28px;
}

.academy-heading-full {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: end;
}

.academy-heading p {
  margin: 24px 0 0;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.academy-shell {
  display: grid;
  gap: 18px;
}

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

.academy-tab,
.curriculum-tab {
  min-height: 60px;
  border: 0;
  cursor: pointer;
  transition: background 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.34s ease, box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.academy-tab {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --tab-progress: 0;
  backface-visibility: hidden;
}

.academy-tab::before,
.class-type-tab::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 54%, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.academy-tab::after,
.class-type-tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 242, 232, 0.95), rgba(255, 219, 189, 0.75));
  transform: scaleX(var(--tab-progress, 0));
  transform-origin: left center;
  opacity: 0;
  transition: transform var(--tab-progress-duration, 220ms) linear, opacity 0.32s ease;
  pointer-events: none;
}

.academy-tab span,
.class-type-tab span,
.academy-tab,
.class-type-tab {
  backface-visibility: hidden;
}

.academy-tab::selection,
.class-type-tab::selection {
  background: transparent;
}

.academy-tab .tab-label,
.class-type-tab .tab-label {
  position: relative;
  z-index: 1;
}

.academy-tab.is-active,
.academy-tab:hover {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(184, 90, 31, 0.28);
}

.tone-tech.is-active,
.tone-tech:hover {
  background: linear-gradient(135deg, #c96b21, #e17c2a);
  box-shadow: 0 18px 34px rgba(184, 90, 31, 0.28);
}

.academy-tab.tone-humanities.is-active,
.academy-tab.tone-humanities:hover {
  background: linear-gradient(135deg, #8f5230, #b56d42);
  box-shadow: 0 18px 34px rgba(104, 60, 36, 0.28);
}

.academy-tab.tone-art.is-active,
.academy-tab.tone-art:hover {
  background: linear-gradient(135deg, #9f4d66, #ca728c);
  box-shadow: 0 18px 34px rgba(121, 63, 83, 0.28);
}

.academy-tab.tone-sports.is-active,
.academy-tab.tone-sports:hover {
  background: linear-gradient(135deg, #3a7b52, #63a776);
  box-shadow: 0 18px 34px rgba(53, 106, 71, 0.28);
}

.academy-tab.is-active::before,
.academy-tab:hover::before,
.class-type-tab.is-active::before,
.class-type-tab:hover::before {
  opacity: 1;
}

.academy-tab.is-active::after,
.class-type-tab.is-active::after {
  opacity: 1;
}

.academy-shell.is-transitioning .academy-tab.is-active,
.class-type-shell.is-transitioning .class-type-tab.is-active {
  transform: translateY(-4px) scale(1.01);
}

.academy-panels {
  position: relative;
  min-height: 520px;
}

.academy-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 520px;
  overflow: hidden;
  background: rgba(24, 17, 13, 0.18);
  box-shadow: 0 22px 56px rgba(10, 10, 10, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  filter: blur(0);
  transform-origin: center center;
  transition: opacity 0.46s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.46s, filter 0.36s ease;
}

.academy-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 0.46s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s, filter 0.36s ease;
}

.academy-panel::after,
.class-type-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, 0.08) 48%, transparent 72%);
  opacity: 0;
  transform: translateX(-10%);
  pointer-events: none;
}

.academy-panel.is-entering::after,
.class-type-panel.is-entering::after {
  animation: panelSheen 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.academy-panel.is-exiting,
.class-type-panel.is-exiting {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
}

.academy-panel-media,
.academy-panel-media img {
  height: 100%;
}

.academy-panel-media img {
  width: 100%;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 16 / 9;
  transform: scale(1.08);
  transform-origin: right center;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.academy-panel-media {
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.28s linear;
}

.academy-panel.is-active .academy-panel-media img {
  transform: scale(1.03);
}

.academy-panel.is-entering .academy-panel-media img,
.class-type-panel.is-entering .class-type-media img {
  animation: mediaSettle 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.academy-panel-copy > span,
.academy-panel-copy h3,
.academy-panel-copy p,
.academy-panel-copy li,
.class-type-card > span,
.class-type-card h3,
.class-type-card p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.academy-panel.is-active .academy-panel-copy > span,
.academy-panel.is-active .academy-panel-copy h3,
.academy-panel.is-active .academy-panel-copy p,
.academy-panel.is-active .academy-panel-copy li,
.class-type-panel.is-active .class-type-card > span,
.class-type-panel.is-active .class-type-card h3,
.class-type-panel.is-active .class-type-card p {
  opacity: 1;
  transform: translateY(0);
}

.academy-panel.is-active .academy-panel-copy > span,
.class-type-panel.is-active .class-type-card > span {
  transition-delay: 0.1s;
}

.academy-panel.is-active .academy-panel-copy h3,
.class-type-panel.is-active .class-type-card h3 {
  transition-delay: 0.16s;
}

.academy-panel.is-active .academy-panel-copy p:nth-of-type(1),
.class-type-panel.is-active .class-type-card p {
  transition-delay: 0.22s;
}

.academy-panel.is-active .academy-panel-copy p:nth-of-type(2) {
  transition-delay: 0.28s;
}

.academy-panel.is-active .academy-panel-copy li:nth-child(1) {
  transition-delay: 0.34s;
}

.academy-panel.is-active .academy-panel-copy li:nth-child(2) {
  transition-delay: 0.4s;
}

.academy-panel.is-active .academy-panel-copy li:nth-child(3) {
  transition-delay: 0.46s;
}

.academy-panel-copy {
  min-width: 0;
  padding: 36px 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at top right, rgba(225, 124, 42, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(53, 34, 24, 0.96), rgba(40, 27, 20, 0.96));
}

.tone-tech-card {
  background:
    radial-gradient(circle at top right, rgba(255, 218, 188, 0.18), transparent 32%),
    linear-gradient(180deg, #df862f, #b85a1f);
}

.academy-panel-copy.tone-humanities-card {
  background:
    radial-gradient(circle at top right, rgba(255, 226, 204, 0.16), transparent 32%),
    linear-gradient(180deg, #b9784d, #8f5230);
}

.academy-panel-copy.tone-art-card {
  background:
    radial-gradient(circle at top right, rgba(255, 223, 232, 0.16), transparent 32%),
    linear-gradient(180deg, #d1889d, #9f4d66);
}

.academy-panel-copy.tone-sports-card {
  background:
    radial-gradient(circle at top right, rgba(222, 247, 228, 0.16), transparent 32%),
    linear-gradient(180deg, #72b486, #3a7b52);
}

.academy-panel-copy span {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 228, 204, 0.76);
}

.academy-panel-copy h3 {
  margin: 14px 0 16px;
  font-size: 32px;
  font-family: "Noto Serif SC", serif;
}

.academy-panel-copy p {
  margin: 0 0 12px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.academy-points {
  margin: 4px 0 0;
  padding-left: 18px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.84);
}

.education-section {
  background:
    radial-gradient(circle at right top, var(--orange-fog), transparent 28%),
    #fff;
}

.education-copy h3 {
  margin-top: 24px;
  font-size: 34px;
  color: var(--orange-deep);
}

.education-cards {
  display: grid;
  gap: 18px;
}

.education-cards article {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(53, 29, 13, 0.08);
}

.education-cards strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-family: "Noto Serif SC", serif;
}

.education-cards p {
  margin: 0;
  line-height: 1.95;
  color: var(--ink-soft);
}

.faculty-section {
  background: linear-gradient(180deg, #f9f3eb 0%, #fff 100%);
}

.carousel {
  position: relative;
  margin-top: 40px;
  overflow: visible;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.faculty-carousel .carousel-viewport,
.expert-carousel .carousel-viewport {
  overflow-x: clip;
  overflow-y: visible;
  padding: 22px 18px 28px;
  margin: -22px -18px -28px;
}

.carousel-fade::before,
.carousel-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 2;
  pointer-events: none;
}

.carousel-fade::before {
  left: 0;
  background: linear-gradient(90deg, rgba(249, 243, 235, 1), rgba(249, 243, 235, 0));
}

.carousel-fade::after {
  right: 0;
  background: linear-gradient(270deg, rgba(249, 243, 235, 1), rgba(249, 243, 235, 0));
}

.carousel-track {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(53, 29, 13, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow.prev {
  left: -24px;
}

.carousel-arrow.next {
  right: -24px;
}

.profile-slide,
.visual-slide {
  flex: 0 0 300px;
  min-width: 300px;
}

.profile-slide {
  min-height: 100%;
  padding: 30px 22px 28px;
  text-align: center;
  background: #fff;
  box-shadow: 0 16px 30px rgba(53, 29, 13, 0.08);
}

.profile-slide.compact {
  padding-top: 28px;
}

.avatar-ring {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(225, 124, 42, 0.36);
  background-color: #fff;
  background:
    radial-gradient(circle at center, rgba(225, 124, 42, 0.12), rgba(225, 124, 42, 0.02) 60%, transparent 61%);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff;
}

.profile-slide h3 {
  margin: 0;
  font-size: 24px;
  font-family: "Noto Serif SC", serif;
}

.profile-slide em {
  display: block;
  margin: 10px 0 14px;
  font-style: normal;
  font-size: 12px;
  color: var(--orange-deep);
}

.profile-slide p {
  margin: 0;
}

.class-type-section {
  background: #fff;
}

.class-type-layout {
  display: grid;
  gap: 34px;
}

.class-type-shell {
  display: grid;
  gap: 18px;
}

.class-type-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.class-type-tab {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 62px;
  border: 0;
  background: #f8efe7;
  color: #744e38;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), background 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.34s ease, box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  --tab-progress: 0;
}

.class-type-tab.is-active,
.class-type-tab:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(184, 90, 31, 0.22);
}

.class-type-panels {
  position: relative;
  min-height: 440px;
}

.class-type-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transform-origin: center center;
  transition: opacity 0.46s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.46s;
}

.class-type-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.46s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.class-type-media {
  min-height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: none;
  transition: none;
}

.class-type-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transform: scale(1.11);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.class-type-panel.is-active .class-type-media img {
  transform: scale(1.05);
}

.class-type-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

@keyframes mediaSettle {
  0% {
    transform: scale(1.08);
    filter: saturate(0.92) brightness(0.96);
  }
  100% {
    transform: scale(1.03);
    filter: saturate(1) brightness(1);
  }
}

@keyframes panelSheen {
  0% {
    opacity: 0;
    transform: translateX(-12%);
  }
  35% {
    opacity: 0.34;
  }
  100% {
    opacity: 0;
    transform: translateX(10%);
  }
}

.class-type-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(180deg, var(--orange), var(--orange-deep));
}

.class-type-card.featured p,
.class-type-card.featured span {
  color: rgba(255, 247, 239, 0.88);
}

.class-type-card span {
  display: inline-flex;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  color: var(--orange);
}

.class-type-card h3 {
  margin: 10px 0 14px;
  font-size: 26px;
}

.class-type-card p {
  margin: 0;
}

.class-tab-icon {
  display: none;
}

.class-tab-icon::before,
.class-tab-icon::after {
  content: "";
  position: absolute;
}

.icon-orbit::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-orbit::after {
  width: 6px;
  height: 6px;
  right: 1px;
  top: 8px;
  background: currentColor;
  border-radius: 50%;
}

.icon-book::before {
  left: 3px;
  top: 3px;
  width: 7px;
  height: 16px;
  border: 2px solid currentColor;
  border-right: 1px solid currentColor;
}

.icon-book::after {
  right: 3px;
  top: 3px;
  width: 7px;
  height: 16px;
  border: 2px solid currentColor;
  border-left: 1px solid currentColor;
}

.icon-globe::before {
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-globe::after {
  left: 10px;
  top: 2px;
  width: 2px;
  height: 18px;
  background: currentColor;
  box-shadow: -5px 0 0 rgba(0, 0, 0, 0), 5px 0 0 rgba(0, 0, 0, 0);
}

.icon-palette::before {
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 42%;
}

.icon-palette::after {
  right: 4px;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.icon-track::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 14px;
}

.icon-track::after {
  left: 10px;
  top: 4px;
  width: 2px;
  height: 14px;
  background: currentColor;
}

.tone-qian.is-active,
.tone-qian:hover {
  background: linear-gradient(135deg, #c96b21, #e17c2a);
}

.tone-humanities.is-active,
.tone-humanities:hover {
  background: linear-gradient(135deg, #8f5230, #b56d42);
}

.tone-english.is-active,
.tone-english:hover {
  background: linear-gradient(135deg, #2b6d91, #4d92b7);
}

.tone-art.is-active,
.tone-art:hover {
  background: linear-gradient(135deg, #9f4d66, #ca728c);
}

.tone-sports.is-active,
.tone-sports:hover {
  background: linear-gradient(135deg, #3a7b52, #63a776);
}

.tone-qian-card {
  background: linear-gradient(180deg, #df862f, #b85a1f);
  color: #fff;
}

.tone-humanities-card {
  background: linear-gradient(180deg, #b9784d, #8f5230);
  color: #fff;
}

.tone-english-card {
  background: linear-gradient(180deg, #5d9fc5, #2b6d91);
  color: #fff;
}

.tone-art-card {
  background: linear-gradient(180deg, #d1889d, #9f4d66);
  color: #fff;
}

.tone-sports-card {
  background: linear-gradient(180deg, #72b486, #3a7b52);
  color: #fff;
}

.tone-qian-card span,
.tone-qian-card p,
.tone-humanities-card span,
.tone-humanities-card p,
.tone-english-card span,
.tone-english-card p,
.tone-art-card span,
.tone-art-card p,
.tone-sports-card span,
.tone-sports-card p {
  color: rgba(255, 250, 244, 0.9);
}

.curriculum-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.28), rgba(13, 10, 8, 0.08)),
    linear-gradient(180deg, #19130f 0%, #261b14 100%);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
}

.curriculum-copy {
  padding: 38px 30px;
  background:
    radial-gradient(circle at top right, rgba(225, 124, 42, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.curriculum-copy .section-title p {
  max-width: 100%;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
  word-break: break-word;
}

.curriculum-copy p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.curriculum-tabs {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.curriculum-tab {
  width: 100%;
  padding: 0 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.curriculum-tab.is-active,
.curriculum-tab:hover {
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transform: translateX(6px);
  box-shadow: 0 14px 28px rgba(184, 90, 31, 0.22);
}

.curriculum-panels {
  position: relative;
  min-height: 420px;
}

.curriculum-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 420px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.curriculum-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.curriculum-panel-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.curriculum-panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 0.35s ease;
}

.curriculum-panel-media .curriculum-base-image {
  object-position: center 44%;
  transform: scale(1.2);
}

.curriculum-panel-media {
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.28s linear;
}

.curriculum-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.08), rgba(20, 14, 10, 0.34));
  pointer-events: none;
}

.curriculum-panel-content {
  padding: 34px 34px 30px;
  background:
    radial-gradient(circle at top right, rgba(225, 124, 42, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.curriculum-panel-content h3,
.curriculum-panel-content p,
.curriculum-panel-content ul,
.curriculum-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.curriculum-panel-content h3 {
  font-size: 30px;
}

.curriculum-panel-content p {
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.82);
}

.curriculum-panel-content ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.78;
}

.campus-section {
  background: #fff;
}

.recent-section {
  background:
    radial-gradient(circle at left top, rgba(225, 124, 42, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.recent-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.recent-intro {
  padding: 20px 10px 14px 0;
}

.recent-intro h2 {
  margin: 0;
  font-size: 30px;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.recent-intro-en {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  line-height: 0.96;
  color: rgba(30, 39, 53, 0.18);
}

.recent-intro-line {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 56px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.recent-intro-copy {
  margin: 26px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

.recent-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 160px;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 26px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 18px 34px rgba(184, 90, 31, 0.22);
}

.recent-more:hover,
.recent-more:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 24px 42px rgba(184, 90, 31, 0.3);
}

.recent-more:focus-visible {
  outline: 2px solid rgba(184, 90, 31, 0.28);
  outline-offset: 4px;
}

.recent-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 0;
  align-items: stretch;
}

.recent-feature-card,
.recent-card {
  position: relative;
  min-width: 0;
  padding: 0 28px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(30, 39, 53, 0.08);
}

.recent-feature-card {
  padding-bottom: 22px;
  box-shadow: 0 18px 44px rgba(39, 55, 79, 0.08);
}

.recent-feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}

.recent-feature-media img,
.recent-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.recent-feature-card:hover .recent-feature-media img,
.recent-card:hover .recent-card-media img {
  transform: scale(1.05);
}

.recent-feature-copy,
.recent-card-copy {
  padding-top: 28px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}

.recent-card-date-inline {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: rgba(30, 39, 53, 0.42);
}

.recent-feature-copy h3,
.recent-card-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.52;
  font-family: "Noto Serif SC", "Songti SC", serif;
  min-height: calc(1.52em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-feature-copy p:last-child,
.recent-card-copy p:last-child {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  min-height: calc(1.8em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-feature-media,
.recent-card-media {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f5f8;
}

.recent-card-action {
  width: 68px;
  height: 68px;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(30, 39, 53, 0.14);
  color: rgba(30, 39, 53, 0.22);
  font-size: 34px;
  line-height: 1;
}

.feature-action {
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(184, 90, 31, 0.24);
}

.recent-card-link {
  display: block;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.recent-card-link:hover {
  transform: translateY(-6px);
}

.news-page {
  background:
    radial-gradient(circle at top left, rgba(225, 124, 42, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.news-header {
  z-index: 40;
}

.news-page .hero-header {
  top: calc(var(--header-viewport-offset) + 8px);
}

.news-page .news-main {
  padding-top: 128px;
}

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

.news-brand img {
  width: clamp(152px, 16vw, 220px);
}

.news-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease;
}

.news-nav a:hover,
.news-nav a:focus-visible {
  background: rgba(225, 124, 42, 0.1);
  color: var(--orange-deep);
}

.news-main {
  padding: 48px 0 110px;
}

.news-hero {
  padding: 34px 0 16px;
}

.news-hero-inner {
  max-width: 880px;
}

.news-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--orange-deep);
}

.news-hero h1,
.news-article-header h1,
.news-article-section h2,
.news-related-heading h2,
.news-list-copy h2,
.news-related-copy h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.news-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.18;
}

.news-hero p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  line-height: 1.9;
  color: var(--ink-soft);
}

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

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

.news-list-pagination {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.news-list-pagination[hidden] {
  display: none !important;
}

.news-pagination-meta {
  color: rgba(30, 39, 53, 0.52);
  font-size: 14px;
  line-height: 1.8;
}

.news-pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-pagination-btn,
.news-pagination-page {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(30, 39, 53, 0.72);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.news-pagination-btn:hover:not(:disabled),
.news-pagination-page:hover:not(:disabled),
.news-pagination-page.is-active {
  transform: translateY(-1px);
  border-color: rgba(203, 103, 33, 0.24);
  color: var(--orange-deep);
  box-shadow: 0 10px 18px rgba(53, 29, 13, 0.06);
}

.news-pagination-page.is-active {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(255, 255, 255, 0.98));
}

.news-pagination-btn:disabled,
.news-pagination-page:disabled {
  color: rgba(30, 39, 53, 0.26);
  cursor: not-allowed;
  box-shadow: none;
}

.news-pagination-ellipsis {
  color: rgba(30, 39, 53, 0.36);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.news-list-card {
  min-width: 0;
}

.news-list-link {
  height: 100%;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fcf7f1);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-list-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(53, 29, 13, 0.16);
}

.news-list-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-list-media img,
.news-article-figure img,
.news-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-copy {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  padding: 24px 22px 22px;
}

.news-list-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(225, 124, 42, 0.1);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.news-list-date,
.news-article-date,
.news-related-copy p {
  margin: 14px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: rgba(30, 39, 53, 0.42);
}

.news-list-copy h2 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.45;
}

.news-list-copy p:last-of-type {
  margin: 16px 0 0;
  line-height: 1.85;
  color: var(--ink-soft);
}

.news-list-action,
.news-related-heading a,
.news-breadcrumb a {
  color: var(--orange-deep);
}

.news-list-action {
  margin-top: 22px;
  font-weight: 700;
}

.news-article-shell {
  padding-top: 20px;
}

.news-article-shell .container {
  width: min(1100px, calc(100vw - 72px));
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(30, 39, 53, 0.5);
  font-size: 14px;
}

.news-article {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fcf7f1);
  box-shadow: var(--shadow);
}

.news-article-header,
.news-article-body {
  padding: 34px 38px;
}

.news-article-header {
  padding-bottom: 22px;
}

.news-article-header h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.32;
}

.news-article-summary,
.news-article-lead,
.news-article-section p,
.news-article-section li {
  line-height: 1.95;
  color: var(--ink-soft);
}

.news-article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.news-text-large {
  display: inline;
  font-size: 1.18em;
  color: var(--ink);
}

.news-text-small {
  display: inline;
  font-size: 0.9em;
  color: rgba(30, 39, 53, 0.72);
}

.news-article-summary {
  margin: 22px 0 0;
  font-size: 17px;
}

.news-article-figure {
  margin: 0;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
}

.news-article-body {
  padding-top: 30px;
}

.news-article-lead {
  margin: 0;
  font-size: 17px;
}

.news-article-section {
  margin-top: 34px;
}

.news-inline-image {
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid rgba(30, 39, 53, 0.08);
  background: #fff;
}

.news-inline-image img {
  width: 100%;
  display: block;
}

.news-article-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.news-article-section ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.news-related {
  margin-top: 34px;
}

.news-related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.news-related-heading h2 {
  margin: 0;
  font-size: 32px;
}

.news-related-heading a {
  font-weight: 700;
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.news-related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 32px rgba(53, 29, 13, 0.08);
}

.news-related-card a {
  display: grid;
}

.news-related-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-related-copy {
  padding: 22px 22px 24px;
}

.news-related-copy h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.45;
}

.admin-page .news-main {
  padding-top: 24px;
  padding-bottom: 88px;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(225, 124, 42, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(17, 33, 52, 0.08), transparent 24%),
    linear-gradient(180deg, #fbf7f1 0%, #f5efe5 100%);
}

.admin-page .news-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(251, 247, 241, 0.76);
  border-bottom: 1px solid rgba(30, 39, 53, 0.06);
}

.admin-nav {
  align-items: center;
  gap: 14px;
}

.admin-icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 39, 53, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(30, 39, 53, 0.82);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.admin-icon-btn:hover {
  transform: translateY(-1px);
  color: var(--orange-deep);
  border-color: rgba(203, 103, 33, 0.18);
  box-shadow: 0 10px 24px rgba(53, 29, 13, 0.10);
}

.admin-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-account {
  font-size: 14px;
  color: rgba(30, 39, 53, 0.72);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 39, 53, 0.06);
}

.admin-logout-form {
  margin: 0;
}

.admin-logout-form button {
  border: 0;
  cursor: pointer;
}

.admin-section {
  padding-top: 8px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.admin-sidebar,
.admin-editor,
.admin-auth-card {
  position: relative;
  border: 1px solid rgba(30, 39, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.98));
  box-shadow:
    0 30px 60px rgba(53, 29, 13, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  border-radius: 28px;
}

.admin-sidebar::before,
.admin-editor::before,
.admin-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
}

.admin-sidebar {
  position: sticky;
  top: 112px;
  padding: 26px 22px 22px;
}

.admin-sidebar-top,
.admin-sections-head,
.admin-section-card-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-sidebar-top {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(30, 39, 53, 0.08);
}

.admin-sidebar-title {
  display: grid;
  gap: 8px;
}

.admin-sidebar-top h2,
.admin-image-info h3,
.admin-sections-head h3,
.admin-section-card h4,
.admin-editor-intro h2,
.admin-panel-head h3,
.admin-inline-tools-copy h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.admin-sidebar-top h2 {
  font-size: 24px;
}

.admin-sidebar-tip {
  margin: 0;
  color: rgba(30, 39, 53, 0.48);
  font-size: 12px;
  line-height: 1.6;
}

.admin-sidebar-nav {
  display: grid;
  gap: 12px;
}

.admin-sidebar-nav-item {
  width: 100%;
  padding: 18px 18px 16px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.admin-sidebar-nav-item:hover,
.admin-sidebar-nav-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(203, 103, 33, 0.24);
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 28px rgba(53, 29, 13, 0.08);
}

.admin-sidebar-nav-item.is-active {
  border-color: rgba(203, 103, 33, 0.34);
}

.admin-sidebar-nav-copy {
  display: grid;
  gap: 6px;
}

.admin-sidebar-nav-copy strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
}

.admin-sidebar-nav-copy small {
  color: rgba(30, 39, 53, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

.admin-sidebar-nav-badge {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 124, 42, 0.14), rgba(184, 90, 31, 0.08));
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
}

.admin-list-view {
  display: grid;
  gap: 24px;
}

.admin-list-view[hidden] {
  display: none !important;
}

.admin-form[hidden] {
  display: none !important;
}

.admin-list-view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(30, 39, 53, 0.08);
}

.admin-list-view-kicker {
  margin: 0 0 10px;
  color: rgba(203, 103, 33, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.admin-list-view-head h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 34px;
  line-height: 1.2;
  color: var(--ink);
}

.admin-list-view-copy {
  margin: 10px 0 0;
  color: rgba(30, 39, 53, 0.58);
  font-size: 14px;
  line-height: 1.8;
}

.admin-homepage-panel {
  display: grid;
  gap: 22px;
}

.admin-homepage-panel[hidden] {
  display: none !important;
}

.admin-homepage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-homepage-list {
  display: grid;
  gap: 20px;
}

.admin-homepage-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(39, 55, 79, 0.08);
}

.admin-homepage-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-homepage-card-copy {
  display: grid;
  gap: 6px;
}

.admin-homepage-card-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.admin-homepage-card-copy span {
  color: rgba(30, 39, 53, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.admin-homepage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.admin-homepage-upload {
  min-width: 0;
}

.admin-table-shell {
  overflow: hidden;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.admin-article-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-article-table th,
.admin-article-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(30, 39, 53, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-article-table th {
  background: rgba(248, 243, 236, 0.92);
  color: rgba(30, 39, 53, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-article-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-article-row {
  transition: background 0.2s ease;
}

.admin-article-row:hover,
.admin-article-row.is-active {
  background: rgba(255, 248, 241, 0.86);
}

.admin-article-row-title,
.admin-table-action {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.admin-article-row-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.admin-article-row-title:hover,
.admin-table-action:hover {
  color: var(--orange-deep);
}

.admin-table-status {
  color: rgba(30, 39, 53, 0.58);
  font-size: 13px;
}

.admin-table-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(30, 39, 53, 0.06);
  color: rgba(30, 39, 53, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.admin-table-pill.is-featured {
  background: rgba(31, 184, 106, 0.12);
  color: #12804a;
}

.admin-table-action {
  color: rgba(203, 103, 33, 0.94);
  font-size: 14px;
  font-weight: 700;
}

.admin-table-actions-cell {
  white-space: nowrap;
}

.admin-table-action-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-table-action-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.admin-table-action-icon:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(203, 103, 33, 0.22);
  box-shadow: 0 10px 20px rgba(53, 29, 13, 0.06);
}

.admin-table-action + .admin-table-action {
  margin-left: 14px;
}

.admin-table-action.is-soft {
  color: rgba(30, 39, 53, 0.58);
}

.admin-table-action.is-danger {
  color: rgba(30, 39, 53, 0.46);
}

.admin-table-action.is-danger:hover:not(:disabled) {
  border-color: rgba(201, 58, 58, 0.2);
  color: rgba(201, 58, 58, 0.9);
  box-shadow: 0 10px 20px rgba(201, 58, 58, 0.08);
}

.admin-table-action.is-danger:focus-visible:not(:disabled),
.admin-table-action.is-danger:active:not(:disabled) {
  color: rgba(201, 58, 58, 0.9);
}

.admin-table-action:disabled {
  color: rgba(30, 39, 53, 0.28);
  cursor: not-allowed;
}

.admin-table-empty {
  display: grid;
  gap: 8px;
  padding: 30px 12px;
  text-align: center;
}

.admin-table-empty strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-table-empty span {
  color: rgba(30, 39, 53, 0.52);
  font-size: 14px;
  line-height: 1.8;
}

.admin-table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-table-pagination[hidden] {
  display: none !important;
}

.admin-pagination-meta {
  color: rgba(30, 39, 53, 0.52);
  font-size: 13px;
  line-height: 1.7;
}

.admin-pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pagination-btn,
.admin-pagination-page {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(30, 39, 53, 0.72);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.admin-pagination-btn:hover:not(:disabled),
.admin-pagination-page:hover:not(:disabled),
.admin-pagination-page.is-active {
  transform: translateY(-1px);
  border-color: rgba(203, 103, 33, 0.24);
  color: var(--orange-deep);
  box-shadow: 0 10px 18px rgba(53, 29, 13, 0.06);
}

.admin-pagination-page.is-active {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(255, 255, 255, 0.98));
}

.admin-pagination-btn:disabled,
.admin-pagination-page:disabled {
  color: rgba(30, 39, 53, 0.26);
  cursor: not-allowed;
  box-shadow: none;
}

.admin-pagination-ellipsis {
  color: rgba(30, 39, 53, 0.36);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.admin-delete-confirm-copy {
  margin: 0;
  color: rgba(30, 39, 53, 0.66);
  font-size: 15px;
  line-height: 1.9;
}

.admin-article-groups {
  display: grid;
  gap: 22px;
}

.admin-article-group {
  display: grid;
  gap: 10px;
}

.admin-article-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-article-group-head h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 39, 53, 0.52);
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.admin-article-group-head span {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 124, 42, 0.14), rgba(184, 90, 31, 0.08));
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.admin-article-list {
  display: grid;
  gap: 10px;
  position: relative;
}

.admin-article-empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed rgba(30, 39, 53, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(30, 39, 53, 0.5);
  font-size: 13px;
}

.admin-article-item {
  width: 100%;
  padding: 18px 18px 16px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 241, 0.98));
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.admin-article-item.is-reorderable {
  cursor: grab;
}

.admin-article-item.is-drag-armed {
  transform: translateY(-1px) scale(1.005);
  border-color: rgba(203, 103, 33, 0.30);
  box-shadow: 0 14px 24px rgba(53, 29, 13, 0.10);
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.98), rgba(255, 255, 255, 0.98));
}

.admin-article-item.is-dragging {
  opacity: 0.18;
  cursor: grabbing;
  transform: scale(0.985);
}

.admin-article-item.is-drop-target {
  border-color: rgba(203, 103, 33, 0.38);
  box-shadow:
    0 0 0 2px rgba(203, 103, 33, 0.12),
    0 10px 18px rgba(53, 29, 13, 0.08);
}

.admin-article-drop-placeholder {
  border: 1px dashed rgba(203, 103, 33, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 246, 236, 0.52), rgba(255, 255, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.admin-article-list.is-sorting .admin-article-item {
  transition-duration: 0.18s;
}

.admin-article-list.is-sorting .admin-article-item:hover {
  transform: none;
  border-color: rgba(30, 39, 53, 0.08);
  box-shadow: none;
}

.admin-article-list.is-sorting .admin-article-item.is-active:hover {
  border-color: rgba(203, 103, 33, 0.22);
  box-shadow: 0 20px 32px rgba(53, 29, 13, 0.10);
}

.admin-article-list.is-sorting .admin-article-item.is-featured:hover {
  border-color: rgba(31, 184, 106, 0.22);
  box-shadow: 0 16px 30px rgba(31, 184, 106, 0.08);
}

.admin-article-item strong,
.admin-article-item span {
  display: block;
}

.admin-article-item strong {
  font-size: 16px;
  line-height: 1.6;
}

.admin-featured-badge {
  display: inline-flex;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(31, 184, 106, 0.12);
  color: #12804a;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.admin-article-meta {
  margin-top: 8px;
  color: rgba(30, 39, 53, 0.5);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
}

.admin-article-item:hover,
.admin-article-item.is-active {
  transform: translateY(-3px);
  border-color: rgba(203, 103, 33, 0.22);
  box-shadow: 0 20px 32px rgba(53, 29, 13, 0.10);
}

.admin-article-item.is-active {
  background: linear-gradient(180deg, rgba(255, 243, 231, 0.98), #fff);
}

.admin-article-item.is-featured {
  border-color: rgba(31, 184, 106, 0.22);
  background:
    linear-gradient(180deg, rgba(244, 253, 248, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 30px rgba(31, 184, 106, 0.08);
}

.admin-article-item.is-featured.is-active {
  border-color: rgba(31, 184, 106, 0.34);
  box-shadow: 0 22px 36px rgba(31, 184, 106, 0.14);
}

.admin-editor {
  padding: 24px 26px 30px;
}

.admin-form,
.admin-sections,
.admin-auth-form {
  display: grid;
  gap: 22px;
}

.admin-wechat-layout {
  display: grid;
}

.admin-compose-shell {
  display: grid;
  gap: 0;
  border-radius: 28px;
  border: 1px solid rgba(30, 39, 53, 0.06);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 56px rgba(53, 29, 13, 0.10);
}

.admin-compose-shell.is-empty {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.admin-compose-card {
  padding: 52px 64px 40px;
  min-height: 980px;
  background: #fff;
}

.admin-editor-sticky-group {
  position: relative;
  z-index: 12;
  display: grid;
  gap: 18px;
  padding-bottom: 14px;
  background: #fff;
}

.admin-editor-sticky-group.is-fixed {
  position: fixed;
  top: 0;
  z-index: 36;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(30, 39, 53, 0.06);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 22px rgba(53, 29, 13, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.admin-editor-sticky-placeholder[hidden] {
  display: none !important;
}

.admin-editor-empty {
  display: grid;
  align-items: start;
  min-height: 760px;
  padding: 22px 10px 30px 16px;
}

.admin-editor-empty[hidden] {
  display: none;
}

.admin-editor-empty-panel {
  position: relative;
  width: 100%;
  padding: 46px 48px 44px;
  border: 1px solid rgba(30, 39, 53, 0.05);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(233, 170, 115, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 245, 0.94));
  box-shadow:
    0 26px 46px rgba(53, 29, 13, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-editor-empty-panel::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 38px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, rgba(222, 140, 73, 0.18), rgba(243, 213, 181, 0.02));
  opacity: 0.9;
  filter: blur(1px);
}

.admin-editor-empty-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.admin-editor-empty-label {
  margin: 0 0 16px;
  color: rgba(203, 103, 33, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.admin-editor-empty h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.admin-editor-empty-copy {
  max-width: 42em;
  margin: 20px 0 0;
  color: rgba(30, 39, 53, 0.6);
  font-size: 17px;
  line-height: 1.95;
  text-wrap: pretty;
}

.admin-editor-empty-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.admin-editor-empty-stat {
  display: grid;
  gap: 10px;
  min-height: 148px;
  align-content: start;
  padding: 26px 26px 22px;
  border: 1px solid rgba(30, 39, 53, 0.05);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.admin-editor-empty-stat-accent {
  background: linear-gradient(145deg, rgba(246, 252, 248, 0.96), rgba(255, 255, 255, 0.9));
  border-color: rgba(31, 184, 106, 0.12);
}

.admin-editor-empty-stat-value {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 54px;
  line-height: 0.92;
  font-weight: 600;
}

.admin-editor-empty-stat-label {
  color: rgba(30, 39, 53, 0.58);
  font-size: 14px;
  line-height: 1.7;
}

.admin-editor-empty-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.admin-editor-empty-actions .admin-primary-btn {
  min-width: 164px;
  min-height: 56px;
  padding-inline: 30px;
}

.admin-editor-empty-actions .admin-secondary-btn {
  min-width: 164px;
  min-height: 56px;
}

.admin-editor-empty-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.admin-editor-empty-note {
  display: grid;
  gap: 10px;
  min-height: 118px;
  align-content: start;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(30, 39, 53, 0.05);
}

.admin-editor-empty-note strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.admin-editor-empty-note span {
  color: rgba(30, 39, 53, 0.58);
  font-size: 14px;
  line-height: 1.85;
}

.admin-editor-empty-note:first-child {
  border-left: 4px solid rgba(219, 117, 34, 0.44);
}

.admin-editor-empty-note:last-child {
  border-left: 4px solid rgba(31, 184, 106, 0.34);
}

.admin-editor-content[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .admin-editor-empty {
    padding: 10px 0 22px;
  }

  .admin-editor-empty-panel {
    padding: 34px 24px 28px;
  }

  .admin-editor-empty-stats,
  .admin-editor-empty-notes {
    grid-template-columns: 1fr;
  }
}

.admin-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(144px, 188px) auto;
  gap: 18px;
  align-items: center;
}

.admin-title-row input {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.22;
  color: var(--ink);
  box-shadow: none;
}

.admin-title-row input::placeholder,
.admin-body-field textarea::placeholder,
.admin-summary-field textarea::placeholder {
  color: rgba(30, 39, 53, 0.26);
}

.admin-title-row input:focus {
  transform: none;
  box-shadow: none;
}

.admin-title-row input.is-limit {
  color: #b33a2b;
}

.admin-counter {
  color: rgba(30, 39, 53, 0.34);
  font-size: 16px;
  line-height: 1.6;
  white-space: nowrap;
}

.admin-featured-toggle-inline {
  margin-left: 8px;
}

.admin-counter-inline {
  justify-self: end;
  font-size: 14px;
}

.admin-category-row {
  display: none;
}

.admin-featured-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding: 8px 12px 8px 14px;
  border: 1px solid rgba(31, 184, 106, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(237, 250, 243, 0.96), rgba(255, 255, 255, 0.98));
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  flex: 0 0 auto;
}

.admin-featured-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 184, 106, 0.28);
  box-shadow: 0 14px 28px rgba(31, 184, 106, 0.08);
}

.admin-featured-toggle-copy {
  display: flex;
  align-items: center;
}

.admin-featured-toggle-copy strong {
  font-size: 13px;
  line-height: 1.2;
  color: #12804a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-featured-toggle-copy span {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(30, 39, 53, 0.62);
}

.admin-featured-toggle-control {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 32px;
}

.admin-featured-toggle-control input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.admin-featured-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(30, 39, 53, 0.14);
  box-shadow: inset 0 0 0 1px rgba(30, 39, 53, 0.04);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.admin-featured-toggle-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 16px rgba(30, 39, 53, 0.16);
  transition: transform 0.22s ease;
}

.admin-featured-toggle-control input:checked + .admin-featured-toggle-track {
  background: linear-gradient(135deg, #1fb86a, #169956);
  box-shadow: 0 10px 22px rgba(31, 184, 106, 0.22);
}

.admin-featured-toggle-control input:checked + .admin-featured-toggle-track::after {
  transform: translateX(24px);
}

.admin-featured-toggle-control input:focus-visible + .admin-featured-toggle-track {
  outline: 3px solid rgba(31, 184, 106, 0.18);
  outline-offset: 3px;
}

.admin-body-field {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.admin-body-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 255, 255, 0.98));
  position: relative;
  z-index: 8;
  box-shadow: 0 14px 24px rgba(53, 29, 13, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admin-body-floating-toolbar {
  display: none !important;
}

.admin-body-tool {
  min-width: 52px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-body-tool:hover {
  transform: translateY(-1px);
  border-color: rgba(203, 103, 33, 0.2);
  box-shadow: 0 10px 20px rgba(53, 29, 13, 0.06);
}

.admin-body-tool strong {
  font-weight: 800;
}

.admin-body-tool-compact {
  min-width: 44px;
  min-height: 38px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-body-tool-compact:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.admin-content-editor {
  min-height: 720px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 2;
  color: var(--ink);
  outline: none;
}

.admin-content-editor:empty::before,
.admin-content-editor[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: rgba(30, 39, 53, 0.26);
}

.admin-content-editor p {
  margin: 0 0 1.25em;
}

.admin-content-editor p:last-child {
  margin-bottom: 0;
}

.admin-content-editor .news-text-large {
  font-size: 1.18em;
}

.admin-content-editor .news-text-small {
  font-size: 0.9em;
  color: rgba(30, 39, 53, 0.72);
}

.admin-editor-inline-image {
  margin: 24px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(30, 39, 53, 0.08);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-editor-inline-image.is-selected {
  border-color: rgba(203, 103, 33, 0.3);
  box-shadow:
    0 0 0 3px rgba(203, 103, 33, 0.12),
    0 14px 26px rgba(53, 29, 13, 0.08);
  transform: translateY(-1px);
}

.admin-editor-inline-image img {
  width: 100%;
  display: block;
}

.admin-body-field textarea {
  min-height: 720px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  line-height: 2;
  box-shadow: none;
}

.admin-body-field textarea:focus {
  transform: none;
  box-shadow: none;
}

.admin-body-field textarea[hidden] {
  display: none;
}

.admin-settings-panel {
  margin-top: 34px;
}

.admin-settings-divider {
  height: 1px;
  background: rgba(30, 39, 53, 0.08);
  margin-bottom: 28px;
}

.admin-meta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 20px;
  overflow: hidden;
}

.admin-cover-card,
.admin-summary-field {
  min-height: 170px;
  background: #fff;
}

.admin-cover-card {
  border-right: 1px solid rgba(30, 39, 53, 0.08);
}

.admin-cover-trigger {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  cursor: pointer;
}

.admin-cover-trigger-media {
  width: 100%;
  min-height: 180px;
  border: 1px dashed rgba(203, 103, 33, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 249, 243, 0.96), rgba(255, 255, 255, 0.96));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.admin-cover-trigger-media.is-hero-background {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.admin-cover-trigger-media.is-hero-banner {
  aspect-ratio: 380 / 163;
  min-height: 0;
}

.admin-cover-placeholder {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: rgba(30, 39, 53, 0.54);
}

.admin-cover-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225, 124, 42, 0.16), rgba(184, 90, 31, 0.10));
  color: var(--orange-deep);
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-cover-placeholder strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.admin-cover-placeholder span:last-child {
  font-size: 12px;
  line-height: 1.7;
}

.admin-cover-trigger:not(.is-empty) .admin-cover-placeholder {
  display: none;
}

.admin-cover-trigger.is-empty .admin-image-preview {
  display: none;
}

.admin-cover-trigger-copy {
  position: static;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  text-align: center;
}

.admin-summary-field {
  padding: 20px 24px;
  display: grid;
  gap: 10px;
}

.admin-summary-field textarea {
  min-height: 110px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.8;
  box-shadow: none;
  resize: none;
}

.admin-summary-field textarea:focus {
  transform: none;
  box-shadow: none;
}

.admin-compose-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  border-top: 1px solid rgba(30, 39, 53, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.admin-compose-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-compose-count {
  color: rgba(30, 39, 53, 0.54);
  font-size: 14px;
}

.admin-form-grid,
.admin-image-panel {
  display: grid;
  gap: 20px;
}

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

.admin-form-grid-compact {
  align-items: start;
}

.admin-editor-intro {
  margin-bottom: 18px;
  padding: 0 6px;
}

.admin-eyebrow,
.admin-panel-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(30, 39, 53, 0.48);
  font-weight: 700;
}

.admin-editor-intro h2 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.18;
}

.admin-editor-intro p:last-child {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.admin-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 238, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel-head h3,
.admin-inline-tools-copy h3,
.admin-image-info h3 {
  font-size: 24px;
}

.admin-content-panel {
  min-height: 100%;
}

.admin-content-field {
  display: grid;
  gap: 10px;
}

.admin-span-2 {
  grid-column: span 2;
}

.admin-form .admin-category-field {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: auto;
  flex: 1 1 auto;
}

.admin-form .admin-category-field-inline {
  justify-self: stretch;
  width: min(100%, 188px);
}

.admin-form .admin-category-label {
  display: inline-flex;
  align-items: center;
  color: rgba(30, 39, 53, 0.68);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-form .admin-category-select-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.admin-form .admin-category-select-wrap select {
  min-height: 56px;
  padding: 14px 52px 14px 18px;
  padding-right: 52px;
  appearance: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 243, 0.98));
}

.admin-form .admin-featured-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-form .admin-featured-toggle-copy {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.admin-select-caret {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(30, 39, 53, 0.42);
  border-bottom: 2px solid rgba(30, 39, 53, 0.42);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.admin-modal-open {
  overflow: hidden;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 27, 38, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.admin-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 36px 72px rgba(21, 27, 38, 0.22);
  border: 1px solid rgba(30, 39, 53, 0.08);
  overflow: hidden;
}

.admin-cover-crop-modal {
  width: min(100%, 860px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 243, 0.96));
}

.admin-password-modal {
  width: min(100%, 560px);
}

.admin-password-form {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.admin-password-form label {
  display: grid;
  gap: 8px;
}

.admin-password-form label span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(30, 39, 53, 0.82);
}

.admin-password-form input {
  width: 100%;
  border: 1px solid rgba(30, 39, 53, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 18px;
  font: inherit;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.admin-password-form input:focus {
  outline: none;
  border-color: rgba(203, 103, 33, 0.48);
  box-shadow: 0 0 0 4px rgba(225, 124, 42, 0.12);
}

.admin-password-status {
  min-height: 22px;
  margin: 14px 0 0;
}

.admin-cover-crop-head {
  padding: 24px 28px 0;
}

.admin-cover-crop-head-copy {
  display: grid;
  gap: 8px;
}

.admin-cover-crop-kicker {
  margin: 0;
  color: rgba(203, 103, 33, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.admin-cover-crop-head h3 {
  font-size: 28px;
}

.admin-cover-crop-body {
  gap: 18px;
  padding: 18px 28px 24px;
}

.admin-cover-crop-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-cover-crop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(203, 103, 33, 0.1);
  color: #b76125;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-cover-crop-stage-wrap {
  padding: 14px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 242, 233, 0.82));
  border: 1px solid rgba(30, 39, 53, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-cover-crop-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(30, 39, 53, 0.92), rgba(62, 74, 92, 0.92));
  user-select: none;
  touch-action: none;
  cursor: grab;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(21, 27, 38, 0.18);
}

.admin-cover-crop-stage:active {
  cursor: grabbing;
}

.admin-cover-crop-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--admin-crop-aspect-ratio, 16 / 9);
  overflow: hidden;
}

.admin-cover-crop-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 5;
}

.admin-cover-crop-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
}

.admin-cover-crop-guides,
.admin-cover-crop-safe,
.admin-cover-crop-shadow,
.admin-cover-crop-corners,
.admin-cover-crop-center-dot,
.admin-cover-crop-hint {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.admin-cover-crop-guides {
  inset: 0;
  background-image:
    linear-gradient(to right, transparent 33.333%, rgba(255, 255, 255, 0.14) 33.333%, rgba(255, 255, 255, 0.14) 33.9%, transparent 33.9%, transparent 66.1%, rgba(255, 255, 255, 0.14) 66.1%, rgba(255, 255, 255, 0.14) 66.666%, transparent 66.666%),
    linear-gradient(to bottom, transparent 33.333%, rgba(255, 255, 255, 0.14) 33.333%, rgba(255, 255, 255, 0.14) 33.9%, transparent 33.9%, transparent 66.1%, rgba(255, 255, 255, 0.14) 66.1%, rgba(255, 255, 255, 0.14) 66.666%, transparent 66.666%);
}

.admin-cover-crop-safe {
  inset: 12% 10%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 18px;
}

.admin-cover-crop-shadow {
  inset: 0;
  box-shadow: inset 0 0 0 999px rgba(8, 12, 18, 0.08);
}

.admin-cover-crop-corners {
  inset: 0;
}

.admin-cover-crop-corners::before,
.admin-cover-crop-corners::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-top: 3px solid rgba(255, 255, 255, 0.92);
  border-left: 3px solid rgba(255, 255, 255, 0.92);
  top: 14px;
  left: 14px;
  border-top-left-radius: 10px;
}

.admin-cover-crop-corners::after {
  top: auto;
  left: auto;
  right: 14px;
  bottom: 14px;
  border-top: 0;
  border-left: 0;
  border-right: 3px solid rgba(255, 255, 255, 0.92);
  border-bottom: 3px solid rgba(255, 255, 255, 0.92);
  border-bottom-right-radius: 10px;
}

.admin-cover-crop-center-dot {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.admin-cover-crop-hint {
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 17, 26, 0.42);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1;
}

.admin-cover-crop-controls {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 39, 53, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-cover-crop-slider-wrap {
  display: grid;
  gap: 10px;
}

.admin-cover-crop-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-cover-crop-slider-wrap span {
  color: rgba(30, 39, 53, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.admin-cover-crop-slider-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.admin-cover-crop-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: #cb6721;
}

.admin-cover-crop-tips {
  display: grid;
  gap: 8px;
}

.admin-cover-crop-tips span {
  color: rgba(30, 39, 53, 0.56);
  font-size: 13px;
  line-height: 1.7;
}

.admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.admin-modal-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.admin-modal-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 39, 53, 0.06);
  color: rgba(30, 39, 53, 0.5);
  font-size: 28px;
  line-height: 1;
  transform: rotate(45deg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-modal-close:hover {
  background: rgba(30, 39, 53, 0.10);
  color: var(--ink);
}

.admin-modal-body {
  display: grid;
  gap: 14px;
  padding: 18px 24px 20px;
}

.admin-category-create-copy {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(30, 39, 53, 0.6);
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  padding: 0 24px 24px;
}

.admin-cover-crop-actions {
  justify-content: space-between;
  padding: 0 28px 28px;
}

.admin-text-btn {
  padding: 0 8px;
  border: 0;
  background: none;
  color: rgba(30, 39, 53, 0.52);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.admin-text-btn:hover {
  color: var(--ink);
}

.admin-form label,
.admin-section-card label,
.admin-auth-form label {
  display: grid;
  gap: 10px;
}

.admin-form label span,
.admin-section-card label span,
.admin-auth-form label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 39, 53, 0.62);
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-section-card input,
.admin-section-card textarea,
.admin-auth-form input {
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(30, 39, 53, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.admin-form textarea,
.admin-section-card textarea {
  resize: vertical;
  min-height: 150px;
}

.admin-form textarea[name="summary"] {
  min-height: 108px;
}

.admin-form textarea[name="content"] {
  min-height: 420px;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-section-card input:focus,
.admin-section-card textarea:focus,
.admin-auth-form input:focus {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(203, 103, 33, 0.42);
  box-shadow:
    0 0 0 4px rgba(203, 103, 33, 0.08),
    0 12px 24px rgba(53, 29, 13, 0.06);
}

.admin-field-tip {
  display: block;
  margin-top: 2px;
  color: rgba(30, 39, 53, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

.admin-image-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
}

.admin-image-info p,
.admin-auth-intro,
.admin-auth-tip {
  margin: 0;
  line-height: 1.8;
  color: var(--ink-soft);
}

.admin-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.admin-image-preview-wrap {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: none;
}

.admin-image-preview-wrap:hover,
.admin-image-preview-wrap:focus-visible {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.admin-image-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: rgba(30, 39, 53, 0.04);
}

.admin-cover-trigger-media.is-hero-background .admin-image-preview,
.admin-cover-trigger-media.is-hero-banner .admin-image-preview {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.admin-cover-trigger-media.is-hero-background .admin-image-preview {
  object-fit: cover;
}

.admin-cover-trigger-media.is-hero-banner .admin-image-preview {
  object-fit: cover;
}

.admin-image-preview-overlay {
  display: none;
}

.admin-image-preview-overlay strong {
  font-size: 14px;
  line-height: 1.3;
}

.admin-image-preview-overlay span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.admin-sections-head {
  margin-bottom: 18px;
}

.admin-sections-head h3 {
  font-size: 24px;
}

.admin-text-btn,
.admin-primary-btn,
.admin-secondary-btn,
.admin-danger-btn {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  font: inherit;
  cursor: pointer;
  font-weight: 700;
}

.admin-primary-btn,
.admin-secondary-btn,
.admin-danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.admin-primary-btn {
  background: linear-gradient(135deg, #d86f1b, #aa4716);
  color: #fff;
  box-shadow: 0 16px 32px rgba(180, 85, 27, 0.24);
}

.admin-secondary-btn,
.admin-text-btn {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border: 1px solid rgba(30, 39, 53, 0.08);
}

.admin-danger-btn {
  background: rgba(148, 30, 30, 0.08);
  color: #9a2c17;
  border: 1px solid rgba(154, 44, 23, 0.10);
}

.admin-primary-btn:hover,
.admin-secondary-btn:hover,
.admin-danger-btn:hover,
.admin-text-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(53, 29, 13, 0.08);
}

.admin-primary-btn:disabled,
.admin-secondary-btn:disabled,
.admin-danger-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.admin-section-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(30, 39, 53, 0.08);
  background: #fff;
}

.admin-section-card + .admin-section-card {
  margin-top: 14px;
}

.admin-section-card h4 {
  font-size: 18px;
}

.admin-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-actions .admin-primary-btn,
.admin-actions .admin-danger-btn,
.admin-actions .admin-secondary-btn {
  min-width: 138px;
}

.admin-status {
  font-size: 14px;
  color: rgba(30, 39, 53, 0.62);
  padding: 0 4px;
}

.admin-status.is-error,
.admin-auth-error {
  color: #a63f23;
}

.admin-auth-page {
  min-height: 100vh;
}

.admin-auth-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(225, 124, 42, 0.14), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(18, 25, 35, 0.08), transparent 26%),
    linear-gradient(180deg, #fbf7f1, #efe6d8);
}

.admin-auth-shell {
  width: min(100%, 560px);
}

.admin-auth-card {
  padding: 46px 36px 40px;
}

.admin-auth-header {
  position: relative;
  z-index: 1;
}

.admin-auth-card .news-kicker {
  margin: 0;
  color: rgba(214, 142, 96, 0.9);
  letter-spacing: 0.18em;
  font-size: 14px;
}

.admin-auth-card h1 {
  margin: 18px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.admin-auth-form .admin-primary-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
}

.admin-auth-form {
  position: relative;
  z-index: 1;
  gap: 18px;
  margin-top: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-auth-form label {
  gap: 12px;
}

.admin-auth-form input {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.admin-auth-password-wrap {
  position: relative;
}

.admin-auth-password-wrap input {
  padding-right: 66px;
}

.admin-auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(30, 39, 53, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease;
}

.admin-auth-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-auth-password-toggle .is-eye-closed {
  display: none;
}

.admin-auth-password-toggle.is-visible .is-eye-open {
  display: none;
}

.admin-auth-password-toggle.is-visible .is-eye-closed {
  display: block;
}

.admin-auth-password-toggle:hover,
.admin-auth-password-toggle:focus-visible {
  background: rgba(203, 103, 33, 0.08);
  color: #b45a1f;
  outline: none;
}

.admin-auth-password-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-auth-form input::placeholder {
  color: rgba(30, 39, 53, 0.28);
}

.admin-auth-options {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.admin-auth-remember {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: rgba(30, 39, 53, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.admin-auth-note {
  margin: 0;
  color: rgba(30, 39, 53, 0.44);
  font-size: 12px;
  line-height: 1.7;
}

.admin-auth-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #cb6721;
}

.admin-auth-remember span {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: inherit !important;
}

.admin-auth-error {
  margin: 22px 0 0;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(166, 63, 35, 0.08);
}

.admin-auth-tip {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(30, 39, 53, 0.05);
}

.admin-auth-tip code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.95em;
}

.news-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--ink-soft);
}

.visual-slide {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1f1711;
  box-shadow: var(--shadow);
  flex: 0 0 560px;
  min-width: 560px;
}

.visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--parallax-y, 0px)) scale(1.16);
  transition: transform 0.28s linear;
}

.visual-slide figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 0;
  background: none;
  color: #fff;
  backdrop-filter: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.carousel.is-marquee .carousel-arrow {
  display: none;
}

.campus-carousel .carousel-fade::before {
  width: 56px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.campus-carousel .carousel-fade::after {
  width: 56px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.campus-carousel .carousel-track {
  gap: 20px;
}

.campus-carousel .visual-slide {
  box-shadow: none;
}

.expert-carousel .carousel-fade::before,
.expert-carousel .carousel-fade::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.expert-carousel .carousel-fade::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.advisor-section {
  background: linear-gradient(180deg, #fff 0%, #faf4ed 100%);
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.advisor-card {
  padding: 30px;
}

.advisor-card h3 {
  margin: 0;
  font-size: 28px;
  font-family: "Noto Serif SC", serif;
}

.advisor-card span {
  display: block;
  margin: 10px 0 14px;
  font-size: 12px;
  color: var(--orange-deep);
}

.advisor-card p {
  margin: 0;
}

.expert-section {
  background:
    radial-gradient(circle at left top, rgba(225, 124, 42, 0.08), transparent 24%),
    #fff;
}

.culture-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(97, 48, 19, 0.96), rgba(31, 23, 16, 0.96)),
    radial-gradient(circle at right top, rgba(225, 124, 42, 0.22), transparent 30%);
}

.culture-layout {
  display: grid;
  gap: 28px;
}

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

.culture-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.culture-grid span {
  display: block;
  color: rgba(255, 225, 198, 0.82);
}

.culture-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-family: "Noto Serif SC", serif;
}

.admission-section {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-deep) 0%, #9b4615 100%);
}

.admission-copy .section-title p {
  color: rgba(255, 255, 255, 0.28);
}

.admission-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.admission-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 252px;
  gap: 22px;
  align-items: stretch;
}

.admission-copy {
  max-width: none;
}

.admission-card {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at top right, rgba(255, 216, 184, 0.18), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px rgba(80, 26, 5, 0.18);
  backdrop-filter: blur(8px);
}

.admission-list {
  margin: 0;
  padding-left: 18px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
}

.admission-qr-card {
  margin: 0;
  display: grid;
  height: 100%;
  gap: 12px;
  align-content: start;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    radial-gradient(circle at top right, rgba(255, 226, 198, 0.14), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 34px rgba(80, 26, 5, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.admission-qr-badge {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 245, 237, 0.92);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admission-qr-frame {
  padding: 9px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 236, 0.96));
  box-shadow:
    0 16px 28px rgba(57, 19, 2, 0.16),
    inset 0 0 0 1px rgba(188, 94, 35, 0.08);
}

.admission-qr img {
  display: block;
  width: min(100%, 164px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
}

.admission-qr-card figcaption {
  display: grid;
  gap: 4px;
  text-align: center;
}

.admission-qr-card figcaption strong {
  font-size: 15px;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  color: rgba(255, 249, 245, 0.98);
}

.admission-qr-card figcaption span {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 238, 226, 0.82);
}

.site-footer {
  background: #7d3814;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-record-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.footer-record-link:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.js-enabled .hero-portal .hero-kicker,
.js-enabled .hero-portal h1,
.js-enabled .hero-portal .hero-subtitle,
.js-enabled .hero-portal .hero-value-grid article,
.js-enabled .hero-portal .hero-notice-card,
.js-enabled .section .section-title,
.js-enabled .section .section-intro,
.js-enabled .section .profile-text p,
.js-enabled .section .intro-highlights span,
.js-enabled .section .profile-image-card,
.js-enabled .section .profile-stats-card article,
.js-enabled .section .philosophy-stage blockquote,
.js-enabled .section .principal-card,
.js-enabled .section .academy-heading p,
.js-enabled .section .academy-tab,
.js-enabled .section .academy-panel,
.js-enabled .section .education-cards article,
.js-enabled .section .profile-slide,
.js-enabled .section .class-type-tab,
.js-enabled .section .class-type-panel,
.js-enabled .section .curriculum-copy,
.js-enabled .section .curriculum-tab,
.js-enabled .section .curriculum-panel,
.js-enabled .section .visual-slide,
.js-enabled .section .advisor-card,
.js-enabled .section .culture-grid article,
.js-enabled .section .admission-card {
  opacity: 0;
  will-change: opacity, transform, filter;
}

.js-enabled .hero-portal .hero-kicker,
.js-enabled .hero-portal .hero-subtitle,
.js-enabled .hero-portal .hero-notice-card,
.js-enabled .section .section-title,
.js-enabled .section .section-intro,
.js-enabled .section .academy-heading p,
.js-enabled .section .profile-text p,
.js-enabled .section .advisor-card,
.js-enabled .section .admission-card {
  transform: translateY(58px);
}

.js-enabled .hero-portal h1,
.js-enabled .section .philosophy-stage blockquote,
.js-enabled .section .principal-card,
.js-enabled .section .academy-panel,
.js-enabled .section .curriculum-panel,
.js-enabled .section .class-type-panel {
  transform: translateY(84px) scale(0.93);
  filter: blur(18px);
}

.js-enabled .hero-portal .hero-value-grid article,
.js-enabled .section .profile-stats-card article,
.js-enabled .section .education-cards article,
.js-enabled .section .profile-slide,
.js-enabled .section .culture-grid article {
  transform: translateY(60px) scale(0.95);
}

.js-enabled .section .profile-image-card,
.js-enabled .section .visual-slide {
  transform: translateY(56px) scale(1.14);
  filter: blur(16px);
}

.js-enabled .section .intro-highlights span,
.js-enabled .section .academy-tab,
.js-enabled .section .class-type-tab,
.js-enabled .section .curriculum-tab {
  transform: translateY(38px);
}

.js-enabled .hero-portal .hero-kicker,
.js-enabled .hero-portal h1,
.js-enabled .hero-portal .hero-subtitle,
.js-enabled .hero-portal .hero-value-grid article,
.js-enabled .section .section-title,
.js-enabled .section .section-intro,
.js-enabled .section .profile-text p,
.js-enabled .section .intro-highlights span,
.js-enabled .section .profile-image-card,
.js-enabled .section .profile-stats-card article,
.js-enabled .section .philosophy-stage blockquote,
.js-enabled .section .principal-card,
.js-enabled .section .academy-heading p,
.js-enabled .section .academy-tab,
.js-enabled .section .academy-panel,
.js-enabled .section .education-cards article,
.js-enabled .section .profile-slide,
.js-enabled .section .class-type-tab,
.js-enabled .section .class-type-panel,
.js-enabled .section .curriculum-copy,
.js-enabled .section .curriculum-tab,
.js-enabled .section .curriculum-panel,
.js-enabled .section .visual-slide,
.js-enabled .section .advisor-card,
.js-enabled .section .culture-grid article,
.js-enabled .section .admission-card {
  transition:
    opacity 1.05s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 1.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 1.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-enabled .hero-portal.is-inview .hero-kicker,
.js-enabled .hero-portal.is-inview h1,
.js-enabled .hero-portal.is-inview .hero-subtitle,
.js-enabled .hero-portal.is-inview .hero-value-grid article,
.js-enabled .section.is-inview .section-title,
.js-enabled .section.is-inview .section-intro,
.js-enabled .section.is-inview .profile-text p,
.js-enabled .section.is-inview .intro-highlights span,
.js-enabled .section.is-inview .profile-image-card,
.js-enabled .section.is-inview .profile-stats-card article,
.js-enabled .section.is-inview .philosophy-stage blockquote,
.js-enabled .section.is-inview .principal-card,
.js-enabled .section.is-inview .academy-heading p,
.js-enabled .section.is-inview .academy-tab,
.js-enabled .section.is-inview .academy-panel,
.js-enabled .section.is-inview .education-cards article,
.js-enabled .section.is-inview .profile-slide,
.js-enabled .section.is-inview .class-type-tab,
.js-enabled .section.is-inview .class-type-panel,
.js-enabled .section.is-inview .curriculum-copy,
.js-enabled .section.is-inview .curriculum-tab,
.js-enabled .section.is-inview .curriculum-panel,
.js-enabled .section.is-inview .visual-slide,
.js-enabled .section.is-inview .advisor-card,
.js-enabled .section.is-inview .culture-grid article,
.js-enabled .section.is-inview .admission-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.js-enabled .hero-portal.is-inview .hero-copy {
  animation: heroLift 1.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes heroLift {
  0% {
    transform: translateY(72px) scale(0.94);
    opacity: 0.12;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.js-enabled .hero-portal .hero-kicker,
.js-enabled .section .section-title,
.js-enabled .section .profile-image-card,
.js-enabled .section .principal-card,
.js-enabled .section .curriculum-copy,
.js-enabled .section .admission-card {
  transition-delay: 0.04s;
}

.js-enabled .hero-portal h1,
.js-enabled .section .intro-highlights span:nth-child(1),
.js-enabled .section .profile-stats-card article:nth-child(1),
.js-enabled .section .academy-tab:nth-child(1),
.js-enabled .section .education-cards article:nth-child(1),
.js-enabled .section .profile-slide:nth-child(1),
.js-enabled .section .class-type-tab:nth-child(1),
.js-enabled .section .culture-grid article:nth-child(1) {
  transition-delay: 0.1s;
}

.js-enabled .hero-portal .hero-subtitle,
.js-enabled .section .intro-highlights span:nth-child(2),
.js-enabled .section .profile-stats-card article:nth-child(2),
.js-enabled .section .academy-tab:nth-child(2),
.js-enabled .section .education-cards article:nth-child(2),
.js-enabled .section .profile-slide:nth-child(2),
.js-enabled .section .class-type-tab:nth-child(2),
.js-enabled .section .culture-grid article:nth-child(2) {
  transition-delay: 0.16s;
}

.js-enabled .hero-portal .hero-value-grid article:nth-child(1),
.js-enabled .section .intro-highlights span:nth-child(3),
.js-enabled .section .profile-stats-card article:nth-child(3),
.js-enabled .section .academy-tab:nth-child(3),
.js-enabled .section .education-cards article:nth-child(3),
.js-enabled .section .profile-slide:nth-child(3),
.js-enabled .section .class-type-tab:nth-child(3),
.js-enabled .section .culture-grid article:nth-child(3) {
  transition-delay: 0.22s;
}

.js-enabled .hero-portal .hero-value-grid article:nth-child(2),
.js-enabled .section .profile-stats-card article:nth-child(4),
.js-enabled .section .academy-tab:nth-child(4),
.js-enabled .section .profile-slide:nth-child(4),
.js-enabled .section .class-type-tab:nth-child(4),
.js-enabled .section .culture-grid article:nth-child(4) {
  transition-delay: 0.28s;
}

.js-enabled .hero-portal .hero-value-grid article:nth-child(3),
.js-enabled .section .profile-slide:nth-child(5),
.js-enabled .section .class-type-tab:nth-child(5),
.js-enabled .section .culture-grid article:nth-child(5) {
  transition-delay: 0.34s;
}

.js-enabled .section .profile-slide:nth-child(6),
.js-enabled .section .culture-grid article:nth-child(6) {
  transition-delay: 0.4s;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .carousel-arrow.prev {
    left: 8px;
  }

  .carousel-arrow.next {
    right: 8px;
  }

  .class-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .profile-layout,
  .philosophy-layout,
  .education-layout,
  .admission-layout,
  .academy-layout,
  .curriculum-layout,
  .recent-layout {
    grid-template-columns: 1fr;
  }

  .recent-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-layout,
  .admin-workbench,
  .admin-image-panel {
    grid-template-columns: 1fr;
  }

  .admin-side-column {
    position: static;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-sidebar-nav-item {
    min-height: 112px;
  }

  .admin-list-view-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-homepage-grid {
    grid-template-columns: 1fr;
  }

  .admin-homepage-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-table-shell {
    overflow-x: auto;
  }

  .admin-table-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-compose-card {
    padding: 36px 28px 28px;
    min-height: auto;
  }

  .admin-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-cover-card {
    border-right: 0;
    border-bottom: 1px solid rgba(30, 39, 53, 0.08);
  }

  .admin-compose-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-compose-meta,
  .admin-actions-row {
    justify-content: space-between;
  }

  .hero-value-grid,
  .culture-grid,
  .class-type-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principal-card,
  .academy-panel,
  .curriculum-panel,
  .class-type-panel {
    grid-template-columns: 1fr;
  }

  .principal-highlights,
  .academy-heading-full {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  :root {
    --container: min(1440px, calc(100vw - 22px));
  }

  .hero-header {
    --header-top-gap: 4px;
    padding-top: 0;
  }

  section[id] {
    scroll-margin-top: 76px;
  }

  .hero-header-inner {
    min-height: 58px;
    gap: 10px;
    padding: 0 10px 0 12px;
  }

  .admin-form-grid,
  .admin-form-grid-compact,
  .admin-category-create {
    grid-template-columns: 1fr;
  }

  .admin-category-row {
    display: none;
  }

  .admin-form .admin-category-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex-basis: 100%;
  }

  .admin-form .admin-category-select-wrap {
    width: 100%;
    min-width: 0;
  }

  .admin-form .admin-featured-toggle {
    width: fit-content;
  }

  .admin-modal {
    padding: 16px;
  }

  .admin-modal-actions {
    flex-wrap: wrap;
  }

  .admin-title-row {
    grid-template-columns: 1fr;
  }

  .admin-title-row input {
    font-size: 34px;
  }

  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .admin-article-table {
    min-width: 760px;
  }

  .admin-featured-toggle-inline {
    margin-left: 0;
    width: fit-content;
  }

  .admin-featured-toggle-inline {
    margin-left: 0;
    width: fit-content;
  }

  .admin-body-field textarea {
    min-height: 520px;
  }

  .admin-actions-row {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    width: 36px;
    height: 36px;
  }

  .site-nav-light {
    position: fixed !important;
    top: 64px;
    left: 10px;
    right: 10px;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(26, 37, 53, 0.88), rgba(44, 61, 86, 0.64) 44%, rgba(255, 255, 255, 0.12));
    box-shadow:
      0 16px 36px rgba(6, 10, 16, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    max-height: min(46vh, 320px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .hero-header.menu-open {
    background: transparent;
    backdrop-filter: none;
  }

  .hero-header.menu-open .site-nav-light {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav-light a {
    padding: 8px 4px;
    font-size: 12px;
  }

  .hero-center {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 82px;
    align-content: start;
  }

  .hero-copy,
  .hero-notice-card {
    max-width: 100%;
  }

  .hero-notice-card,
  .hero-copy {
    margin-top: 18px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-kicker {
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: 40px;
    line-height: 1.14;
    text-wrap: balance;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-value-grid article {
    padding: 14px 10px;
  }

  .hero-value-grid strong {
    font-size: 24px;
  }

  .hero-value-grid span {
    font-size: 11px;
  }

  .academy-tabs,
  .advisor-grid,
  .culture-grid,
  .class-type-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-banner-arrow {
    display: none;
  }

  .hero-notice-banner {
    width: min(100%, 665px);
    padding: 10px;
    box-shadow: 0 18px 42px rgba(8, 12, 18, 0.26);
  }

  .hero-notice-banner img {
    width: calc(100% - 20px);
  }

  .hero-notice-card {
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(8, 12, 18, 0.26);
  }

  .hero-notice-card h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .hero-notice-card p {
    font-size: 15px;
  }

  .hero-notice-meta {
    gap: 10px;
  }

  .hero-center-left {
    justify-items: stretch;
  }

  .hero-banner-nav {
    bottom: 24px;
  }

  .js-enabled .hero-portal .hero-kicker,
  .js-enabled .hero-portal h1,
  .js-enabled .hero-portal .hero-subtitle,
  .js-enabled .hero-portal .hero-value-grid article,
  .js-enabled .hero-portal .hero-notice-card,
  .js-enabled .section .section-title,
  .js-enabled .section .section-intro,
  .js-enabled .section .profile-text p,
  .js-enabled .section .intro-highlights span,
  .js-enabled .section .profile-image-card,
  .js-enabled .section .profile-stats-card article,
  .js-enabled .section .philosophy-stage blockquote,
  .js-enabled .section .principal-card,
  .js-enabled .section .academy-heading p,
  .js-enabled .section .academy-tab,
  .js-enabled .section .academy-panel,
  .js-enabled .section .education-cards article,
  .js-enabled .section .profile-slide,
  .js-enabled .section .class-type-tab,
  .js-enabled .section .class-type-panel,
  .js-enabled .section .curriculum-copy,
  .js-enabled .section .curriculum-tab,
  .js-enabled .section .curriculum-panel,
  .js-enabled .section .visual-slide,
  .js-enabled .section .advisor-card,
  .js-enabled .section .culture-grid article,
  .js-enabled .section .admission-card,
  .js-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto;
  }

  .profile-slide,
  .visual-slide {
    flex-basis: 82vw;
    min-width: 82vw;
  }

  .faculty-carousel .carousel-arrow,
  .expert-carousel .carousel-arrow,
  .campus-carousel .carousel-arrow {
    display: none;
  }

  .faculty-carousel .carousel-fade::before,
  .faculty-carousel .carousel-fade::after,
  .expert-carousel .carousel-fade::before,
  .expert-carousel .carousel-fade::after,
  .campus-carousel .carousel-fade::before,
  .campus-carousel .carousel-fade::after {
    display: none;
  }

  .faculty-carousel .carousel-viewport,
  .expert-carousel .carousel-viewport,
  .campus-carousel .carousel-viewport {
    overflow-x: auto;
    overflow-y: visible;
    margin: 0 -11px;
    padding: 14px 11px 26px;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .faculty-carousel .carousel-viewport.is-dragging,
  .expert-carousel .carousel-viewport.is-dragging,
  .campus-carousel .carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
  }

  .faculty-carousel .carousel-viewport::-webkit-scrollbar,
  .expert-carousel .carousel-viewport::-webkit-scrollbar,
  .campus-carousel .carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .faculty-carousel .carousel-track,
  .expert-carousel .carousel-track,
  .campus-carousel .carousel-track {
    width: max-content;
    gap: 12px;
    transform: none !important;
  }

  .faculty-carousel .profile-slide,
  .expert-carousel .profile-slide {
    flex-basis: 84vw;
    min-width: 84vw;
    scroll-snap-align: start;
    user-select: none;
  }

  .campus-carousel .visual-slide {
    flex-basis: 84vw;
    min-width: 84vw;
    scroll-snap-align: start;
    user-select: none;
  }

  .campus-carousel .visual-slide figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 14px;
  }

  .section {
    padding: 74px 0;
  }

  .section-title h2 {
    font-size: 40px;
  }

  .section-title p {
    font-size: 12px;
  }

  .profile-layout,
  .principal-layout,
  .academy-layout,
  .curriculum-layout,
  .education-layout,
  .admission-layout {
    gap: 22px;
  }

  .intro-highlights {
    gap: 8px;
    margin-top: 18px;
  }

  .intro-highlights span {
    min-height: 34px;
    padding: 0 12px;
    background: rgba(225, 124, 42, 0.16);
    color: #a24c17;
    font-size: 12px;
  }

  .profile-text {
    margin-top: 18px;
  }

  .profile-image-wide {
    aspect-ratio: 4 / 3;
  }

  .profile-stats-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .profile-stats-card article {
    padding: 14px 8px 12px;
    text-align: center;
  }

  .profile-stats-card strong {
    font-size: 26px;
  }

  .profile-stats-card span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .philosophy-section,
  .philosophy-stage {
    min-height: 56vh;
  }

  .philosophy-stage {
    gap: 16px;
    padding: 58px 0;
  }

  .philosophy-stage blockquote {
    font-size: 26px;
    line-height: 1.52;
  }

  .principal-copy {
    padding: 28px 24px 26px;
  }

  .principal-card {
    min-height: 0;
  }

  .principal-photo {
    min-height: 320px;
    max-height: 380px;
    overflow: hidden;
  }

  .principal-photo img {
    width: 100%;
    height: 100%;
    object-position: center top;
  }

  .principal-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .principal-highlights article {
    padding: 14px 10px 12px;
  }

  .principal-highlights strong {
    font-size: 15px;
  }

  .principal-highlights span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .academy-shell,
  .class-type-shell,
  .curriculum-layout {
    gap: 14px;
  }

  .recent-layout {
    gap: 18px;
  }

  .recent-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-header-inner,
  .news-related-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-nav,
  .news-list-grid,
  .news-related-grid {
    width: 100%;
  }

  .news-list-grid,
  .news-related-grid {
    grid-template-columns: 1fr;
  }

  .news-main {
    padding-top: 26px;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .news-article-header,
  .news-article-body {
    padding: 26px 22px;
  }

  .news-article-figure {
    aspect-ratio: 16 / 9;
  }

  .curriculum-tabs {
    gap: 10px;
  }

  .academy-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .class-type-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .academy-tab,
  .curriculum-tab,
  .class-type-tab {
    min-height: 56px;
    font-size: 14px;
    padding: 14px 12px;
  }

  .academy-tab {
    min-height: 48px;
    padding: 12px 6px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .class-type-tab {
    min-height: 48px;
    padding: 10px 4px;
    gap: 6px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
  }

  .class-tab-icon {
    width: 18px;
    height: 18px;
  }

  .academy-panels,
  .class-type-panels,
  .curriculum-panels {
    min-height: auto;
    height: auto !important;
    transition: height 0.3s ease;
  }

  .academy-panel,
  .class-type-panel,
  .curriculum-panel {
    position: relative;
    inset: auto;
    min-height: 0;
  }

  .academy-panel:not(.is-active),
  .class-type-panel:not(.is-active),
  .curriculum-panel:not(.is-active) {
    display: none;
  }

  .academy-panel.is-active,
  .class-type-panel.is-active,
  .curriculum-panel.is-active {
    display: grid;
  }

  .class-type-panel {
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 44px rgba(53, 29, 13, 0.12);
  }

  .academy-panel-copy,
  .class-type-card,
  .curriculum-panel-content,
  .curriculum-copy,
  .recent-feature-copy,
  .recent-card-copy,
  .admission-card,
  .admission-panel {
    padding: 24px 20px;
  }

  .admission-panels {
    grid-template-columns: 1fr;
  }

  .admission-qr-card {
    justify-self: center;
    width: min(100%, 280px);
    padding: 18px 18px 16px;
  }

  .admission-qr img {
    width: min(100%, 176px);
  }

  .academy-heading p,
  .curriculum-copy p,
  .section-intro.centered {
    text-align: left;
  }

  .academy-panel-copy span,
  .class-type-card span {
    letter-spacing: 0.12em;
  }

  .class-type-media,
  .curriculum-panel-media,
  .academy-panel-media,
  .recent-feature-media {
    min-height: 240px;
  }

  .recent-intro {
    padding: 0;
  }

  .recent-intro-en {
    font-size: 42px;
  }

  .recent-intro-line {
    margin-top: 28px;
  }

  .recent-intro-copy {
    margin-top: 18px;
  }

  .recent-feature-card,
  .recent-card {
    padding: 0 20px 20px;
    border-left: 0;
    border-top: 1px solid rgba(30, 39, 53, 0.08);
    box-shadow: 0 14px 34px rgba(39, 55, 79, 0.08);
  }

  .recent-card-media {
    min-height: 220px;
  }

  .class-type-card {
    justify-content: flex-start;
    min-height: 0;
  }

  .class-type-card > span {
    font-size: 14px;
  }

  .academy-panel-copy h3,
  .class-type-card h3,
  .curriculum-panel-content h3,
  .recent-feature-copy h3,
  .recent-card-copy h3,
  .principal-copy h3 {
    font-size: 28px;
  }

  .academy-panel-copy p,
  .class-type-card p,
  .curriculum-panel-content p,
  .curriculum-panel-content ul,
  .recent-feature-copy p,
  .recent-card-copy p,
  .news-hero p,
  .news-list-copy p,
  .news-article-summary,
  .news-article-lead,
  .news-article-section p,
  .news-article-section li,
  .section-intro,
  .profile-text p,
  .advisor-card p {
    font-size: 15px;
    line-height: 1.75;
  }

  .campus-carousel .carousel-track {
    gap: 12px;
  }

  .carousel-fade::before,
  .carousel-fade::after {
    width: 36px;
  }

  .profile-slide {
    padding: 24px 18px 22px;
  }

  .profile-slide h3 {
    font-size: 22px;
  }

  .profile-slide.compact {
    padding-top: 24px;
  }

  .advisor-grid {
    gap: 16px;
  }

  .advisor-card {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1440px, calc(100vw - 18px));
  }

  section[id] {
    scroll-margin-top: 70px;
  }

  .hero-header-inner {
    min-height: 54px;
  }

  .brand-mark img {
    width: 114px;
  }

  .site-nav-light {
    top: 58px;
    left: 8px;
    right: 8px;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    padding: 8px 10px 10px;
    max-height: min(48vh, 300px);
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-center {
    padding-top: 76px;
    padding-bottom: 72px;
  }

  .hero-notice-card,
  .hero-copy {
    margin-top: 6px;
  }

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

  .hero-value-grid article:last-child {
    grid-column: 1 / -1;
  }

  .hero-value-grid strong {
    font-size: 22px;
  }

  .hero-notice-banner {
    width: 100%;
  }

  .hero-notice-card {
    padding: 18px 18px 20px;
  }

  .hero-notice-card h2 {
    font-size: 26px;
  }

  .hero-notice-meta {
    grid-template-columns: 1fr;
  }

  .hero-band-card,
  .philosophy-card,
  .principal-copy,
  .curriculum-copy,
  .curriculum-panel-content,
  .recent-feature-copy,
  .recent-card-copy,
  .admission-card,
  .admission-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .principal-photo {
    min-height: 260px;
    max-height: 320px;
  }

  .profile-stats-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .profile-stats-card article {
    padding: 12px 6px 10px;
  }

  .profile-stats-card strong {
    font-size: 22px;
  }

  .profile-stats-card span {
    font-size: 10px;
  }

  .philosophy-section,
  .philosophy-stage {
    min-height: 48vh;
  }

  .philosophy-stage blockquote {
    font-size: 22px;
  }

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

  .academy-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .class-type-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .curriculum-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .class-type-tab,
  .academy-tab,
  .curriculum-tab {
    min-height: 54px;
  }

  .academy-tab {
    min-height: 44px;
    padding: 10px 4px;
    font-size: 11px;
  }

  .class-type-tab {
    min-height: 44px;
    padding: 8px 2px;
    gap: 4px;
    font-size: 10px;
  }

  .curriculum-tab {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .class-tab-icon {
    width: 16px;
    height: 16px;
  }

  .class-type-card {
    padding: 20px 16px;
  }

  .class-type-card > span {
    font-size: 13px;
  }

  .class-type-card h3 {
    font-size: 24px;
  }

  .class-type-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .principal-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .principal-highlights article {
    padding: 12px 8px 10px;
  }

  .principal-highlights strong {
    font-size: 13px;
  }

  .principal-highlights span {
    font-size: 10px;
  }

  .profile-slide,
  .visual-slide {
    flex-basis: 88vw;
    min-width: 88vw;
  }

  .faculty-carousel .profile-slide,
  .expert-carousel .profile-slide,
  .campus-carousel .visual-slide {
    flex-basis: 88vw;
    min-width: 88vw;
  }

  .profile-slide h3,
  .advisor-card h3 {
    font-size: 20px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .profile-text p,
  .section-intro,
  .academy-heading p,
  .academy-panel-copy p,
  .class-type-card p,
  .curriculum-copy p,
  .curriculum-panel-content p,
  .recent-feature-copy p,
  .recent-card-copy p,
  .news-hero p,
  .news-list-copy p,
  .news-article-summary,
  .news-article-lead,
  .news-article-section p,
  .news-article-section li {
    font-size: 14px;
    line-height: 1.72;
  }

  .recent-intro-en {
    font-size: 34px;
  }

  .recent-card-date-inline {
    font-size: 20px;
  }

  .recent-more {
    min-width: 138px;
    min-height: 46px;
    font-size: 14px;
  }

  .news-list-copy h2,
  .news-related-copy h3 {
    font-size: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================
   Tab panel 切换修正：
   覆盖上面 reveal 入场动画（特异性更高）导致非激活面板无法真正隐藏
   ============================================================ */

/* 非激活面板：全局强制保持隐藏，避免被 inview 动画规则覆盖 */
.academy-panel:not(.is-active),
.class-type-panel:not(.is-active),
.curriculum-panel:not(.is-active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
  filter: blur(0) !important;
  z-index: 0 !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s, filter 0.22s ease !important;
}

/* 激活面板：全局强制可见，并始终置顶 */
.academy-panel.is-active,
.class-type-panel.is-active,
.curriculum-panel.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
  z-index: 2 !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s, filter 0.22s ease !important;
}
