/* =========================================================
   Bangkok PrEP — Skyline Shield
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f4;
  --surface: #ffffff;
  --ink: #121a24;
  --ink-muted: #5b6775;
  --nav-bg: #0b1220;
  --nav-text: #ffffff;
  --accent: #059669;
  --accent-hot: #e8913a;
  --accent-soft: #ecfdf5;
  --teal: var(--accent);
  --teal-hot: #047857;
  --teal-soft: var(--accent-soft);
  --amber: #e8913a;
  --amber-hot: #d97706;
  --chip: #059669;
  --line: #d7e0da;
  --focus: #059669;
  --shadow: 0 12px 32px rgba(11, 18, 32, 0.12);
  --shadow-soft: 0 6px 18px rgba(11, 18, 32, 0.06);
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: "Figtree", "Noto Sans Thai", sans-serif;
  --font: "Noto Sans Thai", "Figtree", sans-serif;
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

body.page-home {
  background: var(--bg-soft);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hot);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap,
.leaflet {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
}

.btn-ico {
  flex-shrink: 0;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hot);
  color: #fff;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-hot);
  border-color: var(--teal-hot);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
  padding-inline: 0.65rem;
}

.btn-text:hover {
  color: var(--accent-hot);
  background: var(--accent-soft);
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal-soft);
  border-color: var(--teal-hot);
  color: var(--teal-hot);
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}

.cat-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  line-height: 1;
}

.cat-badge-sm {
  font-size: 0.62rem;
  padding: 0.22rem 0.45rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  color: var(--nav-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: stretch;
  min-width: 0;
  margin-left: auto;
  gap: 0.15rem;
}

.nav-desktop > a,
.nav-drop-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 0.8rem;
  min-height: var(--header-h);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  border-radius: 0;
}

.nav-desktop > a:hover,
.nav-drop-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-desktop > a[aria-current="page"],
.nav-drop.is-open .nav-drop-trigger {
  color: #fff;
  background: transparent;
}

.nav-desktop > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.9rem;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.nav-drop {
  position: relative;
  display: flex;
}

.nav-caret {
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s var(--ease);
}

.nav-drop.is-open .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-drop-panel {
  display: none;
  position: absolute;
  top: calc(100% - 0.35rem);
  left: 0;
  min-width: 15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 80;
  overflow: hidden;
}

.nav-drop.is-open .nav-drop-panel {
  display: grid;
  animation: dropIn 0.16s var(--ease);
}

.nav-drop-panel a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}

.nav-drop-panel a:last-child {
  border-bottom: 0;
}

.nav-drop-panel a:hover,
.nav-drop-panel a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-hot);
}

.nav-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-cta {
  display: none;
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 5px;
}

.mobile-drawer {
  background: #111;
  border-top: 1px solid #333;
  padding: 0.65rem 0 1.1rem;
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer a,
.mobile-topics summary {
  display: block;
  padding: 0.7rem 0.15rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.mobile-topics summary {
  cursor: pointer;
  list-style: none;
}

.mobile-topics summary::-webkit-details-marker {
  display: none;
}

.mobile-topics-list {
  padding: 0 0 0.35rem 0.85rem;
}

.mobile-topics-list a {
  color: #bbb;
  font-weight: 500;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-tools {
    margin-left: 0.35rem;
  }

  .nav-toggle,
  .mobile-drawer {
    display: none !important;
  }

  .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .brand-text {
    font-size: 0.88rem;
  }
}

/* ---------- Home portal ---------- */
.btn-link-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
}

.btn-link-teal:hover {
  color: var(--teal-hot);
}

.portal-hero {
  display: grid;
  gap: 2rem;
  padding: 3.25rem 0 2.5rem;
  align-items: center;
}

.portal-hero-copy {
  max-width: 30rem;
}

.portal-hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--nav-bg);
}

.portal-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 27rem;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.portal-hero-actions .btn-teal {
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-weight: 700;
}

.portal-featured {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.portal-feat-main,
.portal-feat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff;
  background: #0f2744;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.portal-feat-main {
  min-height: 22rem;
  aspect-ratio: 3 / 4;
}

.portal-feat-card {
  min-height: 10.5rem;
  aspect-ratio: 16 / 10;
}

.portal-feat-main img,
.portal-feat-card img,
.portal-feat-main .thumb-fallback,
.portal-feat-card .thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
  z-index: 0;
  transition: transform 0.55s var(--ease);
}

.portal-feat-main:hover img,
.portal-feat-card:hover img {
  transform: scale(1.04);
}

.portal-feat-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 20, 36, 0.02) 20%, rgba(8, 20, 36, 0.35) 55%, rgba(8, 20, 36, 0.82) 100%);
  pointer-events: none;
}

.portal-feat-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.1rem 1.05rem;
}

.portal-chip {
  display: inline-flex;
  align-self: start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--chip);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-cat {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-feat-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-feat-title-sm {
  font-size: 1rem;
  -webkit-line-clamp: 2;
}

.portal-feat-side {
  display: grid;
  gap: 0.85rem;
}

.portal-body {
  display: grid;
  gap: 2rem;
  padding: 0.5rem 0 2.5rem;
  align-items: start;
}

.portal-main {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
}

.portal-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.portal-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nav-bg);
}

.portal-section-head-line h2 {
  position: relative;
  padding-bottom: 0.45rem;
}

