/* Shared cookie bar and preferences: keep this file identical in both sites. */
#cc-main {
    --cc-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --cc-bg: #fff;
    --cc-primary-color: #1f3b50;
    --cc-secondary-color: #536f7d;
    --cc-modal-border-radius: 18px;
    --cc-btn-border-radius: 999px;
    --cc-modal-margin: 0;
    --cc-btn-primary-bg: #1f3b50;
    --cc-btn-primary-color: #fff;
    --cc-btn-primary-border-color: #1f3b50;
    --cc-btn-primary-hover-bg: #28556a;
    --cc-btn-primary-hover-color: #fff;
    --cc-btn-primary-hover-border-color: #28556a;
    --cc-btn-secondary-bg: #fff;
    --cc-btn-secondary-color: #536f7d;
    --cc-btn-secondary-border-color: #d4e1e7;
    --cc-btn-secondary-hover-bg: #f2f8fa;
    --cc-btn-secondary-hover-color: #1f3b50;
    --cc-btn-secondary-hover-border-color: #96bbc6;
    --cc-link-color: #287e8d;
    --cc-toggle-on-bg: #287e8d;
    --cc-cookie-category-block-bg: #f3f9fa;
    --cc-cookie-category-block-border: #dfebef;
    --cc-cookie-category-block-hover-bg: #eaf5f7;
    --cc-cookie-category-block-hover-border: #c8e0e8;
    --cc-separator-border-color: #e2edf1;
    --cc-overlay-bg: rgba(31, 59, 80, .24);
}
body #cc-main .cm.cm {
    width: 100%; max-width: none; left: 0; right: 0; bottom: 0;
    border: 0; border-top: 1px solid #dce7eb; border-radius: 0;
    box-shadow: 0 -5px 28px #1f3b500a; background: #fff;
}
body #cc-main .cm.cm .cm__body {
    display: flex; flex-direction: row; align-items: center; gap: 28px;
    width: min(1280px, 100%); margin: 0 auto; padding: 16px 32px;
    max-height: calc(100dvh - 24px); overflow-y: auto;
}
body #cc-main .cm.cm .cm__texts { display: block; flex: 1; min-width: 0; padding: 0; }
/* Retain the dialog's accessible name without adding a separate heading row. */
body #cc-main .cm.cm .cm__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body #cc-main .cm.cm .cm__desc { margin: 0; padding: 0; max-height: none; overflow: visible; font-size: 13px; line-height: 1.6; color: #3f5969; }
#cc-main .cm__desc a { color: #1f3b50; text-underline-offset: 3px; }
body #cc-main .cm.cm .cm__btns { display: flex; flex-direction: row; flex-shrink: 0; align-items: center; gap: 8px; padding: 0; margin: 0; border: 0; background: none; }
body #cc-main .cm.cm .cm__btn-group { display: contents; }
body #cc-main .cm.cm .cm__btn { flex: none; width: auto; margin: 0; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: none; }
body #cc-main .cm.cm .cm__btn[data-role='all'] { order: 3; min-width: 112px; padding-inline: 25px; background: #1f3b50; border-color: #1f3b50; color: #fff; font-size: 15px; font-weight: 600; }
body #cc-main .cm.cm .cm__btn[data-role='all']:hover { background: #28556a; border-color: #28556a; }
body #cc-main .cm.cm .cm__btn[data-role='necessary'] { order: 2; min-width: 78px; color: #536f7d; background: #fff; border-color: #d4e1e7; }
body #cc-main .cm.cm .cm__btn[data-role='necessary']:hover { background: #f2f8fa; border-color: #96bbc6; }
body #cc-main .cm.cm .cm__btn[data-role='show'] { order: 1; padding-inline: 10px; border-color: transparent; background: transparent; color: #536f7d; font-size: 12px; }
body #cc-main .cm.cm .cm__btn[data-role='show']:hover { text-decoration: underline; text-underline-offset: 3px; }
#cc-main .pm { border: 1px solid #d4e5eb; box-shadow: 0 12px 48px #1f3b5025; }
#cc-main .pm__title { font-size: 20px; font-weight: 550; letter-spacing: -.02em; }
#cc-main .pm__section-title { font-size: 14px; }
#cc-main .pm__section-desc { font-size: 13px; line-height: 1.6; }
#cc-main .pm__btn { min-height: 44px; font-size: 13px; font-weight: 500; }
#cc-main :is(.cm__btn,.pm__btn):focus-visible { outline: 3px solid #55c5d0; outline-offset: 3px; }
#aqtos-cookie-settings { position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); z-index: 999999; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; padding: 0; border: 1px solid #d4e5eb; border-radius: 50%; background: #fff; color: #536f7d; cursor: pointer; box-shadow: 0 3px 12px #1f3b5010; }
#aqtos-cookie-settings svg { display: block; flex: none; pointer-events: none; }
#aqtos-cookie-settings:hover { background: #edf8fa; color: #1f3b50; }
#aqtos-cookie-settings:focus-visible { outline: 3px solid #55c5d0; outline-offset: 3px; }
#aqtos-cookie-settings[hidden], #aqtos-consent-sync-status[hidden] { display: none; }
#aqtos-consent-sync-status { position: fixed; left: 16px; bottom: 68px; z-index: 999998; max-width: min(360px, calc(100vw - 32px)); padding: 12px; background: #fff; border: 1px solid #d4e5eb; border-radius: 10px; color: #1f3b50; font: 13px/1.5 'Inter', system-ui, sans-serif; }
#aqtos-consent-sync-status button { margin-left: 6px; min-height: 32px; cursor: pointer; }
.show--consent #aqtos-cookie-settings, .show--preferences #aqtos-cookie-settings { visibility: hidden; pointer-events: none; }
@media (max-width: 900px) {
    body #cc-main .cm.cm .cm__body { gap: 16px; padding: 14px 20px; }
    body #cc-main .cm.cm .cm__btns { gap: 4px; }
}
@media (max-width: 700px) {
    body #cc-main .cm.cm .cm__body { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px max(16px, env(safe-area-inset-bottom)); }
    body #cc-main .cm.cm .cm__desc { font-size: 12px; }
    body #cc-main .cm.cm .cm__btns { justify-content: flex-end; gap: 8px; }
    body #cc-main .cm.cm .cm__btn[data-role='show'] { margin-right: auto; padding-inline: 0; }
    body #cc-main .cm.cm .cm__btn[data-role='all'] { min-width: 108px; }
}
@media (prefers-reduced-motion: reduce) { #cc-main * { transition-duration: .01ms !important; } }

#cc-main .pm__btn[data-role='necessary'] { background:#fff; color:#536f7d; border-color:#d4e1e7; }
#cc-main .pm__btn[data-role='necessary']:hover { background:#f2f8fa; border-color:#96bbc6; }
#cc-main .pm__section-title { border-radius:10px; }

/* Override CookieConsent's forced mobile column layout to retain one action row. */
@media (max-width:700px) {
 #cc-main { --cc-modal-margin:0; }
 body #cc-main .cm.cm { width:100% !important; margin:0; bottom:0; }
 body #cc-main .cm.cm .cm__body { padding:16px 20px max(16px, env(safe-area-inset-bottom)) !important; }
 body #cc-main .cm.cm .cm__desc, body #cc-main .cm.cm .cm__title { padding:0 !important; }
 body #cc-main .cm.cm .cm__btns { flex-direction:row !important; padding:0 !important; border:0 !important; min-width:0 !important; }
 body #cc-main .cm.cm .cm__btn-group { display:contents !important; }
 body #cc-main .cm.cm .cm__btn { flex:none !important; margin:0 !important; }
 body #cc-main .cm.cm .cm__btn[data-role='show'] { margin-right:auto !important; width:auto; min-width:0; }
}
#cc-main .pm__section, #cc-main .pm__section--toggle, #cc-main .pm__section-desc-wrapper { border-radius:12px; }

@media (max-width:359px) {
 body #cc-main .cm.cm .cm__body { padding-inline:14px !important; }
 body #cc-main .cm.cm .cm__btns { gap:6px; }
 body #cc-main .cm.cm .cm__btn[data-role='necessary'] { min-width:68px; padding-inline:12px; }
 body #cc-main .cm.cm .cm__btn[data-role='all'] { min-width:100px; padding-inline:20px; }
}
