/* The first screen offers direct actions; optional purposes remain unchecked. */
.cookie-banner { position: fixed; z-index: 10050; inset: auto 1rem 1rem; max-width: 42.5rem; margin: auto; padding: 1.65rem 1.85rem 0; overflow: hidden; border: 1px solid #d9dfe2; border-radius: 18px; background: #fff; color: #202534; box-shadow: 0 16px 60px rgba(18, 23, 40, .2); font-family: Montserrat, Arial, sans-serif; }
.cookie-banner[hidden], .cookie-options[hidden], .video-consent-placeholder[hidden] { display: none !important; }
.cookie-decline { display: inline-block; min-height: 32px; padding: 0; border: 0; background: transparent; color: #505861; font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.cookie-decline:hover, .cookie-decline:focus-visible { color: #202534; outline: 2px solid #344ca8; outline-offset: 3px; }
.cookie-title { color: #202534; font-size: 1.5rem; line-height: 1.2; font-weight: 700; margin: 0 0 .55rem; }
.cookie-description { color: #505861; font-size: .9rem; line-height: 1.5; margin: 0 0 .45rem; }
.cookie-policy { display: inline-block; font-size: .82rem; color: #315bc9; text-decoration: underline; }
.cookie-purposes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin: 1rem 0 1.25rem; padding: .9rem 1rem; border: 1px solid #e1e5e7; border-radius: 12px; color: #505861; font-size: .82rem; }
/* A neutral bullet lists purposes without implying that either one is selected. */
.cookie-purposes span::before { content: "• "; color: #6850bd; font-weight: 700; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 -1.85rem; border-top: 1px solid #e1e5e7; }
.cookie-button { min-width: 0; min-height: 62px; padding: .65rem .85rem; border: 0; border-left: 1px solid #e1e5e7; border-radius: 0; background: #fff; color: #283f96; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.cookie-actions .cookie-button:first-child { border-left: 0; }
/* The brand-coloured action is paired with a direct refusal above the title. */
.cookie-actions .cookie-primary { background: #384bc3; color: #fff; }
.cookie-actions .cookie-primary:hover, .cookie-actions .cookie-primary:focus-visible { background: #283aa8; }
.cookie-button:hover, .cookie-button:focus-visible { background: #edf0fc; outline: 2px solid #344ca8; outline-offset: 2px; }
.cookie-options { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin: 0 -1.85rem; padding: 1rem 1.85rem 1.2rem; border-top: 1px solid #e1e5e7; }
.cookie-option { flex: 1 1 12rem; padding: .8rem; border: 1px solid #e1e5e7; border-radius: .65rem; font-size: .84rem; line-height: 1.4; }
.cookie-options .cookie-button { border: 1px solid #4258a8; border-radius: .4rem; }
.cookie-option input { accent-color: #4f63c5; }
.cookie-settings-link { display: block; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; margin: 1rem auto 0; font: inherit; }
.video-consent-placeholder, .video-consent-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-consent-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; padding: 1rem; color: #fff; background: rgba(18, 24, 55, .75); text-align: center; }
.video-consent-placeholder p { margin: 0; }
.video-consent-placeholder button { border: 1px solid #fff; border-radius: 2rem; padding: .55rem 1rem; background: transparent; color: #fff; cursor: pointer; }
.video-consent-frame { border: 0; }
@media (max-width: 575px) { .cookie-banner { inset: auto .5rem .5rem; max-height: 75vh; overflow: auto; padding: 1.2rem 1.2rem 0; } .cookie-purposes { grid-template-columns: 1fr; } .cookie-actions { margin: 0 -1.2rem; } .cookie-button { font-size: .75rem; padding: .55rem .3rem; } .cookie-options { margin: 0 -1.2rem; padding: 1rem 1.2rem; } }