.portal-section-head-line h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.6rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.portal-more {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.portal-more:hover {
  color: var(--accent-hot);
}

.portal-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.portal-topic-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.05rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.portal-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portal-topic-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tone-teal .portal-topic-icon { background: #e6f6f7; color: #059669; }
.tone-blue .portal-topic-icon { background: #e6f6f7; color: #147a81; }
.tone-green .portal-topic-icon { background: #e8f7ee; color: #1a8a7a; }
.tone-rose .portal-topic-icon { background: #e9f5f4; color: #0f6f6d; }
.tone-violet .portal-topic-icon { background: #eaf7f6; color: #17888f; }
.tone-amber .portal-topic-icon { background: #eef8f7; color: #059669; }

.portal-topic-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.portal-topic-body strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-topic-body span {
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-topic-arrow {
  color: #a0adbb;
  font-size: 1.45rem;
  line-height: 1;
}

.portal-digest {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.portal-latest-lead {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.portal-latest-lead-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.portal-latest-lead-media img,
.portal-latest-lead-media .thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.portal-latest-lead-body h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.portal-latest-lead-body h3 a,
.portal-latest-row-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.portal-latest-lead-body h3 a:hover,
.portal-latest-row-body h3 a:hover {
  color: var(--accent);
}

.portal-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.portal-latest-grid {
  display: grid;
  gap: 1rem;
}

.portal-latest-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.portal-latest-row-media {
  position: relative;
  display: block;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
}

.portal-latest-row-media img,
.portal-latest-row-media .thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.portal-latest-row-body h3 {
  margin: 0.25rem 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-side {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.portal-uu {
  position: relative;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 18%, rgba(25, 144, 152, 0.16) 0 18%, transparent 19%),
    radial-gradient(circle at 78% 42%, rgba(25, 144, 152, 0.1) 0 10%, transparent 11%),
    linear-gradient(160deg, #e8f8f8 0%, #dff4f4 55%, #e6f6f7 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.portal-uu-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.portal-uu-mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.portal-uu-title {
  margin: 0.2rem 0 0;
  max-width: 14rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--teal-hot);
}

.portal-uu-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--teal);
}

.portal-uu-note {
  margin: 0 0 0.55rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.portal-service {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid #dceaf8;
  display: grid;
  gap: 0.55rem;
}

.portal-service-ico {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-service-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.portal-service h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nav-bg);
}

.portal-service p {
  margin: 0 0 0.35rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.portal-trust {
  padding: 0 0 3rem;
}

.portal-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  padding: 1.35rem 1.25rem;
  background: #eef4fa;
  border-radius: var(--radius-lg);
}

.portal-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.portal-trust-item strong {
  display: block;
  color: var(--nav-bg);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.portal-trust-item small {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.portal-trust-ico {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}

.thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(135deg, #e8eef5, #d5dee8),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(25, 144, 152, 0.05) 8px, rgba(25, 144, 152, 0.05) 16px);
}

@media (min-width: 720px) {
  .portal-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portal-latest-lead {
    grid-template-columns: 1.05fr 1.2fr;
    align-items: center;
  }

  .portal-trust-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 1.5rem;
  }
}

@media (min-width: 980px) {
  .portal-hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
    gap: 2.5rem;
    padding: 3.5rem 0 3rem;
  }

  .portal-featured {
    grid-template-columns: 1.25fr 1fr;
    gap: 0.85rem;
    min-height: 30rem;
  }

  .portal-feat-main {
    min-height: 30rem;
    height: 100%;
    aspect-ratio: auto;
  }

  .portal-feat-side {
    height: 100%;
    grid-template-rows: 1fr 1fr;
  }

  .portal-feat-card {
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .portal-body {
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.72fr);
    gap: 1.5rem;
  }

  .portal-topic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .portal-side {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

/* ---------- Shared cards / pages ---------- */
.section {
  padding: 2.5rem 0;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.page-intro {
  padding: 2rem 0 1rem;
}

.page-intro h1,
.section-head h2,
.author-card h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-lead {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.mag-card {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.mag-card-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}

.mag-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.mag-card:hover .mag-card-media img {
  transform: scale(1.04);
}

.mag-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  background: linear-gradient(135deg, #eee, #ddd);
}

.mag-card-body {
  padding: 0.9rem 1rem 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.mag-card-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.mag-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.mag-card-title a {
  color: inherit;
  text-decoration: none;
}

.mag-card-title a:hover {
  color: var(--accent);
}

.mag-card-excerpt,
.mag-card-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.mag-grid-rest {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .mag-grid-rest {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .mag-grid-rest {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem 0;
  background: var(--nav-bg);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Articles */
.articles-layout {
  display: grid;
  gap: 2rem;
}

.filter-rail {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.search-form {
  display: grid;
  gap: 0.55rem;
}

.search-form input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
}

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chip:hover,
.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .articles-layout {
    grid-template-columns: 220px 1fr;
  }
}

/* Article detail */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.88rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--ink-muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.5;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--ink-muted);
}

.article-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.article-header h1 {
  margin: 0.55rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Author byline — avatar + "Name ใน Category" / date (NHTD-style) */
.byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  min-width: 0;
}

.byline-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);
}

.byline-avatar-fallback,
.article-author-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.byline-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.byline-line {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.byline-name,
.byline-cat {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

a.byline-name:hover,
a.byline-cat:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.byline-in {
  color: var(--ink-muted);
  font-weight: 400;
}

.byline-date {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.article-header > .byline {
  margin: 0 0 1.15rem;
}

.article-header > .byline .byline-avatar {
  width: 52px;
  height: 52px;
}

.article-header > .byline .byline-line {
  font-size: 1rem;
}

.article-header > .byline .byline-name {
  font-weight: 800;
}

.mag-card-body .byline,
.byline.byline-compact {
  margin: 0.35rem 0 0;
}

.mag-card-body .byline-avatar,
.byline.byline-compact .byline-avatar {
  width: 34px;
  height: 34px;
  box-shadow: 0 0 0 1px var(--line);
}

.mag-card-body .byline-line,
.byline.byline-compact .byline-line {
  font-size: 0.84rem;
}

.mag-card-body .byline-date,
.byline.byline-compact .byline-date {
  font-size: 0.78rem;
}

.article-author-box {
  display: grid;
  gap: 1.15rem;
  margin: 2.25rem 0 1.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow);
}

.article-author-avatar-link {
  display: inline-block;
  width: fit-content;
  border-radius: 50%;
  line-height: 0;
}

.article-author-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent-soft), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.article-author-avatar-fallback {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  font-size: 1.6rem;
}

.article-author-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-author-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-author-name a {
  color: inherit;
  text-decoration: none;
}

.article-author-name a:hover {
  color: var(--accent);
}

.article-author-bio {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 40rem;
}

@media (min-width: 560px) {
  .article-author-box {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.article-meta,
.eeat-byline,
.eeat-trust-notice {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.eeat-trust-notice {
  padding: 0.7rem 0.85rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}

.article-detail {
  overflow: visible;
}

.article-main {
  min-width: 0;
  max-width: 100%;
}

.article-hero-img {
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.prose,
.article-body {
  font-size: 1.05rem;
  overflow: visible;
  max-width: 100%;
}

.prose h2,
.article-body h2,
.topic-prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

.prose .wp-block-image,
.article-body .wp-block-image,
.prose figure,
.article-body figure {
  margin: 1.25rem 0;
  max-width: 100%;
}

.prose img,
.article-body img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.prose .aligncenter,
.article-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.table-scroll,
.knowledge-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.prose table,
.knowledge-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td,
.knowledge-table-wrap th,
.knowledge-table-wrap td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.prose th,
.knowledge-table-wrap th {
  background: var(--bg-soft);
}

.article-toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  margin: 1.2rem 0;
}

.article-promo,
.article-ad {
  margin: 1.5rem 0;
  padding: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  text-align: center;
}

.article-ad-top {
  margin: 0 0 1.5rem;
}

.article-ad a,
.aside-promo {
  display: block;
  text-decoration: none;
}

.article-promo img,
.article-ad img,
.aside-promo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.aside-promo-wrap {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.article-disclaimer {
  margin-top: 2.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.article-aside {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.aside-block {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.aside-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.aside-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.related-block {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.related-block h2 {
  font-family: var(--font-display);
  margin: 0 0 1.15rem;
  font-weight: 800;
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

/* Author / About / FAQ / Contact / Knowledge */
.author-card {
  display: grid;
  gap: 1.15rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.author-avatar {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent-soft), 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
  .author-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.about-stack {
  display: grid;
  gap: 1.1rem;
}

.prose-panel,
.value-list,
.eeat-panel,
.privacy-section {
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.value-list ol {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.eeat-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}

.eeat-grid dt {
  font-weight: 800;
  font-family: var(--font-display);
}

.eeat-grid dd {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
}

@media (min-width: 800px) {
  .eeat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.faq-accordion {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 1rem;
}

.faq-item[hidden] {
  display: none !important;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 700;
  font-family: var(--font-display);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-a {
  padding: 0 0 1rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.faq-a p {
  margin: 0.8rem 0 0;
}

/* ---------- Static pages: editorial desk pattern ---------- */
.static-mast {
  position: relative;
  margin-bottom: 0;
  padding: 1.75rem 0 2rem;
  background:
    radial-gradient(circle at 92% 18%, rgba(30, 107, 184, 0.16), transparent 36%),
    linear-gradient(180deg, #eef4fa 0%, #fff 78%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.static-mast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.static-mast-inner {
  position: relative;
  text-align: left;
  margin-inline: auto;
}

.static-mast-inner > * {
  max-width: 40rem;
}

.static-crumbs {
  margin: 0 0 0.85rem;
}

.static-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.static-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.55;
}

.static-crumbs a {
  color: var(--ink-muted);
  text-decoration: none;
}

.static-crumbs a:hover {
  color: var(--accent);
}

.static-mast-brand {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.static-mast-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.static-mast-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.static-desk {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 3.25rem;
}

.static-desk-stack {
  display: grid;
  gap: 2.5rem;
}

.static-desk-main {
  min-width: 0;
}

.static-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.static-email {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
}

.static-email:hover {
  color: var(--accent);
}

.static-copy {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 34rem;
}

.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.static-desk-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.static-note {
  padding: 1.15rem 1.2rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
}

.static-note-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
}

.static-note h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.static-note p {
  margin: 0 0 0.65rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.static-note p:last-child {
  margin-bottom: 0;
}

.static-statement {
  max-width: 44rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line);
}

.static-statement-text {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.static-prose {
  margin-top: 1rem;
}

.static-value-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.static-value-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.static-value-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.static-value-list span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}

.static-value-list strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.static-eeat-head {
  max-width: 40rem;
  margin-bottom: 1rem;
}

.static-eeat-head p:last-child {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
}

.static-eeat-list {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.static-eeat-list > div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.static-eeat-list dt {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.static-eeat-list dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.static-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}

.static-faq-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.65rem 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.static-faq-tab.is-active,
.static-faq-tab:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.static-faq-list {
  display: grid;
}

.static-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}

.static-faq-item[hidden] {
  display: none;
}

.static-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  display: grid;
  gap: 0.25rem;
}

.static-faq-item summary::-webkit-details-marker {
  display: none;
}

.static-faq-cat {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.static-faq-q {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.static-faq-a {
  padding: 0 0 1.15rem;
}

.static-faq-a p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 40rem;
}

.static-toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.static-toc a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
}

.static-toc a:hover {
  color: var(--accent);
}

.static-doc-intro {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.static-doc-section {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.static-doc-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}

.static-doc-num {
  color: var(--accent);
  font-size: 0.95rem;
}

.static-doc-section p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.static-doc-intro-block h2,
.static-doc-section h2 {
  margin-bottom: 0.65rem;
}

.static-doc-intro-block p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.static-doc-intro-block p:last-child {
  margin-bottom: 0;
}

.static-ref-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.static-topic-list {
  display: grid;
  margin-top: 0.75rem;
}

.static-topic-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.static-topic-row:last-child {
  border-bottom: 1px solid var(--line);
}

.static-topic-row:hover {
  color: var(--accent);
}

.static-topic-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}

.static-topic-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.static-topic-body strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.static-topic-row:hover .static-topic-body strong {
  color: var(--accent);
}

.static-topic-body span {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.static-topic-go {
  color: var(--accent);
  font-weight: 800;
}

.static-topic-row:not(:has(.static-topic-num)) {
  grid-template-columns: 1fr auto;
}

@media (min-width: 900px) {
  .static-desk:not(.static-desk-stack) {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
    gap: 2.5rem;
    align-items: start;
  }

  .static-desk:not(.static-desk-stack) .static-toc {
    order: 0;
  }

  .static-desk:not(.static-desk-stack) .static-doc {
    order: 1;
  }

  .static-value-list {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .static-value-list li:nth-child(odd) {
    padding-right: 1rem;
  }

  .static-value-list li:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .static-eeat-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
  }

  .static-desk-side.static-toc {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    z-index: 2;
    background: var(--bg);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow: auto;
  }
}

/* Privacy: TOC left, doc right on desktop */
@media (min-width: 900px) {
  .static-desk:has(.static-toc) {
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.4fr);
  }

  .static-desk:has(.static-toc) > .privacy-expanded {
    grid-column: 1 / -1;
  }
}

.hub-mosaic,
.topic-mosaic {
  display: grid;
  gap: 0.8rem;
}

.hub-card,
.topic-tile {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hub-card:hover,
.topic-tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.hub-tag,
.topic-tile-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hub-card h2,
.topic-tile strong {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hub-card p,
.topic-tile-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .hub-mosaic,
  .topic-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-mosaic-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hub-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
}

.topic-jump a {
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.topic-jump a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.topic-refs ul,
.topic-others {
  margin-top: 2rem;
}

.footer-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  padding: 2.5rem 0 0;
  background: var(--nav-bg);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
}

.footer-brand-name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand-desc {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-cols {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-cols a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-base p {
  margin: 0;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

.empty-note {
  padding: 1.4rem;
  border: 1px dashed var(--line);
  color: var(--ink-muted);
  background: var(--bg-soft);
}

.notfound {
  text-align: center;
  padding: 5rem 0 6rem;
}

/* Motion */
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-drop-panel,
  .mobile-drawer,
  .mag-strip-card img,
  .mag-hero-link img,
  .mag-card-media img,
  .home-banner-media,
  .home-banner-inner,
  .home-banner-brand::after,
  .cookie-consent-inner {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .home-banner-media {
    transform: none;
  }
}

/* Cookie consent — slim PDPA bar */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  padding: 0.75rem 1rem;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 0.85rem 1.15rem;
  background: #fff;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 -8px 28px rgba(16, 45, 78, 0.12);
  animation: cookie-in 0.35s var(--ease) both;
}

.cookie-consent-title {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.cookie-consent-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 42rem;
}

.cookie-consent-desc a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cookie-consent-actions .btn {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.cookie-consent-actions .btn-ghost-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.cookie-consent-actions .btn-ghost-light:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.has-cookie-consent {
  padding-bottom: 6.5rem;
}

@media (max-width: 720px) {
  .cookie-consent {
    padding: 0;
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    min-height: 0;
    border-radius: 16px 16px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 1rem 1.1rem 1.15rem;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1;
  }

  body.has-cookie-consent {
    padding-bottom: 10rem;
  }
}

/* ---------- Skyline Shield home ---------- */
.btn-amber {
  background: var(--amber);
  color: #0b1220;
  border-color: var(--amber);
  font-weight: 700;
}
.btn-amber:hover {
  background: var(--amber-hot);
  border-color: var(--amber-hot);
  color: #0b1220;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-cta,
.header-cta.btn-teal {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: #0b1220 !important;
}
.header-cta:hover {
  background: var(--amber-hot) !important;
  border-color: var(--amber-hot) !important;
}

.sky-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.sky-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sky-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
  animation: sky-ken 18s var(--ease) infinite alternate;
}
.sky-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,0.18) 0%, rgba(11,18,32,0.42) 48%, rgba(11,18,32,0.82) 100%),
    radial-gradient(120% 80% at 12% 88%, rgba(5,150,105,0.22), transparent 55%);
}
.sky-hero-copy {
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 4.5rem);
  max-width: 40rem;
  animation: sky-rise 0.9s var(--ease) both;
}
.sky-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.sky-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 650;
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
}
.sky-lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(236,253,245,0.88);
  max-width: 34rem;
}
.sky-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-head {
  margin-bottom: 1.35rem;
}
.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40rem;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}
.text-more {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.text-more:hover { color: var(--teal-hot); }

.zone-triage {
  padding: 3rem 0 1rem;
}
.zone-list {
  display: grid;
  gap: 0.65rem;
}
.zone-link {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(90deg, #fff, #f7faf8);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.zone-link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.zone-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.zone-text { color: var(--ink-muted); }
.zone-arrow { color: var(--amber); font-size: 1.2rem; }

.hub-strip { padding: 2.5rem 0 1rem; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.hub-item {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-top: 3px solid var(--accent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hub-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.hub-item.tone-amber { border-top-color: var(--amber); }
.hub-item.tone-ink { border-top-color: #0b1220; }
.hub-line {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hub-item.tone-amber .hub-line { color: var(--amber-hot); }
.hub-item.tone-ink .hub-line { color: #0b1220; }
.hub-item strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
}
.hub-item span:last-child {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.digest-band { padding: 2.75rem 0 1rem; }
.digest-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.digest-lead {
  display: grid;
  gap: 0.9rem;
}
.digest-lead-media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: #d7e0da;
}
.digest-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.digest-lead:hover .digest-lead-media img { transform: scale(1.04); }
.digest-lead-body h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
}
.digest-lead-body h3 a {
  color: inherit;
  text-decoration: none;
}
.digest-lead-body h3 a:hover { color: var(--accent); }
.digest-cat {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.digest-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}
.digest-side {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.digest-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.digest-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 650;
}
.digest-row h3 a {
  color: inherit;
  text-decoration: none;
}
.digest-row h3 a:hover { color: var(--accent); }

.booking-band {
  margin-top: 2.5rem;
  padding: 2.75rem 0;
  background:
    linear-gradient(135deg, rgba(5,150,105,0.12), rgba(232,145,58,0.12)),
    #0b1220;
  color: #fff;
}
.booking-band-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.booking-kicker {
  margin: 0 0 0.35rem;
  color: #86efac;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.booking-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.booking-band p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  max-width: 36rem;
}
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.booking-band .btn-ghost-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.booking-band .btn-ghost-dark:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.25rem 0 3.5rem;
}
.trust-item {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--accent);
}
.trust-item strong {
  font-family: var(--font-display);
}
.trust-item span {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@keyframes sky-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes sky-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .digest-layout { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .booking-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .sky-hero { min-height: min(88vh, 700px); }
  .zone-link {
    grid-template-columns: 1fr auto;
    grid-template-areas: "label arrow" "text text";
  }
  .zone-label { grid-area: label; }
  .zone-text { grid-area: text; }
  .zone-arrow { grid-area: arrow; }
  .hub-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .trust-row { grid-template-columns: 1fr; }
}

body.page-home {
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(5,150,105,0.08), transparent 50%),
    var(--bg-soft);
}

/* Light header: nav text must contrast against white */
.site-header .nav-link { color: #1e3a4c; }
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #0f172a; }
.site-header .brand-title,
.site-header .brand-logo { color: #0f172a; }
.article-sidebar-ad img { width:100%; height:auto; border-radius:8px; display:block; }

/* Cookie "Necessary only" readable on dark bars */
.btn-cookie-necessary,
.cookie-bar .btn--ghost,
.cookie-bar .btn-ghost,
.cookie-consent .btn-ghost-light,
.cookie-consent [data-cookie-decline],
.cookie-actions .btn-necessary,
.cookie-consent-actions .btn-ghost-light {
  color: #f8fafc !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1.5px solid rgba(255,255,255,0.7) !important;
}
.about-expanded, .contact-expanded, .privacy-expanded { line-height: 1.75; max-width: 860px; margin: 24px auto; }
.about-expanded p, .contact-expanded p, .privacy-expanded p { margin: 0 0 14px; }
.static-doc .privacy-expanded {
  max-width: none;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Contact desk — prepbangkok unique */
.contact-desk { width: min(860px, calc(100% - 32px)); margin: 8px auto 72px; }
.contact-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  gap: 18px 22px;
  padding: 22px 26px;
  margin: 0 auto 28px;
  border-radius: 0px;
  background: var(--bg-card, var(--surface, #fff));
  border: 1px solid var(--border, rgba(15,23,42,.1)); border-left: 8px solid var(--accent,#0f766e);
  box-shadow: 0 22px 50px rgba(15,23,42,.12);
}
.contact-card__kicker {
  margin: 0 0 6px;
    font-size: 0.7999999999999999rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #0f766e);
}
.contact-card__email {
  display: inline-block;
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2.2vw, 1.36rem);
  font-weight: 700;
  line-height: 1.3;
  word-break: break-all;
  color: var(--navy-dark, var(--ink, var(--black, #0f172a)));
  text-decoration: none;
}
.contact-card__email:hover { text-decoration: underline; }
.contact-card__hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted, var(--grey-4, #64748b));
}
.contact-card .btn, .contact-card .btn--primary, .contact-card .btn-primary, .contact-card .btn-accent {
  flex: 0 0 auto; white-space: nowrap;
}

.contact-expanded {
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 8px 0 8px 22px;
  border-radius: 0px;
  background: #fff;
  border: none;
  box-shadow: none;
  line-height: 1.7;
  color: var(--text, var(--ink, #1e293b));
}
.contact-expanded p { margin: 0 0 15px; }
.contact-expanded p:first-child { font-size:1.12rem;font-weight:650;border-left:3px solid var(--accent,#0f766e);padding-left:14px; color: var(--navy-dark, var(--ink, #0f172a)); }
.contact-expanded p:last-child { margin-bottom: 0; }
.contact-expanded a { color: var(--accent, #0f766e); font-weight: 650; text-underline-offset: 2px; }
.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto 40px;
}
@media (max-width: 720px) {
  .contact-card, .contact-expanded { padding: 20px; text-align: left; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-action-grid { grid-template-columns: 1fr; }
}

/* In-article ads as spaced sections, not a pile */
.article-ad-section {
  display: block;
  margin: 2.75rem 0;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  clear: both;
  text-align: center;
}
.article-ad-section a {
  display: block;
  line-height: 0;
}
.article-ad-section img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}
.article-ad-section + .article-ad-section {
  margin-top: 3.25rem;
}


/* PrEP Bangkok, modern clinic design */
:root{--bg:#fcfdfb;--bg-soft:#f1f6f1;--ink:#193c34;--ink-muted:#60716a;--nav-bg:#fcfdfb;--nav-text:#193c34;--accent:#146b59;--accent-hot:#0e5144;--teal:#146b59;--teal-hot:#0e5144;--accent-soft:#eaf3ec;--teal-soft:#eaf3ec;--line:#dce6df;--radius:18px;--radius-lg:26px;--max:1200px}
body,body.page-home{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}a{text-decoration:none}button,input{font:inherit}.wrap,.leaflet{width:min(1200px,calc(100% - 64px));margin-inline:auto}.site-header{background:#fcfdfbf5;color:var(--ink);border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:blur(14px)}.header-bar{min-height:82px}.brand-text{font-size:19px;letter-spacing:-.5px}.brand-mark{width:38px;height:38px}.nav-desktop>a,.nav-drop-trigger{color:var(--ink-muted);font-size:14px;font-weight:600}.nav-desktop>a:hover,.nav-desktop>a[aria-current=page]{color:var(--accent)}.nav-desktop>a[aria-current=page]::after{background:var(--accent)}.nav-drop-panel{border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 44px #193c3412;background:#fff}.nav-toggle{color:var(--ink);border-color:var(--line)}.nav-toggle-bars,.nav-toggle-bars::before,.nav-toggle-bars::after{background:var(--ink)}.mobile-drawer{background:var(--bg)}.mobile-drawer a,.mobile-topics summary{color:var(--ink)}.btn{border-radius:10px;min-height:48px;font-size:15px;font-weight:600;padding:13px 21px;box-shadow:none}.btn-teal,.btn-accent,.btn-amber{background:var(--accent);color:#fff;border:1px solid var(--accent)}.btn-teal:hover,.btn-accent:hover,.btn-amber:hover{background:var(--teal-hot);color:#fff}.header-cta{font-size:13px;min-height:42px;padding:10px 17px}
.pb-eyebrow{font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--accent);margin:0 0 20px;line-height:1.7}.pb-eyebrow span{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:8px}.pb-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;padding-block:65px 52px}.pb-hero h1{font-size:clamp(34px,3.7vw,50px);font-weight:700;line-height:1.4;letter-spacing:-1.5px;margin:0 0 24px}.pb-hero h1 em{font-style:normal;color:var(--accent)}.pb-lead{font-size:17px;line-height:1.95;color:var(--ink-muted);max-width:520px;margin:0 0 32px}.pb-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.pb-text-link{color:var(--accent);font-size:14px;font-weight:600}.pb-hero-notes{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px;color:var(--ink-muted);font-size:12px}.pb-hero-notes span::before{content:'✓';color:var(--accent);margin-right:6px}.pb-hero-photo{position:relative;margin:0;isolation:isolate;overflow:hidden;border-radius:26px 26px 80px 26px;background:#193c34;min-width:0}.pb-hero-photo img{width:100%;height:490px;object-fit:cover;object-position:55% center}.pb-hero-photo::after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#102f29e8);z-index:1}.pb-hero-photo figcaption{position:absolute;bottom:34px;left:34px;right:24px;z-index:2;color:#fff}.pb-photo-label{display:block;letter-spacing:2px;font-size:10px;color:#c4e3d7;margin-bottom:12px}.pb-hero-photo strong{font-size:27px;line-height:1.5;font-weight:600}.pb-hero-photo figcaption a{display:block;color:#f6e7ae;font-size:12px;margin-top:16px}
.pb-quick{display:grid;grid-template-columns:170px repeat(3,1fr);align-items:center;border-block:1px solid var(--line);padding-block:25px;gap:24px}.pb-quick p{margin:0;font-size:13px;color:var(--ink-muted)}.pb-quick a{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;color:var(--ink);padding-left:24px;border-left:1px solid var(--line)}.pb-quick a span{color:var(--accent)}.pb-section{padding-block:80px}.pb-section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:32px}.pb-section-head .pb-eyebrow{margin-bottom:10px}.pb-section-head h2{font-size:30px;line-height:1.4;letter-spacing:-.7px;margin:0 0 10px}.pb-section-head p:not(.pb-eyebrow){color:var(--ink-muted);font-size:15px;margin:0}.pb-section-head>a{flex-shrink:0;margin-bottom:5px}.pb-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pb-guide{position:relative;padding:28px 30px 58px;background:#f0f5ef;border:1px solid #e5ece4;border-radius:18px;color:var(--ink);transition:transform .2s,background .2s;min-width:0}.pb-guide:nth-child(3n+2){background:#f4f1e7;border-color:#ece8da}.pb-guide:nth-child(3n){background:#ecf3f2;border-color:#e0ebe8}.pb-guide:hover{transform:translateY(-4px);background:#e5efe5;color:var(--ink)}.pb-guide-label{display:block;font-size:10px;font-weight:600;letter-spacing:1px;color:var(--ink-muted);margin-bottom:22px}.pb-guide h3{font-size:23px;line-height:1.5;font-weight:600;margin:0 0 14px}.pb-guide p{font-size:14px;line-height:1.8;color:var(--ink-muted);margin:0;max-width:280px}.pb-guide-arrow{position:absolute;bottom:20px;right:25px;width:30px;height:30px;border-radius:50%;border:1px solid #c6d5cd;display:grid;place-items:center}.pb-how{background:#eaf2ed;padding-block:60px}.pb-steps{display:grid;grid-template-columns:repeat(3,1fr);padding:0;margin:40px 0 0;gap:42px;list-style:none}.pb-steps li{border-top:1px solid #bfd1c5;padding-top:22px}.pb-steps li>span{color:var(--accent);font:600 13px var(--font-display)}.pb-steps h3{font-size:20px;margin:15px 0 10px}.pb-steps p{font-size:14px;line-height:1.9;color:var(--ink-muted);max-width:310px}
.pb-articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.mag-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:none;transition:transform .2s}.mag-card:hover{transform:translateY(-3px)}.mag-card-media{display:block;overflow:hidden;aspect-ratio:1.6;background:#edf3ef}.mag-card-media img{width:100%;height:100%;object-fit:cover}.mag-card-body{padding:22px}.mag-card-title{font-size:19px;line-height:1.65;font-weight:600;margin:0 0 12px}.mag-card-title a{color:var(--ink)}.mag-card-excerpt{font-size:14px;line-height:1.9;color:var(--ink-muted)}.mag-card .article-meta{font-size:11px;display:flex;gap:7px;flex-wrap:wrap;color:var(--ink-muted)}.pb-booking{display:flex;align-items:center;justify-content:space-between;gap:40px;background:#f3efdf;border-radius:22px;padding:42px 46px;margin-bottom:24px}.pb-booking .pb-eyebrow{margin-bottom:12px}.pb-booking h2{font-size:28px;line-height:1.5;margin:0 0 12px}.pb-booking p:not(.pb-eyebrow){font-size:15px;color:var(--ink-muted);margin:0;line-height:1.9}.pb-booking .pb-actions{flex-direction:column;align-items:start;gap:16px;flex-shrink:0}.pb-trust{font-size:12px;line-height:1.9;color:var(--ink-muted);text-align:center;padding:12px 0 56px}.site-footer{background:#173e34;color:#e4efe8;padding-top:55px}.site-footer a,.site-footer .footer-label{color:#e4efe8}.footer-brand-desc{color:#b4c9bd}.footer-base{border-color:#ffffff16;color:#b4c9bd}
.static-mast{background:#eef4ef;border-bottom:1px solid var(--line);padding-block:48px;color:var(--ink)}.static-mast-title{font-size:clamp(30px,3vw,44px);line-height:1.5;max-width:950px;letter-spacing:-.8px}.static-mast-brand,.static-mast-lead{color:var(--ink-muted)}.static-desk{gap:56px;padding-block:44px}.static-doc,.article-body{line-height:1.95}.static-doc h2{font-size:25px;line-height:1.6}.static-toc{font-size:14px}.static-toc ol{line-height:1.8}.static-doc-num{background:var(--accent-soft);color:var(--accent);border-radius:10px}.page-intro{padding-top:48px;margin-bottom:24px}.page-intro h1{font-size:38px;line-height:1.4;letter-spacing:-.7px}.articles-layout{gap:36px}.filter-rail{background:#f0f5ef;padding:22px;border:1px solid var(--line);border-radius:16px;align-self:start}.search-form input{border:1px solid #cbd9d0;border-radius:9px;background:#fff;min-width:0;max-width:100%}.category-filter summary{font-weight:600;cursor:pointer;padding-block:20px}.chip-list{display:flex;flex-wrap:wrap;gap:7px;padding:0;list-style:none}.chip{border:1px solid #d4dfd7;background:#fff;border-radius:8px;font-size:12px;padding:7px 10px;color:var(--ink-muted)}.chip.is-active{background:var(--accent);color:#fff}.results-count{font-size:13px;color:var(--ink-muted);margin-top:0}.article-detail{padding-top:30px}.article-layout{gap:50px;align-items:start}.article-header h1{font-size:clamp(28px,3vw,40px);line-height:1.5;letter-spacing:-.5px;color:var(--ink)}.article-header .meta{font-size:13px;color:var(--ink-muted);line-height:1.9}.breadcrumbs{font-size:12px;color:var(--ink-muted);margin-bottom:24px}.article-hero-img{margin:24px 0 32px}.article-hero-img img{width:100%;max-width:100%;height:auto;border-radius:18px}.article-body img,.article-ad-section img{height:auto;max-width:100%;border-radius:12px}.article-body.prose table{display:block;max-width:100%;min-width:0;width:100%;overflow-x:auto}.article-body a{overflow-wrap:anywhere;text-decoration:underline}.article-layout>*,.static-desk>*{min-width:0}.eeat-trust-notice{background:#edf5ef;border:0;border-left:3px solid #87b49a;border-radius:0 10px 10px 0;font-size:13px;line-height:1.8;padding:16px;color:#526b5e}.article-sidebar{background:#f2f6f2;border-radius:16px;padding:22px}.sidebar-widget{margin:26px 0}.sidebar-widget h2{font-size:16px}.sidebar-widget ul{list-style:none;padding:0;display:grid;gap:14px}.sidebar-widget a{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.article-share{display:flex;gap:18px;flex-wrap:wrap;margin-block:28px;font-size:14px}.article-disclaimer,.article-author-box{padding:24px;background:#f3f7f2;border:1px solid var(--line);border-radius:14px;margin-top:28px}.article-disclaimer h2,.article-author-name{font-size:20px}.article-disclaimer p{font-size:14px;line-height:1.9}.pagination{gap:22px;margin-top:36px}.cookie-consent{background:#fffffffa;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 35px #193c3410}
@media(min-width:1001px){.nav-desktop{gap:22px}.article-layout{grid-template-columns:minmax(0,1fr) 280px}.mag-grid-rest{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.pb-hero{gap:30px;padding-top:40px}.pb-hero h1{font-size:34px}.pb-hero-photo img{height:440px}.pb-hero-copy .pb-actions{gap:16px}.pb-quick{grid-template-columns:1fr 1fr;gap:20px}.pb-guide-grid{grid-template-columns:repeat(2,1fr)}.pb-articles-grid{gap:16px}.pb-booking{padding:32px}.pb-section{padding-block:60px}.pb-steps{gap:25px}.article-layout{grid-template-columns:minmax(0,1fr)}.article-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.article-sidebar .article-ad-section{grid-column:1/-1;max-width:500px;margin:auto}}
@media(max-width:680px){.wrap,.leaflet{width:calc(100% - 36px)}.header-bar{min-height:70px}.brand-text{font-size:16px}.brand-mark{width:32px;height:32px}.pb-hero{grid-template-columns:1fr;gap:30px;padding-block:34px 28px}.pb-eyebrow{font-size:10px;letter-spacing:1.2px}.pb-hero h1{font-size:34px;letter-spacing:-1px;line-height:1.45}.pb-lead{font-size:15px;line-height:1.9;margin-bottom:24px}.pb-hero-copy .pb-actions{align-items:start;flex-direction:column;gap:17px}.pb-hero-notes{font-size:10px;gap:10px;margin-top:24px}.pb-hero-photo{border-radius:20px 20px 55px 20px}.pb-hero-photo img{height:320px}.pb-hero-photo figcaption{bottom:24px;left:24px}.pb-hero-photo strong{font-size:23px}.pb-quick{grid-template-columns:1fr;gap:0;padding-block:16px}.pb-quick p{padding-bottom:8px}.pb-quick a{border-left:0;padding:12px 0;font-size:13px}.pb-section{padding-block:44px}.pb-section-head{align-items:start;flex-direction:column;gap:18px;margin-bottom:25px}.pb-section-head h2{font-size:26px}.pb-section-head p:not(.pb-eyebrow){font-size:14px}.pb-guide-grid{gap:12px}.pb-guide{padding:20px 16px 50px;border-radius:13px}.pb-guide-label{font-size:9px;letter-spacing:.2px;margin-bottom:18px}.pb-guide h3{font-size:18px;line-height:1.6}.pb-guide p{font-size:12px;line-height:1.8}.pb-guide-arrow{bottom:15px;right:16px;width:26px;height:26px}.pb-how{padding-block:40px}.pb-steps{grid-template-columns:1fr;gap:20px;margin-top:25px}.pb-steps h3{margin-top:8px}.pb-steps p{max-width:none;margin-bottom:0}.pb-articles-grid{grid-template-columns:1fr;gap:22px}.mag-card-title{font-size:19px}.pb-booking{padding:28px 24px;flex-direction:column;align-items:start;gap:26px}.pb-booking h2{font-size:25px}.pb-trust{font-size:11px;padding-bottom:32px}.article-header h1{font-size:28px}.article-detail{padding-top:22px}.article-layout{gap:30px}.article-sidebar{display:block;padding:20px}.article-header .meta{font-size:12px}.article-body{font-size:16px}.article-hero-img img{border-radius:12px}.static-mast{padding-block:32px}.static-mast-title{font-size:30px}.static-desk{padding-block:30px;gap:25px}.static-doc h2{font-size:22px}.page-intro h1{font-size:30px}.filter-rail{padding:18px}.articles-layout{gap:24px}.mag-grid-rest{grid-template-columns:1fr}.cookie-consent{inset:auto 12px 12px;max-width:calc(100% - 24px)}.footer-inner{gap:35px}.header-cta{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Header and contact-page layout corrections. */
.brand,.brand:hover,.brand-text{color:var(--ink)}
.nav-desktop>a,.nav-desktop>a:hover,.nav-desktop>a[aria-current="page"]{box-shadow:none;border-bottom:0;text-decoration:none}
.nav-desktop>a[aria-current="page"]::after{height:2px;bottom:14px}
.nav-drop-trigger:hover,.nav-drop.is-open .nav-drop-trigger{color:var(--accent);background:transparent}
.header-cta.btn-teal{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.header-cta.btn-teal:hover{background:var(--teal-hot)!important}
.page-contact .static-desk{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:48px}
.static-email{max-width:100%;overflow-wrap:anywhere;line-height:1.5;font-size:clamp(21px,2.6vw,32px);letter-spacing:-.4px}
.page-contact .static-actions{margin-bottom:30px}
.contact-expanded{margin:0;padding:26px;border:1px solid var(--line);border-radius:16px;line-height:1.95;overflow-wrap:anywhere}
.contact-expanded p:first-child{font-size:16px;line-height:1.95}
.static-note{border-radius:12px;padding:24px;line-height:1.9}
.static-note h2{line-height:1.7;margin-bottom:12px}
.static-note p{line-height:1.9}
@media(max-width:800px){.page-contact .static-desk{grid-template-columns:minmax(0,1fr);gap:28px}.page-contact .static-desk-side{grid-template-columns:1fr}.contact-expanded{padding:22px}.static-email{font-size:clamp(20px,5.5vw,28px)}.page-contact .static-actions .btn{min-height:48px}}
.cookie-consent .cookie-consent-actions .btn-ghost-light,.cookie-consent [data-cookie-decline]{color:var(--ink)!important;background:#fff!important;border:1px solid var(--line)!important}
.mobile-drawer .btn-teal{color:#fff}
