/* ============================================================
   Bee Park Theme — main.css (Classic Theme v2)
   ============================================================ */

/* ── Fonts ──────────────────────────────────────────────── */
@font-face {
  font-family: "DB Heavent Cond";
  src: url("../fonts/DB Heavent Cond v3.2.1.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DB Heavent Cond";
  src: url("../fonts/DB Heavent Cond It v3.2.1.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DB Heavent Cond";
  src: url("../fonts/DB Heavent Bd Cond v3.2.1.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DB Heavent Cond";
  src: url("../fonts/DB Heavent Bd Cond It v3.2.1.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --black:    #0f0d08;
  --gold:     #C9A227;
  --gold-lt:  #E2C05A;
  --amber:    #A8660A;
  --cream:    #F8F2E4;
  --cream-dk: #EDE2C8;
  --warm-wt:  #FDFAF4;
  --text:     #1E1A10;
  --text-md:  #4A3F28;
  --text-lt:  #7A6A4A;
  --nav-h:    72px;
  --container:1200px;
  --font-h: "DB Heavent Cond", "IBM Plex Sans Thai", sans-serif;
  --font-b: "IBM Plex Sans Thai", sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font-b);
  font-size: 15px; line-height: 1.75;
  color: var(--text); background: var(--warm-wt);
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-h); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
svg { display: block; fill: currentColor; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.section-pad { padding-top: 96px; padding-bottom: 96px; }
.page-hero-offset { padding-top: var(--nav-h); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(15,13,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(15,13,8,0.99); }
.nav-inner {
  height: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 48px; display: flex; align-items: center; gap: 40px;
}
/* Brand */
.nav-brand {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none;
}
.nav-brand .custom-logo { width: 44px !important; height: 44px !important; object-fit: contain; }
.nav-logo-placeholder { font-size: 32px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--gold); text-transform: uppercase;
}
.brand-th { font-size: 11px; color: rgba(255,255,255,.65); }
/* Nav menu */
.primary-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 32px; }
.nav-item .nav-link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72);
  letter-spacing: .02em; transition: color .2s;
  position: relative; padding-bottom: 2px;
}
.nav-item .nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .2s;
}
.nav-item:hover .nav-link,
.nav-item.active .nav-link { color: var(--gold-lt); }
.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after { transform: scaleX(1); }
/* CTA button */
.nav-cta {
  background: var(--gold); color: var(--black) !important;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 9px 22px; border-radius: 2px;
  transition: background .2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-lt); }
/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.8); transition: all .3s;
}
.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--black);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  padding: 14px 32px; border: none; border-radius: 2px; cursor: pointer;
  letter-spacing: .04em; transition: background .2s, transform .15s; line-height: 1;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); color: var(--black); }
.btn-outline {
  display: inline-block;
  background: transparent; color: #fff;
  font-family: var(--font-b); font-size: 14px; font-weight: 500;
  padding: 13px 32px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px;
  cursor: pointer; letter-spacing: .04em; transition: border-color .2s, color .2s; line-height: 1;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   COMMON SECTION ELEMENTS
   ============================================================ */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.section-label::before { content:''; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(30px,4vw,52px); font-weight: 700; line-height: 1.2; color: var(--text);
}
.section-title span { color: var(--gold); }
.section-sub { font-size: 16px; line-height: 1.8; color: var(--text-lt); margin-top: 16px; max-width: 560px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
.link-more {
  font-size: 13px; font-weight: 600; color: var(--amber);
  letter-spacing: .06em; display: inline-flex; align-items: center;
  gap: 6px; transition: gap .2s; white-space: nowrap;
}
.link-more:hover { gap: 10px; color: var(--amber); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 680px; overflow: hidden;
}
.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-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,rgba(10,7,2,.78) 0%,rgba(10,7,2,.42) 55%,rgba(10,7,2,.1) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 80px 100px; max-width: 760px; z-index: 2;
}
.hero-label {
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-label::before { content:''; display:block; width:32px; height:1px; background:var(--gold); }
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(42px,6vw,82px); font-weight: 700; line-height: 1.1;
  color: #fff; margin-bottom: 24px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
  font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.72);
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-dots {
  position: absolute; bottom: 40px; right: 80px;
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.3); cursor: pointer; border: none;
  transition: background .3s, width .3s;
}
.hero-dot.active { background: var(--gold); width: 48px; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .1em; z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom,rgba(201,162,39,.7),transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100%{ opacity:.4; transform:scaleY(.8); }
  50%    { opacity:1;  transform:scaleY(1); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--warm-wt); padding: 96px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-images {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px; gap: 12px; position: relative;
}
.about-img-main { grid-column: 1/3; border-radius: 4px; overflow: hidden; }
.about-img-sm   { border-radius: 4px; overflow: hidden; }
.about-img-main img,
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--black);
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; text-align: center; line-height: 1.2; font-size: 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.about-badge strong { font-size: 28px; display: block; }
.about-text p { font-size: 15px; line-height: 1.85; color: var(--text-md); margin-bottom: 16px; }
.about-stats {
  display: flex; gap: 40px; margin: 32px 0;
  padding: 24px 0; border-top: 1px solid var(--cream-dk);
}
.about-stat .num { font-size: 32px; font-weight: 700; color: var(--amber); line-height: 1; }
.about-stat .lbl { font-size: 12px; color: var(--text-lt); margin-top: 4px; }

