/* ==========================================================================
   Digital Government Awards 2026 (ประจำปี 2569)
   Official Stylesheet - Dark Blue & Gold Stage Theme
   ========================================================================== */

@font-face {
  font-family: 'Kanit';
  src: url('../fonts/Kanit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoSansThai';
  src: url('../fonts/NotoSansThaiUI-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoSansThai';
  src: url('../fonts/NotoSansThai-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoSansUI';
  src: url('../fonts/NotoSansUI-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-navy-dark: #020c1b;
  --bg-navy: #051630;
  --bg-navy-panel: rgba(5, 22, 48, 0.88);
  --bg-navy-card: rgba(6, 24, 54, 0.84);
  --gold-light: #fbe69b;
  --gold-mid: #dfb760;
  --gold-deep: #b3832c;
  --gold-bronze: #4e3b17;
  --gold-gradient: linear-gradient(135deg, #f8e49c 0%, #d9ad53 48%, #a67623 100%);
  --gold-pill-bg: linear-gradient(180deg, #523e16 0%, #2a1f09 55%, #463512 100%);
  --gold-banner-bg: linear-gradient(180deg, #f6de94 0%, #d4a64a 50%, #e7c26c 100%);
  --text-white: #ffffff;
  --text-gold: #ecd078;
  --text-muted: #cbd5e1;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'NotoSansThai', 'Kanit', sans-serif;
  background-color: var(--bg-navy-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   Header / Top Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: linear-gradient(180deg, rgba(2, 11, 26, 0.98) 0%, rgba(5, 22, 48, 0.95) 100%);
  border-bottom: 3px solid #d4a94e;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 1px 12px rgba(223, 183, 96, 0.35);
  z-index: 1000;
}

.header-inner {
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.brand-subtext {
  display: flex;
  flex-direction: column;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-white);
  border-radius: 8px;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link.is-active {
  color: var(--gold-light);
  border-color: #dfb760;
  background: rgba(223, 183, 96, 0.12);
  box-shadow: 0 0 14px rgba(223, 183, 96, 0.45), inset 0 0 8px rgba(223, 183, 96, 0.2);
}

/* Winners Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 420px;
  width: max-content;
  max-width: min(680px, calc(100vw - 32px));
  background: rgba(4, 18, 40, 0.98);
  border: 1.5px solid #dfb760;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 18px rgba(223, 183, 96, 0.25);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  z-index: 1100;
}

.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-white);
  border-radius: 7px;
  border-bottom: 1px solid rgba(223, 183, 96, 0.15);
  white-space: normal;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover,
.dropdown-link.is-active {
  background: linear-gradient(90deg, rgba(223, 183, 96, 0.25) 0%, rgba(223, 183, 96, 0.05) 100%);
  color: var(--gold-light);
}

/* Header Right Controls (LIVE button, Search, Organization Logos) */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-live-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-live-btn img {
  height: 36px;
  width: auto;
}

.header-live-btn:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(255, 40, 40, 0.75));
}

.header-org-link {
  display: inline-flex;
  align-items: center;
}

.header-org-link img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.mobile-toggle-btn {
  display: none;
  background: rgba(223, 183, 96, 0.15);
  border: 1.5px solid #dfb760;
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: linear-gradient(180deg, #04132a 0%, #020a18 100%);
  border-left: 2px solid #dfb760;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-drawer-backdrop.is-open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(223, 183, 96, 0.3);
}

.mobile-close-btn {
  background: none;
  border: 1px solid rgba(223, 183, 96, 0.5);
  color: var(--gold-light);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1.02rem;
  color: var(--text-white);
  border: 1px solid transparent;
}

.mobile-nav-link.is-active {
  border-color: #dfb760;
  background: rgba(223, 183, 96, 0.14);
  color: var(--gold-light);
}

.mobile-subnav {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid rgba(223, 183, 96, 0.35);
  margin: 4px 0 8px 12px;
}

.mobile-subnav a {
  padding: 7px 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  border-radius: 6px;
}

.mobile-subnav a:hover,
.mobile-subnav a.is-active {
  color: var(--gold-light);
  background: rgba(223, 183, 96, 0.1);
}

/* ==========================================================================
   Main Stage & Background Layouts
   ========================================================================== */
.page-main {
  flex: 1;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  padding: 36px 20px 54px;
}

.page-main--home {
  background-image: url('../img/bg.jpg');
}

.page-main--com {
  background-image: url('../img/bg_c.jpg');
}

.page-main--sub {
  background-image: url('../img/bg5.jpg');
}

.page-main--winners {
  background-image: url('../img/bg3.jpg');
}

.page-main--stage {
  background-image: url('../img/bg.jpg');
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Page 1: Home (01-AWหน้าหลัก.jpg)
   ========================================================================== */
.home-hero-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 90px;
}

.home-org-logo {
  height: 54px;
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.home-main-logo-wrap {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin-bottom: 20px;
}

.home-main-logo-wrap img {
  padding: 0 12px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.65));
}

.home-thai-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: -8px;
  text-align: right;
  padding-right: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Countdown Panel */
.countdown-panel {
  background: linear-gradient(180deg, rgba(16, 40, 78, 0.92) 0%, rgba(7, 22, 48, 0.95) 100%);
  border: 2.5px solid #d7ac54;
  border-radius: 26px;
  padding: 16px 36px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(215, 172, 84, 0.25);
  margin-bottom: 22px;
  max-width: 560px;
  width: 100%;
}

.countdown-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 12px;
}

.countdown-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-digit-box {
  width: 82px;
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(120, 145, 180, 0.16) 50%, rgba(30, 50, 82, 0.5) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'NotoSansUI', 'Kanit', sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

.cd-sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: -22px;
  padding: 0 2px;
}

.cd-label {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-white);
}

/* Home Action Buttons (รับชม LIVE / ดูผู้ชนะรางวัล) */
.home-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-img-btn {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cta-img-btn img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

.cta-img-btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08) drop-shadow(0 0 18px rgba(245, 211, 122, 0.55));
}

/* Social Row */
.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  display: inline-flex;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(245, 211, 122, 0.7));
}

/* Home Trophy Column */
.home-trophy-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: -18px;
}

.home-trophy-img {
  max-height: 670px;
  width: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(223, 183, 96, 0.25));
  animation: floatTrophy 5s ease-in-out infinite;
}

