/* Makini — single safari page. Loads after makini-v3-10.css and makini-archive.css (crumbs, card styles).
   WP: enqueue on single-safari.php only. */
@layer components {
  /* ---------- Hero ---------- */
  .shero { position: relative; color: var(--white); background: var(--night); overflow: hidden; }
  .shero__media { position: absolute; inset: 0; }
  .shero__media picture, .shero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .shero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 25 23 / .82) 0%, rgb(26 25 23 / .5) 55%, rgb(26 25 23 / .2) 100%), linear-gradient(0deg, rgb(26 25 23 / .7), transparent 50%); }
  .shero__in { position: relative; display: grid; gap: 1rem; min-height: min(86vh, 760px); align-content: end; padding-top: 170px; padding-bottom: 3rem; }
  .shero__badge { justify-self: start; margin: .4rem 0 0; padding: .45em .9em; border-radius: var(--pill); background: #9b4d08; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fcfaf6; }
  .shero h1 { max-width: 20ch; margin: 0; color: var(--white); font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); line-height: 1.08; }
  .shero__lede { max-width: 62ch; margin: 0; font-size: 1.0625rem; color: rgb(255 255 255 / .88); }
  .shero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .2rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgb(255 255 255 / .9); }
  .shero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
  .shero__facts .icon { width: 16px; height: 16px; color: var(--orange-soft); }
  .shero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem 2rem; margin-top: 1rem; padding-top: 1.3rem; border-top: 1px solid rgb(255 255 255 / .2); }
  .shero__price { display: grid; margin: 0; line-height: 1.1; }
  .shero__price small { font-size: .75rem; color: rgb(255 255 255 / .75); }
  .shero__price strong { font-family: var(--head); font-size: 2.6rem; font-weight: 400; color: var(--white); }
  .shero__acts { display: flex; flex-wrap: wrap; gap: .6rem; }

  /* ---------- Sticky section tabs ---------- */
  .stabs { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
  .stabs__in { display: flex; align-items: center; gap: 1rem; }
  .stabs ul { display: flex; flex: 1; gap: 1.6rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
  .stabs ul::-webkit-scrollbar { display: none; }
  .stabs ul a { display: block; padding: 1.05rem 0 .95rem; border-bottom: 2px solid transparent; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; }
  .stabs ul a:hover, .stabs ul a.is-on { color: var(--ink); border-bottom-color: var(--orange); }
  .stabs__cta { display: none; align-items: center; gap: .8rem; margin: 0; font-size: .875rem; color: var(--muted); white-space: nowrap; }
  .stabs__cta b { font-family: var(--head); font-size: 1.15rem; font-weight: 500; color: var(--umber); }
  .stabs__cta { display: flex; }
  @media (max-width: 899px) { .stabs__cta span { display: none; } .stabs ul { gap: 1.1rem; } }
  .stabs__cta .btn { min-height: 40px; padding-block: .55em; align-self: center; }
  /* the floating site header sits over the tab bar while it is stuck: push the tabs below it */
  .header.is-stuck ~ main .stabs { top: calc(var(--hh) + 18px); }

  /* ---------- Layout ---------- */
  .sbody__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  @media (min-width: 1100px) { .sbody__in { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; } }
  .smain { display: grid; gap: 3.25rem; min-width: 0; }
  .sblock { scroll-margin-top: 170px; }
  .sblock h2 { margin: 0 0 1.1rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.3rem); }
  .sblock .eyebrow + h2 { margin-top: .5rem; }
  .sblock__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1.1rem; }
  .sblock__head h2 { margin: 0; }
  .sblock__lede { max-width: 64ch; margin: 0 0 1.1rem; color: var(--body); }
  .snote { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }
  .snote a { color: var(--orange-ink); }

  /* overview */
  .sglance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .78rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
  .sglance li { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-size: .9375rem; font-weight: 500; color: var(--ink); }
  .sglance small { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .sg__ic { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--peach); }
  .sg__ic .icon { width: 18px; height: 18px; color: var(--umber); }
  .sroute { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .875rem; font-weight: 500; color: var(--ink); }
  .sroute li { padding: .35rem .75rem; border-radius: var(--pill); background: var(--sand); }
  .sroute li + li::before { content: "→"; margin-right: .55rem; color: var(--orange-ink); }
  .sprose p { max-width: 70ch; margin: 0 0 1rem; color: var(--body); line-height: 1.75; }
  .sfit { display: grid; gap: .78rem; margin-top: 1.4rem; }
  @media (min-width: 700px) { .sfit { grid-template-columns: 1fr 1fr; } }
  .sfit > div { padding: 1.2rem 1.3rem; border-radius: var(--r); background: var(--sand); }
  .sfit h3 { margin: 0 0 .6rem; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
  .sx-ticks { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--body); }
  .sx-ticks li { display: flex; gap: .6rem; align-items: flex-start; }
  .sx-ticks .icon { flex: none; width: 17px; height: 17px; margin-top: .2rem; color: #2f7d4f; }
  .sx-ticks--no .icon { color: #b0543c; }

  /* places */
  .sdests { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .sdest { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease); }
  .sdest:hover { box-shadow: var(--shadow-sm); }
  .sdest picture, .sdest img { display: block; width: 100%; height: 130px; object-fit: cover; }
  .sdest__body { display: grid; gap: .2rem; padding: .8rem .95rem 1rem; }
  .sdest strong { font-family: var(--head); font-size: 1.15rem; font-weight: 400; }
  .sdest small { font-size: .82rem; line-height: 1.5; color: var(--muted); }

  /* day by day */
  .sdays__all { background: none; border: 0; cursor: pointer; }
  .sdays { position: relative; display: grid; gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .sdays::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; border-left: 1px dashed #d6c8b5; }
  .sday details { position: relative; margin-left: 68px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .sday details[open] { border-color: var(--orange-soft); box-shadow: var(--shadow-sm); }
  .sday summary { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: .9rem 1.2rem; cursor: pointer; list-style: none; }
  .sday summary::-webkit-details-marker { display: none; }
  .sday__n { position: absolute; left: -68px; top: 8px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--night); font-family: var(--head); font-size: 1.3rem; line-height: 1; color: var(--white); }
  .sday__n small { display: block; font-family: var(--sans); font-size: .55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); }
  .sday details[open] .sday__n { background: #9b4d08; }
  .sday details[open] .sday__n small { color: var(--peach); }
  .sday__t { flex: 1; font-family: var(--head); font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
  .sday__pm { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }
  .sday__pm::before, .sday__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--orange-ink); transform: translate(-50%, -50%); }
  .sday__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
  .sday details[open] .sday__pm::after { transform: translate(-50%, -50%); }
  .sday__body { padding: 0 1.2rem 1.2rem; }
  .sday__body p, .sday__body li { margin: 0 0 .8rem; color: var(--body); line-height: 1.7; }
  .sday__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 0 !important; }
  .sday__meta span { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: var(--pill); background: var(--sand); font-size: .82rem; color: var(--ink); }
  .sday__meta .icon { width: 14px; height: 14px; color: var(--orange-ink); }
  @media (max-width: 599px) { .sdays::before { display: none; } .sday details { margin-left: 0; } .sday__n { position: static; width: 44px; height: 44px; font-size: 1.1rem; } }

  /* stay */
  .sstays { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .78rem; margin: 0; padding: 0; list-style: none; }
  .sstay { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .sstay__ic { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); }
  .sstay__ic .icon { width: 19px; height: 19px; color: var(--umber); }
  .sstay__n { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
  .sstay h3 { margin: .1rem 0 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.35; }

  /* prices */
  .sptable { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .sptable table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
  .sptable th, .sptable td { padding: .95rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
  .sptable thead th { background: var(--night); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
  .sptable tbody th { font-weight: 600; color: var(--ink); }
  .sptable td { font-family: var(--head); font-size: 1.1rem; color: var(--umber); }
  .sptable tbody tr:last-child > * { border-bottom: 0; }
  .spnotes { display: grid; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--body); }
  .spnotes li { display: flex; gap: .55rem; align-items: flex-start; }
  .spnotes .icon { flex: none; width: 16px; height: 16px; margin-top: .2rem; color: var(--orange-ink); }

  /* included */
  .sinc { display: grid; gap: .78rem; }
  @media (min-width: 700px) { .sinc { grid-template-columns: 1fr 1fr; } }
  .sinc__col { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .sinc__col--no { background: var(--cream); }
  .sinc h3 { margin: 0 0 .8rem; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #2f7d4f; }
  .sinc__col--no h3 { color: #b0543c; }

  /* packing */
  .spack { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .78rem; }
  .spack__g { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--sand); }
  .spack__g h3 { margin: 0 0 .6rem; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
  .spack .sx-ticks .icon { color: var(--orange-ink); }

  /* other budgets */
  .sfam { display: grid; gap: .78rem; margin: 0; padding: 0; list-style: none; }
  @media (min-width: 700px) { .sfam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .sfam a { display: grid; gap: .2rem; height: 100%; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; }
  .sfam a:hover { border-color: var(--orange-soft); }
  .sfam__tier { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
  .sfam strong { font-size: 1rem; font-weight: 600; }
  .sfam small { font-size: .85rem; color: var(--muted); }

  /* reviews */
  .srvs { display: grid; gap: .78rem; margin: 0; padding: 0; list-style: none; }
  @media (min-width: 800px) { .srvs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .srv { display: grid; gap: .6rem; height: 100%; margin: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
  .srv .stars { color: var(--orange); letter-spacing: .1em; }
  .srv blockquote { margin: 0; font-size: .9375rem; font-style: italic; line-height: 1.6; color: var(--body); }
  .srv blockquote p { margin: 0; }
  .srv figcaption { font-size: .85rem; color: var(--muted); }
  .srv figcaption b { color: var(--ink); }

  /* booking card */
  .sside { display: grid; gap: .78rem; }
  @media (min-width: 1100px) { .sside { position: sticky; top: 170px; } }
  .sbook { display: grid; gap: .7rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
  .sbook__k { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
  .sbook__p { display: flex; align-items: baseline; gap: .4rem; margin: 0; }
  .sbook__p strong { font-family: var(--head); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--umber); }
  .sbook__p span { font-size: .9rem; color: var(--muted); }
  .sbook__l { margin-top: .3rem; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
  .sbook select { width: 100%; min-height: 46px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); font: inherit; color: var(--ink); }
  .sbook__tiers { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .sbook__tiers li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--body); }
  .sbook__tiers b { font-family: var(--head); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
  .sbook .btn { width: 100%; }
  .sbook__go { margin-top: .3rem; }
  .sbook__why { display: grid; gap: .45rem; margin: .4rem 0 0; padding: .9rem 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .85rem; color: var(--body); }
  .sbook__why li { display: flex; gap: .5rem; align-items: center; }
  .sbook__why .icon { flex: none; width: 15px; height: 15px; color: #2f7d4f; }
  .sside__help { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--night); color: #e3d4c3; font-size: .9rem; }
  .sside__av { display: block; flex: none; width: 50px; height: 50px; overflow: hidden; border-radius: 50%; }
  .sside__av img { width: 100%; height: 100%; object-fit: cover; }
  .sside__help b { display: block; color: var(--white); }
  .sside__help a { color: var(--orange-soft); }

  /* closing band */
  .scta { position: relative; overflow: hidden; color: var(--white); background: var(--night); isolation: isolate; }
  .scta > picture { position: absolute; inset: 0; z-index: -2; }
  .scta > picture img { width: 100%; height: 100%; object-fit: cover; }
  .scta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(26 25 23 / .72); }
  .scta__in { display: grid; justify-items: center; gap: 1rem; padding-block: 5rem; text-align: center; }
  .scta h2 { margin: 0; color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
  .scta h2 em { font-style: italic; color: var(--orange); }
  .scta p { max-width: 56ch; margin: 0; color: rgb(255 255 255 / .85); }
  .scta__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .5rem; }
}
  .sside__av--ic { display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--orange-soft); }
  .sside__av--ic .icon { width: 22px; height: 22px; }