/* ============================================================
   VIDEO BANNER
   ============================================================ */
.banner {
  position: relative; height: 480px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.banner-overlay { position: absolute; inset: 0; background: rgba(10,7,2,.62); }
.banner-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 0 24px;
}
.banner-content h2 {
  font-size: clamp(32px,4.5vw,62px); font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.banner-content h2 span { color: var(--gold); }
.banner-content p {
  font-size: 17px; color: rgba(255,255,255,.75);
  margin: 0 auto 36px; max-width: 540px;
}
.play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(201,162,39,.18); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.play-btn:hover { background: rgba(201,162,39,.35); transform: scale(1.08); }
.play-btn svg { width: 24px; height: 24px; fill: var(--gold); margin-left: 4px; }

/* ============================================================
   TRAINING SECTION
   ============================================================ */
.training-section { background: var(--cream); padding: 96px 0; }
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.bee-card {
  background: var(--warm-wt); border-radius: 4px; overflow: hidden;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.bee-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.card-img-wrap { display: block; height: 220px; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bee-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.card-title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--gold); }
.card-desc { font-size: 14px; line-height: 1.75; color: var(--text-lt); flex: 1; margin-bottom: 0; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--cream-dk);
}
.card-date { font-size: 12px; color: var(--text-lt); }
.card-more {
  font-size: 12px; font-weight: 600; color: var(--amber);
  display: flex; align-items: center; gap: 4px; transition: gap .2s;
}
.card-more:hover { gap: 8px; color: var(--amber); }

/* ============================================================
   NETWORK SECTION
   ============================================================ */
