.privacy-consent,
.privacy-video {
    --privacy-accent: #b43226;
    --privacy-ink: #263644;
    color: var(--privacy-ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}
.privacy-consent *, .privacy-video * { box-sizing: border-box; }
.privacy-consent [hidden], .privacy-video [hidden] { display: none !important; }
.privacy-banner {
    position: fixed;
    z-index: 1300;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border: 1px solid #dce2e6;
    border-top: 4px solid var(--privacy-accent);
    border-radius: 8px;
    box-shadow: 0 6px 36px rgba(15, 28, 40, .24);
    max-height: 70vh;
    overflow-y: auto;
}
.privacy-banner-copy { flex: 1; min-width: 0; }
.privacy-consent h2 {
    margin: 0 0 10px;
    color: var(--privacy-ink);
    font-family: inherit;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}
.privacy-consent p { margin: 0 0 12px; }
.privacy-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.privacy-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--privacy-accent);
    border-radius: 4px;
    background: #fff;
    color: var(--privacy-accent);
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}
.privacy-button:hover { background: #fff3f1; color: #92271e; }
.privacy-consent button:focus-visible, .privacy-consent a:focus-visible, .privacy-consent input:focus-visible,
.privacy-video button:focus-visible, .privacy-video a:focus-visible { outline: 3px solid #167698; outline-offset: 3px; }
.privacy-policy-link, .privacy-video a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-policy-link { color: var(--privacy-accent); }
.privacy-policy-link:hover { color: #92271e; }
.privacy-modal {
    position: fixed;
    z-index: 1310;
    inset: 0;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 29, 40, .65);
}
.privacy-dialog {
    width: 100%;
    max-width: 660px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .25);
}
.privacy-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.privacy-dialog-heading h2 { padding-top: 7px; }
.privacy-close {
    appearance: none;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid #b7c3cb;
    border-radius: 4px;
    background: #fff;
    color: var(--privacy-ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.privacy-category { margin-top: 14px; padding: 16px; border: 1px solid #dce2e6; border-radius: 5px; }
.privacy-category-essential { background: #f5f7f8; }
.privacy-category p { margin: 8px 0 0; }
.privacy-toggle { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.privacy-toggle input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--privacy-accent); }
.privacy-consent .privacy-duration { margin-top: 16px; }
.privacy-dialog-actions { margin-top: 22px; }
.privacy-nojs { padding: 20px; background: #fff; text-align: center; }
.privacy-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The homepage wraps this partial in a Bootstrap ratio element. */
.ratio:has(> .privacy-video)::before { display: none; }
.ratio > .privacy-video { position: relative; height: auto; }
.privacy-video { width: 100%; border: 1px solid #dce2e6; border-radius: 6px; overflow: hidden; }
.privacy-video-placeholder { position: relative; padding: 30px 22px; min-height: 265px; display: flex; align-items: center; justify-content: center; }
.privacy-video-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.privacy-video-placeholder::after { content: ""; position: absolute; inset: 0; background: rgba(16, 30, 43, .83); }
.privacy-video-copy { position: relative; z-index: 1; max-width: 440px; color: #fff; text-align: center; }
.privacy-video-copy p { margin: 0 0 16px; }
.privacy-video-copy .privacy-button { margin-bottom: 16px; }
.privacy-video-copy a { color: #fff; }
.privacy-video-copy a:hover { color: #fff; text-decoration-thickness: 2px; }
.privacy-video-player { position: relative; aspect-ratio: 16 / 9; background: #111; }
.privacy-video-player iframe { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.privacy-video-options { margin: 0; padding: 10px 16px; background: #fff; text-align: center; }
.privacy-settings-link { appearance: none; border: 0; padding: 7px 0; min-height: 36px; background: transparent; color: var(--privacy-accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 24px;
    margin-top: 24px;
    padding: 20px 15px 4px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}
.privacy-footer-links a,
.privacy-footer-links button {
    padding: 10px 0;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.privacy-footer-links a:hover,
.privacy-footer-links button:hover { color: #fff; text-decoration-thickness: 2px; }
.privacy-footer-links a:focus-visible,
.privacy-footer-links button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 700px) {
    .privacy-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; flex-direction: column; align-items: stretch; gap: 16px; max-height: 65vh; }
    .privacy-actions { width: 100%; }
    .privacy-modal { padding: 12px; }
    .privacy-dialog { padding: 20px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .privacy-video-placeholder { padding: 24px 16px; }
}
