/* ============================================================
   TSU CMS — Public Frontend CSS
   Heritage Gold Theme · สถาบันทักษิณคดีศึกษา
   ============================================================ */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #C9922A;
  --gold-l:    #E8B94A;
  --gold-pale: #FDF5E6;
  --gold-dim:  rgba(201,146,42,0.12);
  --deep:      #1A1006;
  --warm:      #2C1F08;
  --brown:     #5C3D11;
  --teal:      #0D4A4A;
  --teal-l:    #0F6B6B;
  --terr:      #C4622D;
  --cream:     #FAF6EE;
  --cream2:    #F0E8D5;
  --txt:       #1C1208;
  --muted:     #5C4A2E;
  --light:     #9E8B6F;
  --border:    rgba(201,146,42,0.18);
  --radius:    14px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Thai', sans-serif;
  color: var(--txt);
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4,h5,h6 { font-family: 'Noto Serif Thai', serif; line-height: 1.35; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(201,146,42,0.1);
  border: 1px solid rgba(201,146,42,0.25);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px,4vw,38px); font-weight: 700;
  color: var(--warm); line-height: 1.25; margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: 15px; max-width: 560px; }

/* ─── LAYOUT CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }

/* ─── NAVBAR ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(26,16,6,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Topbar (แถวบน) ── */
.site-topbar {
  background: rgba(10,6,2,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: 34px;
  display: flex; align-items: center;
}
.topbar-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-left {
  font-size: 11px; color: rgba(255,255,255,0.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 50%;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar-social {
  color: rgba(255,255,255,0.45); font-size: 13px;
  text-decoration: none; transition: color .2s;
}
.topbar-social:hover { color: var(--gold-l); }
.topbar-divider {
  width: 1px; height: 14px; background: rgba(255,255,255,0.1); flex-shrink: 0;
}
.topbar-phone {
  font-size: 11px; color: rgba(255,255,255,0.5);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.topbar-phone:hover { color: var(--gold-l); }
.topbar-phone i { font-size: 10px; color: var(--gold); }
.topbar-search-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-size: 11px; color: rgba(255,255,255,0.5);
  font-family: 'Noto Sans Thai',sans-serif;
  transition: color .2s; padding: 0;
}
.topbar-search-btn:hover { color: var(--gold-l); }
.topbar-search-btn i { font-size: 11px; }

/* ── Main nav row ── */
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 16px;
}

/* ── More button (☰ เพิ่มเติม) ── */
.nav-more-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 10px; border-radius: 8px;
  background: none; border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600;
  cursor: pointer; flex-shrink: 0; white-space: nowrap;
  font-family: 'Noto Sans Thai',sans-serif;
  transition: all .25s;
  margin-left: 12px;
}
.nav-more-btn i { font-size: 13px; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] {
  background: rgba(201,146,42,0.12);
  border-color: rgba(201,146,42,0.4);
  color: var(--gold-l);
}

/* ── More panel dropdown ── */
.nav-more-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(14,8,2,0.98);
  backdrop-filter: blur(24px) saturate(1.5);
  border-top: 1px solid rgba(201,146,42,0.15);
  border-bottom: 2px solid rgba(201,146,42,0.12);
  padding: 20px 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: none; z-index: 490;
  animation: panelIn .2s ease;
}
.nav-more-panel.open { display: block; }
@keyframes panelIn {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.nav-more-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px;
}
.nav-more-item > a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.03);
  transition: all .2s;
}
.nav-more-item > a i { font-size: 14px; color: var(--gold); width: 18px; text-align: center; }
.nav-more-item > a:hover {
  background: rgba(201,146,42,0.1);
  border-color: rgba(201,146,42,0.25);
  color: var(--gold-l);
}
/* Sub-menu ใน panel */
.nav-more-sub {
  margin-top: 4px; padding-left: 42px;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-more-sub a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 7px;
  color: rgba(255,255,255,0.45); font-size: 12px;
  text-decoration: none; transition: all .2s;
}
.nav-more-sub a i { font-size: 11px; color: rgba(201,146,42,0.5); }
.nav-more-sub a:hover { color: var(--gold-l); background: rgba(201,146,42,0.06); }

/* ── Quick Link buttons ── */
.nav-quicklinks {
  display: flex; align-items: center; gap: 7px;
  flex-shrink: 0; margin-left: 4px;
}
.nav-quicklink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: all .25s; flex-shrink: 0;
}
.nav-quicklink i { font-size: 11px; }
.nav-quicklink-primary {
  background: var(--gold); color: var(--deep);
  border: 1.5px solid var(--gold);
}
.nav-quicklink-primary:hover { background: var(--gold-l); border-color: var(--gold-l); transform: translateY(-1px); }
.nav-quicklink-outline {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.nav-quicklink-outline:hover { border-color: var(--gold); color: var(--gold-l); }
.nav-quicklink-gold {
  background: rgba(201,146,42,0.15); color: var(--gold-l);
  border: 1.5px solid rgba(201,146,42,0.35);
}
.nav-quicklink-gold:hover { background: var(--gold); color: var(--deep); }
.nav-brand { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.nav-logo  { display: block; max-height: 60px; width: auto; height: auto; }
.nav-logo-text .nav-logo-th { display: block; font-family: 'Noto Serif Thai', serif; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.nav-logo-text .nav-logo-en { display: block; font-size: 9px; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; }

.nav-list {
  display: flex; list-style: none; gap: 1px;
  align-items: center; flex-wrap: nowrap; min-width: 0;
}
.nav-item { position: relative; flex-shrink: 0; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all .25s; white-space: nowrap;
}
.nav-link:hover { color: var(--gold-l); background: rgba(255,255,255,0.06); }
.nav-link i { font-size: 13px; }
.nav-chevron { font-size: 10px; transition: transform .25s; }
.nav-item.has-dropdown:hover .nav-chevron { transform: rotate(-180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: rgba(26,16,6,0.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(201,146,42,0.2);
  border-radius: 12px; padding: 8px;
  min-width: 220px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .25s; box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  color: rgba(255,255,255,0.7); font-size: 13px;
  text-decoration: none; transition: all .2s;
}
.dropdown li a:hover { background: rgba(201,146,42,0.15); color: var(--gold-l); }
.dropdown li a i { width: 16px; text-align: center; font-size: 13px; color: var(--gold); }
.dropdown-sub {
  list-style: none;
  margin: 2px 0 4px 18px;
  padding-left: 10px;
  border-left: 1px solid rgba(201,146,42,0.18);
}
.dropdown-sub li a {
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.62);
}

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-search-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 15px; transition: all .25s;
}
.nav-search-btn:hover { background: rgba(201,146,42,0.2); color: var(--gold-l); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px; transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 999; display: none; align-items: center; justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
  display: flex; align-items: center; gap: 16px;
  width: 90%; max-width: 640px;
}
.search-overlay-inner form { display: flex; flex: 1; }
.search-overlay-inner input {
  flex: 1; padding: 16px 20px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px 0 0 12px; color: #fff; font-size: 17px;
  font-family: 'Noto Sans Thai', sans-serif; outline: none;
}
.search-overlay-inner button[type=submit] {
  padding: 0 20px; background: var(--gold); border: none; cursor: pointer;
  border-radius: 0 12px 12px 0; color: var(--deep); font-size: 18px;
}
.search-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6); font-size: 24px; }

/* ─── HERO SLIDER ─── */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--deep); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .yt-wrapper { width: 100%; height: 100%; }
.hero-slide .yt-wrapper iframe { width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,16,6,.85) 0%, rgba(26,16,6,.5) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  min-height: 100vh; display: flex; align-items: center;
}
.hero-text { max-width: 600px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,146,42,0.4);
  padding: 6px 16px; border-radius: 100px;
  background: rgba(201,146,42,0.08);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 60px); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 20px;
}
.hero-title span { color: var(--gold-l); }
.hero-desc { color: rgba(255,255,255,0.7); font-size: clamp(14px,1.6vw,17px); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero dots */
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all .3s;
}
.hero-dot.active { width: 28px; border-radius: 4px; background: var(--gold); }