@keyframes floatTrophy {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   Page 2: History (02-AW_ประวัติความเป็นมา-01.jpg & 02.jpg)
   ========================================================================== */
.history-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 36px;
}

.trophy-podium-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 20px;
}

.trophy-podium-img {
  max-height: 450px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.85));
}

.golden-podium-base {
  width: 310px;
  height: 76px;
  margin-top: -32px;
  border-radius: 50% / 36%;
  background: linear-gradient(90deg, #a87b28 0%, #fae59c 32%, #fff3c4 50%, #e1b85c 72%, #9a6d1f 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85), 0 0 28px rgba(248, 224, 142, 0.45), inset 0 6px 14px rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

.golden-podium-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff7d6 0%, #ecd078 65%, #c79a3b 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.history-header {
  text-align: center;
  margin-bottom: 24px;
}

.history-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 6px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.history-subtitle {
  font-size: 1.25rem;
  color: var(--text-white);
  line-height: 1.4;
}

/* Accordion List */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 23, 52, 0.9);
  border: 1.5px solid rgba(223, 183, 96, 0.65);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 15px rgba(223, 183, 96, 0.15);
  transition: all 0.25s ease;
}

.accordion-item.is-open {
  border-color: #f3d27a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 22px rgba(223, 183, 96, 0.35);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(8, 28, 62, 0.96) 0%, rgba(12, 36, 76, 0.92) 100%);
  border: none;
  color: var(--text-white);
  cursor: pointer;
  text-align: left;
  min-height: 62px;
  position: relative;
}

.accordion-icon-badge {
  width: 88px;
  background: linear-gradient(135deg, #f6df92 0%, #d3a649 100%);
  color: #5a3f0c;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
  padding-right: 12px;
  flex-shrink: 0;
}

.accordion-icon-badge svg {
  width: 30px;
  height: 30px;
}

.accordion-label {
  flex: 1;
  padding: 12px 18px;
  font-family: 'Kanit', sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.accordion-arrow {
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ebd07a;
  transition: transform 0.28s ease;
}

.accordion-item.is-open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 22px 26px;
  background: rgba(3, 15, 35, 0.95);
  border-top: 1.5px solid rgba(223, 183, 96, 0.55);
  font-size: 0.98rem;
  line-height: 1.72;
  color: #f1f5f9;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.accordion-content p {
  margin-bottom: 12px;
  text-indent: 1.8em;
}

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

.accordion-content ol,
.accordion-content ul {
  padding-left: 24px;
  margin: 8px 0 12px;
}

.accordion-content ol {
  list-style: decimal;
}

.accordion-content ul {
  list-style: disc;
}

.accordion-content li {
  margin-bottom: 6px;
}

/* History Timeline Bar (2562 - 2569) */
.timeline-bar {
  max-width: 1180px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.timeline-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.timeline-nav-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-nav-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(245, 211, 122, 0.8));
}

.timeline-track-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 16px 10px;
}

