/* Consent uses the established light/orange system, independently of page UI. */
.cookie-banner, .cookie-dialog, .cookie-feedback { font-family: Montserrat, Arial, sans-serif; color: #1b1d1f; }
.cookie-banner[hidden], [data-cookie-preferences][hidden] { display: none !important; }
.cookie-banner { position: fixed; z-index: 950; inset: auto auto 24px 24px; width: min(460px, calc(100% - 48px)); margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; background: #fff; border: 1px solid #d7dada; border-radius: 12px; animation: cookie-in .4s cubic-bezier(.16,1,.3,1) both; max-height: calc(100dvh - 48px); overflow-y: auto; }
.cookie-banner.is-closing { pointer-events: none; animation: cookie-banner-out .25s ease-in both; }
.cookie-copy { flex: 1; min-width: 0; }
.cookie-banner h2 { font-size: 16px; margin: 0 0 6px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.65; color: #51575b; }
.cookie-links { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin-top: 12px !important; font-size: 12px; line-height: 1.7; }
.cookie-links a { color: #8a3d00; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cookie-actions button, .cookie-dialog-actions button { min-height: 44px; padding: 11px 15px; border: 1px solid #d7dada; border-radius: 7px; background: #fff; color: #1b1d1f; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.cookie-actions button { flex: 1; padding-inline: 10px; white-space: nowrap; }
.cookie-actions [data-cookie-action="accept"], .cookie-dialog-actions [data-cookie-action="save"] { background: #ff8000; border-color: #ff8000; color: #fff; }
.cookie-actions button:hover, .cookie-dialog-actions button:hover { background: #f5f7f5; border-color: #959d9a; }
.cookie-actions [data-cookie-action="accept"]:hover, .cookie-dialog-actions [data-cookie-action="save"]:hover { background: #e66f00; border-color: #e66f00; }
.cookie-banner :focus-visible, .cookie-dialog :focus-visible, [data-cookie-preferences]:focus-visible { outline: 2px solid #8a3d00; outline-offset: 3px; }
body.has-cookie-dialog { overflow: hidden; }
.cookie-dialog { width: min(580px, calc(100% - 36px)); max-height: calc(100dvh - 36px); padding: 28px; border: 0; border-radius: 12px; background: #fff; overflow-y: auto; }
.cookie-dialog[open] { animation: cookie-in .2s cubic-bezier(.16,1,.3,1) both; }
.cookie-dialog::backdrop { background: rgba(20,25,23,.45); }
.cookie-dialog.is-closing { animation: cookie-out .16s ease both; }
.cookie-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.cookie-dialog-heading h2 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.cookie-close { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; background: #f5f7f5; border: 0; border-radius: 7px; color: #51575b; cursor: pointer; }
.cookie-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cookie-dialog p { font-size: 13px; line-height: 1.7; color: #51575b; margin: 0 0 20px; }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid #e1e5e3; }
.cookie-category h3, .cookie-category strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 650; margin: 0 0 6px; }
.cookie-category p, .cookie-category label span { display: block; font-size: 13px; line-height: 1.65; color: #51575b; margin: 0; }
.cookie-category > span { flex-shrink: 0; font-size: 11px; color: #087a42; }
.cookie-category label { cursor: pointer; }
.cookie-category input { appearance: none; width: 22px; height: 22px; flex: 0 0 22px; cursor: pointer; margin: 0; border: 1px solid #959d9a; border-radius: 3px; background: #fff; }
.cookie-category input:checked { border-color: #ff8000; background: #ff8000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
@media (forced-colors: active) { .cookie-category input { appearance: auto; } }
.cookie-dialog .cookie-help { padding-top: 16px; border-top: 1px solid #e1e5e3; font-size: 12px; }
.cookie-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.cookie-feedback[hidden] { display: none; }
.cookie-feedback { position: fixed; z-index: 960; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 36px); margin: 0; padding: 14px 18px; border: 1px solid #d7dada; border-radius: 8px; background: #fff; color: #1b1d1f; font-size: 13px; line-height: 1.6; animation: cookie-feedback-in .22s cubic-bezier(.16,1,.3,1) both; }
.cookie-feedback-icon { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: #087a42; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cookie-feedback.is-error .cookie-feedback-icon { display: none; }
.cookie-feedback.is-closing { animation: cookie-feedback-out .18s ease-in both; }
.cookie-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-footer [data-cookie-preferences] { display: flex; align-items: center; border: 0; padding: 0; margin-top: 8px; background: transparent; color: #fff; font: inherit; font-size: 12px; line-height: 1.45; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.site-footer [data-cookie-preferences]:hover,
.site-footer [data-cookie-preferences]:focus-visible { color: #fff; text-decoration-color: rgba(255,255,255,.65); }
.home-page .site-footer [data-cookie-preferences] { font-size: 12px; }
@media (max-width: 780px) { .site-footer [data-cookie-preferences] { min-height: 30px; } }
@media (max-width: 480px) { .site-footer [data-cookie-preferences] { min-height: 26px; margin-top: 0; } }
@media (max-width: 900px) { .home-page .site-footer [data-cookie-preferences] { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .site-footer [data-cookie-preferences] { transition: none; } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(6px); } }
@keyframes cookie-banner-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(14px); } }
@keyframes cookie-feedback-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes cookie-feedback-out { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, 8px); } }
@media (max-width: 600px) { .cookie-banner { inset: auto 12px 12px; width: min(460px, calc(100% - 24px)); margin-inline: auto; padding: 20px; max-height: calc(100dvh - 24px); } .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .cookie-actions [data-cookie-action="reject"] { grid-column: 1 / -1; } .cookie-dialog { padding: 22px; } .cookie-dialog-heading h2 { font-size: 20px; } .cookie-dialog-actions { flex-direction: column; } .cookie-category { gap: 14px; } }
@media (max-width: 480px) {
  .cookie-banner .cookie-links { flex-direction: column; align-items: flex-start; }
  .cookie-banner .cookie-links > span[aria-hidden="true"] { display: none; }
}
@media (max-width: 780px) {
  .home-page.menu-open .cookie-banner,
  .home-page.menu-open .cookie-feedback { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner, .cookie-banner.is-closing, .cookie-dialog[open], .cookie-dialog.is-closing, .cookie-feedback, .cookie-feedback.is-closing { animation: none; } .cookie-actions button, .cookie-dialog-actions button { transition: none; } }