/* Split homepage hero */
.hero.hero-split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #120b04;
  isolation: isolate;
}
.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-slide {
  position: absolute;
  inset: -24px;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 1.2s ease;
}
.hero-bg-slide.active {
  opacity: .6;
  transform: scale(1);
}
.hero-bg-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: blur(3px) saturate(.95) brightness(.74);
}
.hero-split-bg,
.hero-split-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-split-bg {
  background:
    radial-gradient(circle at 72% 28%, rgba(201,146,42,.18), transparent 36%),
    radial-gradient(circle at 18% 84%, rgba(13,74,74,.24), transparent 32%),
    linear-gradient(115deg, rgba(18,11,4,.88) 0%, rgba(33,21,4,.78) 52%, rgba(6,23,21,.9) 100%);
  z-index: 1;
}
.hero-split-glow {
  background:
    linear-gradient(90deg, rgba(18,11,4,.18), rgba(18,11,4,.02) 58%, rgba(18,11,4,.3)),
    repeating-linear-gradient(45deg, rgba(201,146,42,.035) 0 1px, transparent 1px 34px);
  opacity: .8;
  z-index: 2;
}
.hero-split-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(88px, 8.5vh, 112px) clamp(36px, 5.6vw, 92px) clamp(66px, 8vh, 96px);
  transform: translateY(-34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.hero-split-copy {
  max-width: 640px;
}
.hero-slide-copy-wrap {
  position: relative;
  min-height: 250px;
}
.hero-slide-copy {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.hero-slide-copy.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-split-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-bottom: 34px;
  padding: 7px 18px;
  border: 1px solid rgba(201,146,42,.5);
  border-radius: 999px;
  background: rgba(201,146,42,.12);
  color: var(--gold-l);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.hero-split-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
.hero-split-kicker {
  margin-bottom: 24px;
  color: rgba(255,255,255,.58);
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: none;
}
.hero-split-copy h1 {
  max-width: 680px;
  margin-bottom: 16px;
  color: #fff;
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.22;
}
.hero-split-copy h1 .accent { color: var(--gold-l); }
.hero-split-lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.68);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.9;
}
.hero-copy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hero-copy-read {
  min-height: 32px;
  margin-top: 2px;
  padding: 6px 12px;
  border-radius: 7px;
  gap: 7px;
  font-size: 12px;
}
.hero-extra-read {
  background: transparent;
  border: 1px solid rgba(201,146,42,.55);
  color: var(--gold-l);
}
.hero-extra-read:hover {
  background: rgba(201,146,42,.14);
  color: var(--gold-l);
}
.hero-dashboard-section {
  background: #120b04;
  padding: 0 clamp(20px, 5.6vw, 92px);
}
.hero-dashboard-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: stretch;
  gap: clamp(20px, 3vw, 42px);
}
.hero-split-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(201,146,42,.28);
  border-bottom: 1px solid rgba(201,146,42,.28);
  border-radius: 0;
  background: rgba(18,11,4,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.hero-split-stat {
  min-height: 118px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(201,146,42,.18);
}
.hero-split-stat:first-child { border-left: 0; }
.hero-split-stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-l);
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1;
}
.hero-split-stat span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 600;
}
.hero-dashboard-copy {
  min-height: 118px;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(201,146,42,.28);
  border-bottom: 1px solid rgba(201,146,42,.28);
}
.hero-dashboard-copy span {
  margin-bottom: 8px;
  color: var(--gold-l);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.hero-dashboard-copy strong {
  color: rgba(255,255,255,.86);
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.45;
}
.hero-banner-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(201,146,42,.28);
  border-radius: 28px;
  background: rgba(18,11,4,.6);
  box-shadow: 0 34px 90px rgba(0,0,0,.52), 0 0 0 12px rgba(255,255,255,.025);
}
.hero-banner-card[data-aspect="1:1"] {
  aspect-ratio: 1 / 1;
  width: min(100%, 440px);
  justify-self: center;
}
.hero-banner-card[data-aspect="16:9"] {
  aspect-ratio: 16 / 9;
  width: 100%;
}
/* Keep the visual slider centred beside the copy instead of sitting too close
   to the top edge of the hero on wide screens. */