.timeline-line {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  height: 5px;
  background: linear-gradient(90deg, #b88a32 0%, #f5dc8b 50%, #b88a32 100%);
  border-radius: 3px;
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.timeline-year-pill {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 3px 16px;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff5c8 0%, #dfb760 60%, #9b6e1c 100%);
  border: 2px solid #fbe69b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  transition: all 0.22s ease;
}

.timeline-node:hover .timeline-year-pill,
.timeline-node.is-active .timeline-year-pill {
  background: linear-gradient(180deg, #f8e296 0%, #cfa140 100%);
  color: #041227;
  box-shadow: 0 0 16px rgba(248, 226, 150, 0.75);
}

.timeline-node:hover .timeline-dot,
.timeline-node.is-active .timeline-dot {
  transform: scale(1.25);
  background: #ffffff;
  box-shadow: 0 0 20px #fbe69b, 0 0 32px #dfb760;
}

/* ==========================================================================
   Page 4: Winners Overview (04-AW_รางวัลรัฐบาลดิจิทัลระดับประจำปี.jpg)
   Scaled to full 1920px Desktop Stage Proportions
   ========================================================================== */
.page-main--winners {
  background-image: url('../img/bg3.jpg');
  padding: 20px 24px 40px;
}

.page-main--winners .container {
  max-width: 1720px;
}

.page-main--winners-overview {
  background-image: url('../img/bg.jpg');
  background-position: center bottom;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-title-gold {
  font-size: 3.45rem;
  font-weight: 700;
  background: linear-gradient(180deg, #fff3c4 0%, #e4bc63 55%, #c59233 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.8));
  line-height: 1.22;
}

.section-subtitle {
  font-size: 1.48rem;
  color: var(--text-white);
  margin-top: 8px;
}

/* Top Row: 3 Trophy Cards (Full AW Stage Scale: using full card PNGs winners1-3.png) */
.winners-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  max-width: 1260px;
  margin: 0 auto 28px;
}

.winner-trophy-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.winner-trophy-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 0 24px rgba(251, 230, 155, 0.55));
}

.winner-trophy-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Row: 5 Certificate Cards (Full AW Stage Scale: 3350/4001 -> ~1560px) */
.winners-bottom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  max-width: 1560px;
  margin: 0 auto;
}

.winner-cert-card {
  background: linear-gradient(180deg, rgba(12, 34, 68, 0.95) 0%, rgba(4, 15, 34, 0.97) 100%);
  border: 2.5px solid #e7c26c;
  border-radius: 22px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.82), 0 0 24px rgba(231, 194, 108, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: visible;
}

.winner-cert-card::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 18px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.7) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.45) 0%, rgba(231, 184, 80, 0.14) 58%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(251, 224, 130, 0.65));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 4;
}

.winner-cert-card:hover {
  transform: translateY(-6px);
  border-color: #fff3c4;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.9), 0 0 32px rgba(251, 230, 155, 0.55);
}

.cert-card-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-white);
  min-height: 104px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  margin-bottom: 14px;
  width: 100%;
}

.cert-card-img-wrap {
  width: 95%;
  margin: auto auto 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(223, 183, 96, 0.55);
  background: #ffffff;
}

.cert-card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Winner Subpages (SUB1 - SUB9) - Full AW Stage Scale (Matches Right Image)
   ========================================================================== */
.subpage-header-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 28px;
}

.gold-capsule-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #4b3914 0%, #241a07 52%, #3f2f0f 100%);
  border: 3.5px solid #e7c26c;
  border-radius: 999px;
  padding: 15px 68px;
  min-width: 820px;
  max-width: 100%;
  font-size: 2.95rem;
  font-weight: 700;
  color: #f4d37d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 28px rgba(231, 194, 108, 0.45), inset 0 2px 14px rgba(255, 232, 163, 0.35);
  position: relative;
}

.gold-capsule-title::before,
.gold-count-pill::before,
.dept-group-header::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  max-width: 340px;
  height: 20px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.75) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.52) 0%, rgba(231, 184, 80, 0.16) 58%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(251, 224, 130, 0.72));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
}

.gold-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #4d3b15 0%, #251b07 55%, #413110 100%);
  border: 2.5px solid #e2bc64;
  border-radius: 999px;
  padding: 8px 54px;
  min-width: 345px;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.78), 0 0 20px rgba(226, 188, 100, 0.42);
  position: relative;
}

/* SUB1: CEO Showcase (Full AW Stage Scale: wrapper ~1400px, frame ~1140px x 540px, trophy ~430px) */
.ceo-stage-wrapper {
  max-width: 1420px;
  width: 100%;
  margin: 22px auto 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 24px;
}

.ceo-frame-box {
  width: 1135px;
  max-width: 100%;
  border: 2px solid rgba(230, 190, 98, 0.9);
  background: linear-gradient(135deg, rgba(2, 12, 30, 0.78) 0%, rgba(5, 20, 46, 0.84) 100%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.85), 0 0 36px rgba(230, 190, 98, 0.28);
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: center;
  padding: 24px 150px 0 44px;
  position: relative;
  min-height: 525px;
}

.ceo-star-flare-top {
  position: absolute;
  top: 0;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 600px;
  max-width: 88%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(251, 224, 130, 0.55));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
}

.ceo-star-flare-bottom {
  position: absolute;
  bottom: 0;
  left: 42%;
  transform: translate(-50%, 50%);
  width: 560px;
  max-width: 84%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(251, 224, 130, 0.55));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
}

.ceo-left-flare {
  position: absolute;
  left: -8px;
  top: 22%;
  width: 16px;
  height: 260px;
  background:
    radial-gradient(ellipse 14% 48% at 50% 50%, #ffffff 0%, #fff6cc 28%, rgba(242, 196, 86, 0.68) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.48) 0%, rgba(231, 184, 80, 0.15) 60%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(251, 224, 130, 0.65));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
}

.ceo-trophy-aw-wrap {
  position: absolute;
  right: 8px;
  bottom: -18px;
  width: 428px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 6;
  pointer-events: none;
}

.ceo-trophy-aw-img {
  width: 100%;
  max-width: 428px;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.9));
}

.ceo-portrait-wrap {
  align-self: end;
  display: flex;
  justify-content: center;
}

.ceo-portrait-wrap img {
  max-height: 495px;
  width: auto;
  object-fit: contain;
}

