/* Cookie banner Marsala (mc-) */
.mc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10050; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 15px; border-top: 4px solid var(--primary-color, #004aad); box-shadow: var(--shadow-lg, 0 8px 16px rgba(0,0,0,0.15)), 0 0 0 1px rgba(0,0,0,0.04); padding: 20px 24px; font-family: var(--font-secondary, 'Open Sans', sans-serif); color: var(--text-color, #222); display: none; }
.mc-banner.is-open { display: block; }
.mc-banner-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mc-banner-title { margin: 0 0 6px; font-family: var(--font-title, Montserrat, sans-serif); font-size: 18px; font-weight: 800; color: var(--primary-dark, #000630); }
.mc-banner-text { margin: 0; font-size: 15px; line-height: 1.55; }
.mc-banner-text a { color: var(--primary-color, #004aad); text-decoration: underline; }
.mc-close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f3f8; color: var(--primary-dark, #000630); font-size: 20px; line-height: 1; cursor: pointer; }
.mc-close:hover, .mc-close:focus-visible { background: #e3e8f5; outline: 2px solid var(--primary-color, #004aad); outline-offset: 2px; }
.mc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--primary-color, #004aad); font-family: var(--font-title, Montserrat, sans-serif); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; background: #fff; color: var(--primary-color, #004aad); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.mc-btn:hover { background: #eef4ff; }
.mc-btn:focus-visible { outline: 3px solid rgba(0,74,173,0.35); outline-offset: 2px; }
.mc-btn-primary { background: var(--primary-color, #004aad); color: #fff; }
.mc-btn-primary:hover { background: var(--primary-dark, #000630); border-color: var(--primary-dark, #000630); color: #fff; }
.mc-btn-ghost { border-color: transparent; background: transparent; text-decoration: underline; }
.mc-btn-ghost:hover { background: #eef4ff; }
.mc-panel { display: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--medium-gray, #e0e0e0); max-height: 60vh; overflow-y: auto; }
.mc-panel.is-open { display: block; }
.mc-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef0f4; }
.mc-cat:last-of-type { border-bottom: 0; }
.mc-cat-title { margin: 0 0 4px; font-family: var(--font-title, Montserrat, sans-serif); font-size: 15px; font-weight: 800; color: var(--primary-dark, #000630); }
.mc-cat-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-light, #666); }
.mc-switch { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; width: 44px; height: 24px; margin: 0; padding: 0; cursor: pointer; }
.mc-switch-input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mc-track { display: block; width: 44px; height: 24px; border-radius: 999px; background: #cfd8e3; transition: background 0.2s ease; }
.mc-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: transform 0.2s ease; }
.mc-switch-input:checked + .mc-track { background: var(--primary-color, #004aad); }
.mc-switch-input:checked + .mc-track::after { transform: translateX(20px); }
.mc-switch-input:focus-visible + .mc-track { outline: 3px solid rgba(0,74,173,0.35); outline-offset: 2px; }
.mc-switch-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mc-always { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #1e9e4a; white-space: nowrap; }
.mc-embed { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 220px; padding: 24px; border-radius: 12px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--primary-color, #004aad) 0%, var(--primary-dark, #000630) 100%); overflow: hidden; }
.mc-embed[data-poster] { background-size: cover; background-position: center; }
.mc-embed::before { content: ""; position: absolute; inset: 0; background: rgba(0,6,48,0.55); }
.mc-embed > * { position: relative; }
.mc-embed-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.mc-embed-play::after { content: ""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; }
.mc-embed-text { margin: 0; font-size: 15px; line-height: 1.5; max-width: 520px; }
.mc-embed .mc-btn { background: var(--accent-color, #FFD700); border-color: var(--accent-color, #FFD700); color: var(--primary-dark, #000630); }
.mc-embed .mc-btn:hover { background: #fff; border-color: #fff; }
.mc-embed-link { font-size: 13px; color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
    .mc-banner { left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 16px; max-height: 85vh; overflow-y: auto; }
    .mc-panel { max-height: none; overflow: visible; }
    .mc-banner-title { font-size: 16px; }
    .mc-banner-text { font-size: 14px; }
    .mc-actions { flex-direction: column; }
    .mc-btn { width: 100%; }
}
