/* Shared by the home page (dark) and the CMS pages (light): footer Explore column, home FAQ,
   cookie consent banner, legal pop-up and the /legal/ page. */

/* ---------- footer: 4 columns when the Explore list is present ---------- */
.footer-left.has-explore { grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 1100px) { .footer-left.has-explore { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .footer-left.has-explore { grid-template-columns: 1fr; } }
.legal-info .legal-link { margin-right: 12px; white-space: nowrap; }
.legal-info .legal-link:last-child { margin-right: 0; }
.legal-info a.legal-link:hover { color: #9ca3af; }

/* ---------- home page FAQ (dark theme) ---------- */
body:not(.hub) #faq .faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
body:not(.hub) .faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
body:not(.hub) .faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; }
body:not(.hub) .faq-item summary::-webkit-details-marker { display: none; }
body:not(.hub) .faq-item summary h3 { margin: 0; font-size: 1.05rem; color: #fff; }
body:not(.hub) .faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; font-weight: 700; }
body:not(.hub) .faq-item[open] summary::after { content: "\2013"; }
body:not(.hub) .faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- cookie consent ---------- */
.edge-consent { position: fixed; z-index: 2147483000; max-width: 440px; width: calc(100% - 32px); font: 400 14px/1.5 Inter, -apple-system, "Segoe UI", system-ui, sans-serif; color: #e5edf8; }
.edge-consent--bottom-left { left: 16px; bottom: 16px; }
.edge-consent--bottom-right { right: 16px; bottom: 16px; }
.edge-consent--bottom { left: 50%; bottom: 16px; transform: translateX(-50%); max-width: 760px; }
.edge-consent--center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.edge-consent__in { background: #0b1628; border: 1px solid #22385a; border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.edge-consent__title { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; }
.edge-consent p { margin: 0 0 12px; color: #b9c7dc; }
.edge-consent a { color: #7fb0ff; text-decoration: underline; }
.edge-consent__cats { display: none; gap: 8px; margin: 0 0 12px; }
.edge-consent.is-open .edge-consent__cats { display: grid; }
.edge-consent__cats label { display: flex; gap: 10px; align-items: flex-start; background: #0f1f35; border: 1px solid #1e3050; border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.edge-consent__cats input { margin-top: 3px; accent-color: #3b82f6; width: 16px; height: 16px; flex: none; }
.edge-consent__cats b { color: #fff; font-size: 13px; display: block; }
.edge-consent__cats small { color: #8ea3c0; font-size: 12px; display: block; }
.edge-consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-btn { flex: 1 1 auto; border-radius: 8px; padding: 10px 14px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; border: 1px solid #3b82f6; }
.ec-accept, .ec-reject { background: #3b82f6; color: #fff; }   /* equal weight for accept and reject */
.ec-more, .ec-save { background: transparent; color: #cfe0ff; border-color: #2a4466; }
.edge-consent .ec-save { display: none; }
.edge-consent.is-open .ec-save { display: block; background: #fff; color: #0b1628; border-color: #fff; }
.edge-consent.is-open .ec-more { display: none; }
.ec-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) { .edge-consent { left: 8px !important; right: 8px; bottom: 8px; width: auto; transform: none !important; max-width: none; } }

/* ---------- legal pop-up ---------- */
.edge-legal { position: fixed; inset: 0; z-index: 2147482000; background: rgba(2, 6, 15, .72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 18px; }
.edge-legal.is-on { display: flex; }
.edge-legal__box { background: #fff; color: #334155; width: 100%; max-width: 860px; max-height: calc(100vh - 36px); border-radius: 16px; display: flex; flex-direction: column; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); font: 400 15px/1.7 Inter, -apple-system, "Segoe UI", system-ui, sans-serif; }
.edge-legal__x { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: #64748b; cursor: pointer; }
.edge-legal__tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 18px 56px 12px 24px; border-bottom: 1px solid #e2e8f2; }
.edge-legal__tabs button { border: 1px solid #cfdaea; background: #f5f8fd; color: #1e293b; border-radius: 999px; padding: 7px 14px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.edge-legal__tabs button.is-on { background: #1A4FA0; color: #fff; border-color: #1A4FA0; }
.edge-legal__body { overflow: auto; padding: 18px 28px 8px; }
.edge-legal__body h2 { color: #0b1220; font-size: 1.6rem; margin: 6px 0 2px; }
.edge-legal__body h3 { color: #1A4FA0; font-size: 1.15rem; margin: 1.4em 0 .4em; }
.edge-legal__body h4, .edge-legal__body h5 { color: #0b1220; font-size: 1rem; margin: 1.2em 0 .3em; }
.edge-legal__body a { color: #1d4ed8; text-decoration: underline; }
.edge-legal__body ul { padding-left: 1.2em; }
.edge-legal__date { color: #64748b; font-size: .9rem; margin: 0 0 14px; }
.edge-legal__changes { background: #fff8e6; border: 1px solid #f5d58a; border-radius: 10px; padding: 10px 14px; color: #6b4e00; }
.edge-legal__foot { padding: 12px 24px 16px; border-top: 1px solid #e2e8f2; font-size: 14px; }
.edge-legal__foot a { color: #1d4ed8; font-weight: 600; }

/* ---------- /legal/ page ---------- */
.legal-hero h1 { margin-bottom: 14px; }
.legal-toc { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-toc a { background: #fff; border: 1px solid var(--hub-line, #e2e8f2); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--hub-ink, #0b1220); }
.legal-toc a:hover { border-color: #1A4FA0; color: #1A4FA0; }
.legal-wrap { max-width: 920px; padding-bottom: 70px; }
.hub .legal-wrap .legal-doc, .legal-doc { background: #fff; border: 1px solid var(--hub-line, #e2e8f2); border-radius: 18px; padding: 36px 40px; margin: 0 0 26px; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); scroll-margin-top: 120px; }
.legal-doc__head { border-bottom: 1px solid var(--hub-line, #e2e8f2); padding-bottom: 14px; margin-bottom: 18px; }
.legal-doc__head h2 { margin: 0 0 4px; color: #1A4FA0; }
.legal-doc__date { margin: 0; color: var(--hub-muted, #64748b); font-size: .92rem; }
.legal-pdf { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-weight: 600; color: #b91c1c; }
.legal-doc__changes { background: #fff8e6; border: 1px solid #f5d58a; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; color: #6b4e00; }
.legal-doc .prose h3 { color: #1A4FA0; }
.legal-doc .bullets, .legal-doc .prose ul { color: inherit; padding-left: 1.3em; }
.legal-doc .prose li { margin-bottom: 8px; }
.legal-doc .prose a { color: #1d4ed8; text-decoration: underline; }
@media (max-width: 650px) { .hub .legal-wrap .legal-doc { padding: 24px 20px; } }
@media print { .edge-consent, .edge-legal, header.topbar, footer.main-footer, .legal-toc { display: none !important; } .legal-doc { box-shadow: none; border: 0; page-break-after: always; } }

/* ---------- carousels (Edge CMS) ---------- */
.ecar { position: relative; margin: 28px 0; --per: 1; outline: none; }
.ecar:focus-visible { box-shadow: 0 0 0 3px #93c5fd; border-radius: 16px; }
.ecar__title { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; color: inherit; }
.ecar__viewport { position: relative; overflow: hidden; border-radius: 16px; touch-action: pan-y; }
.ecar__track { display: flex; align-items: flex-start; transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.ecar__slide { flex: 0 0 calc(100% / var(--per)); margin: 0; padding: 0 6px; box-sizing: border-box; min-width: 0; }
.ecar--fade .ecar__track { display: grid; transform: none !important; }
.ecar--fade .ecar__slide { grid-area: 1 / 1; opacity: 0; transition: opacity .6s; padding: 0; visibility: hidden; }
.ecar--fade .ecar__slide.is-on { opacity: 1; visibility: visible; }
.ecar:not(.is-ready) .ecar__slide:not(:first-child) { display: none; }
.ecar__media { position: relative; border-radius: 14px; overflow: hidden; background: #0b1628; aspect-ratio: 16 / 9; display: block; }
.ecar--4x3 .ecar__media { aspect-ratio: 4 / 3; } .ecar--1x1 .ecar__media { aspect-ratio: 1 / 1; } .ecar--4x5 .ecar__media { aspect-ratio: 4 / 5; } .ecar--9x16 .ecar__media { aspect-ratio: 9 / 16; }
.ecar--auto .ecar__media { aspect-ratio: auto; }
.ecar__media img, .ecar__media canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.ecar--auto .ecar__media img, .ecar__slide--pdfpage .ecar__media canvas { object-fit: contain; height: auto; }
.ecar__slide--pdfpage .ecar__media { background: #fff; aspect-ratio: auto; border: 1px solid #e2e8f2; }
.ecar__foot { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 4px 0; }
.ecar__cap { font-size: .9rem; color: #64748b; margin: 0; }
.ecar--nocap .ecar__cap { display: none; }
.ecar__more { font-weight: 700; font-size: .88rem; white-space: nowrap; color: #1d4ed8; }
.ecar--auto .ecar__video.is-vertical { aspect-ratio: 9 / 16; max-height: 640px; margin: 0 auto; }
.ecar__video.is-vertical > img { object-fit: contain; background: #000; }
.ecar__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ecar__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; border: 0; background: rgba(225, 29, 29, .92); color: #fff; font-size: 1.4rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ecar__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.ecar__vlink { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff !important; text-decoration: none !important; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.7); font-size: .95rem; }
.ecar__video.is-playing .ecar__play, .ecar__video.is-playing .ecar__vlink, .ecar__video.is-playing > img { display: none; }
.ecar__vbrand { position: absolute; inset: 0; background: linear-gradient(135deg, #0b1a3a, #2563eb); }
.ecar__vbrand--instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.ecar__vbrand--tiktok { background: linear-gradient(135deg, #010101, #25f4ee 60%, #fe2c55); }
.ecar__vbrand--spotify { background: linear-gradient(135deg, #0b1628, #1db954); }
.ecar__card { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg, #0b1a3a); color: #fff; min-height: 100%; display: flex; flex-direction: column; aspect-ratio: 16 / 9; }
.ecar--1x1 .ecar__card { aspect-ratio: 1 / 1; } .ecar--4x5 .ecar__card { aspect-ratio: 4 / 5; } .ecar--9x16 .ecar__card { aspect-ratio: 9 / 16; } .ecar--4x3 .ecar__card { aspect-ratio: 4 / 3; } .ecar--auto .ecar__card { aspect-ratio: auto; }
.ecar__card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.ecar__card-body { position: relative; margin-top: auto; padding: 28px 72px 30px; }
.ecar__card h3 { color: #fff !important; margin: 0 0 8px; font-size: 1.45rem; line-height: 1.25; }
.ecar__card p { color: rgba(255,255,255,.88) !important; margin: 0 0 14px; }
.ecar__btn { display: inline-block; background: #fff; color: #0b1a3a !important; font-weight: 700; padding: 9px 16px; border-radius: 999px; text-decoration: none !important; }
.ecar__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #0b1220; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(15,23,42,.25); z-index: 2; }
.ecar__arrow--prev { left: 12px; } .ecar__arrow--next { right: 12px; }
.ecar__arrow:disabled { opacity: .35; cursor: default; }
.ecar__ctrls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.ecar__dots { display: flex; gap: 6px; }
.ecar__dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: #cbd5e1; cursor: pointer; transition: width .25s, background .25s; }
.ecar__dot.is-on { width: 26px; background: #2563eb; }
.ecar__pp { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 999px; width: 32px; height: 26px; font-size: .7rem; cursor: pointer; }
.ecar__count { font-size: .82rem; color: #64748b; font-weight: 600; }
.ecar__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.ecar__thumb { flex: none; width: 74px; height: 50px; border-radius: 8px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #e2e8f2; cursor: pointer; }
.ecar__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ecar__thumb.is-on { border-color: #2563eb; }
body:not(.hub) .ecar__cap { color: #a1a1aa; }
.ea-card .ecar { margin: 10px 0 14px; }
.ea-card .ecar__arrow { width: 36px; height: 36px; font-size: 1.5rem; }
@media (max-width: 700px) { .ecar__arrow { width: 36px; height: 36px; font-size: 1.4rem; } .ecar__card-body { padding: 18px 52px 20px; } .ecar__card h3 { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .ecar__track, .ecar--fade .ecar__slide { transition: none; } }

/* Home: contact form open in the closing section (Buttons, consent & forms → Forms) */
.cta-box.has-inline-form { padding-bottom: 50px; }
.cta-box .contact-inline { max-width: 820px; max-height: none; overflow: visible; margin: 22px auto 10px; text-align: left; animation: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); scroll-margin-top: 110px; }
.cta-box .contact-inline h3 { margin-bottom: 10px; }