.ceo-info-col {
  text-align: center;
  padding: 28px 12px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ceo-name {
  font-size: clamp(2.565rem, 3.2vw, 2.85rem);
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.ceo-position {
  font-size: clamp(1.536rem, 2.2vw, 1.92rem);
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.36;
}

.ceo-org-logo {
  margin-top: 14px;
  height: 136px;
  width: auto;
}

/* SUB2: Government Department Awards (Full AW Stage Scale: width ~1140px - 1220px) */
.dept-group-box {
  max-width: 1140px;
  margin: 0 auto 38px;
  background: rgba(3, 15, 36, 0.92);
  border: 4px solid #e7c26c;
  border-radius: 30px;
  padding: 46px 46px 30px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 26px rgba(231, 194, 108, 0.24);
}

.dept-group-box--policy {
  max-width: 1220px;
  margin-top: 52px;
}

.dept-group-header {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #4b3914 0%, #231906 55%, #3f2f0f 100%);
  border: 2.5px solid #e7c26c;
  border-radius: 999px;
  padding: 9px 48px;
  min-width: 880px;
  text-align: center;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.85);
}

.dept-group-box--policy .dept-group-header {
  min-width: 1050px;
  font-size: 1.48rem;
}

.dept-grid-2col {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  column-gap: 54px;
  row-gap: 12px;
  margin-top: 8px;
}

.dept-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.dept-item:nth-last-child(-n+2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.dept-rank {
  font-family: 'NotoSansUI', 'Kanit', sans-serif;
  font-size: 2.05rem;
  font-weight: 700;
  color: #ebd07a;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.dept-logo-box {
  width: 108px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 18px 4px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.dept-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dept-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.35;
}

/* SUB3: Province Awards (Full AW Stage Scale: width ~1520px, seal ~232px) */
.province-stage-box {
  max-width: 1520px;
  margin: 22px auto 0;
  background: rgba(3, 15, 36, 0.92);
  border: 7px solid #e7c26c;
  border-radius: 46px;
  padding: 48px 36px 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.88), 0 0 32px rgba(231, 194, 108, 0.3);
  position: relative;
}

.province-stage-box::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 28%;
  transform: translateX(-50%);
  width: 280px;
  height: 20px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.72) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.48) 0%, rgba(231, 184, 80, 0.14) 58%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(251, 224, 130, 0.68));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 4;
}

.province-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
}

.province-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.province-seal-ring {
  width: 228px;
  height: 228px;
  border-radius: 50%;
  padding: 7px;
  background: linear-gradient(135deg, #fbe69b 0%, #c89638 50%, #fbe69b 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.82), 0 0 22px rgba(231, 194, 108, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.province-seal-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
}

.province-name {
  font-size: 1.72rem;
  font-weight: 600;
  color: var(--text-white);
  position: relative;
  padding-bottom: 10px;
  white-space: nowrap;
}

.province-name::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 16px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.68) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.42) 0%, rgba(231, 184, 80, 0.12) 58%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(251, 224, 130, 0.6));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* SUB4 - SUB9: Certificate & Icon Subpages - Full AW Stage Scale (Matches Right Side of User Screenshot!) */
.cert-showcase-center {
  max-width: 1380px;
  margin: -18px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-halo-wrap {
  position: relative;
  width: 660px;
  max-width: 100%;
  height: 455px;
  margin-bottom: -32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-halo-wrap::before {
  display: none;
}

.cert-halo-bg {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(251, 224, 136, 0.6));
}

.cert-preview-img {
  position: relative;
  z-index: 2;
  max-width: 410px;
  width: 63%;
  margin-top: 10px;
  border-radius: 4px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.9), 0 0 26px rgba(246, 218, 132, 0.38);
  border: 2px solid #e7c26c;
}

.cert-icon-only {
  position: relative;
  z-index: 2;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subpage-gold-heading {
  font-size: clamp(1.35rem, 3.6vw, 3.05rem);
  font-weight: 700;
  color: #ecd078;
  line-height: 1.28;
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.gold-bullet-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 860px;
}

.gold-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.78rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.36;
}

.gold-bullet-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbe69b 0%, #c89638 100%);
  box-shadow: 0 0 10px rgba(251, 230, 155, 0.75);
  margin-top: 11px;
  flex-shrink: 0;
}

/* SUB9: 2-Column Split for Improvement Awards (Full AW Stage Scale) */
.improvement-split-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1.15fr;
  gap: 48px;
  max-width: 1260px;
  width: 100%;
  margin-top: 28px;
  text-align: left;
}

.improvement-divider {
  background: linear-gradient(180deg, transparent 0%, #e7c26c 10%, #e7c26c 90%, transparent 100%);
}

.improvement-col-title {
  font-size: 1.56rem;
  font-weight: 600;
  color: #ecd078;
  margin-bottom: 18px;
  line-height: 1.38;
}

.improvement-split-grid .gold-bullet-list li {
  font-size: 1.62rem;
}

/* ==========================================================================
   Page 5: Hall of Fame (Main Landing Grid + AWหอเกียรตยศ 2019 - 2026)
   ========================================================================== */
.page-main--hof-landing {
  background-image: url('../img/bg5.jpg');
  background-color: #020c1b;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: scroll;
  justify-content: flex-start;
  padding-top: 28px;
}

.hof-landing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.hof-landing-logo-wrap {
  position: relative;
  max-width: 390px;
  width: 100%;
}

.hof-landing-logo-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.78));
}

