/* Critical legal-page layout lives with the content plugin to survive theme caches. */
.wp-block-post-content .legal-hero { position: relative; overflow: hidden; width: 100%; max-width: none; padding-block: clamp(76px, 9vw, 128px); background: #082e48; color: #fff; }
.wp-block-post-content .legal-hero::after { position: absolute; right: -12%; bottom: -58%; width: clamp(260px, 38vw, 560px); aspect-ratio: 1.4; border-radius: 50% 50% 0 0; background: linear-gradient(145deg, #a8dc91, #20afd2); opacity: .28; content: ""; pointer-events: none; }
.wp-block-post-content .legal-hero__inner,
.wp-block-post-content .legal-layout { width: min(1180px, calc(100% - 48px)); max-width: 1180px; margin-inline: auto; }
.wp-block-post-content .legal-hero__inner { position: relative; z-index: 1; }
.wp-block-post-content .legal-hero h1 { max-width: 900px; margin: 18px 0 24px; color: #fff; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .98; }
.wp-block-post-content .legal-hero__lead { max-width: 720px; margin: 0; color: #d8e8f0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; }
.wp-block-post-content .legal-section { width: 100%; max-width: none; padding-block: clamp(72px, 9vw, 124px); background: #f7fbf9; }
.wp-block-post-content .legal-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 760px); justify-content: center; align-items: start; gap: clamp(44px, 7vw, 92px); }
.wp-block-post-content .legal-summary { position: sticky; top: 116px; width: 100%; padding: 30px; border: 1px solid #cbded6; border-radius: 0 28px 0 28px; background: #fff; box-shadow: 0 18px 42px rgba(0,55,93,.07); }
.wp-block-post-content .legal-summary h2 { margin-bottom: 18px; font-size: 1.45rem; }
.wp-block-post-content .legal-summary p { margin: 0 0 18px; color: #536b78; line-height: 1.65; }
.wp-block-post-content .legal-summary p:last-child { margin-bottom: 0; }
.wp-block-post-content .legal-summary a { color: #063b60; font-weight: 800; }
.wp-block-post-content .legal-prose { width: 100%; max-width: 760px; }
.wp-block-post-content .legal-prose > h2 { margin: 56px 0 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.wp-block-post-content .legal-prose > h2:first-child { margin-top: 0; }
.wp-block-post-content .legal-prose > p,
.wp-block-post-content .legal-prose li { max-width: 72ch; color: #536b78; font-size: 1.05rem; line-height: 1.75; }
.wp-block-post-content .legal-prose ul { display: grid; gap: 10px; max-width: 70ch; padding-left: 24px; }
.wp-block-post-content .legal-contact { margin-top: 64px; padding: clamp(30px, 5vw, 54px); border-radius: 0 38px 0 38px; background: #e4f3ea; }
.wp-block-post-content .legal-contact h2 { margin-bottom: 16px; }
.wp-block-post-content .legal-contact p { color: #536b78; line-height: 1.7; }
.wp-block-post-content .legal-contact .wp-block-button__link { border-radius: 999px; background: #2e9f5b; color: #fff; font-weight: 800; }
.wp-block-post-content .legal-source { margin-top: 38px; padding-top: 22px; border-top: 1px solid #cbded6; font-size: .85rem; }
@media (max-width: 860px) { .wp-block-post-content .legal-layout { grid-template-columns: 1fr; max-width: 760px; } .wp-block-post-content .legal-summary { position: static; } }
@media (max-width: 640px) { .wp-block-post-content .legal-hero__inner, .wp-block-post-content .legal-layout { width: min(100% - 32px, 760px); } .wp-block-post-content .legal-hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); } .wp-block-post-content .legal-summary, .wp-block-post-content .legal-contact { border-radius: 0 22px 0 22px; } }

.cookie-consent { position: fixed; z-index: 10000; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1120px, calc(100% - 44px)); margin-inline: auto; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #082e48; color: #fff; box-shadow: 0 24px 70px rgba(4,35,55,.3); }
.cookie-consent[hidden], .cookie-dialog[hidden] { display: none !important; }
.cookie-consent strong { display: block; margin-bottom: 5px; font-size: 1.05rem; }
.cookie-consent p { max-width: 720px; margin: 0; color: #d8e8f0; font-size: .9rem; line-height: 1.55; }
.cookie-consent a { color: #9ce3bb; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions, .cookie-dialog__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.cookie-button { min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.cookie-button:hover { transform: translateY(-1px); }
.cookie-button:focus-visible, .cookie-dialog__close:focus-visible, .footer-cookie-settings:focus-visible { outline: 3px solid #20afd2; outline-offset: 3px; }
.cookie-button--primary { background: #176f3a; color: #fff; }
.cookie-button--secondary { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.cookie-dialog { position: fixed; z-index: 10001; inset: 0; display: grid; place-items: center; padding: 18px; }
.cookie-dialog__backdrop { position: absolute; inset: 0; background: rgba(3,28,44,.72); backdrop-filter: blur(5px); }
.cookie-dialog__panel { position: relative; width: min(620px, 100%); max-height: min(760px, calc(100vh - 36px)); overflow: auto; padding: clamp(28px, 5vw, 48px); border-radius: 0 32px 0 32px; background: #fff; color: #082e48; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.cookie-dialog__panel:focus { outline: none; }
.cookie-dialog__close { position: absolute; top: 16px; right: 18px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: #e8f4ed; color: #082e48; font-size: 1.6rem; cursor: pointer; }
.cookie-dialog__eyebrow { margin: 0 0 8px; color: #2e9f5b; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cookie-dialog h2 { max-width: 500px; margin: 0 0 28px; font-size: clamp(1.8rem, 5vw, 2.7rem); }
.cookie-option { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid #cbded6; }
.cookie-option strong { display: block; margin-bottom: 5px; }
.cookie-option p { margin: 0; color: #536b78; font-size: .9rem; line-height: 1.5; }
.cookie-option > span { color: #2e9f5b; font-size: .78rem; font-weight: 800; }
.cookie-option input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-option i { position: relative; width: 48px; height: 28px; border-radius: 99px; background: #a9b8bf; cursor: pointer; transition: background-color .2s ease; }
.cookie-option i::after { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; content: ""; transition: transform .2s ease; }
.cookie-option input:focus-visible + i { outline: 3px solid #20afd2; outline-offset: 3px; }
.cookie-option input:checked + i { background: #2e9f5b; }
.cookie-option input:checked + i::after { transform: translateX(20px); }
.cookie-dialog__actions { justify-content: flex-end; margin-top: 26px; }
.cookie-dialog .cookie-button--secondary { border-color: #78909c; color: #082e48; }
/* A stale class must never freeze the document after cache/back-forward restore. */
html.has-cookie-dialog { overflow-y: auto; }
html.has-cookie-dialog:has(.cookie-dialog:not([hidden])) { overflow: hidden; }
/* WordPress adds `blog` to the body on the posts index; never let a section style lock it. */
body.blog { overflow-y: auto; }
.footer-cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .cookie-consent { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; } .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; } .cookie-consent__actions .cookie-button--primary { grid-column: 1 / -1; } }
@media (max-width: 480px) { .cookie-consent { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); } .cookie-consent__actions { grid-template-columns: 1fr; } .cookie-consent__actions .cookie-button--primary { grid-column: auto; } .cookie-dialog__actions { display: grid; grid-template-columns: 1fr; } }
