html.has-managed-popup,html.has-managed-popup body{overflow:hidden}
.mcec-managed-popup,.mcec-cookie-consent{font-family:inherit}
.mcec-managed-popup[hidden],.mcec-cookie-consent[hidden],.mcec-cookie-preferences[hidden]{display:none!important}

/* Premium popup — responsive, no internal scroll container. */
.mcec-managed-popup{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:clamp(12px,3vw,28px);background:rgba(6,14,27,.54);backdrop-filter:blur(6px);overflow-y:auto;overscroll-behavior:contain}
.mcec-popup-dialog{position:relative;width:min(880px,100%);overflow:visible;border:1px solid rgba(255,255,255,.2);border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(5,17,25,.36);color:#20313b}
.mcec-popup-shell{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);min-height:430px}
.mcec-popup-visual{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border-radius:28px 0 0 28px;background:linear-gradient(160deg,#06143f 0%,#0b326b 58%,#0465b6 100%);color:#fff}
html[dir=rtl] .mcec-popup-visual{border-radius:0 28px 28px 0}
.mcec-popup-media{display:block;width:100%;height:100%;min-height:230px;object-fit:cover;background:#edf4f8}
.mcec-popup-media-fallback{display:grid;place-items:center;gap:14px;padding:34px 24px;background:radial-gradient(circle at top left,rgba(255,255,255,.22),transparent 42%),linear-gradient(165deg,#102759,#0c4389 60%,#0465b6 100%)}
.mcec-popup-media-fallback img{max-width:140px;width:50%;height:auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,.18))}
.mcec-popup-media-fallback span{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.mcec-popup-copy{display:grid;align-content:center;gap:15px;padding:clamp(28px,4vw,44px);background:#fff;border-radius:0 28px 28px 0}
html[dir=rtl] .mcec-popup-copy{border-radius:28px 0 0 28px}
.mcec-popup-eyebrow{display:inline-flex;width:max-content;align-items:center;color:#0465b6;font-weight:800;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.mcec-popup-copy h2{margin:0;font-size:clamp(27px,4vw,40px);line-height:1.08;color:#0f2233}
.mcec-popup-copy p{margin:0;color:#596b78;line-height:1.7;font-size:15px}
.mcec-popup-copy .btn{display:inline-flex;justify-content:center;min-height:46px;padding-inline:20px;font-weight:800;border-radius:10px;width:max-content;max-width:100%}
.mcec-popup-note{color:#7a8993;font-size:12px;line-height:1.55}
.mcec-popup-close{position:absolute;z-index:3;top:14px;inset-inline-end:14px;width:38px;height:38px;border:1px solid rgba(24,48,63,.14);border-radius:50%;background:rgba(255,255,255,.96);color:#20313b;font-size:24px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(15,31,43,.08)}
.mcec-popup-close:hover,.mcec-popup-close:focus-visible{outline:3px solid rgba(4,101,182,.16);border-color:#0465b6}

/* Compact cookie tile: left in LTR, right in RTL. Controls live in the tile. */
.mcec-cookie-consent{position:fixed;z-index:10015;bottom:18px;left:18px;width:min(390px,calc(100vw - 36px));border:1px solid rgba(4,101,182,.14);border-radius:18px;background:#fff;box-shadow:0 22px 55px rgba(15,31,43,.2);color:#20313b;padding:17px}
html[dir=rtl] .mcec-cookie-consent{left:auto;right:18px}
.mcec-cookie-main{display:grid;gap:14px}
.mcec-cookie-copy{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start}
.mcec-cookie-icon{flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#f1f6fe;display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(4,101,182,.08)}
.mcec-cookie-biscuit{position:relative;display:block;width:25px;height:25px;border-radius:50%;border:3px solid #2d68f4;background:transparent}
.mcec-cookie-biscuit::before{content:"";position:absolute;inset:4px 6px auto auto;width:10px;height:10px;border-radius:0 100% 0 100%;background:#fff;box-shadow:0 0 0 2px #fff;transform:rotate(36deg)}
.mcec-cookie-biscuit::after{content:"";position:absolute;top:5px;left:4px;width:4px;height:4px;border-radius:50%;background:#2d68f4;box-shadow:7px 1px 0 #2d68f4,4px 7px 0 #2d68f4,11px 9px 0 #2d68f4}
.mcec-cookie-copy-body{display:grid;gap:5px;min-width:0}
.mcec-cookie-copy h2{margin:0;font-size:17px;line-height:1.25;color:#152635}
.mcec-cookie-copy p{margin:0;color:#5f6f79;line-height:1.55;font-size:13px}
.mcec-cookie-learnmore{display:inline-flex;width:max-content;color:#263746;font-weight:750;font-size:12px;text-decoration:underline;text-decoration-thickness:1.4px;text-underline-offset:2px}
.mcec-cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
.mcec-cookie-actions button{min-height:40px;border-radius:9px;font-size:12px;font-weight:800;justify-content:center}
.mcec-cookie-actions [data-cookie-customize]{grid-column:1/-1}
.mcec-cookie-preferences{margin-top:12px;padding-top:12px;border-top:1px solid #e4e9ec;display:grid;grid-template-columns:1fr;gap:8px;align-items:center}
.mcec-cookie-choice{display:flex;gap:8px;align-items:center;padding:9px 10px;border:1px solid #e1e6e9;border-radius:10px;background:#f9fbfc;font-size:12px}.mcec-cookie-choice input{width:17px;height:17px}.mcec-cookie-choice small{display:block;color:#71808a}.mcec-cookie-save{justify-self:stretch}.mcec-cookie-save .btn{width:100%;justify-content:center}

@media(max-width:900px){.mcec-popup-dialog{width:min(650px,100%)}.mcec-popup-shell{grid-template-columns:1fr;min-height:auto}.mcec-popup-visual{display:block;min-height:190px;border-radius:28px 28px 0 0}.mcec-popup-media{min-height:190px;max-height:260px}.mcec-popup-copy,html[dir=rtl] .mcec-popup-copy{border-radius:0 0 28px 28px}}
@media(max-width:560px){.mcec-managed-popup{place-items:start center;padding:10px}.mcec-popup-dialog{border-radius:20px}.mcec-popup-visual{min-height:145px;border-radius:20px 20px 0 0}.mcec-popup-media{min-height:145px;max-height:190px}.mcec-popup-copy,html[dir=rtl] .mcec-popup-copy{padding:22px 18px 20px;border-radius:0 0 20px 20px}.mcec-popup-copy h2{font-size:26px}.mcec-popup-note{display:none}.mcec-cookie-consent{left:10px;bottom:10px;width:calc(100vw - 20px);padding:14px;border-radius:16px}html[dir=rtl] .mcec-cookie-consent{left:auto;right:10px}.mcec-cookie-actions{grid-template-columns:1fr}.mcec-cookie-actions [data-cookie-customize]{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.mcec-managed-popup,.mcec-cookie-consent{scroll-behavior:auto}}

/* Cookie preferences */
.mcec-cookie-consent{box-sizing:border-box;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 60px rgba(15,31,43,.16)}
.mcec-cookie-consent :is(button,input,a):focus-visible{outline:2px solid #0465b6;outline-offset:3px}
.mcec-cookie-choice{position:relative;justify-content:space-between;gap:12px;cursor:pointer}
.mcec-cookie-choice span{order:0;flex:1;min-width:0}
.mcec-cookie-choice input{order:1;appearance:none;position:relative;flex:0 0 38px;width:38px;height:22px;margin:0;border:1px solid #9ba9b2;border-radius:999px;background:#d8e0e5;cursor:pointer;transition:background .18s ease}
.mcec-cookie-choice input::after{content:"";position:absolute;top:2px;inset-inline-start:2px;width:16px;height:16px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s ease}
.mcec-cookie-choice input:checked{background:#087e65;border-color:#087e65}
.mcec-cookie-choice input:checked::after{transform:translateX(16px)}
[dir=rtl] .mcec-cookie-choice input:checked::after{transform:translateX(-16px)}
.mcec-cookie-choice input:disabled{opacity:.7;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.mcec-cookie-choice input,.mcec-cookie-choice input::after{transition:none}}


/* Round 14 — geometric background integration for popup/cookies, readability preserved. */
.mcec-popup-dialog{background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.94)),url("../images/branding/mcec-geometric-background.jpg") center/720px auto repeat}
.mcec-popup-visual{position:relative;display:block;background:linear-gradient(160deg,rgba(6,20,63,.92),rgba(4,101,182,.84)),url("../images/branding/mcec-geometric-background.jpg") center/640px auto repeat}
.mcec-popup-visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,16,38,.04),rgba(4,16,38,.22))}
.mcec-popup-media{position:relative;z-index:0}
.mcec-popup-media-fallback{background:linear-gradient(165deg,rgba(16,39,89,.92),rgba(4,101,182,.84)),url("../images/branding/mcec-geometric-background.jpg") center/640px auto repeat}
.mcec-cookie-consent{background:linear-gradient(rgba(255,255,255,.965),rgba(255,255,255,.965)),url("../images/branding/mcec-geometric-background.jpg") center/620px auto repeat}
.mcec-cookie-actions [data-cookie-customize]{color:#263746;border-color:#263746;background:rgba(255,255,255,.78)}
.mcec-cookie-actions [data-cookie-customize]:hover,.mcec-cookie-actions [data-cookie-customize]:focus-visible{color:#263746;border-color:#263746;background:#f4f7f8}

/* ROUND20 — Keep the configured popup image perceptible without obscuring copy. */
.mcec-popup-visual::after{background:linear-gradient(180deg,rgba(4,16,38,.02),rgba(4,16,38,.12))}
.mcec-popup-copy{background:rgba(255,255,255,.91)}
@media (prefers-contrast:more){.mcec-popup-copy{background:#fff}}

/* ROUND22: keep imagery in the content pane, not behind the media pane. */
.mcec-popup-dialog{background:#fff}
.mcec-popup-copy{background:linear-gradient(130deg,rgba(255,255,255,.83),rgba(255,255,255,.92)),url("../images/branding/mcec-geometric-background.jpg") center/640px auto repeat}
.mcec-cookie-consent{background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(255,255,255,.94)),url("../images/branding/mcec-geometric-background.jpg") center/620px auto repeat}
@media(prefers-contrast:more){.mcec-popup-copy,.mcec-cookie-consent{background:#fff}}


/* Round 63 — sharp-corner popup and cookie frames; preserve circular toggle knobs. */
:is(.mcec-popup-dialog,.mcec-popup-visual,.mcec-popup-copy,.mcec-cookie-consent,.mcec-cookie-icon,.mcec-cookie-choice,.mcec-cookie-actions button){border-radius:0!important}