.hof-landing-logo-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: -5px;
  text-align: right;
  padding-right: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hof-landing-flare-line {
  width: min(560px, 88%);
  height: 2px;
  margin: 14px auto 18px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 195, 109, 0.65) 22%, #fff5cc 50%, rgba(232, 195, 109, 0.65) 78%, transparent 100%);
  box-shadow: 0 0 12px rgba(251, 230, 155, 0.75);
  position: relative;
}

.hof-landing-flare-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 18px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.72) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.5) 0%, rgba(231, 184, 80, 0.15) 58%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(251, 224, 130, 0.7));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hof-landing-title-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url('../img/btn_hof.png') center center / 100% 100% no-repeat;
  border: none;
  border-radius: 999px;
  padding: 12px 68px 14px;
  min-width: 280px;
  font-size: 1.85rem;
  font-weight: 700;
  color: #09172e;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(232, 195, 109, 0.35));
  position: relative;
  overflow: hidden;
}

.hof-landing-title-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: translateX(-140%) skewX(-22deg);
  animation: goldShimmerSweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hof-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 26px;
  row-gap: 36px;
  max-width: 1320px;
  margin: 0 auto;
}

.hof-year-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hof-year-card:hover {
  transform: translateY(-8px);
}

.hof-year-card-thumb {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  position: relative;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 18px rgba(231, 194, 108, 0.22));
  transition: filter 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hof-year-card-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hof-year-card:hover .hof-year-card-thumb {
  transform: scale(1.03);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(251, 230, 155, 0.55));
}

.hof-year-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url('../img/btn_hof.png') center center / 100% 100% no-repeat;
  border: none;
  border-radius: 999px;
  padding: 11px 25px 13px;
  min-width: 82%;
  font-size: 1.05rem;
  font-weight: 700;
  color: #09172e;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 14px rgba(232, 195, 109, 0.28));
  white-space: nowrap;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hof-year-card:hover .hof-year-card-pill {
  filter: brightness(1.07) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(251, 230, 155, 0.6));
}

.hof-top-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.hof-year-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hof-year-tab {
  padding: 7px 20px;
  border-radius: 999px;
  border: 1.5px solid #d7ac54;
  background: rgba(6, 24, 54, 0.85);
  color: var(--text-white);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.hof-year-tab:hover,
.hof-year-tab.is-active {
  background: linear-gradient(180deg, #f7df94 0%, #cf9f3e 100%);
  color: #041227;
  box-shadow: 0 0 18px rgba(247, 223, 148, 0.65);
}

.hof-year-logo {
  height: 110px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.75));
}

.hof-gold-banner {
  background: linear-gradient(180deg, #f8e39c 0%, #d4a649 50%, #e8c36d 100%);
  border: 3px solid #fff2c2;
  border-radius: 999px;
  padding: clamp(8px, 1.5vw, 12px) clamp(20px, 4vw, 48px);
  font-size: clamp(0.95rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: #061838;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 24px rgba(232, 195, 109, 0.4);
  margin-bottom: 28px;
  max-width: 960px;
  width: 100%;
}

.hof-main-frame {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(3, 14, 34, 0.92);
  border: 3px solid #dfb760;
  border-radius: 26px;
  padding: 36px 32px 32px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.85), 0 0 26px rgba(223, 183, 96, 0.22);
  position: relative;
}

.hof-two-col {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 32px;
}

.hof-col-divider {
  background: linear-gradient(180deg, transparent 0%, rgba(223, 183, 96, 0.65) 10%, rgba(223, 183, 96, 0.65) 90%, transparent 100%);
}

.hof-col {
  position: relative;
}

.hof-badge-pill {
  display: inline-block;
  background: linear-gradient(180deg, #f7df94 0%, #cf9f3e 100%);
  border: 2px solid #fff3c4;
  border-radius: 999px;
  padding: 5px 30px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #061838;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65);
}

.hof-group {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(223, 183, 96, 0.45);
}

.hof-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hof-group-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ecd078;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hof-agency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 6px;
}

.hof-agency-grid--single {
  grid-template-columns: 1fr;
}

.hof-agency-grid li {
  font-size: 0.92rem;
  color: var(--text-white);
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
}

.hof-agency-grid li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ecd078;
}

/* ==========================================================================
   Page 3: Committee & Experts (committee.html) - 2026 AW Design
   ========================================================================== */
.committee-section-bar {
  max-width: 1240px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.committee-section-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(223, 183, 96, 0.75) 0%, rgba(251, 230, 155, 0.55) 50%, rgba(223, 183, 96, 0.75) 100%);
}

.committee-section-pill {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.committee-section-pill img {
  height: clamp(42px, 3.8vw, 54px);
  width: auto;
  display: block;
}

.committee-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  flex-shrink: 0;
}

.committee-slide-btn--prev {
  display: none;
}

.committee-slide-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #dfb760;
  color: #fbe69b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: rgba(223, 183, 96, 0.14);
  cursor: pointer;
  transition: all 0.22s ease;
}

