/* Fits the guide page under the main site's fixed header (css/main.css).
   Loaded after styles.css and seo.css. */
.guide{--navh:6.6rem}
@media (max-width:768px){.guide{--navh:6rem}}

/* main.css gives every <section> padding: 6rem 4rem. Reset it for the guide's own sections
   (same specificity, later in the cascade; the guide's class rules still win). */
section:where(.guide *){padding:0}

/* Clear the fixed utility bar + nav */
.guide .hero{padding-top:calc(var(--navh) + clamp(1.5rem,4vw,3rem))}
.guide .book__pin{top:var(--navh);height:calc(100vh - var(--navh))}
@media (max-width:860px){.guide .book__spread{--pw:min(82vw,calc((100vh - 17rem - var(--navh)) * .707))}}
@media (min-width:861px){.guide .book__spread{--pw:min(40vw,calc((100vh - 15rem - var(--navh)) * .707))}}

/* The guide uses .reveal/.is-in; main.js adds .visible to the same elements. Either shows them. */
.guide .reveal.is-in{opacity:1;transform:none}

/* Skip link and cookie popup sit above the site's fixed nav */
.skip{background:#1C2A4C;z-index:300}
.guide .cookie{z-index:150}

/* Cookie settings button in the site footer */
.footer-bottom .legal-links .linkbtn{background:none;border:0;padding:0;font:inherit;font-size:.78rem;color:rgba(255,255,255,.4);cursor:pointer;text-decoration:none}
.footer-bottom .legal-links .linkbtn:hover{color:rgba(255,255,255,.7)}