@media (min-width: 769px) {
  .hero-banner-card {
    align-self: center;
    transform: translateY(clamp(24px, 4vh, 48px));
  }
}
.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .75s ease, transform .75s ease;
}
.hero-banner-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-banner-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(201,146,42,.34), transparent 55%),
    linear-gradient(160deg, #40270a, #071c19);
}
.hero-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,11,4,.9) 0%, rgba(18,11,4,.34) 48%, rgba(18,11,4,.08) 100%);
}
.hero-banner-caption {
  display: none;
  position: absolute;
  left: clamp(32px, 4vw, 58px);
  right: clamp(50px, 5vw, 78px);
  bottom: clamp(38px, 5vw, 58px);
  z-index: 2;
}
.hero-banner-caption h3 {
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Noto Serif Thai', serif;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.42;
}
.hero-banner-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}
.hero-banner-read:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
}
.hero-banner-count {
  position: absolute;
  top: clamp(28px, 3vw, 42px);
  left: clamp(28px, 3.2vw, 46px);
  z-index: 4;
  min-width: 74px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(18,11,4,.72);
  border: 1px solid rgba(201,146,42,.34);
  color: var(--gold-l);
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}
.hero-banner-controls {
  position: absolute;
  top: 50%;
  left: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hero-banner-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(18,11,4,.62);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  pointer-events: auto;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.hero-banner-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.hero-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.hero-banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.hero-banner-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  border: none; text-decoration: none; transition: all .3s;
  font-family: 'Noto Sans Thai', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,146,42,.35); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-l); }

/* ─── CARDS ─── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 28px;
}
.content-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden; transition: all .35s; cursor: pointer;
}
.content-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.content-card a { text-decoration: none; color: inherit; display: block; }

.card-cover {
  position: relative; overflow: hidden;
  background: var(--cream2);
}
.card-cover img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; display: block; }
.content-card:hover .card-cover img { transform: scale(1.05); }
.card-cover .yt-wrapper { height: 220px; }
.card-cover .yt-wrapper iframe { width: 100%; height: 100%; display: block; }

.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(201,146,42,0.92);
  color: var(--deep); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; letter-spacing: 1px;
}
.card-featured {
  position: absolute; top: 12px; right: 12px;
  background: rgba(196,98,45,0.9);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.card-link-type {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.65); color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.card-body { padding: 20px; }
.card-cat { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.card-title { font-size: 16px; font-weight: 700; color: var(--warm); margin-bottom: 8px; line-height: 1.4; }
.card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.card-footer-row { display: flex; align-items: center; justify-content: space-between; }
.card-date { font-size: 11px; color: var(--light); }
.card-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: all .3s;
}
.content-card:hover .card-arrow { background: var(--gold); color: #fff; }

/* No-cover placeholder */
.card-cover-placeholder {
  height: 180px; background: var(--cream2);
  display: flex; align-items: center; justify-content: center;
}
.card-cover-placeholder i { font-size: 40px; color: var(--light); opacity: .5; }

/* ─── YOUTUBE embed ─── */
.yt-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.yt-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ─── BREADCRUMB ─── */
.breadcrumb-nav { margin-bottom: 24px; }
.breadcrumb-list {
  display: flex; list-style: none; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: var(--light);
  align-items: center;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-list li::after { content: '›'; color: var(--light); font-size: 12px; }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list a { color: var(--muted); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list li:last-child { color: var(--txt); font-weight: 500; }

/* ─── PAGE HEADER BAND ─── */
.page-band {
  background: var(--deep); padding: 90px 24px 40px;
  position: relative; overflow: hidden;
}
.page-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,146,42,0.12), transparent);
}
.page-band-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-band h1 { color: #fff; font-size: clamp(24px,4vw,42px); margin-bottom: 10px; }
.page-band p  { color: rgba(255,255,255,0.55); font-size: 15px; }

/* ─── SIDEBAR ─── */
.content-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.sidebar-widget { background: #fff; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.06); overflow: hidden; margin-bottom: 24px; }
.widget-title {
  font-size: 14px; font-weight: 700; color: var(--warm);
  padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: center; gap: 8px;
}
.widget-title i { color: var(--gold); }
.widget-body { padding: 16px; }
.cat-list { list-style: none; }
.cat-list li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.cat-list li:last-child { border-bottom: none; }
.cat-list li a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: var(--muted); font-size: 13px; transition: color .2s; }
.cat-list li a:hover { color: var(--gold); }
.cat-count { font-size: 11px; color: var(--light); background: var(--cream); padding: 2px 8px; border-radius: 100px; }

/* ─── CONTENT DETAIL ─── */
.content-detail { max-width: 780px; }
.content-detail h1 { font-size: clamp(24px,4vw,38px); color: var(--warm); margin-bottom: 16px; line-height: 1.3; }
.content-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; color: var(--light); }
.content-meta i { color: var(--gold); margin-right: 5px; }
.content-cover { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.content-cover img { width: 100%; border-radius: var(--radius); }
.content-body { font-size: 15px; line-height: 1.9; color: var(--txt); }
.content-body h2 { font-size: 22px; color: var(--warm); margin: 32px 0 14px; }
.content-body h3 { font-size: 18px; color: var(--warm); margin: 24px 0 10px; }
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol { margin: 0 0 16px 24px; }
.content-body li { margin-bottom: 6px; }
.content-body blockquote {
  border-left: 4px solid var(--gold); padding: 16px 20px;
  background: var(--gold-pale); border-radius: 0 8px 8px 0; margin: 20px 0;
  font-style: italic; color: var(--brown);
}
.content-body img { border-radius: 10px; margin: 16px 0; max-width: 100%; }
.content-body a { color: var(--teal); text-decoration: underline; }
.content-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-body th { background: var(--cream); padding: 10px 14px; text-align: left; border: 1px solid var(--cream2); }
.content-body td { padding: 10px 14px; border: 1px solid var(--cream2); }

/* File attachment */
.file-download {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; background: var(--cream); border-radius: var(--radius);
  border: 1.5px solid var(--border); text-decoration: none; color: var(--warm);
  font-weight: 600; font-size: 14px; transition: all .3s; margin-top: 24px;
}
.file-download:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.file-download i { font-size: 22px; color: var(--danger, #DC2626); }

/* ─── PAGINATION ─── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 48px; }
.page-btn {
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px; text-decoration: none; color: var(--muted);
  border: 1px solid rgba(0,0,0,0.1); background: #fff;
  transition: all .2s; display: inline-flex; align-items: center;
  font-family: 'Noto Sans Thai', sans-serif;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--gold); color: var(--deep); border-color: var(--gold); font-weight: 700; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ─── FOOTER ─── */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.65); margin-top: 80px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px;
}
.footer-brand .footer-logo {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201,146,42,0.15); border: 1.5px solid rgba(201,146,42,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gold); margin-bottom: 14px;
  overflow: hidden;
}
.footer-brand .footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}
.footer-brand h3 { font-size: 15px; color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer-brand .footer-en { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 16px; transition: all .25s; text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 13px; margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-l); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list li i { color: var(--gold); font-size: 13px; margin-top: 4px; flex-shrink: 0; }
.contact-list li a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; padding: 20px 24px;
  font-size: 12px; color: rgba(255,255,255,0.25);
}

