/* TravelPulse Thailand — Blitz restyle. Original CSS. */

:root {
  --cream: #F5F0E6;
  --sand: #E7DECD;
  --hairline: #D7D2C8;
  --ink: #171717;
  --deep: #0A0A0A;
  --coral: #FF6545;
  --coral-ink: #A3311B;
  --display: "Archivo", "Noto Sans Thai", sans-serif;
  --body: "Inter", "Noto Sans Thai", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);
  --block-pad: clamp(2.75rem, 6vw, 4.5rem);
  --max: 90rem;
  --nav-h: 4.25rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

h1, h2, h3, [id] { scroll-margin-top: calc(var(--nav-h) + 0.75rem); }

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6.6vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
  max-width: 16ch;
  overflow-wrap: break-word;
}

h2, .section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p + p,
ul + p,
ol + p,
p + ul,
p + ol { margin-top: 0.85rem; }

.lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

a { color: var(--coral-ink); text-underline-offset: 0.16em; }

a:hover { color: var(--ink); }

:focus { outline: none; }

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

::selection { background: var(--coral); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.vpn-wrap { width: 100%; }

[hidden] { display: none !important; }

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}

.site-nav {
  height: 100%;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

.wordmark:hover { color: var(--ink); }

.wm-slash { color: var(--coral); }

.nav-details { position: relative; }

.nav-toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.15rem;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle::-webkit-details-marker { display: none; }

.nav-toggle::marker { content: ""; }

.label-close { display: none; }

.nav-details[open] .label-open { display: none; }

.nav-details[open] .label-close { display: inline; }

.nav-toggle-bars {
  position: relative;
  width: 1.2rem;
  height: 0.75rem;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s linear;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 0.34rem; }
.nav-toggle-bars span:nth-child(3) { top: 0.68rem; }

.nav-details[open] .nav-toggle-bars span:nth-child(1) {
  top: 0.34rem;
  transform: rotate(45deg);
}

.nav-details[open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }

.nav-details[open] .nav-toggle-bars span:nth-child(3) {
  top: 0.34rem;
  transform: rotate(-45deg);
}

.nav-links, .nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.num {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral-ink);
}

.site-nav a[aria-current="page"] { color: var(--coral-ink); }

.site-nav a.wordmark[aria-current="page"] { color: var(--ink); }

@media (max-width: 1023px) {
  body:has(.nav-details[open]) { overflow: hidden; }

  .nav-details[open] .nav-panel {
    position: fixed;
    z-index: 2;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    overflow: auto;
    background: var(--cream);
    padding: 0.5rem var(--gutter) 2.5rem;
  }

  .nav-links > li > a,
  .nav-sub a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.62rem 0;
    border-top: 1px solid var(--hairline);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.85rem, 7vw, 2.7rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
  }

  .nav-links .num,
  .nav-sub .num { font-size: 0.8rem; letter-spacing: 0.06em; }

  /* Chrome hides closed <details> via ::details-content. Show Guides only while the menu is open. */
  .nav-details[open] .guides-details::details-content {
    display: block !important;
    content-visibility: visible !important;
    height: auto !important;
  }

  .nav-details .guides-details > ul {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .guides-details > summary {
    pointer-events: none;
    display: block;
    margin-top: 0.85rem;
    padding: 0.35rem 0;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
  }
}

@media (min-width: 1024px) {
  /* Same Chrome rule: a closed details has zero width, so the link row sat off-screen. */
  .nav-details::details-content {
    display: block !important;
    content-visibility: visible !important;
    height: auto !important;
  }

  .nav-details,
  .nav-details .nav-panel,
  .nav-links { width: max-content; }

  .nav-details > .nav-toggle { display: none; }

  .nav-details .nav-panel { display: block; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.65rem;
  }

  .nav-links > li > a,
  .guides-details > summary {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    list-style: none;
    cursor: pointer;
  }

  .guides-details > summary::-webkit-details-marker { display: none; }
  .guides-details > summary::marker { content: ""; }

  .nav-links > li > a:hover,
  .guides-details > summary:hover,
  .guides-details[open] > summary { color: var(--coral-ink); }

  .nav-links .num { font-size: 0.68rem; }

  .nav-guides { position: relative; }

  .guides-details > ul {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    z-index: 5;
    width: 16.5rem;
    background: var(--cream);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(10, 10, 10, 0.08);
    padding: 0.3rem 0;
  }

  .nav-sub a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.62rem 0.9rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nav-sub a:hover { background: var(--sand); color: var(--ink); }

  .nav-sub .num { font-size: 0.68rem; }
}

/* ---------- Hero, marquee ---------- */

.hero,
.vpn-intro,
.page-404 {
  padding-block: clamp(3.25rem, 8vw, 6.5rem) clamp(1.5rem, 4vw, 2.75rem);
}

.hero-copy { min-width: 0; }