.committee-slide-btn:hover {
  background: linear-gradient(180deg, #fae59b 0%, #d4a648 100%);
  color: #1e1300;
  box-shadow: 0 0 12px rgba(247, 223, 148, 0.65);
  transform: scale(1.08);
}

.committee-mobile-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -20px auto 30px;
}

.committee-mobile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(223, 183, 96, 0.35);
  border: 1px solid #dfb760;
  padding: 0;
  cursor: pointer;
  transition: all 0.22s ease;
}

.committee-mobile-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #fbe69b;
  box-shadow: 0 0 10px rgba(251, 230, 155, 0.8);
}

/* 6 Committee Members Row */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto 36px;
  align-items: start;
}

.committee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 2px;
  position: relative;
  transition: transform 0.28s ease;
}

.committee-card::before {
  display: none;
}

.committee-card:hover {
  transform: translateY(-8px);
}

.committee-avatar-wrap {
  width: 205px;
  max-width: 100%;
  aspect-ratio: 479 / 460;
  margin: -10px auto 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.committee-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(248, 214, 120, 0.25));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

.committee-card:hover .committee-avatar-img {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 26px rgba(251, 230, 155, 0.55));
}

.committee-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 5px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.committee-role {
  font-size: 0.72rem;
  color: #e2e8f0;
  line-height: 1.42;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* 15 Experts Pill Grid (5 columns x 3 rows on Desktop, 1 column x 3 rows per slide on Mobile) */
.experts-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (4 * 18px)) / 5);
  gap: 16px 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.expert-pill {
  background: linear-gradient(180deg, #4b3914 0%, #241a07 52%, #3f2f0f 100%);
  border: 2px solid #e7c26c;
  border-radius: 999px;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 16px rgba(231, 194, 108, 0.25), inset 0 2px 8px rgba(255, 232, 163, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  position: relative;
  overflow: visible;
}

.expert-pill::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 14px;
  background:
    radial-gradient(ellipse 50% 16% at 50% 50%, #ffffff 0%, #fff7d6 30%, rgba(244, 202, 100, 0.65) 60%, transparent 100%),
    radial-gradient(ellipse 48% 50% at 50% 50%, rgba(251, 224, 130, 0.4) 0%, rgba(231, 184, 80, 0.12) 58%, transparent 100%);
  filter: drop-shadow(0 0 5px rgba(251, 224, 130, 0.55));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
}

/* ==========================================================================
   Page 6: Gallery (06-ภาพบรรยากาศ.jpg)
   ========================================================================== */
.gallery-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto 28px;
}

.gallery-card {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #132d46;
  border: 2px solid rgba(223, 183, 96, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #fbe69b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(245, 211, 122, 0.4);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.gallery-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(235, 208, 122, 0.4);
  border: 1.5px solid #ebd07a;
  cursor: pointer;
  transition: all 0.22s ease;
}

.gallery-dot:hover,
.gallery-dot.is-active {
  background: #f5d77f;
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(245, 215, 127, 0.85);
}

/* ==========================================================================
   Modals (LIVE Stream Modal & Gallery Lightbox)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 8, 20, 0.86);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 900px;
  background: #04132c;
  border: 2.5px solid #dfb760;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 32px rgba(223, 183, 96, 0.35);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(90deg, #4b3914 0%, #241a07 50%, #4b3914 100%);
  border-bottom: 1.5px solid #dfb760;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fbe69b;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(251, 230, 155, 0.5);
  color: var(--text-white);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.Lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-height: 82vh;
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid #dfb760;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.95);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(4, 19, 44, 0.85);
  border: 2px solid #dfb760;
  color: #fbe69b;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: -16px;
}

.lightbox-next {
  right: -16px;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(4, 19, 44, 0.9);
  border: 1.5px solid #dfb760;
  color: #fbe69b;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
}

/* ==========================================================================
   Animations & Interactive Stage Effects (2026 Golden Stage)
   ========================================================================== */

/* Floating Golden Dust Canvas */
#goldParticleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Entrance Keyframes */
@keyframes fadeUpReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

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

@keyframes goldShimmerSweep {
  0% {
    transform: translateX(-140%) skewX(-22deg);
  }

  40%,
  100% {
    transform: translateX(240%) skewX(-22deg);
  }
}

@keyframes haloSpin {
  0% {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 0 36px rgba(246, 218, 132, 0.45), inset 0 0 28px rgba(246, 218, 132, 0.25);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
    box-shadow: 0 0 54px rgba(251, 230, 155, 0.75), inset 0 0 36px rgba(251, 230, 155, 0.45);
  }

  100% {
    transform: rotate(360deg) scale(1);
    box-shadow: 0 0 36px rgba(246, 218, 132, 0.45), inset 0 0 28px rgba(246, 218, 132, 0.25);
  }
}

@keyframes liveBadgePulse {

  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(255, 45, 45, 0.45));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(255, 60, 60, 0.95));
    transform: scale(1.05);
  }
}