/* ─── NEWS SPECIFIC ─── */
.news-hero-card {
  background: var(--deep); border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px;
  border: 1px solid rgba(201,146,42,0.15);
}
.news-hero-card .card-img { overflow: hidden; min-height: 320px; }
.news-hero-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-hero-card:hover .card-img img { transform: scale(1.04); }
.news-hero-card .card-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.news-hero-card .card-content h2 { color: #fff; font-size: clamp(18px,2.5vw,26px); margin-bottom: 12px; }
.news-hero-card .card-content p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; }
.news-hero-card .card-content .meta { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    padding-top: 92px;
  }
  .hero-split-copy { max-width: none; }
  .hero-banner-card {
    min-height: 0;
    height: auto;
  }
  .hero-dashboard-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-dashboard-copy {
    min-height: auto;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-list { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: rgba(26,16,6,0.98); flex-direction: column; padding: 24px; gap: 4px; overflow-y: auto; }
  .nav-list.open { display: flex; }
  .nav-hamburger { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); margin-top: 4px; }
  .section { padding: 48px 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .news-hero-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 80vh; }
  .hero.hero-split { min-height: auto; }
  .hero-split-inner {
    padding: 88px 20px 46px;
    gap: 28px;
    transform: none;
  }
  .hero-split-badge {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: .8px;
  }
  .hero-split-kicker {
    margin-bottom: 18px;
    letter-spacing: .2px;
  }
  .hero-slide-copy-wrap { min-height: 240px; }
  .hero-split-copy h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .hero-dashboard-section { padding: 0 20px; }
  .hero-split-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-split-stat {
    min-height: 96px;
    border-top: 1px solid rgba(201,146,42,.18);
  }
  .hero-split-stat:nth-child(1),
  .hero-split-stat:nth-child(2) { border-top: 0; }
  .hero-split-stat:nth-child(odd) { border-left: 0; }
  .hero-banner-card {
    min-height: 0;
    height: auto;
    border-radius: 20px;
  }
  .hero-banner-caption {
    left: 28px;
    right: 44px;
    bottom: 32px;
  }
  .hero-banner-caption h3 { font-size: clamp(15px, 5vw, 19px); }
  .hero-banner-count {
    top: 18px;
    left: 18px;
  }
  .hero-banner-controls {
    top: 50%;
    left: 12px;
    right: 12px;
  }
  .hero-banner-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .hero-banner-dots {
    left: 50%;
    bottom: 14px;
  }
}

/* ─── Homepage sections: responsive layouts ───────────────────
   The section editor supports several presentation templates.  These rules
   deliberately override their desktop inline grids on narrow viewports so
   cards remain readable instead of being squeezed into thin columns. */
.home-section,
.home-preset,
.home-section-cell { min-width: 0; }

@media (max-width: 980px) {
  .home-section-row { display: block !important; }
  .home-section-cell {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    overflow: visible !important;
  }
}

/* About Split image slider */
.home-about-slider{position:relative;overflow:hidden;border-radius:20px;background:var(--cream2);min-height:520px;box-shadow:0 14px 34px rgba(26,16,6,.09)}
.home-about-slider-track{display:flex;height:100%;transition:transform .45s ease}
.home-about-slide{flex:0 0 100%;min-width:0}
.home-about-image{min-height:520px;height:100%}
.home-about-image>a{display:block;height:100%}
.home-about-image img,.home-about-placeholder{width:100%;height:560px;object-fit:cover;display:block}
.home-about-placeholder{background:linear-gradient(135deg,#5d7d8a,#d8e7ef);display:flex;align-items:center;justify-content:center;color:#fff;font-size:64px}
.home-about-slider-nav{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.62);border-radius:50%;background:rgba(20,13,7,.45);color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s ease}
.home-about-slider-nav:hover{background:var(--gold);color:var(--deep)}
.home-about-slider-nav.prev{left:16px}.home-about-slider-nav.next{right:16px}
.home-about-slider-dots{position:absolute;z-index:2;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px}
.home-about-slider-dots button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.58);cursor:pointer;transition:width .2s ease,background .2s ease}
.home-about-slider-dots button.active{width:25px;background:var(--gold)}