.hero-illu {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .hero-inner,
  .vpn-intro,
  .page-404 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(10.5rem, 30vw, 24rem);
    align-items: center;
    column-gap: clamp(1.25rem, 3vw, 3.5rem);
  }

  .hero-illu {
    width: 100%;
    max-width: none;
    margin-top: 0;
    justify-self: end;
  }
}

.last-checked {
  margin-top: 1.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  background: var(--sand);
  padding-block: 0.85rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
}

.marquee-group span {
  padding-inline: 1.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group span::before {
  content: "/ ";
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral-ink);
}

main { counter-reset: blk; }

main > .section,
.policy-section,
.vpn-cta,
.vpn-wrap > h2.section-title,
.vpn-intro + .tools-grid {
  counter-increment: blk;
}

.policy-section::before,
.vpn-cta::before,
.section-title::before,
.vpn-intro + .tools-grid::before {
  content: "/ " counter(blk, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.vpn-intro + .tools-grid::before { grid-column: 1 / -1; }

main > .section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--hairline);
}

.marquee + .section { border-top: none; }

.section-intro {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.policy-section,
.vpn-cta,
.vpn-wrap > h2.section-title {
  border-top: 1px solid var(--hairline);
  margin-top: var(--block-pad);
  padding-top: var(--block-pad);
}

.vpn-intro + .policy-section { margin-top: clamp(1.5rem, 4vw, 2.5rem); }

.vpn-intro + .tools-grid {
  border-top: 1px solid var(--hairline);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: var(--block-pad);
}

.policy-section ul,
.policy-section ol,
.vpn-cta ul {
  padding-left: 1.15rem;
}

.policy-section li + li { margin-top: 0.4rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
}

button.btn { font-family: var(--body); }

.btn:hover { color: var(--ink); background: #ff7d62; }

.btn-ghost,
.btn-outlined {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover,
.btn-outlined:hover { background: var(--sand); color: var(--ink); }

.btn-ghost-text {
  background: transparent;
  border-color: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.btn-ghost-text:hover { background: transparent; color: var(--coral-ink); }

.btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-roll {
  display: grid;
  justify-items: center;
  overflow: hidden;
  max-width: 100%;
}

.btn-roll > span {
  grid-area: 1 / 1;
  transition: transform 0.45s var(--ease);
}

.btn-roll > span:last-child { transform: translateY(110%); }

.btn:hover .btn-roll > span:first-child,
.btn:focus-visible .btn-roll > span:first-child { transform: translateY(-110%); }

.btn:hover .btn-roll > span:last-child,
.btn:focus-visible .btn-roll > span:last-child { transform: none; }

p:has(> .btn),
.card-actions,
.checklist-actions,
.stay-picker-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

p:has(> .btn) .btn,
.card-actions .btn,
.checklist-actions .btn {
  flex: 0 1 auto;
  max-width: 100%;
}

.checklist-actions,
.card-actions { margin-top: 1rem; }

/* ---------- Cards, banks, grids ---------- */

.tools-grid,
.track-grid,
.vpn-grid,
.bank-grid,
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
}

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

.tool-card,
.vpn-card,
.bank-card,
.vpn-cta,
.changed-box {
  min-width: 0;
}

.tool-card,
.vpn-card,
.bank-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--sand);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.tool-card:hover,
.vpn-card:hover,
.bank-card:hover {
  border-color: var(--ink);
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--coral);
}

.tool-card .btn,
.vpn-card .btn,
.bank-card .btn { margin-top: auto; align-self: flex-start; }

.tool-tag,
.bank-label,
.bank-pill,
.tool-mark,
.stay-picker-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-tag, .tool-mark { width: fit-content; }

.tool-mark {
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ink);
}

.mark-coral { color: var(--coral-ink); border-color: var(--coral); }

