/* makini-inner.css: Destinations, Experiences, Planning and About pages (generated by _build/render_inner_v3.py).
   Loaded after makini-v3-10, makini-archive, makini-safari, makini-safari-2 and makini-stays, whose components these pages reuse
   (hero, tabs, section heads, glance tiles, maps, gallery, FAQs, side form, lodge cards, reviews band, call to action).
   WP: enqueue with makini-safari / makini-stays on the destination, experience, guide and about templates. */
@layer components {
  /* ---------- hero (shorter on guides) + small helpers ---------- */
  .shero--short { min-height: clamp(380px, 52vh, 520px); }
  .sub-h { margin: 1.8rem 0 .9rem; font-size: 1.25rem; }
  .inner-v3 .sblock .ylede { max-width: 70ch; }
  .inner-v3 .yabout a { font-weight: 500; }

  /* ---------- "what you'll see" ---------- */
  .dsee { display: grid; gap: .6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
  @media (min-width: 640px) { .dsee { grid-template-columns: 1fr 1fr; } }
  .dsee li { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .dsee .ywhy__ic { flex: none; width: 36px; height: 36px; margin: 0; }
  .dsee p { font-size: .9375rem; line-height: 1.4; color: var(--ink); }

  /* ---------- month bar + calendar ---------- */
  .mbar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
  .mb { display: grid; gap: .35rem; text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
  .mb i { display: block; height: 42px; border-radius: var(--r-sm, 6px); }
  .mb--p i, .mleg .mb--p { background: var(--umber); }
  .mb--g i, .mleg .mb--g { background: var(--orange-soft); }
  .mb--w i, .mleg .mb--w { background: #cfe0bf; }
  .mbar--sm { gap: 2px; }
  .mbar--sm .mb { gap: .15rem; font-size: .625rem; }
  .mbar--sm .mb i { height: 8px; border-radius: 2px; }
  .mleg { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); }
  .mleg span { display: inline-flex; align-items: center; gap: .4rem; }
  .mleg i { width: 14px; height: 14px; border-radius: 3px; }
  .dcal { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .dcal table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .875rem; }
  .dcal th, .dcal td { padding: .55rem .4rem; border-bottom: 1px solid var(--line); text-align: center; }
  .dcal thead th { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
  .dcal tbody th { padding-left: 1rem; text-align: left; font-weight: 500; white-space: nowrap; }
  .dcal tbody th a { color: var(--ink); text-decoration: none; }
  .dcal tbody th a:hover { color: var(--umber); text-decoration: underline; }
  .dcal tbody tr:last-child > * { border-bottom: 0; }
  .mc::before { content: ""; display: block; height: 22px; border-radius: 4px; }
  .mc--p::before { background: var(--umber); }
  .mc--g::before { background: var(--orange-soft); }
  .mc--w::before { background: #cfe0bf; }
  .dcal__intro { margin: -.4rem 0 1rem; }

  /* ---------- destination + experience cards ---------- */
  .tgrid-d { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .tgrid-d--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
  .dtile > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: inherit; text-decoration: none; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
  .dtile > a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .dtile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card); }
  .dtile__media picture, .dtile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .dtile > a:hover .dtile__media img { transform: scale(1.04); }
  .dtile__reg { position: absolute; left: .8rem; top: .8rem; display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .6rem; border-radius: var(--pill); background: rgb(26 25 23 / .78); color: var(--white); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
  .dtile__reg svg { width: 13px; height: 13px; }
  .dtile__b { display: grid; flex: 1; align-content: start; gap: .6rem; padding: 1.05rem 1.15rem 1.1rem; }
  .dtile__b strong { font-family: var(--head); font-size: 1.3rem; font-weight: 400; line-height: 1.2; color: var(--ink); }
  .dtile__lede { font-size: .9rem; line-height: 1.5; color: var(--body); }
  .dtile__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .8125rem; }
  .dtile__foot em { font-style: normal; font-weight: 600; color: var(--umber); }
  .dtile__foot > span { display: inline-flex; align-items: center; gap: .3rem; font-weight: 500; color: var(--ink); }
  .dtile__foot svg { width: 15px; height: 15px; }
  .dregs .dreg + .dreg { margin-top: clamp(2.5rem, 5vw, 4rem); }
  .dest-hub .athemes a.atheme { text-decoration: none; }

  /* ---------- experiences ---------- */
  .esafs__note { margin: -.4rem 0 1.2rem; }
  .egroup + .egroup { margin-top: 2.2rem; }
  .egroup__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: 1rem; }
  .egroup__h h3 { font-size: 1.35rem; }
  .egroup__h h3 span { display: inline-grid; place-items: center; min-width: 28px; margin-left: .3rem; padding: .05rem .45rem; border-radius: var(--pill); background: var(--white); font-family: var(--sans); font-size: .75rem; font-weight: 600; color: var(--muted); vertical-align: middle; }
  .egroup__h p { font-size: .9375rem; color: var(--muted); }
  .ywhy--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important; }
  .ywhy--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important; }
  .ywhy--2 .sx-ticks { margin-top: .5rem; }
  .sinc__col--know { background: var(--cream); }
  .ecmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .ecmp table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
  .ecmp th, .ecmp td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
  .ecmp thead th { font-family: var(--head); font-size: 1.05rem; font-weight: 400; color: var(--ink); }
  .ecmp thead th em { display: block; margin-top: .2rem; font-family: var(--sans); font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
  .ecmp tbody th { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
  .ecmp .is-this { background: var(--peach); color: var(--ink); }
  .ecmp tbody tr:last-child > * { border-bottom: 0; }
  .dtile--exp.is-current > a { border-color: var(--umber); }

  /* ---------- guides ---------- */
  .gtable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .gtable table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
  .gtable th, .gtable td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
  .gtable thead th { background: var(--cream); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .gtable tbody th { font-weight: 500; color: var(--ink); }
  .gtable td { font-weight: 500; color: var(--umber); }
  .gtable tbody tr:last-child > * { border-bottom: 0; }
  .ysteps--col { grid-template-columns: 1fr !important; }
  .ysteps--col li { border: 1px solid var(--line); }
  .ysteps--col p { margin: 0; }
  .glinks { margin-top: .78rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .glinks ul { display: grid; margin: 0; padding: 0; list-style: none; }
  .glinks a { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink); text-decoration: none; }
  .glinks li:first-child a { border-top: 0; }
  .glinks a:hover { color: var(--umber); }
  .glinks svg { width: 16px; height: 16px; color: var(--orange-ink); }
  .gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .gcards a { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: inherit; text-decoration: none; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
  .gcards a:hover { border-color: var(--umber); box-shadow: var(--shadow-sm); }
  .gcards .ywhy__ic { flex: none; margin: 0; }
  .gcards a > span:nth-child(2) { display: grid; flex: 1; gap: .1rem; }
  .gcards b { font-family: var(--head); font-size: 1.08rem; font-weight: 400; color: var(--ink); }
  .gcards small { font-size: .8125rem; color: var(--muted); }
  .gcards a > svg { width: 18px; height: 18px; flex: none; color: var(--umber); }
  .spack--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important; }
  .legal { max-width: 75ch; }
  .legal h2, .legal h3 { margin: 1.6rem 0 .6rem; font-size: 1.25rem; }
  .legal p, .legal li { margin-bottom: .7rem; line-height: 1.65; }

  /* best time */
  .btabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
  .btab { min-height: 40px; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); font-size: .875rem; font-weight: 500; color: var(--ink); }
  .btab:hover { border-color: var(--umber); }
  .btab[aria-pressed="true"] { border-color: var(--night); background: var(--night); color: var(--white); }
  .mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .78rem; margin: 1rem 0 0; padding: 0; list-style: none; }
  .mcard { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border: 1px solid var(--line); border-top: 4px solid #cfe0bf; border-radius: var(--r); background: var(--white); transition: opacity .25s, box-shadow .25s, transform .25s; }
  .mcard--p { border-top-color: var(--umber); }
  .mcard--g { border-top-color: var(--orange-soft); }
  .mcard.is-pick { box-shadow: 0 0 0 2px var(--orange); transform: translateY(-2px); }
  .mcard.is-dim { opacity: .45; }
  .mcard__k { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .mcard__k b { font-size: .875rem; color: var(--ink); }
  .mcard h3 { font-size: 1.1rem; line-height: 1.3; }
  .mcard > p { font-size: .9rem; line-height: 1.5; }
  .mcard dl { display: grid; gap: .4rem; margin: 0; font-size: .8125rem; line-height: 1.45; }
  .mcard dt { font-weight: 600; color: var(--ink); }
  .mcard dd { margin: 0; color: var(--muted); }
  .mcard .link { margin-top: auto; font-size: .875rem; }

  /* contact + quote */
  .ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .ccards li { display: grid; gap: .3rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .ccards .ywhy__ic { margin-bottom: .3rem; }
  .ccards h3 { font-size: 1.1rem; }
  .ccards p { font-weight: 500; overflow-wrap: anywhere; }
  .ccards small { color: var(--muted); }
  .gplan .planc { max-width: none; margin: 0; box-shadow: none; border: 1px solid var(--line); }

  /* ---------- about + reviews ---------- */
  .asplit { display: grid; gap: 1.5rem; align-items: center; }
  @media (min-width: 900px) { .asplit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; } }
  .asplit__ph { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--card); }
  .asplit__ph picture, .asplit__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .astats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .78rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
  .astats li { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--night); color: rgb(255 255 255 / .8); }
  .astats b { font-family: var(--head); font-size: 1.9rem; font-weight: 400; color: var(--orange-soft); }
  .astats span { font-size: .8125rem; line-height: 1.4; }
  .ateam { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .ateam figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .ateam picture { display: block; aspect-ratio: 1; overflow: hidden; }
  .ateam img { width: 100%; height: 100%; object-fit: cover; }
  .ateam figcaption { display: grid; gap: .1rem; padding: .7rem .8rem; font-size: .8125rem; color: var(--muted); }
  .ateam b { font-size: .9375rem; font-weight: 500; color: var(--ink); }
  .ascore { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
  .ascore > b { font-family: var(--head); font-size: 3rem; font-weight: 400; line-height: 1; color: var(--umber); }
  .ascore > span { display: grid; font-size: .9375rem; color: var(--muted); }
  .ascore .stars { color: var(--orange); letter-spacing: .1em; }
  .aplat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .aplat a { display: grid; gap: .5rem; height: 100%; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: inherit; text-decoration: none; transition: border-color .25s, box-shadow .25s; }
  .aplat a:hover { border-color: var(--umber); box-shadow: var(--shadow-sm); }
  .aplat img { width: auto; max-width: 150px; height: 32px; object-fit: contain; object-position: left center; }
  .aplat b { font-weight: 600; color: var(--ink); }
  .aplat span { display: inline-flex; align-items: center; gap: .3rem; font-size: .875rem; color: var(--umber); }
  .aplat svg { width: 14px; height: 14px; }
  .arevs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .rvq--light { height: 100%; margin: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--body); }
  .rvq--light .stars { color: var(--orange); letter-spacing: .1em; }
  .rvq--light blockquote { margin: .6rem 0 1rem; font-family: var(--head); font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
  .rvq--light figcaption { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; }
  .rvq--light figcaption > span:last-child { display: grid; }
  .rvq--light .rvq__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--peach); font-weight: 600; color: var(--umber); }
  .rvq--light small { color: var(--muted); }
  .awrite__c { display: grid; gap: .6rem; justify-items: start; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .awrite__c h3 { font-size: 1.15rem; }
}

/* phones: long section titles wrap, and wide tables scroll inside their box instead of widening the page */
@layer components {
  .inner-v3 .smain, .inner-v3 .sblock { min-width: 0; }
  .inner-v3 .shead__row { flex-wrap: wrap; }
  .inner-v3 .shead__row > h2 { flex: 0 1 auto; min-width: 0; }
}

/* destinations: "More about …" panel with the old site's long description (render_inner_v3.py dest_more) */
@layer components {
  .dmore { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .dmore summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
  .dmore summary::-webkit-details-marker { display: none; }
  .dmore summary svg { width: 18px; height: 18px; color: var(--umber); transition: transform .25s var(--ease); }
  .dmore[open] summary svg { transform: rotate(180deg); }
  .dmore__in { display: grid; gap: .6rem; padding: 0 1.2rem 1.2rem; max-width: 72ch; }
  .dmore__in h4 { margin: .6rem 0 0; font-family: var(--head); font-size: 1.1rem; font-weight: 400; color: var(--ink); }
  .dmore__in ul { display: grid; gap: .4rem; margin: 0; padding-left: 1.1rem; }
  .dmore__in li::marker { color: var(--orange); }
  .dclimbs li { grid-template-columns: auto 1fr auto; }
  .dclimbs b svg { width: 14px; height: 14px; }
}