.network-section { background: var(--warm-wt); padding: 96px 0; }
.network-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.news-featured {
  background: var(--cream); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s; cursor: pointer; color: var(--text);
}
.news-featured:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); }
.news-featured-img { height: 300px; overflow: hidden; flex-shrink: 0; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-body { padding: 28px 32px; flex: 1; }
.news-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 4px 10px; border-radius: 2px; margin-bottom: 14px;
}
.news-featured-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.news-featured-excerpt { font-size: 14px; line-height: 1.8; color: var(--text-lt); margin-bottom: 20px; }
.news-featured-date { font-size: 12px; color: var(--text-lt); }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--cream); border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 100px 1fr;
  cursor: pointer; transition: box-shadow .25s; color: var(--text);
}
.news-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.news-item-img { overflow: hidden; height: 100%; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.news-item-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.news-item-date { font-size: 11px; color: var(--text-lt); }

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-section { background: var(--black); }
.gallery-strip { display: grid; grid-template-columns: repeat(6,1fr); height: 280px; }
.gallery-item { overflow: hidden; cursor: pointer; position: relative; }
.gallery-item::after {
  content:''; position: absolute; inset: 0;
  background: rgba(10,7,2,.35); transition: background .3s;
}
.gallery-item:hover::after { background: rgba(10,7,2,.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--cream); padding: 96px 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-detail { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--gold); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 16px; height: 16px; fill: var(--black); }
.contact-row-text { font-size: 14px; line-height: 1.65; color: var(--text-md); }
.contact-row-text strong {
  display: block; font-size: 11px; letter-spacing: .06em;
  font-weight: 600; color: var(--text); text-transform: uppercase; margin-bottom: 2px;
}
.contact-row-text a { color: var(--amber); }
/* Subscribe box */
.subscribe-box {
  background: var(--black); border-radius: 4px; padding: 48px 40px;
}
.subscribe-box .section-label { margin-bottom: 12px; }
.subscribe-title {
  font-family: var(--font-h); font-size: clamp(24px,3vw,38px);
  font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.25;
}
.subscribe-sub { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 0; }
.subscribe-form,
.subscribe-box .wpcf7-form { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.subscribe-form input,
.subscribe-box .wpcf7-text,
.subscribe-box .wpcf7-email {
  width: 100%; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 2px;
  font-family: var(--font-b); font-size: 14px; color: #fff;
  padding: 14px 18px; outline: none; transition: border-color .2s;
}
.subscribe-form input::placeholder,
.subscribe-box input::placeholder { color: rgba(255,255,255,.3); }
.subscribe-form input:focus,
.subscribe-box .wpcf7-text:focus,
.subscribe-box .wpcf7-email:focus { border-color: var(--gold); }
.subscribe-form button,
.subscribe-box input[type="submit"],
.subscribe-box .wpcf7-submit {
  width: 100%; background: var(--gold); color: var(--black);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  padding: 14px; border: none; border-radius: 2px;
  cursor: pointer; letter-spacing: .06em; transition: background .2s;
}
.subscribe-form button:hover,
.subscribe-box .wpcf7-submit:hover { background: var(--gold-lt); }
.subscribe-note { font-size: 11px; color: rgba(255,255,255,.28); margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); border-top: 1px solid rgba(201,162,39,.2); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px 48px 48px;
  max-width: var(--container); margin: 0 auto;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo-wrap .custom-logo { width: 48px !important; height: 48px !important; object-fit: contain; }
.footer-logo-placeholder { font-size: 36px; }
.footer-brand-en {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.footer-brand-th { font-size: 10px; color: rgba(255,255,255,.45); margin: 0; }
.footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.45); }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: border-color .2s, background .2s;
}
.social-link:hover { border-color: var(--gold); background: rgba(201,162,39,.1); }
.social-link svg { width: 16px; height: 16px; }
.footer-col-title {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-nav li a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 24px 0;
}
.footer-bottom .footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.28); margin: 0; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.28); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.page-hero-img { position: relative; height: 420px; overflow: hidden; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 60%);
  display: flex; align-items: flex-end;
}
.page-hero-title {
  font-family: var(--font-h); font-size: clamp(28px,4vw,52px);
  font-weight: 700; color: #fff; padding-bottom: 48px;
}
.page-title-bar {
  background: var(--black); padding: 48px 0;
}
.page-title-bar h1 {
  font-family: var(--font-h); font-size: clamp(28px,4vw,52px);
  font-weight: 700; color: #fff;
}
.single-hero { position: relative; height: 460px; background: var(--black); overflow: hidden; }
.single-hero-img { height: 100%; }
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.75) 0%,transparent 65%);
}
.single-hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding-bottom: 56px; color: #fff;
}
.single-hero-title {
  font-family: var(--font-h); font-size: clamp(28px,4vw,52px);
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.post-cats { margin-bottom: 12px; }
.post-cats a { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.post-meta { display: flex; gap: 20px; font-size: 13px; color: rgba(255,255,255,.65); align-items: center; }
.single-content-wrap { padding: 64px 0; max-width: 780px; margin: 0 auto; }
.post-content { font-size: 16px; line-height: 1.85; color: var(--text-md); }
.post-content h2,.post-content h3 { margin: 1.5em 0 .75em; color: var(--text); }
.post-content img { border-radius: 4px; margin: 1.5em 0; max-width: 100%; }
.post-content a { color: var(--amber); text-decoration: underline; }
.post-content p { margin-bottom: 1.5em; }

/* Archive */
.archive-header { background: var(--black); padding: 80px 0; }
.archive-header .section-label { margin-bottom: 10px; }
.archive-title {
  font-family: var(--font-h); color: #fff;
  font-size: clamp(32px,5vw,56px); font-weight: 700;
}
.archive-title span { color: var(--gold); }
.hc-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V17L28 0l28 17v33L28 66zM28 100L0 84V51l28-17 28 17v33L28 100z' fill='none' stroke='%23C9A227' stroke-width='0.4' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.no-results { color: var(--text-lt); font-size: 16px; padding: 48px 0; text-align: center; }
/* WP Pagination */
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-dk); border-radius: 2px; font-size: 14px; color: var(--text-md);
  transition: all .2s;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.nav-links .prev,.nav-links .next { width: auto; padding: 0 16px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-left: 24px; padding-right: 24px; }
  .contact-wrap { gap: 48px; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  /* Nav */
  .nav-inner { padding: 0 24px; }
  .primary-nav {
    position: fixed; top: var(--nav-h); right: -100%; bottom: 0;
    width: 280px; background: var(--black);
    transition: right .3s ease;
    border-left: 1px solid rgba(201,162,39,.15);
    overflow-y: auto; z-index: 999;
  }
  .primary-nav.open { right: 0; }
  .nav-overlay.open { display: block; }
  .nav-menu { flex-direction: column; gap: 0; padding: 24px 0; }
  .nav-item .nav-link { display: block; padding: 14px 24px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  /* Hero */
  .hero-content { padding: 0 24px 80px; max-width: 100%; }
  .hero-dots    { right: 24px; }
  /* Sections */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .gallery-strip { grid-template-columns: repeat(3,1fr); height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-hero-content { padding-left: 24px; padding-right: 24px; }
  .single-content-wrap { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .gallery-strip { grid-template-columns: repeat(2,1fr); }
  .hero-title { font-size: clamp(32px,8vw,52px); }
  .about-images { grid-template-rows: 200px 140px; }
}

/* ============================================================
   VIDEO BANNER — autoplay background
   ============================================================ */
.banner--video {
  position: relative;
  height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}
/* ซ่อน YouTube UI ทั้งหมด */
.banner-video-wrap {
  position: absolute;
  /* ขยายให้ใหญ่กว่า container เพื่อซ่อน black bars + YouTube controls */
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;  /* 16/9 × 100vh */
  height: 56.25vw;  /* 9/16 × 100vw */
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
}
.banner-video-frame {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  pointer-events: none;
}
.banner--video .banner-overlay {
  position: absolute; inset: 0;
  background: rgba(10,7,2,0.55);
  z-index: 1;
}
.banner--video .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

/* ============================================================
   LOGO STYLES
   ============================================================ */

/* Header logo */
.nav-logo-img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Footer logo */
.footer-logo-img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  /* โลโก้พื้นดำ — ไม่ต้องใส่ filter */
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section {
  background: var(--black);
  padding: 72px 0;
  border-top: 1px solid rgba(201,162,39,0.15);
  border-bottom: 1px solid rgba(201,162,39,0.15);
}
.partners-section .section-label::before { background: var(--gold); }
.partners-section .section-label { color: var(--gold); }
.partners-section .section-title { color: #fff; }

.partners-header {
  text-align: center;
  margin-bottom: 48px;
}
.partners-header .section-label {
  justify-content: center;
}
.partners-header .section-label::before { display: none; }

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s;
  flex: 0 0 auto;
}
.partner-item:last-child { border-right: none; }
.partner-item:hover {
  background: rgba(201,162,39,0.07);
}
.partner-item img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* โลโก้สีต่างๆ บน bg ดำ — ปรับ brightness ให้เห็นชัด */
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.25s, filter 0.25s;
}
.partner-item:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* กรณีต้องการแสดงสีจริงของโลโก้ (ไม่ต้อง invert) — ใส่ class .partner-item--color */
.partner-item--color img {
  filter: none;
  opacity: 0.75;
}
.partner-item--color:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 768px) {
  .partners-strip {
    gap: 0;
  }
  .partner-item {
    padding: 20px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex: 0 0 50%;
  }
  .partner-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }
}
@media (max-width: 480px) {
  .partner-item { flex: 0 0 100%; border-right: none; }
  .partner-item:nth-child(odd) { border-right: none; }
}