.bank-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.bank-pill {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.bank-name, .vpn-name { font-size: 1.45rem; }

.bank-src, .tool-caption {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.follow-grid {
  margin-top: var(--block-pad);
  padding-top: var(--block-pad);
  border-top: 1px solid var(--hairline);
}

/* ---------- Notes, lists, tables ---------- */

.verify-badge {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.verify-note {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  background: var(--coral);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
}

.changed-box {
  margin-top: var(--block-pad);
  padding-top: var(--block-pad);
  border-top: 1px solid var(--hairline);
}

.changed-box h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.disclaimer-box {
  margin-top: var(--block-pad);
  padding: 1rem 1.1rem;
  background: var(--sand);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

/* Same callout as .disclaimer-box, with tip spacing instead of the page-end gap. */
.disclaimer-box.vpn-tip {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.disclaimer-box.vpn-tip :is(p, h3) { margin-top: 0; }

.tools-grid > .disclaimer-box.vpn-tip {
  grid-column: 1 / -1;
  margin-top: 0;
}

.sources { margin-top: var(--block-pad); padding-bottom: 0.5rem; }

.sources h2 {
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sources ul { list-style: none; padding: 0; }

.sources li {
  padding-block: 0.55rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
}

.sources a { overflow-wrap: anywhere; }

.checklist { list-style: none; padding: 0; margin-top: 0.5rem; }

.checklist li { border-bottom: 1px solid var(--hairline); }

.checklist label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.8rem;
  cursor: pointer;
}

.checklist input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--coral);
  flex: none;
}

.stay-picker { margin-top: 0.5rem; }

.stay-picker-label { margin-bottom: 0.65rem; }

.stay-picker-btns .btn { flex: 1 1 9.5rem; }

.faq-item {
  padding-block: 1rem;
  border-top: 1px solid var(--hairline);
}

.faq-item h3 { margin-bottom: 0.3rem; font-size: 1.3rem; }

.th-table-wrap {
  margin-top: 1.25rem;
  max-width: 100%;
  overflow-x: auto;
}

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

.th-table th,
.th-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.th-table th {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section-pad);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  background: var(--deep);
  color: var(--cream);
  border-top: 4px solid var(--coral);
}

.site-footer a { color: inherit; }

.site-footer a:hover { color: var(--coral); }

.site-footer .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 100%;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 9.5rem);
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.site-footer .logo:hover { color: var(--cream); }

.site-footer .logo-icon { width: 2rem; height: 2rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(245, 240, 230, 0.22);
}

.footer-links a { text-decoration: none; }

.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.16em; }

.footer-copy,
.footer-disclaimer {
  max-width: 46rem;
  margin-top: 0.85rem;
  color: var(--sand);
  font-size: 0.95rem;
}

.footer-disclaimer { margin-top: 1rem; }

/* ---------- Motion ---------- */

@keyframes clipup {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

html.js h1 {
  animation: clipup 0.9s var(--ease) both;
}

html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal:not(.is-in):focus-within {
  opacity: 1;
  transform: none;
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.js h1,
  html.js .reveal,
  html.js .reveal:not(.is-in) {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .marquee-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .marquee-group { flex-wrap: wrap; justify-content: center; }

  .marquee-group + .marquee-group { display: none; }
}

@media print {
  .site-header,
  .skip-link,
  .marquee,
  .nav-toggle { display: none !important; }

  body { padding-top: 0; background: #fff; }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
  }

  .site-footer .logo,
  .footer-copy,
  .footer-disclaimer { color: #000; }

  a { color: #000; }

  .btn-roll > span:last-child { display: none !important; }

  .btn-roll > span:first-child { transform: none !important; }
}

/* Desktop hero: big uncropped illustration, no frame */
@media (min-width: 1024px) {
  .hero-inner,
  .vpn-intro,
  .page-404 {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .hero-inner .hero-illu,
  .vpn-intro .hero-illu,
  .page-404 .hero-illu {
    border: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

/* Index: decorative elephant parade above footer */
.elephant-strip {
  height: clamp(110px, 12vw, 170px);
  background: var(--cream) url("../../img/illustrations/elephants-strip.webp") repeat-x left bottom / auto 100%;
}
.elephant-strip { margin-top: var(--section-pad); }
.elephant-strip + .site-footer { margin-top: 0; }

/* Nav: 8 top items, tighten on smaller desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links { gap: 1.05rem; }
  .nav-links > li > a,
  .guides-details > summary { font-size: 0.9rem; gap: 0.3rem; }
}

/* App store links */
.store-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }

/* Video guide (Oct 2026) */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; margin: 1rem 0 1.25rem; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-chapters-title { margin: 0 0 .5rem; }
.video-chapters { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4rem .75rem; }
.video-chapters a { display: block; padding: .35rem 0; }
.vc-time { font-variant-numeric: tabular-nums; font-weight: 700; margin-right: .35rem; }
.watch-part { display: inline-block; font-size: .875rem; font-weight: 600; margin-top: .25rem; }
.watch-links { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .25rem 0 .75rem; }
.shorts-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: .5rem; margin: 1rem 0 1.25rem; scroll-snap-type: x mandatory; }
.short-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.short-card img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); }
/* Videos blog page */
.video-feed { max-width: 720px; }
.video-post { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(23,23,23,.15); }
.video-post h3 { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid rgba(23,23,23,.1); margin-bottom: .75rem; line-height: 1.3; }
.video-post h3 + p { margin-top: 0; }
.video-post p { margin: 0 0 1rem; line-height: 1.7; }
@media (max-width: 600px) { .video-post h3 { margin-top: 1.75rem; padding-top: 1.75rem; } }
.post-date { font-family: "IBM Plex Mono", monospace; font-size: .85rem; opacity: .75; margin: 0 0 .25rem; }
.video-embed--small { max-width: 520px; margin-left: auto; margin-right: auto; }
.short-card--more { justify-content: flex-start; }
.short-more-box { display: flex; align-items: center; justify-content: center; aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--coral, #FF6545); color: #fff; font-size: 1.1rem; }
