/* =========================================================
   The Curious Backpack — shared stylesheet for every page
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --sea-900: #063b48;
  --sea-700: #0b5f73;
  --sea-500: #1a8ca3;
  --sea-100: #dff2f5;
  --sand-50: #fdfaf4;
  --sand-100: #f6efe2;
  --sand-300: #e8d9bc;
  --coral: #e2674a;
  --me: #c8102e;
  --al: #1d1d1b;
  --ink: #1c2a30;
  --muted: #5b6b72;
  --line: #e3e7e8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(6, 59, 72, .08);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sea-700); }
a:hover { color: var(--sea-900); }
h1, h2, h3 { line-height: 1.2; color: var(--sea-900); margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sea-500); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--sea-900); color: #fff;
  padding: 8px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 244, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--sea-900);
}
.logo svg { width: 34px; height: 34px; flex: none; }
.nav-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-size: .95rem; font-weight: 500;
}
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] { background: var(--sea-100); color: var(--sea-900); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--sea-900); position: relative;
  transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--sea-900); padding: 96px 0 160px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,59,72,.78) 0%, rgba(6,59,72,.55) 55%, rgba(6,59,72,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); max-width: 820px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 640px; color: rgba(255,255,255,.95); }
.hero .eyebrow { color: #ffe1b3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .hero-credit, .page-head .hero-credit { position: absolute; right: 12px; top: 8px; margin: 0; z-index: 2; font-size: .7rem; max-width: none; color: rgba(255,255,255,.75); }
.hero-credit a { color: inherit; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 2; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 1rem; transition: transform .15s, box-shadow .15s; border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(226,103,74,.35); }
.btn--primary:hover { color: #fff; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; background: var(--sea-900); color: #fff; padding: 64px 0 56px; }
.page-head--photo { padding: 110px 0 60px; }
.page-head img.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,59,72,.35), rgba(6,59,72,.85)); }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); max-width: 860px; }
.page-head p { color: rgba(255,255,255,.92); max-width: 700px; font-size: 1.1rem; margin: 0; }
.page-head .eyebrow { color: #ffe1b3; }
.breadcrumbs { font-size: .85rem; margin-bottom: 14px; color: rgba(255,255,255,.8); }
.breadcrumbs a { color: #fff; }
.meta-line { font-size: .88rem; color: rgba(255,255,255,.8); margin-top: 16px !important; }
.page-head .hero-credit { top: auto; bottom: 8px; }

/* ---------- Quick verdict ---------- */
.verdict { margin-top: -110px; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.verdict .card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.verdict .card p { margin: 0; color: var(--muted); font-size: .98rem; }
.flag-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.flag-dot--me { background: var(--me); box-shadow: 0 0 0 3px #f2c94c; }
.flag-dot--al { background: var(--me); box-shadow: 0 0 0 3px var(--al); }
.flag-dot--both { background: linear-gradient(90deg, var(--sea-500) 50%, var(--coral) 50%); }

/* ---------- Ad slots ----------
   Slots stay invisible until you paste an AdSense <ins> tag inside them,
   so reviewers and visitors never see empty boxes. */
.ad-slot { margin: 40px auto; max-width: 970px; text-align: center; }
.ad-slot::before { content: "Advertisement"; display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa6ab; margin-bottom: 6px; }
.ad-slot:not(:has(ins)) { display: none; }
.ad-slot--inline { max-width: 336px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--line); margin-top: 28px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
thead th { background: var(--sea-900); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: #fafcfc; }
tbody th { font-weight: 600; color: var(--sea-900); width: 22%; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.win { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e3f5e8; color: #1f7a3a; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* ---------- Country sections & beach cards ---------- */
.country-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--sea-100); color: var(--sea-900); border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 500; }
.beach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.beach {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.beach:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(6,59,72,.13); }
.beach-photo { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--sea-100); overflow: hidden; }
.beach-photo img { width: 100%; height: 100%; object-fit: cover; }
.beach-photo .badge {
  position: absolute; left: 14px; top: 12px; background: rgba(255,255,255,.94); color: var(--sea-900);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
}
.credit { font-size: .7rem; color: var(--muted); padding: 6px 22px 0; }
.credit a { color: inherit; }
.beach-photo + .credit { margin: 0; }
.beach-body { padding: 12px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.beach-body h3 { margin-bottom: .2em; }
.beach-loc { font-size: .85rem; color: var(--muted); margin-bottom: .8em; }
.beach-body p { font-size: .96rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: .75rem; padding: 3px 9px; border-radius: 6px; background: var(--sand-100); color: #7a6744; font-weight: 600; }

/* ---------- Pros / cons ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.procon h3 { display: flex; align-items: center; gap: 10px; }
.procon ul { margin: 0; padding: 0; list-style: none; }
.procon li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.procon li:last-child { border-bottom: 0; }
.procon li::before { position: absolute; left: 0; top: 9px; font-weight: 800; width: 20px; text-align: center; }
.pros li::before { content: "+"; color: #1f7a3a; }
.cons li::before { content: "–"; color: var(--coral); }

/* ---------- Costs ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.cost { text-align: center; padding: 24px 18px; }
.cost .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.cost .row { display: flex; justify-content: space-between; margin-top: 12px; font-size: .95rem; }
.cost .row b { color: var(--sea-900); }

/* ---------- Season chart ---------- */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 28px; }
.month { text-align: center; }
.month .bar { height: 64px; border-radius: 8px; margin-bottom: 6px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: .72rem; font-weight: 700; color: var(--sea-900); }
.month .lvl-2, .month .lvl-3 { color: #fff; }
.month small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.lvl-0 { background: #e7ecee; }
.lvl-1 { background: #bfe3e9; }
.lvl-2 { background: #2f9db1; }
.lvl-3 { background: var(--coral); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }

/* ---------- Traveller profiles ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.profile .pick { display: inline-block; margin-top: 6px; font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 999px; }
.pick--me { background: #fde8eb; color: var(--me); }
.pick--al { background: #ececea; color: var(--al); }
.pick--both { background: var(--sea-100); color: var(--sea-900); }
.profile p { font-size: .96rem; color: var(--muted); }

/* ---------- Numbered tips ---------- */
.tips { counter-reset: tip; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 24px; padding: 0; list-style: none; }
.tips li { counter-increment: tip; position: relative; padding-left: 48px; }
.tips li::before {
  content: counter(tip); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  border-radius: 50%; background: var(--sea-700); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.tips strong { color: var(--sea-900); }

/* ---------- Guide teaser cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.card.guide-card { display: grid; grid-template-columns: 200px 1fr; text-decoration: none; color: inherit; overflow: hidden; padding: 0; }
.guide-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.guide-card div { padding: 22px; }
.guide-card h3 { margin-bottom: .4em; }
.guide-card p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.guide-card .more { font-weight: 600; color: var(--sea-700); font-size: .92rem; }
.guide-card:hover h3 { color: var(--sea-500); }

/* ---------- Blog home: posts, topics, facts, author ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.card.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(6,59,72,.13); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card .post-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card:hover h3 { color: var(--sea-500); }
.post-meta { font-size: .8rem; color: var(--muted); margin-top: auto; }
.cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.card.post-card--featured { display: grid; grid-template-columns: 1.2fr 1fr; margin-top: 28px; }
.post-card--featured img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.post-card--featured .post-body { padding: 32px; justify-content: center; }
.post-card--featured h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.topic { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--sea-900); font-weight: 600; font-size: .95rem; }
.topic:hover { border-color: var(--sea-500); color: var(--sea-500); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fact .num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--coral); line-height: 1.1; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); font-size: .95rem; }
.fact h3 { font-size: 1.02rem; margin-bottom: .3em; }
.author { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.author-badge { width: 120px; height: 120px; border-radius: 50%; background: var(--sea-100); display: flex; align-items: center; justify-content: center; }
.author-badge svg { width: 72px; height: 72px; }
.author p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-top: 24px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--sea-900); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--sea-500); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* ---------- Layout with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar > * + * { margin-top: 20px; }
.sidebar .ad-slot { margin: 20px 0 0; }
.toc { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: .95rem; border-bottom: 1px solid var(--line); }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--sea-500); }

/* ---------- Long-form article (guides & legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.prose table { min-width: 520px; }
.prose .table-wrap { margin: 20px 0 8px; }
.callout { background: var(--sea-100); border-left: 4px solid var(--sea-500); border-radius: 10px; padding: 16px 20px; margin: 24px 0; font-size: .97rem; }
.callout--warn { background: #fff4ec; border-color: var(--coral); }
.callout strong { color: var(--sea-900); }
.day { border-left: 3px solid var(--sea-100); padding-left: 22px; margin: 26px 0; position: relative; }
.day::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--sea-500); border: 3px solid var(--sand-50); }
.day h3 { margin-top: 0; }
.day .drive { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--sand-100); color: #7a6744; border-radius: 6px; padding: 2px 9px; margin-bottom: 8px; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: #1f7a3a; font-weight: 800; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--sea-900); }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--sea-500); outline: none; box-shadow: 0 0 0 3px var(--sea-100); }
.form textarea { min-height: 150px; resize: vertical; }
.form small { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-900); color: rgba(255,255,255,.8); padding: 56px 0 28px; font-size: .93rem; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: .83rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.back-top {
  position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sea-700); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow);
  font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .beach-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .post-grid, .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--sand-50); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(6,59,72,.08); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 860px) {
  .card.post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured img { min-height: 0; aspect-ratio: 3 / 2; }
  .post-card--featured .post-body { padding: 22px; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author-badge { margin: 0 auto; }
  .verdict, .profiles { grid-template-columns: 1fr; }
  .split, .tips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 60px 0 150px; }
  .beach-grid, .cost-grid { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(6, 1fr); row-gap: 12px; }
  .card { padding: 22px; }
  .card.guide-card { grid-template-columns: 1fr; }
  .post-grid, .facts { grid-template-columns: 1fr; }
  .guide-card img { aspect-ratio: 16 / 9; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