@keyframes digitTick {
  0% {
    transform: translateY(-6px) scale(1.08);
    border-color: #fbe69b;
    box-shadow: 0 0 18px rgba(251, 230, 155, 0.75), inset 0 2px 10px rgba(255, 255, 255, 0.45);
  }

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

@keyframes podiumGlowPulse {

  0%,
  100% {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85), 0 0 24px rgba(248, 224, 142, 0.4), inset 0 6px 14px rgba(255, 255, 255, 0.75);
  }

  50% {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.9), 0 0 42px rgba(251, 230, 155, 0.75), inset 0 8px 18px rgba(255, 255, 255, 0.9);
  }
}

@keyframes colonBlink {

  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(251, 230, 155, 0.8);
  }

  50% {
    opacity: 0.35;
    text-shadow: none;
  }
}

/* Scroll / Entrance Reveal Utility Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shimmer Overlay on Golden Pills, Capsules & Banners */
.gold-capsule-title,
.hof-gold-banner,
.hof-badge-pill,
.countdown-panel {
  position: relative;
}

.hof-gold-banner,
.hof-badge-pill,
.countdown-panel {
  overflow: hidden;
}

.gold-capsule-title::after,
.hof-gold-banner::after,
.hof-badge-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: translateX(-140%) skewX(-22deg);
  animation: goldShimmerSweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Live Button Pulse */
.header-live-btn {
  animation: liveBadgePulse 2.4s ease-in-out infinite;
}

/* Countdown Colon Blink & Digit Tick */
.cd-sep {
  animation: colonBlink 1s ease-in-out infinite;
}

.cd-digit-box {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cd-digit-box.is-ticking {
  /* animation: digitTick 0.35s cubic-bezier(0.22, 1, 0.36, 1); */
}

/* Podium Glow & Halo Spin */
.golden-podium-base,
.card-podium {
  animation: podiumGlowPulse 3.5s ease-in-out infinite;
}

.cert-halo-wrap::before {
  border-style: solid;
  border-color: rgba(246, 218, 132, 0.85) rgba(246, 218, 132, 0.35) rgba(246, 218, 132, 0.85) rgba(246, 218, 132, 0.35);
  animation: haloSpin 14s linear infinite;
}

/* 3D Interactive Card Spotlight & Hover Micro-Interactions */
.winner-cert-card::before,
.committee-card::before,
.dept-group-box::before,
.province-stage-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(251, 230, 155, 0.16),
      transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.winner-cert-card:hover::before,
.committee-card:hover::before,
.dept-group-box:hover::before,
.province-stage-box:hover::before {
  opacity: 1;
}

.dept-item {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border-radius: 10px;
}

.dept-item:hover {
  transform: translateX(6px);
  background: rgba(231, 194, 108, 0.1);
  border-bottom-color: rgba(251, 230, 155, 0.65);
}

.province-item {
  transition: transform 0.28s ease;
}

.province-item:hover {
  transform: translateY(-8px) scale(1.04);
}

.province-item:hover .province-seal-ring {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9), 0 0 28px rgba(251, 230, 155, 0.75);
}

.gold-bullet-list li {
  transition: transform 0.22s ease, color 0.22s ease;
}

.gold-bullet-list li:hover {
  transform: translateX(8px);
  color: #fbe69b;
}

