/* Gambia Travel Hub
   Palette: mangrove, river, sun, sand on near-white paper.
   Type: Bricolage Grotesque (display, UI) + Source Serif 4 (reading). */

:root {
  --mangrove: #13362F;
  --mangrove-2: #1C4A41;
  --river: #1D5C66;
  --sun: #F2B233;
  --sun-deep: #D9951A;
  --sand: #EFE5CF;
  --paper: #FCFBF8;
  --ink: #1B2522;
  --ink-soft: #4A5753;
  --line: #D8D2C3;
  --focus: #0B63CE;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --measure: 68ch;
  --wrap: 72rem;
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --space: clamp(3rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--serif);
  padding-top: env(safe-area-inset-top, 0px);
}
img, svg { max-width: 100%; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

h1, h2, h3, .brand, .btn, .chip, nav, .crumbs, summary, .foot-h, th, dt {
  font-family: var(--display);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; color: var(--mangrove); margin: 0 0 .6em; }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--river); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--mangrove); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--sun); color: var(--mangrove); padding: .6rem 1rem; font-family: var(--display); font-weight: 700; z-index: 10; }
.skip:focus { top: 1rem; }
.muted { color: var(--ink-soft); }

/* ---------- Masthead ---------- */
.masthead { background: var(--mangrove); color: #fff; position: relative; z-index: 5; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--sun); }
.masthead ul { list-style: none; margin: 0; padding: 0; }
.masthead a { color: #fff; text-decoration: none; font-weight: 500; }
.masthead a:hover, .masthead a[aria-current="page"] { color: var(--sun); }
.nav-wide { display: none; }
.menu summary { cursor: pointer; list-style: none; padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--sun); color: var(--mangrove); border-color: var(--sun); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--mangrove); padding: .5rem var(--gap) 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.menu nav a { display: block; padding: .7rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 62rem) {
  .menu { display: none; }
  .nav-wide { display: block; }
  .nav-wide ul { display: flex; gap: 1.4rem; }
  .nav-wide a { font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
  .nav-wide a[aria-current="page"] { border-bottom-color: var(--sun); }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--mangrove); color: #fff; position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(8rem, 14vw, 11rem); }
.hero-inner { position: relative; z-index: 1; }
.hero-title { color: #fff; font-size: clamp(2.8rem, 8vw + .5rem, 6.75rem); line-height: .98; letter-spacing: -0.035em; max-width: 11ch; margin-bottom: .35em; }
.hero-lede { font-size: clamp(1.1rem, 1vw + .9rem, 1.35rem); max-width: 40ch; color: #E6EEEA; }
.hero-choices { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-block; padding: .75rem 1.15rem; border-radius: 999px; background: var(--sun); color: var(--mangrove); font-weight: 700; text-decoration: none; }
.chip:hover { background: #fff; color: var(--mangrove); }
.river { display: block; width: 100%; height: auto; color: var(--river); }
.hero-river { position: absolute; left: -10%; width: 120%; max-width: none; bottom: -1rem; height: clamp(6.5rem, 14vw, 11rem); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem; }
.page-head h1 { max-width: 20ch; }
.lede { font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem); max-width: 56ch; color: var(--ink-soft); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9rem; }
.crumbs li + li::before { content: "/"; color: var(--line); margin-right: .5rem; }
.crumbs span[aria-current] { color: var(--ink-soft); }

.disclosure { font-size: .88rem; color: var(--ink-soft); border-left: 3px solid var(--sun); padding: .35rem 0 .35rem .85rem; margin-top: 0; margin-bottom: 1.5rem; max-width: 72ch; }
.home .disclosure { margin-top: 2rem; }

.content { padding-bottom: var(--space); }

/* ---------- Blocks ---------- */
.block { padding: calc(var(--space) * .6) 0; border-top: 1px solid var(--line); }
.content > .block:first-child, .content > aside + .block { border-top: 0; }
.block-sand { background: var(--sand); border-top: 0; padding-inline: clamp(1.25rem, 4vw, 2.5rem); border-radius: 18px; margin-top: 2rem; }
.intro { max-width: 60ch; color: var(--ink-soft); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .two-col { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* ---------- Home: trip needs rail ---------- */
.needs { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--mangrove); }
.need { display: grid; gap: .25rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.need h3 { margin: 0; font-size: 1.35rem; }
.need p { margin: 0; color: var(--ink-soft); max-width: 55ch; }
.need-link { font-family: var(--display); font-weight: 700; color: var(--mangrove); text-decoration-color: var(--sun); text-decoration-thickness: 3px; justify-self: start; margin-top: .4rem; }
@media (min-width: 52rem) {
  .need { grid-template-columns: 14rem 1fr auto; align-items: baseline; }
  .need-link { margin-top: 0; }
}

.areas-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.areas-list dl, .checklist { margin: 0; }
.areas-list dl > div { padding: .8rem 0; border-top: 1px solid var(--line); }
.areas-list dt { font-weight: 700; }
.areas-list dt a { display: inline-block; padding: .2rem 0; }
.areas-list dd { margin: .15rem 0 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; }
.btn-go { background: var(--sun); color: var(--mangrove); box-shadow: inset 0 -3px 0 var(--sun-deep); }
.btn-go:hover { background: var(--mangrove); color: #fff; box-shadow: none; }
.btn-off { background: transparent; color: var(--ink-soft); border: 1.5px dashed #9BA39F; cursor: not-allowed; font-weight: 600; }
.btn-note { font-size: .8rem; color: var(--ink-soft); margin: .4rem 0 0; font-family: var(--display); }
.cta-panel { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: 12px; padding: 1.5rem; max-width: 46rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; }

/* ---------- Providers ---------- */
.providers { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 52rem) { .providers { grid-template-columns: repeat(2, 1fr); } }
.provider { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--river); border-radius: 4px 4px 14px 14px; padding: 1.5rem; display: flex; flex-direction: column; }
.provider-name { font-size: 1.6rem; margin-bottom: .75rem; }
.provider-facts { margin: 0 0 1.25rem; }
.provider-facts div { padding: .55rem 0; border-top: 1px solid var(--line); }
.provider-facts dt { font-size: .82rem; font-weight: 700; color: var(--river); }
.provider-facts dd { margin: .1rem 0 0; font-size: .98rem; }
.provider-cta { margin-top: auto; }

.panel { border-radius: 14px; padding: 1.25rem 1.5rem; margin: 0 0 1rem; max-width: 52rem; }
.panel .panel-title { font-size: 1.1rem; margin-bottom: .35rem; }
.panel p { margin: 0; }
.panel-quiet { background: #EAF1F1; border: 1px solid #C4D8D9; }

/* ---------- Flights ---------- */
.routes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
@media (min-width: 40rem) { .routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; background: #fff; }
.route-line { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--mangrove); margin: 0 0 .25rem; }
.route-arrow { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--river) 0 6px, transparent 6px 11px); position: relative; min-width: 2rem; }
.route-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--river); }
.route .muted { font-size: .92rem; margin: 0; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; max-width: var(--measure); }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(242,178,51,.25); }
.steps { max-width: var(--measure); padding-left: 1.4rem; }
.steps li { margin-bottom: .7rem; padding-left: .3rem; }
.steps li::marker { font-family: var(--display); font-weight: 800; color: var(--river); }
.official { max-width: var(--measure); padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.official li { margin-bottom: .45rem; }

.checklist > div { display: grid; gap: .2rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); max-width: 56rem; }
@media (min-width: 48rem) { .checklist > div { grid-template-columns: 9rem 1fr; } }
.checklist dt { font-weight: 700; color: var(--mangrove); }
.checklist dd { margin: 0; }

.table-scroll { overflow-x: auto; max-width: 100%; }
.compare { border-collapse: collapse; width: 100%; min-width: 34rem; background: #fff; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--mangrove); color: #fff; font-size: .92rem; }
.compare tbody th { color: var(--mangrove); width: 30%; }
.compare td a { display: inline-block; padding: .25rem 0; }

/* ---------- Accommodation areas ---------- */
.area-rows { display: grid; gap: 0; border-top: 2px solid var(--mangrove); }
.area-row { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .35rem 2rem; }
.area-row h3 { margin: 0; font-size: 1.4rem; }
.area-row p { margin: 0; max-width: 60ch; }
@media (min-width: 52rem) { .area-row { grid-template-columns: 15rem 1fr; } .area-row a { grid-column: 2; } }

/* ---------- Things to do ---------- */
.todo { display: grid; gap: 0; border-top: 2px solid var(--mangrove); margin-bottom: 2rem; }
@media (min-width: 48rem) { .todo { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.todo-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.todo-item h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.todo-item p { margin: 0; }

/* ---------- Guides ---------- */
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--mangrove); max-width: 56rem; }
.guide-link { display: grid; gap: .2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.guide-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--mangrove); }
.guide-link:hover .guide-title { color: var(--river); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.guide-sum { color: var(--ink-soft); }
.article { font-size: 1.1rem; }
.article-foot { margin-top: 2.5rem; font-size: .9rem; }

/* ---------- Footer ---------- */
.foot { background: var(--mangrove); color: #fff; padding: 3rem 0 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: .4rem; }
.muted-on-dark { color: #C9D6D1; max-width: 36ch; }
.foot-h { font-size: .95rem; color: var(--sun); margin: 0 0 .6rem; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .1rem; }
.foot a { color: #fff; text-decoration: none; display: inline-block; padding: .3rem 0; }
.foot a:hover { color: var(--sun); text-decoration: underline; }
.foot-small { font-size: .85rem; color: #C9D6D1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.25rem; margin-top: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* =========================================================
   Phase 1.1: destination experience
   ========================================================= */

/* ---------- Photos ---------- */
.photo { margin: 0; position: relative; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio, 3 / 2); object-fit: cover; border-radius: 14px; background: var(--sand); }
.photo-hero { margin: 0 0 1.5rem; }
.photo-hero img { aspect-ratio: 16 / 9; max-height: 34rem; border-radius: 18px; }
.credit { font-family: var(--display); font-size: .78rem; color: var(--ink-soft); margin-top: .45rem; }
.credit a { color: inherit; display: inline-block; padding: .3rem 0; }
/* ---------- Photo hero (home) ---------- */
.hero-photo { padding: 0; min-height: clamp(34rem, 88vh, 48rem); display: flex; align-items: flex-end; background: var(--mangrove); }
.hero-media, .hero-media .photo, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { aspect-ratio: auto; max-height: none; border-radius: 0; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,54,47,.15) 0%, rgba(19,54,47,.35) 40%, rgba(19,54,47,.92) 100%); }
.hero-photo .hero-inner { padding-bottom: clamp(7.5rem, 13vw, 10rem); padding-top: 6rem; }
.hero-photo .hero-title { max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-sub { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.5vw + .9rem, 1.75rem); color: var(--sun); margin: -.2em 0 .6em; }
.hero-photo .hero-lede { color: #fff; max-width: 44ch; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-photo .hero-river { z-index: 1; color: var(--mangrove); }
.hero-credit { margin: .5rem 0 0; }

/* ---------- Quick actions ---------- */
.quick { margin-top: -3.25rem; position: relative; z-index: 2; }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 56rem) { .quick ul { grid-template-columns: repeat(4, 1fr); gap: .9rem; } }
.quick-link { display: grid; gap: .1rem; height: 100%; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--sun); border-radius: 14px; text-decoration: none; color: var(--mangrove); box-shadow: 0 10px 30px -18px rgba(19,54,47,.5); }
.quick-link span { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.quick-link small { font-family: var(--display); color: var(--ink-soft); font-size: .82rem; }
.quick-link:hover { border-bottom-color: var(--river); color: var(--river); }

/* ---------- Destination cards ---------- */
.dgrid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .dgrid-3, .dgrid-areas { grid-template-columns: repeat(3, 1fr); } }
.dcard-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.dcard-link .photo img { display: block; }
.dcard-link .dcard-body { display: grid; gap: .3rem; padding: 1rem 1.15rem 1.25rem; }
.dcard-title { margin: 0; font-size: 1.3rem; color: var(--mangrove); }
.dcard-meta { font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--river); }
.dcard-text { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.dcard-link:hover .dcard-title { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.more { margin: 1.1rem 0 0; font-family: var(--display); font-weight: 700; }
.more a { color: var(--mangrove); text-decoration-color: var(--sun); text-decoration-thickness: 3px; display: inline-block; padding: .3rem 0; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .split-rev > :first-child { order: 2; } }

/* ---------- Link lists ---------- */
.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.linklist li { display: grid; gap: .1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.linklist a { font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--mangrove); display: inline-block; padding: .15rem 0; justify-self: start; }
.linklist span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Facts ---------- */
.facts { margin: 0 0 1.75rem; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; max-width: 52rem; }
.facts > div { padding: .8rem 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .1rem; }
.facts > div:first-child { border-top: 0; }
@media (min-width: 48rem) { .facts > div { grid-template-columns: 9rem 1fr; gap: 1rem; } }
.facts dt { font-family: var(--display); font-weight: 700; font-size: .88rem; color: var(--river); }
.facts dd { margin: 0; }
.facts dd a { display: inline-block; padding: .1rem 0; }

/* ---------- Plan strip ---------- */
.plan-strip { margin-top: 2.5rem; background: var(--mangrove); color: #fff; border-radius: 18px; padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem); }
.plan-strip h2 { color: #fff; font-size: 1.35rem; margin-bottom: .75rem; }
.plan-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem 1.5rem; }
@media (min-width: 48rem) { .plan-strip ul { grid-template-columns: repeat(2, 1fr); } }
.plan-strip a { color: #fff; font-family: var(--display); font-weight: 600; display: inline-block; padding: .35rem 0; text-decoration-color: var(--sun); }
.plan-strip a:hover { color: var(--sun); }

.route-line { margin: 0 0 .25rem; }

.page-credits { padding-bottom: 2rem; }
.page-credits a { display: inline-block; padding: .2rem 0; }

/* Compact affiliate disclosure (once per commercial page) */
.disclosure-note { font-family: var(--display); font-size: .84rem; line-height: 1.5; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 10px; padding: .6rem .85rem; margin: 0 0 1.1rem; max-width: 46rem; }
.disclosure-note a { display: inline-block; padding: .15rem 0; }
.disclosure-lead { font-size: 1.05rem; border-left: 4px solid var(--sun); padding-left: 1rem; }
.foot-small a { color: #fff; display: inline-block; padding: .2rem 0; }
.plan-note { margin-top: 1rem; font-size: .98rem; }
@media (min-width: 56rem) { .split-plan { grid-template-columns: .9fr 1.1fr; } }


/* ---------- Hotel discovery ---------- */
.hotel-card-media { position: relative; display: block; }
.hotel-card-media .photo { margin: 0; }
.hotel-card-media .photo img { width: 100%; }
.area-photo-note { position: absolute; left: .75rem; bottom: .65rem; z-index: 2; font-family: var(--display); font-size: .72rem; line-height: 1.2; color: #fff; background: rgba(19,54,47,.88); border-radius: 999px; padding: .4rem .65rem; max-width: calc(100% - 1.5rem); }
.area-photo-caption, .hotel-photo-caption { font-family: var(--display); font-size: .82rem; color: var(--ink-soft); margin: -.15rem 0 1.4rem; }
.hotel-booking-note { margin: 2rem 0; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 14px; background: #fff; max-width: 52rem; }
.hotel-booking-note h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.hotel-booking-note p { margin: 0; color: var(--ink-soft); }
.hotel-source { font-family: var(--display); font-size: .88rem; color: var(--ink-soft); max-width: 52rem; }
.hotel-source a { color: var(--mangrove); }

/* ---------- Beach comparison grid: uniform landscape cards + balanced 3/2 layout ---------- */
.dgrid-beaches {
  align-items: stretch;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.dgrid-beaches .dcard { min-width: 0; }
.dgrid-beaches .dcard-link {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.dgrid-beaches .dcard-link .photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden;
  background: var(--sand);
}
.dgrid-beaches .dcard-link .photo img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  border-radius: 0;
  padding: 0;
}
.dgrid-beaches .dcard-link .dcard-body {
  padding: 1rem 1.15rem 1.25rem;
  min-height: 10.5rem;
  align-content: start;
}
/* Two-column fallback for compact tablets: centre an odd final card. */
@media (min-width: 40rem) and (max-width: 43.999rem) {
  .dgrid-beaches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgrid-beaches > :nth-child(5):last-child {
    grid-column: 1 / -1;
    width: calc(50% - .625rem);
    justify-self: center;
  }
}
/* Laptop/desktop: 3 cards first row, 2 centred beneath. */
@media (min-width: 44rem) {
  .dgrid-beaches {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .dgrid-beaches > * { grid-column: span 2; }
  .dgrid-beaches > :nth-child(4) { grid-column: 2 / span 2; }
  .dgrid-beaches > :nth-child(5) { grid-column: 4 / span 2; }
}

/* Phase 1.5: KKday tour cards (render only when tracked deep links are active) */
.tour-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour-card { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--river); border-radius: 14px; padding: 1.1rem 1.2rem 1.25rem; max-width: 46rem; }
.tour-title { margin: 0; font-size: 1.2rem; }
.tour-meta { margin: 0; font-family: var(--display); font-size: .85rem; font-weight: 600; color: var(--river); }
.tour-covers { margin: 0 0 .5rem; color: var(--ink-soft); }
.tour-cta { margin-top: auto; }
.hotel-booking-note .cta-row { margin: 1rem 0; }

/* Phase 1.6: analytics consent banner + footer control */
.consent { position: fixed; z-index: 50; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); max-width: 34rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px -12px rgba(19,54,47,.45); padding: .9rem 1rem 1rem; font-family: var(--display); font-size: .92rem; line-height: 1.45; }
@media (min-width: 48rem) { .consent { left: 1.25rem; right: auto; bottom: 1.25rem; } }
.consent[hidden] { display: none; }
.consent-text { margin: 0 0 .75rem; }
.consent-text a { display: inline-block; padding: .15rem 0; }
.consent-status { margin: 0 0 .5rem; font-weight: 600; color: var(--river); }
.consent-status:empty { display: none; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent-btn { min-height: 2.75rem; padding: .6rem .9rem; border-radius: 10px; border: 2px solid var(--mangrove); background: #fff; color: var(--mangrove); font: 700 .95rem var(--display); cursor: pointer; }
.consent-btn:hover { background: var(--mangrove); color: #fff; }
.foot-link { background: none; border: 0; padding: .3rem 0; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.foot-link:hover { color: var(--sun); }
.inline-link { background: none; border: 0; padding: .1rem 0; font: inherit; color: var(--river); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.btn-consent { background: #fff; color: var(--mangrove); border: 2px solid var(--mangrove); cursor: pointer; font-family: var(--display); }
