/* El Nido Visitors: small override on top of the shared site.css (the family stylesheet, rules unchanged).
   Unlayered on purpose: it wins over site.css's @layer base/overrides without !important.
   Palette shift: forest green to deep lagoon teal; the sunset coral accent stays. Contrast measured in BUILD_NOTES.md. */
:root{
  --palm:#103f4c;--palm-2:#17566a;--deep:#0a2c37;
  --lagoon:#17737f;--seaglass:#17737f;--glass:#17737f;--seaglass-2:#7fc6cf;
  --shallow:#e3f1f3;--wash:#d8e8ec;--wash-2:#cde0e5;
  --ink:#103f4c;--ink-2:#43626b;--leaf:#2b6b6e
}
.nav.solid{background:rgba(6,30,38,.88)}
/* site.css hard-codes the old lagoon green in a few rules */
.btn.primary{background:#17737f}.tile .k{color:#17737f}.totop:hover{background:#17737f}
/* Wordmark: live text in Young Serif */
.nav .brand .bwt{display:block;font-family:var(--font-d);font-weight:400;font-size:clamp(16px,4.6vw,23px);line-height:1.05;letter-spacing:-.005em;color:#f5f2e9;white-space:nowrap}
.nav .brand small{color:#cdeaee}
/* Photo cards (Things to do shore, Tours photos): every card in a grid has a photo */
.pgrid{display:grid;gap:14px;grid-template-columns:minmax(0,1fr);margin:12px 0 8px}
@media (min-width:700px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pcard{background:var(--surface);border:1px solid rgba(16,63,76,.14);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.pcard figure{margin:0}
.pcard img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.pcard figcaption{font-size:.875rem;color:var(--ink-2);padding:6px 14px 0}
.pcard figcaption a{display:inline;padding-block:6px;color:var(--ink-2)}
.pcard .pc-b{padding:10px 14px 14px;display:flex;flex-direction:column;gap:6px}
.pcard h3{margin:0;font-size:1.125rem}
.pcard p{margin:0;font-size:.9375rem;color:var(--ink-2)}
/* Data tables (fees, beaches, tours, areas) use site.css .ftable; a little room after each */
.ftable{margin:8px 0 10px}
.ftable td{font-variant-numeric:tabular-nums}
.ftable tbody th{font-weight:400}
.ftable td a{white-space:nowrap}
/* Map links: 44 px tap height without changing the row height */
.ftable td a[href*="openstreetmap.org"]{display:inline-block;padding:11px 0;margin:-11px 0}
/* Phone cell labels: site.css also has a .tl list rule (20 px indent); cancel it on the label span */
.ftable span.tl{margin:0;padding:0;font-weight:700}
.ftable span.tl::after{content:": "}
.tstops{margin:0;padding-left:1.1em}.tstops li{margin:0}
@media (max-width:640px){.ftable .tstops{display:inline;padding:0;list-style:none}.ftable .tstops li{display:inline}.ftable .tstops li+li::before{content:", "}}
/* Credits: one labelled record per photo (no table reshaped by CSS) */
.crec{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid rgba(16,63,76,.14)}
.crec img{display:block;width:120px;height:auto;border-radius:8px}
.crec dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:2px 10px;margin:0;font-size:.9375rem}
.crec dt{font-weight:700;color:var(--ink-2)}.crec dd{margin:0;overflow-wrap:anywhere}
@media (max-width:420px){.crec{grid-template-columns:88px minmax(0,1fr)}.crec img{width:88px}.crec dl{grid-template-columns:minmax(0,1fr)}.crec dd{margin-bottom:4px}}
/* License names never split (family rule BV-369) */
.pcard figcaption a:last-child,.hero-credit a:last-child,.crec a[href*="creativecommons"]{white-space:nowrap}
/* Three fee boxes: no empty fourth column on desktop, no lone box on phones */
.feesum-g{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:700px){.feesum-g{grid-template-columns:repeat(2,minmax(0,1fr))}.feesum-g .fs:nth-child(3):last-child{grid-column:1/-1}}
/* Home: four tiles as 2 x 2 at every width (no lone tile) */
.hero.top .tiles{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}
.hero.top .tiles a.lead{grid-column:auto}
/* Home: room under the tiles for the photo credit on phones; on desktop a shorter hero so the stats bar is in the first screen */
@media (max-width:820px){.hero.top .wrap{padding-bottom:112px}.hero.band .wrap{padding-bottom:104px}}
@media (min-width:1024px){.hero.top{min-height:560px;min-height:min(600px,74svh)}}
/* Menu button when the current page is only in the menu (common.js adds .here) */
.nav .menu-btn.here{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.7)}
/* Getting here: the one visible line under the flight chips */
.rt-line{margin:8px 0 0;font-size:.9375rem;color:var(--ink-2)}
/* Hero wave as a file: the CSP has no data: images (site.css keeps its data: copy for the family) */
:root{--wave:url("/img/wave.svg")}
/* Phones and tablets (primary links hidden at 1250 px and below): the Menu button marks every page but Home */
@media (max-width:1250px){.nav .menu-btn.herePh{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.7)}}
/* Deep links to a tour row: land below the header, row tinted (static, no motion) */
.ftable tr[id]{scroll-margin-top:calc(84px + var(--subh,0px))}
.ftable tr:target,.ftable tr:target td,.ftable tr:target th{background:#fff1d2}
/* Long not-confirmed lines stay readable on desktop */
.notyet li,.notyet p{max-width:78ch}
/* The rules under the fee table read as one block */
#receipt{margin:12px 0 6px;padding:10px 14px;border-left:3px solid var(--lagoon);background:rgba(23,115,127,.06);border-radius:0 12px 12px 0}
/* Phone table rows: a little more air between records */
@media (max-width:640px){.ftable tr{padding:12px 14px}.ftable th+td,.ftable td+td{margin-top:3px}.ftable tbody th{display:block;border:0;padding:2px 0;font-weight:700}}
/* Young Serif has one weight: no faux bold on the footer callout */
footer .fbcall .fh{font-weight:400}
/* Home tide and weather tiles: show what each link opens (site.css hides the line) */
#today .tile.link{border-radius:16px}
#today .tile.link .s{display:block;flex-basis:100%;font-size:.8125rem;font-weight:400;line-height:1.35;color:var(--ink-2)}
/* Phones: a map link sits under other links in the same card, so its tap area grows downward only */
@media (max-width:640px){.ftable td a[href*="openstreetmap.org"]{margin:0;padding:12px 0}}
/* Round 6: a heading's label sits under it, outside the h2, so screen readers read the heading alone */
.plh:has(+.plhc){margin-bottom:6px}
.plhc{display:table;margin:0 0 12px;font:700 .8125rem/1.5 var(--font);color:var(--ink-2);background:var(--sand);padding:2px 9px;border-radius:999px}
/* Round 7: the receipt rules as a short list */
#receipt ul{margin:0;padding-left:1.1em;max-width:78ch}#receipt li{margin:4px 0}
/* Tours banner: jump link to the comparison */
.hero .jump{margin:14px 0 0}.hero .jump .btn{display:inline-flex;align-items:center;min-height:44px;background:#fff;color:var(--ink)}
/* Tour tiles grow with their text instead of cutting the title off (narrow phones, and tablets in 4 columns) */
.tt{aspect-ratio:auto;min-height:calc((100vw - 52px) * .375)}.tt-t{padding-top:14px}
@media (min-width:760px){.tt{min-height:min(calc((100vw - 88px) * .1875),209px)}}
/* In-page targets land below the header */
#compare,.snotes [id]{scroll-margin-top:calc(84px + var(--subh,0px))}
/* Home: the four arrival points as 2 x 2 on desktop */
@media (min-width:900px){body[data-page="/"] .plist{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Stay: accreditation numbers stay on one line */
.accno{white-space:nowrap;font-variant-numeric:tabular-nums}
.ftable th a{display:inline-block;padding:10px 0;margin:-10px 0}
@media (max-width:640px){.ftable th a{margin:0;padding:8px 0}}
/* Stay: places whose DOT date has passed, grouped by barangay */
.pgroup ul{list-style:none;margin:0;padding:0 14px 10px;display:grid;gap:0 20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.pgroup li{display:grid;align-content:start;padding:9px 0;border-top:1px solid rgba(16,63,76,.14);font-size:.9375rem;overflow-wrap:anywhere}
.pgroup li span{font-size:.8125rem;color:var(--ink-2)}.pgroup li b a{display:inline-block;padding:3px 0}
/* Home arrival list: description in regular weight, the heading line stays bold */
main .plist .pitem span{font-weight:400}
/* 404 */
.notfound{padding-top:calc(110px + var(--subh,0px));min-height:50vh}
.notfound li a{display:inline-block;padding:10px 0}
/* Home: air between the headline and the lede */
.hero.top .hcard .lede{margin-top:12px}
/* Banner jump links side by side */
.hero .jump{display:flex;flex-wrap:wrap;gap:10px}
/* Inner banners: lighter overlay than the family's so the photo reads (contrast measured by test_round9.py) */
@media (max-width:700px){.hero.band::after{background:var(--wave) bottom/100% 30px no-repeat,linear-gradient(180deg,rgba(6,26,37,.64) 0%,rgba(6,26,37,.54) 60%,rgba(6,26,37,.34) 100%)}}
@media (min-width:701px) and (max-width:1100px){.hero.band::after{background:var(--wave) bottom/100% 36px no-repeat,linear-gradient(90deg,rgba(6,26,37,.76) 0%,rgba(6,26,37,.64) 55%,rgba(6,26,37,.36) 80%,rgba(6,26,37,.16) 100%)}}
@media (min-width:1101px){.hero.band::after{background:var(--wave) bottom/100% 36px no-repeat,linear-gradient(90deg,rgba(6,26,37,.76) 0%,rgba(6,26,37,.62) 42%,rgba(6,26,37,.2) 64%,rgba(6,26,37,0) 80%)}}
/* Desktop: one narrower column for header, banner, body and footer (GOV.UK's 1020 px plus 20 px padding each side),
   and running text held near 70 characters (Baymard 50-75, WCAG 1.4.8: 80 or fewer) */
:root{--maxw:1060px}
.nav ul.subl{max-width:var(--maxw)}
/* 34em is about 70 to 75 characters in Nunito Sans (ch is wider than an average letter) */
main p:not(.hero-credit),main .sec-head .lede,main .hero.band .lede,main .notyet li,main #receipt li,main .rt-txt li{max-width:34em}
.listdate{display:flex;flex-wrap:wrap;align-items:center;gap:2px 16px;margin:6px 0 4px;font-size:.9375rem;font-weight:700}
.listdate a{display:inline-block;padding:10px 0}
/* Notice boxes end with their text instead of stretching past it */
main .pagebody .notyet{max-width:38rem}
/* Round 8 review: the three routes are choices, not steps (no connector line) */
.rt-stop:not(:last-child)::before{display:none}
/* iOS only fires outside taps on elements that look clickable */
body.menuOpen{cursor:pointer}
/* Very narrow phones: one tile a row so titles do not break into three lines */
@media (max-width:359px){.hero.top .tiles{grid-template-columns:minmax(0,1fr)}}
/* History Islands tile: show the shore, not only the forest */
.tt[href$="#history"] img{object-position:50% 85%}
#abcd{scroll-margin-top:calc(84px + var(--subh,0px))}
.hero-stats b a{color:inherit;display:inline-block;min-height:24px}
.notyet p+p{margin-top:8px}
/* Home arrival cards are not links: no lift on hover */
main .plist .pitem:hover{transform:none;box-shadow:var(--sh-1)}
/* Home: the first tile keeps its line on small phones */
@media (max-width:480px){.hero.top .tiles a.lead small{display:block}}
/* Getting here: the routes are an unordered list */
.pagebody .wrap>ul.rt>li{max-width:none}
/* Tours: one-line warning above the table */
.warnline{margin:0 0 12px;padding:10px 14px;border-left:4px solid #c8862a;background:rgba(255,231,199,.55);border-radius:0 10px 10px 0;font-size:.9375rem;max-width:38rem}
#extras{scroll-margin-top:calc(84px + var(--subh,0px))}
/* Stay: every place by name */
#az{scroll-margin-top:calc(210px + var(--subh,0px))} /* keeps the section heading in view */
.az-jump{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0 14px 8px}
.az-jump a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid rgba(16,63,76,.25);border-radius:8px;font-weight:700;text-decoration:none}
.azindex h3{margin:8px 0 0;padding:0 14px;font-size:1rem}
.azindex ul{list-style:none;margin:0;padding:0 14px 6px;display:grid;gap:0 20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.azindex li{display:grid;align-content:start;padding:7px 0;border-top:1px solid rgba(16,63,76,.14);font-size:.9375rem;overflow-wrap:anywhere}
/* Visually hidden captions and headings */
.vh{position:absolute;left:-9999px}
/* Desktop menu panel lines up with the Menu button at this site's width */
@media (min-width:1251px){.nav ul.all{right:max(16px,calc((100vw - var(--maxw))/2 + 20px))}}
.abcd{scroll-margin-top:calc(84px + var(--subh,0px))}
#byname{scroll-margin-top:calc(84px + var(--subh,0px))}