.expert-pill {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.expert-pill:hover {
  transform: translateY(-3px);
  border-color: #fbe69b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 16px rgba(251, 230, 155, 0.35);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-center-col {
    padding-left: 0;
  }

  .home-trophy-col {
    justify-content: center;
    margin-left: 0;
  }

  .home-trophy-img {
    max-height: 440px;
  }

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

  .trophy-podium-wrap {
    order: 2;
  }

  .winners-bottom-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .experts-grid {
    grid-auto-columns: calc((100% - (2 * 16px)) / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .experts-grid::-webkit-scrollbar {
    display: none;
  }

  .province-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hof-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 22px;
    row-gap: 30px;
  }

  .ceo-stage-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .ceo-frame-box {
    width: 100%;
    padding: 24px;
  }

  .ceo-trophy-aw-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .dept-group-header,
  .dept-group-box--policy .dept-group-header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    min-width: unset;
    width: fit-content;
    max-width: 96%;
    margin: -68px auto 24px;
    border-radius: 24px;
    padding: 10px 28px;
    font-size: 1.25rem;
    line-height: 1.4;
    white-space: normal;
  }

  .gold-capsule-title {
    min-width: unset;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .brand-logo img {
    height: 46px;
  }

  .header-org-link img {
    height: 34px;
  }

  .home-center-col,
  .home-trophy-col {
    max-width: 100%;
    min-width: 0;
  }

  .home-org-logo {
    height: clamp(36px, 9vw, 48px);
    margin-bottom: 10px;
  }

  .home-main-logo-wrap {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .home-main-logo-wrap img {
    padding: 0;
  }

  .home-thai-subtitle {
    font-size: clamp(0.85rem, 3.3vw, 1.15rem);
    padding-right: 0;
    text-align: center;
    margin-top: 2px;
  }

  .countdown-panel {
    padding: 14px 14px 16px;
    border-radius: 20px;
  }

  .countdown-title {
    font-size: clamp(0.95rem, 3.4vw, 1.15rem);
  }

  .countdown-boxes {
    gap: 5px;
  }

  .cd-sep {
    font-size: clamp(1.2rem, 3.8vw, 1.75rem);
    padding: 0 1px;
  }

  .cd-label {
    font-size: clamp(0.75rem, 2.6vw, 0.9rem);
  }

  .cta-img-btn img {
    height: clamp(48px, 13vw, 62px);
  }

  .social-btn {
    width: 48px;
    height: 48px;
  }

  .winners-top-grid,
  .winners-bottom-grid {
    grid-template-columns: 1fr;
  }

  .cert-card-title {
    min-height: auto;
    padding: 4px 0;
    font-size: clamp(0.82rem, 3.2vw, 1.5rem);
  }

  /* Mobile Committee: 1 column horizontal swipe slider */
  .committee-slide-btn--prev {
    display: inline-flex;
  }

  .committee-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 4px 16px;
    scrollbar-width: none;
  }

  /* Mobile Experts: 1 column with 3 stacked rows per slide (5 slides total) */
  .experts-grid {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 8px 4px 16px;
    scrollbar-width: none;
  }

  .committee-grid::-webkit-scrollbar,
  .experts-grid::-webkit-scrollbar {
    display: none;
  }

  .committee-grid .committee-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
    background: transparent;
    border: none;
    padding: 12px 16px 18px;
  }

  .committee-grid .committee-avatar-wrap {
    width: 240px;
    margin: 0 auto 8px;
  }

  .experts-grid .expert-pill {
    scroll-snap-align: start;
    min-height: 70px;
    font-size: 1.08rem;
    padding: 16px 18px;
  }

  .committee-mobile-dots {
    display: flex;
    flex-wrap: wrap;
  }

  .dept-group-box {
    padding: 24px 16px 22px;
    margin: 34px auto 32px;
    border-radius: 22px;
  }

  .dept-group-header,
  .dept-group-box--policy .dept-group-header {
    width: 100%;
    max-width: 100%;
    margin: -44px auto 20px;
    border-radius: 18px;
    padding: 10px 14px;
    font-size: clamp(0.84rem, 3.2vw, 0.96rem);
    line-height: 1.42;
  }

  .dept-grid-2col,
  .hof-two-col,
  .improvement-split-grid {
    grid-template-columns: 1fr;
  }

  .hof-col-divider,
  .improvement-divider {
    display: none;
  }

  .ceo-frame-box {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ceo-info-col {
    padding: 18px 8px 24px;
    max-width: 100%;
  }

  .ceo-name {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
    white-space: normal;
    word-break: break-word;
  }

  .ceo-position {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    line-height: 1.45;
  }

  .ceo-org-logo {
    height: 96px;
  }

  .ceo-trophy-aw-wrap {
    width: min(300px, 80vw);
    max-width: 100%;
  }

  .ceo-stage-wrapper {
    overflow-x: clip;
  }

  .province-stage-box {
    border-width: 4px;
    border-radius: 26px;
    padding: 28px 14px 26px;
  }

  .province-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .province-seal-ring {
    width: clamp(112px, 34vw, 160px);
    height: clamp(112px, 34vw, 160px);
    padding: 5px;
  }

  .province-name {
    font-size: clamp(0.98rem, 3.8vw, 1.25rem);
    white-space: normal;
  }

  .province-name::after {
    width: 120px;
  }

  .gallery-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hof-cards-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
    max-width: 420px;
  }

  .hof-landing-logo-wrap {
    max-width: 290px;
  }

  .hof-landing-logo-subtitle {
    font-size: 0.76rem;
  }

  .hof-landing-title-pill {
    font-size: 1.5rem;
    padding: 9px 44px 11px;
    min-width: 220px;
  }

  .cd-digit-box {
    width: clamp(50px, 14vw, 64px);
    height: clamp(50px, 14vw, 62px);
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    border-radius: 12px;
  }

  .section-title-gold {
    font-size: clamp(1.38rem, 5.2vw, 1.65rem);
  }

  .history-title {
    font-size: 2rem;
  }

  .gold-capsule-title {
    font-size: clamp(1.05rem, 3.8vw, 1.22rem);
    padding: 8px 20px;
  }

  .gold-count-pill {
    font-size: clamp(0.98rem, 3.5vw, 1.2rem);
    min-width: unset;
    padding: 6px 28px;
  }

  .improvement-col-title {
    font-size: clamp(0.9rem, 3.4vw, 1.08rem);
  }

  .timeline-track-wrap {
    overflow-x: auto;
    gap: 18px;
    scrollbar-width: none;
  }

  .timeline-track-wrap::-webkit-scrollbar {
    display: none;
  }

  .timeline-line {
    display: none;
  }

  .timeline-node {
    flex-shrink: 0;
  }

  .timeline-node::before {
    content: '';
    position: absolute;
    bottom: 8.5px;
    left: -9px;
    right: -9px;
    height: 5px;
    background: linear-gradient(90deg, #b88a32 0%, #f5dc8b 50%, #b88a32 100%);
    z-index: 0;
  }

  .timeline-line+.timeline-node::before {
    left: 50%;
  }

  .timeline-node:last-child::before {
    right: 50%;
  }

  .timeline-dot {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .brand-logo img {
    height: 36px;
  }

  .header-right {
    gap: 8px;
  }

  .header-live-btn img {
    height: 26px;
  }

  .header-org-link img {
    height: 26px;
  }

  .mobile-toggle-btn {
    width: 36px;
    height: 36px;
  }
}