/* Approved green stamp silhouette, across the site. */
.hero:before{content:"";position:absolute;bottom:0;left:0;right:0;z-index:5;pointer-events:none}
.hero:before{height:12px;background:var(--paper);-webkit-mask-image:url('assets/green-stamp-bottom-v9.svg');mask-image:url('assets/green-stamp-bottom-v9.svg');-webkit-mask-size:3840px 12px;mask-size:3840px 12px;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-position:11px bottom;mask-position:11px bottom;transform:none}
.trip-note:after{width:12px;background:var(--paper);-webkit-mask-image:url('assets/green-stamp-right-v9.svg');mask-image:url('assets/green-stamp-right-v9.svg');-webkit-mask-size:12px 3840px;mask-size:12px 3840px;-webkit-mask-repeat:repeat-y;mask-repeat:repeat-y;-webkit-mask-position:right -157px;mask-position:right -157px;transform:none}
.site-footer:before{height:12px;background:var(--paper);-webkit-mask-image:url('assets/green-stamp-top-v9.svg');mask-image:url('assets/green-stamp-top-v9.svg');-webkit-mask-size:3840px 12px;mask-size:3840px 12px;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-position:283px bottom;mask-position:283px bottom;transform:none}

/* Each supplied sketch is used once, only on the explicit Livadia allow-list. */
.local-sketch{width:clamp(105px,13vw,165px);margin:0 0 18px 28px;float:right;pointer-events:none}
.local-sketch img{display:block;width:100%;height:auto;max-height:180px;object-fit:contain;mix-blend-mode:multiply;opacity:.7}
.local-sketch.sketch-home{width:125px;margin:12px 0 12px 22px}
.local-sketch.sketch-chapter{width:135px;margin:3px 0 15px 24px}
.editorial-chapter:has(.local-sketch),.intro:has(.local-sketch){display:flow-root}
@media(max-width:600px){.local-sketch,.local-sketch.sketch-chapter{width:100px;margin:0 0 12px 16px}.local-sketch.sketch-home{width:90px}.local-sketch img{max-height:125px}}
/* Photo-overlay captions must override the generic muted photograph caption. */
.inner-main .split .photograph figcaption{color:#fff;background:#183c30;padding:10px 15px;font-size:12px;line-height:1.5}
.inner-main .split .photograph figcaption a{color:#fff;text-decoration:underline}
/* Four related cards form balanced rows; five retain the approved 3 + 2. */
@media(min-width:761px){.inner-main .cards:has(>.card:nth-child(4):last-child)>.card{grid-column:span 3}}
@media(max-width:760px){.inner-main .cards{display:flex;flex-direction:column;gap:20px}.inner-main .cards>.card{width:100%;min-width:0}}

.site-footer .footer-search{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:fit-content;margin-left:auto;padding:4px 0;background:none;border:0;border-bottom:1px solid #d2c994;color:#fff;font-size:12px;line-height:1.6;cursor:pointer}.site-footer .footer-search:hover{color:#d2c994}

/* Review 21: green header, white page canvas. */
:root{--paper:#fff}
html,body{background:#fff}
.site-header{background:var(--green);border-bottom-color:rgba(255,255,255,.16);color:#fff}
.site-header .brand span,.site-header .desktop-nav>a,.site-header .nav-item>button,.site-header .icon-button{color:#fff}
.site-header .desktop-nav>a:hover,.site-header .nav-item>button:hover{color:#e4d5ac}
.site-header .header-actions .button{background:#fff;border-color:#fff;color:var(--green)!important}
.site-header .header-actions .button:hover{background:#e4d5ac;border-color:#e4d5ac}
.site-header .header-crumbs,.site-header .header-crumbs a{color:#e0e9e4}
.site-header .dropdown{background:#fff;color:var(--ink)}
.site-header .dropdown a{color:var(--ink)}
.site-header .dropdown a:hover{background:#edf2ee;color:var(--green)}
.site-header .mobile-nav{background:var(--green);color:#fff}
.site-header .mobile-nav.open,.site-header .mobile-nav a,.site-header .mobile-nav summary{border-color:rgba(255,255,255,.16)}
.site-header .mobile-nav a,.site-header .mobile-nav summary{color:#fff}
.site-header .mobile-nav a:hover,.site-header .mobile-nav summary:hover{color:#e4d5ac}
.site-header :is(a,button,summary):focus-visible{outline-color:#e4d5ac}
.site-header .dropdown a:focus-visible{outline-color:var(--green)}

/* Equal cells; separators belong to the column boundaries, never to text width. */
.quicklinks{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 0;align-items:stretch;padding:36px 0}
.quicklinks>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-width:0;min-height:96px;padding:8px 18px;border:0;font-size:19px;line-height:1.2;text-align:center}
.quicklinks>a:after{content:'';position:absolute;right:0;top:8px;bottom:8px;width:1px;background:var(--line)}
.quicklinks>a:nth-child(6n):after{display:none}
.quicklinks small{margin-top:14px;font-size:10px;line-height:1.5}
@media(min-width:761px) and (max-width:1100px){
 .quicklinks{grid-template-columns:repeat(3,minmax(0,1fr))}
 .quicklinks>a:nth-child(3n):after{display:none}
}
@media(max-width:760px){
 .quicklinks{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0;padding:28px 0}
 .quicklinks>a{min-height:104px;padding:8px 14px;font-size:20px}
 .quicklinks>a:nth-child(2n):after{display:none}
 .quicklinks small{font-size:11px}
}

/* Review 26: cut the section itself; the bar and teeth share one paint layer.
   The opaque mask overlaps the contour by 4px, entirely above its cuts.
   Clip the final 2 transparent pixels to discard the compositor boundary below the teeth. */
.hero:before,.home-main .stamp-hero:before{content:none;display:none}
.hero{
 clip-path:inset(0 0 2px 0);overflow:hidden;margin-bottom:12px;
 -webkit-mask-image:linear-gradient(#000,#000),url('assets/stamp-contour-v26.svg');
 mask-image:linear-gradient(#000,#000),url('assets/stamp-contour-v26.svg');
 -webkit-mask-size:100% calc(100% - 12px),3840px 16px;
 mask-size:100% calc(100% - 12px),3840px 16px;
 -webkit-mask-position:left top,11px bottom;
 mask-position:left top,11px bottom;
 -webkit-mask-repeat:no-repeat,repeat-x;
 mask-repeat:no-repeat,repeat-x;
 -webkit-mask-composite:source-over;mask-composite:add;
}
.home-main .hero-links{bottom:0;background:var(--green);padding-bottom:29px}
@media(max-width:760px){.home-main .hero-links{padding-bottom:29px}}
.site-footer{clip-path:none}
.site-footer:before,.home-main ~ .site-footer:before{
 height:20px;top:-6px;
 background:transparent url('assets/stamp-solid-top-v24.svg') repeat-x 283px top;
 background-size:3840px 20px;
 -webkit-mask:none;mask:none;transform:none;
}