@media (max-width: 768px) {
  body { overflow-x: clip; }

  .home-section--card-grid,
  .home-section--featured-list,
  .home-section--compact-list,
  .home-section--bento,
  .home-section--timeline,
  .home-section--masonry { padding: 52px 20px !important; }
  .home-section--slider { padding: 52px 0 52px 20px !important; }
  .home-preset { padding: 54px 20px !important; }

  .section-title { font-size: clamp(25px, 7.2vw, 32px); }
  .section-desc { font-size: 14px; line-height: 1.8; }

  .home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .home-featured-layout,
  .home-hero-banner-layout,
  .home-contact-layout,
  .home-about-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 30px !important; }
  .home-hero-banner-layout { padding: 76px 20px 48px !important; }
  .home-section--hero-banner { min-height: 0 !important; }

  .home-compact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .home-slider-track > .content-card { flex-basis: min(78vw, 300px) !important; width: min(78vw, 300px) !important; }

  .home-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 210px !important;
    gap: 12px !important;
  }
  .home-bento-grid > a { grid-column: auto !important; grid-row: auto !important; min-width: 0; }
  .home-bento-grid > a:first-child { grid-column: 1 / -1 !important; grid-row: span 2 !important; }

  .home-timeline-list { padding-left: 34px; }
  .home-timeline-list > div:first-child { left: 10px !important; transform: none !important; }
  .home-timeline-item { display: block !important; position: relative; margin-bottom: 30px !important; }
  .home-timeline-card-wrap { padding: 0 !important; }
  .home-timeline-marker { position: absolute; left: -34px; top: 22px; }
  .home-timeline-empty { display: none; }

  .home-magazine-hero { min-height: 420px !important; }
  .home-magazine-copy { padding: 42px 20px 54px !important; }
  .home-magazine-strip .home-magazine-grid { margin-top: -32px !important; gap: 12px !important; }
  .home-magazine-strip > div { padding: 0 20px 48px !important; }

  .home-about-image { min-height: 320px !important; }
  .home-about-image > img,
  .home-about-image > div,
  .home-about-image img,
  .home-about-placeholder { height: 360px !important; }
  .home-about-slider { min-height:320px !important; }
  .home-about-layout > div:first-child > div:last-child {
    right: 12px !important;
    bottom: 12px !important;
    padding: 16px 20px !important;
  }
  .home-about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; margin-top: 24px !important; }
  .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .home-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }

  .site-topbar { height: 30px; }
  .topbar-inner { padding: 0 16px; }
  .topbar-left { max-width: 62%; }
  .topbar-right { gap: 8px; }
  .topbar-search-btn { display: none; }
  .nav-inner { height: 60px; padding: 0 16px; gap: 10px; }
  .nav-logo-text .nav-logo-th { font-size: 12px; }
  .nav-logo-text .nav-logo-en { font-size: 8px; letter-spacing: .55px; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 520px) {
  .home-section--card-grid,
  .home-section--featured-list,
  .home-section--compact-list,
  .home-section--bento,
  .home-section--timeline,
  .home-section--masonry { padding: 46px 16px !important; }
  .home-section--slider { padding: 46px 0 46px 16px !important; }
  .home-preset { padding: 48px 16px !important; }

  .home-card-grid,
  .home-about-cards,
  .home-program-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .home-featured-layout { gap: 20px !important; }
  .home-bento-grid { grid-template-columns: minmax(0, 1fr) !important; grid-auto-rows: 220px !important; }
  .home-bento-grid > a:first-child { grid-row: span 1 !important; }

  .home-magazine-strip .home-magazine-grid { grid-template-columns: minmax(0, 1fr) !important; margin-top: -20px !important; }
  .home-magazine-hero { min-height: 380px !important; }
  .home-magazine-copy { padding: 36px 16px 42px !important; }
  .home-magazine-copy h2 { font-size: clamp(26px, 9vw, 36px) !important; }

  .home-contact-layout { gap: 26px !important; }
  .home-contact-layout > div:last-child { min-width: 0; }
  .home-contact-layout iframe { max-width: 100%; }
  .home-about-image { min-height: 280px !important; }
  .home-about-image > img,
  .home-about-image > div,
  .home-about-image img,
  .home-about-placeholder { height: 300px !important; }
  .home-about-slider { min-height:280px !important; }
  .home-about-slider-nav{width:36px;height:36px}.home-about-slider-nav.prev{left:10px}.home-about-slider-nav.next{right:10px}
  .home-stats-grid { grid-template-columns: minmax(0, 1fr) !important; }

  .home-timeline-list { padding-left: 30px; }
  .home-timeline-marker { left: -30px; }
  .home-timeline-card-wrap a > div:first-child { height: 160px !important; }

  .topbar-left { max-width: calc(100% - 80px); }
  .topbar-social,
  .topbar-divider { display: none; }
  .topbar-phone { font-size: 10px; }
  .nav-logo { max-width: 40px; max-height: 44px; }
  .nav-brand { gap: 8px; min-width: 0; }
  .nav-logo-text { min-width: 0; }
  .nav-logo-text .nav-logo-th,
  .nav-logo-text .nav-logo-en { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
  .nav-quicklinks,
  .nav-more-btn { display: none; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 360px) {
  .section-title { font-size: 25px; }
  .section-tag { font-size: 10px; letter-spacing: 1.2px; padding: 5px 11px; }
  .home-slider-track > .content-card { flex-basis: 82vw !important; width: 82vw !important; }
  .home-about-layout > div:first-child > div:last-child { padding: 12px 15px !important; }
  .home-about-layout > div:first-child > div:last-child strong { font-size: 25px !important; }
  .nav-logo-text .nav-logo-th,
  .nav-logo-text .nav-logo-en { max-width: 170px; }
}

/* Main menu cards */
.main-menu-section{background:#fff;padding:76px 24px}
.main-menu-inner{max-width:1200px;margin:0 auto}
.main-menu-heading{margin-bottom:34px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}
.main-menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}
.main-menu-card{background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:8px;overflow:hidden;box-shadow:0 12px 30px rgba(26,16,6,.06);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.main-menu-card:hover{transform:translateY(-4px);border-color:rgba(201,146,42,.35);box-shadow:0 18px 42px rgba(26,16,6,.1)}
.main-menu-card a{display:block;text-decoration:none;color:inherit;height:100%}
.main-menu-cover{position:relative;aspect-ratio:16/9;background:var(--cream2);overflow:hidden}
.main-menu-card[data-aspect="1:1"] .main-menu-cover{aspect-ratio:1/1}
.main-menu-cover img,.main-menu-cover .yt-wrapper{width:100%;height:100%}
.main-menu-cover img{object-fit:cover;display:block}
.main-menu-cover .yt-wrapper{padding-bottom:0}
.main-menu-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:42px;background:linear-gradient(135deg,var(--cream),#fff)}
.main-menu-body{padding:18px}
.main-menu-title{font-size:16px;font-weight:800;color:var(--warm);line-height:1.4;margin-bottom:8px}
.main-menu-body p{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:14px}
.main-menu-body span{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--gold)}
.menu-detail-cover[data-aspect="1:1"]{max-width:520px}
.menu-detail-cover[data-aspect="1:1"] img{aspect-ratio:1/1;object-fit:cover}
.menu-home-card[data-aspect="1:1"] .card-cover{aspect-ratio:1/1;height:auto}
.menu-home-card[data-aspect="1:1"] .card-cover img,
.menu-home-card[data-aspect="1:1"] .card-cover .yt-wrapper,
.menu-home-card[data-aspect="1:1"] .card-cover-placeholder{height:100%;aspect-ratio:1/1}
.menu-home-card[data-aspect="1:1"] .card-cover .yt-wrapper{padding-bottom:0}
.content-body img{max-width:100%;height:auto}.content-body iframe{display:block;max-width:100%;border:0;margin:18px auto}.content-body table{width:100%;border-collapse:collapse;margin:18px 0}.content-body th,.content-body td{padding:10px;border:1px solid var(--border)}.content-split{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,1.35fr);gap:20px;align-items:center;margin:20px 0;padding:18px;border:1px solid var(--border);border-radius:12px}.content-split--image-right{grid-template-columns:minmax(0,1.35fr) minmax(160px,1fr)}.content-split img{width:100%;height:auto;border-radius:10px}.content-cta{display:inline-flex;align-items:center;padding:10px 16px;border-radius:8px;background:var(--gold);color:var(--deep)!important;text-decoration:none;font-weight:700}

@media (max-width: 520px){
  .main-menu-section{padding:48px 16px}
  .main-menu-heading{margin-bottom:24px}
  .main-menu-grid{grid-template-columns:1fr;gap:14px}
  .main-menu-body{padding:16px}
  .content-split,.content-split--image-right{grid-template-columns:1fr}
}

/* Mobile navigation: full-width, touch-friendly accordion */
.mobile-only,
.nav-sub-toggle { display:none; }

@media (max-width:768px){
  body.mobile-nav-open { overflow:hidden; }

  .site-header { z-index:6000; }
  .nav-inner { position:relative; z-index:6001; }

  /* Hide the address only; keep the useful phone/social controls available. */
  .site-topbar .topbar-left { display:none; }
  .site-topbar .topbar-inner { justify-content:flex-end; }

  .nav-list {
    top:90px;
    padding:16px 16px 32px;
    gap:10px;
    align-items:stretch;
    background:rgba(20,12,5,.985);
    z-index:6000;
  }
  .nav-list .nav-item { width:100%; position:relative; border:1px solid rgba(201,146,42,.22); border-radius:14px; background:rgba(255,255,255,.035); overflow:hidden; }
  .nav-list .nav-item.mobile-only { display:block; }
  .nav-list .nav-link { min-height:56px; padding:12px 54px 12px 16px; gap:11px; font-size:16px; font-weight:700; color:rgba(255,255,255,.94); }
  .nav-list .nav-link > i:first-child { width:20px; color:var(--gold-l); font-size:16px; text-align:center; }
  .nav-list .nav-link .nav-chevron { display:none; }
  .nav-list .nav-item:not(.has-dropdown) .nav-link { padding-right:18px; }
  .nav-list .nav-link:hover { background:rgba(201,146,42,.12); }

  .nav-sub-toggle {
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:6px; right:6px; width:44px; height:44px;
    border:0; border-radius:11px; background:rgba(201,146,42,.12); color:var(--gold-l); cursor:pointer;
    font-size:15px; transition:background .2s,transform .2s;
  }
  .nav-sub-toggle:focus-visible { outline:2px solid var(--gold-l); outline-offset:2px; }
  .nav-item.mobile-sub-open > .nav-sub-toggle { background:var(--gold); color:var(--deep); }
  .nav-item.mobile-sub-open > .nav-sub-toggle i { transform:rotate(180deg); }

  .nav-list .dropdown {
    display:none; position:static; min-width:0; margin:0; padding:5px 10px 12px;
    border:0; border-top:1px solid rgba(201,146,42,.18); border-radius:0;
    background:rgba(0,0,0,.16); opacity:1; visibility:visible; transform:none; box-shadow:none;
  }
  .nav-list .nav-item.mobile-sub-open > .dropdown { display:block; }
  .nav-list .dropdown li { list-style:none; }
  .nav-list .dropdown li a { min-height:46px; padding:10px 12px; gap:11px; font-size:15px; color:rgba(255,255,255,.82); white-space:normal; }
  .nav-list .dropdown li a i { width:19px; font-size:14px; color:var(--gold); text-align:center; }
  .nav-list .dropdown-sub { margin:2px 0 6px 18px; padding-left:10px; border-left:1px solid rgba(201,146,42,.25); }
  .nav-list .dropdown-sub li a { min-height:42px; padding:8px 10px; font-size:14px; color:rgba(255,255,255,.68); }

  .nav-more-btn,
  .nav-more-panel,
  .nav-quicklinks { display:none !important; }
  .nav-hamburger { width:46px; height:46px; align-items:center; justify-content:center; border:1px solid rgba(201,146,42,.3); border-radius:12px; background:rgba(255,255,255,.04); }
  .nav-hamburger span { width:25px; height:2px; }
}

/* ─── Hero (จอเดียวคอลัมน์ ≤1024px): แสดงภาพแบนเนอร์ก่อนข้อความ ─── */
@media (max-width: 1024px) {
  .hero-split-inner { align-items: stretch; }
  .hero-banner-card {
    order: -1;          /* ย้ายสไลด์ภาพขึ้นบนสุด */
    transform: none;    /* ยกเลิกการเลื่อนลงของเดสก์ท็อป ไม่ให้ทับข้อความ */
    align-self: start;
  }
}
@media (max-width: 768px) {
  /* เว้นระยะใต้ navbar (fixed ~90px) ไม่ให้ภาพถูกบังขอบบน */
  .hero-split-inner { padding-top: 106px; }
}

/* ─── Hero banner: ปก YouTube เล่นคลิปอัตโนมัติ ─── */
.hero-banner-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  opacity: 0;                 /* แสดงหลังคลิปเริ่มเล่น — ระหว่างโหลดจะเห็นภาพปกแทน */
  transition: opacity .6s ease;
}
.hero-banner-video.is-playing { opacity: 1; }
.hero-banner-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: none;       /* คลิกผ่านไปยังแบนเนอร์ / ไม่ให้ YouTube หยุดเล่นเมื่อแตะ */
}
/* การ์ดสี่เหลี่ยมจัตุรัส: ขยายคลิป 16:9 ให้เต็มกรอบแบบ cover */
.hero-banner-card[data-aspect="1:1"] .hero-banner-video iframe { width: 177.78%; }
.hero-video-sound {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(18,11,4,.55);
  color: #fff;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hero-video-sound:hover { background: var(--gold); color: var(--deep); transform: scale(1.06); }
.hero-video-sound:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; }
@media (max-width: 768px) {
  .hero-video-sound { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 13px; }
}

/* ─── Topbar: เมนูลัด (ผู้เข้าชมทั่วไป | บุคลากร | นิสิต …) ─── */
.site-topbar { position: relative; z-index: 60; }
.topbar-shortcuts { display: flex; align-items: center; background: none; border: 0; }  /* ยกเลิกสไตล์ nav ทั่วไปของธีม */
.tsc-item { position: relative; }
.tsc-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
  color: rgba(255,255,255,.72); text-decoration: none;
  transition: color .2s;
}
.tsc-ico { font-size: 10px; color: var(--gold); }
.tsc-caret { font-size: 8px; opacity: .5; transition: transform .2s, opacity .2s; }
.tsc-link:hover,
.tsc-item:focus-within .tsc-link,
.tsc-item.open .tsc-link { color: var(--gold-l); }
.tsc-item:hover .tsc-caret,
.tsc-item.open .tsc-caret { transform: rotate(180deg); opacity: .9; }
.tsc-sep { width: 1px; height: 12px; background: rgba(255,255,255,.16); flex-shrink: 0; }
.tsc-drop {
  position: absolute; top: 100%; right: 0; z-index: 20;
  min-width: 260px; max-width: 320px;
  padding: 8px;
  background: rgba(20,13,6,.98);
  border: 1px solid rgba(201,146,42,.25);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.tsc-item.has-drop:hover .tsc-drop,
.tsc-item.has-drop:focus-within .tsc-drop,
.tsc-item.open .tsc-drop { opacity: 1; visibility: visible; transform: none; }
.tsc-drop-head {
  padding: 6px 10px 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold);
}
.tsc-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px;
  font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.85); text-decoration: none;
  transition: background .15s, color .15s;
}
.tsc-row i { width: 18px; text-align: center; font-size: 12px; color: var(--gold); flex-shrink: 0; }
.tsc-row:hover, .tsc-row:focus-visible { background: rgba(201,146,42,.14); color: #fff; outline: none; }
.tsc-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px; padding: 10px 10px 6px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px; font-weight: 700; color: var(--gold-l); text-decoration: none;
}
.tsc-all:hover { color: #fff; }

@media (max-width: 768px) {
  .site-topbar { z-index: 6002; }
  .site-topbar.has-shortcuts .topbar-inner { justify-content: space-between; }
  .site-topbar.has-shortcuts .topbar-right { width: 100%; }
  .site-topbar.has-shortcuts .topbar-phone-text { display: none; }   /* เหลือไอคอนโทรศัพท์ ให้ที่แก่เมนูลัด */
  .topbar-shortcuts {
    order: -1; margin-right: auto; min-width: 0;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .topbar-shortcuts::-webkit-scrollbar { display: none; }
  .tsc-link { height: 30px; padding: 0 8px; font-size: 11px; }
  .tsc-item:first-child .tsc-link { padding-left: 0; }
  /* dropdown เต็มความกว้างใต้แถบบน (fixed เพื่อไม่ให้ถูกตัดโดยแถบที่เลื่อนได้) */
  .tsc-drop { position: fixed; top: 30px; left: 10px; right: 10px; min-width: 0; max-width: none; }
  /* มือถือ: เปิด/ปิดด้วยการแตะเท่านั้น (ไม่ใช้ hover/focus ที่ค้างบนจอสัมผัส) */
  .tsc-item.has-drop:hover .tsc-drop,
  .tsc-item.has-drop:focus-within .tsc-drop { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .tsc-item.has-drop.open .tsc-drop { opacity: 1; visibility: visible; transform: none; }
}

/* ─── แถบเมนูหลัก: ตั้งค่าจาก admin (จำนวนเมนู / ระยะห่าง / ไอคอน) + ย่ออัตโนมัติเมื่อจอแคบ ─── */
.nav-more-btn[hidden],
.nav-more-item.is-inbar { display: none !important; }
@media (min-width: 769px) {
  .nav-list .nav-item.nav-fit-hide { display: none; }
  .nav-inner.nav-compact { gap: 12px; }
  .nav-compact .nav-list .nav-link { padding: 8px 8px; gap: 5px; font-size: 12.5px; }
  .nav-compact .nav-list .nav-link i { font-size: 12px; }
  .nav-compact .nav-more-btn { margin-left: 6px; }
  .nav-noicon .nav-list .nav-link > i:first-child { display: none; }
  .nav-inner.nav-full { max-width: none; }
}

/* ─── Mega menu: เมนูที่มีเมนูย่อยมากกว่าเกณฑ์ (ตั้งค่าได้ใน admin → จัดการเมนู) ─── */
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-head { display: none; }
@media (min-width: 769px) {
  /* เปิดด้วยคีย์บอร์ดได้ (Tab) ทั้ง dropdown ปกติและ mega */
  .nav-item.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-item.has-dropdown:focus-within .nav-chevron { transform: rotate(-180deg); }

  /* วางแผงเทียบกับ header (เต็มความกว้าง) แทนการวางใต้เมนูแต่ละตัว */
  .nav-item.has-mega { position: static; }
  .nav-item.has-mega > .dropdown-mega {
    top: 100%; left: 0; right: 0; min-width: 0;
    padding: 26px max(24px, calc((100% - 1200px) / 2)) 28px;
    border-width: 1px 0 0; border-top-color: rgba(201,146,42,0.28);
    border-radius: 0 0 20px 20px;
    background: rgba(20,12,5,0.98);
    box-shadow: 0 28px 60px rgba(0,0,0,0.5);
  }
  .nav-full .nav-item.has-mega > .dropdown-mega { padding-left: max(24px, calc((100% - 1440px) / 2)); padding-right: max(24px, calc((100% - 1440px) / 2)); }
  /* สะพานรับเมาส์ช่วงระหว่างชื่อเมนูกับแผง (ไม่ให้แผงปิดระหว่างเลื่อนเมาส์ลง) */
  .dropdown-mega::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }

  .mega-inner {
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px;
    max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(201,146,42,0.4) transparent;
  }
  .mega-head {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 4px 28px 4px 0; border-right: 1px solid rgba(201,146,42,0.16);
  }
  .mega-icon {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 4px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(201,146,42,0.28), rgba(201,146,42,0.08));
    border: 1px solid rgba(201,146,42,0.3); color: var(--gold-l); font-size: 19px;
  }
  .mega-title { font-family: 'Noto Serif Thai', serif; font-size: 18px; font-weight: 700; line-height: 1.4; color: #fff; }
  .mega-count { font-size: 12px; color: rgba(255,255,255,0.5); }
  .mega-all {
    margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 10px; background: var(--gold); color: var(--deep);
    font-size: 12.5px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s;
  }
  .mega-all:hover { background: var(--gold-l); transform: translateX(3px); }
  .mega-all i { font-size: 11px; }

  .mega-list { column-count: 3; column-gap: 18px; }
  .mega-list.mega-cols-2 { column-count: 2; }
  .mega-list.mega-cols-4 { column-count: 4; }
  .mega-list > li { break-inside: avoid; margin-bottom: 2px; }
  .dropdown-mega .mega-list > li > a {
    align-items: flex-start; padding: 9px 12px; border-radius: 10px;
    font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.8);
    transition: background .2s, color .2s, transform .2s;
  }
  .dropdown-mega .mega-list > li > a i { flex-shrink: 0; margin-top: 3px; }
  .dropdown-mega .mega-list > li > a:hover { background: rgba(201,146,42,0.14); color: var(--gold-l); transform: translateX(3px); }
  .dropdown-mega .dropdown-sub { margin: 0 0 6px 30px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .mega-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mega-head {
    flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 0 0 14px; border-right: 0; border-bottom: 1px solid rgba(201,146,42,0.16);
  }
  .mega-icon { width: 40px; height: 40px; margin: 0; font-size: 16px; }
  .mega-all { margin: 0 0 0 auto; }
  .mega-list.mega-cols-3, .mega-list.mega-cols-4 { column-count: 3; }
}

/* ─── ตำแหน่งกลุ่มเมนูบนแถบ (ตั้งค่าใน admin): ชิดซ้าย / กึ่งกลาง (ค่าเริ่มต้น) / ชิดขวา ─── */
.nav-start { display: flex; align-items: center; min-width: 0; flex-shrink: 0; }
@media (min-width: 769px) {
  /* กึ่งกลาง: ด้านซ้าย (โลโก้) และด้านขวา กว้างเท่ากัน → กลุ่มเมนูอยู่กลางจอพอดี */
  .nav-align-center .nav-start,
  .nav-align-right .nav-start { flex: 1 1 0; min-width: max-content; }
  .nav-align-center .nav-actions { flex: 1 1 0; min-width: max-content; justify-content: flex-end; margin-left: 0; }
}

/* ─── Hero: สไลด์คลิป YouTube "เต็มความกว้างจอ" (ตั้งค่าที่ แบนเนอร์ / Hero Slides) ───
   ไม่มีหัวข้อ/รายละเอียดย่อ มีเฉพาะปุ่ม "อ่านต่อ" เล็กที่มุมขวาล่างของคลิป */
.hero-full-read { display: none; }
.hero-split.hero-full .hero-split-copy { display: none; }
.hero-split.hero-full .hero-banner-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  container-type: size;
  animation: heroModeIn .55s ease;
}
.hero-split:not(.hero-full) .hero-banner-card,
.hero-split:not(.hero-full) .hero-split-copy { animation: heroModeIn .55s ease; }
@keyframes heroModeIn { from { opacity: 0; } to { opacity: 1; } }
/* ขยายคลิป 16:9 ให้เต็มกรอบแบบ cover */
.hero-split.hero-full .hero-banner-video iframe {
  width: max(100%, 177.78cqh);
  height: max(100%, 56.25cqw);
  transform: translate(-50%, -50%);
}
.hero-split.hero-full .hero-banner-shade { background: linear-gradient(to top, rgba(0,0,0,.42), transparent 28%); }
.hero-split.hero-full .hero-banner-slide[data-layout="full"] .hero-full-read { display: inline-flex; }
.hero-full-read {
  position: absolute;
  right: clamp(14px, 2.2vw, 32px);
  bottom: clamp(14px, 2.2vw, 30px);
  z-index: 5;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(18,11,4,.55);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-full-read i { font-size: 11px; }
.hero-full-read:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); transform: translateY(-1px); }
.hero-full-read:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; }
@media (min-width: 1025px) {
  /* เดสก์ท็อป: คลิปเต็มพื้นที่ hero ใต้แถบเมนู (ความสูง hero เท่าเดิม → หน้าไม่กระโดดเมื่อสลับสไลด์) */
  .hero-split.hero-full .hero-split-inner { position: static; transform: none; }
  .hero-split.hero-full .hero-banner-card {
    position: absolute;
    top: var(--hero-top, 98px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    transform: none;
    align-self: stretch;     /* กล่อง absolute ในกริด: ต้อง stretch ไม่งั้นจะหดตามเนื้อหา (สูง 0) */
    justify-self: stretch;
    margin: 0;
  }
}
@media (max-width: 1024px) {
  /* แท็บเล็ต/มือถือ: คลิปเต็มความกว้างจอ อัตราส่วน 16:9 (ไม่ครอบตัด) */
  .hero-split.hero-full .hero-split-inner { padding: var(--hero-top, 90px) 0 0; }
  .hero-split.hero-full .hero-banner-card { width: 100%; aspect-ratio: 16 / 9; }
  .hero-full-read { padding: 6px 12px; font-size: 12px; }
}
