/* ==========================================================
   Events Afisha v8 — afisha.css
   Modal redesigned to match screenshot style
   ========================================================== */


.ea-wrap47 {
    --ea-bg:        #e9edf1;
    --ea-bg-card:   #ffffff;
    --ea-brand:     #4d52e2;
    --ea-brand-dk:  #3a3fc8;
    --ea-text:      #000000;
    --ea-text-muted:#555555;
    --ea-white:     #ffffff;
    --ea-black:     #000000;
    --ea-radius:    14px;
    --ea-shadow:    0 4px 24px rgba(0,0,0,.13);
    --ea-card-w:    300px;
    --ea-gap:       20px;
    --ea-font:      'Montserrat', sans-serif;
    font-family: var(--ea-font) !important;
    background: var(--ea-bg) !important;
    padding: 36px 0 40px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: visible !important;
    color: var(--ea-text) !important;
    border-radius: 0 !important;
}

[data-scheme="dark"] .ea-wrap47, body[data-scheme="dark"] .ea-wrap47 {
    --ea-bg: #232323; --ea-bg-card: #232323; --ea-text: #ffffff;
    --ea-text-muted: #aaaaaa; --ea-shadow: none;
}
[data-scheme="dark"] .ea-card47, body[data-scheme="dark"] .ea-card47 {
    background: #000000 !important;
}
[data-scheme="dark"] .ea-body47, body[data-scheme="dark"] .ea-body47 {
    background: #000000 !important;
}

.ea-header47 { display:flex !important; align-items:center !important; justify-content:space-between !important; padding:0 32px 24px !important; }
.ea-title47 { font-family:var(--ea-font) !important; font-size:1.6rem !important; font-weight:800 !important; color:var(--ea-text) !important; margin:0 !important; padding:0 !important; line-height:1.2 !important; letter-spacing:-0.03em !important; border:none !important; background:none !important; text-transform:uppercase !important; }
.ea-nav47 { display:flex !important; gap:10px !important; flex-shrink:0 !important; }
.ea-arrow47 { font-family:var(--ea-font) !important; width:42px !important; height:42px !important; border-radius:50% !important; border:2px solid var(--ea-brand) !important; background:transparent !important; color:var(--ea-brand) !important; font-size:1.15rem !important; cursor:pointer !important; display:flex !important; align-items:center !important; justify-content:center !important; transition:background .2s,color .2s !important; line-height:1 !important; padding:0 !important; }
.ea-arrow47:hover,.ea-arrow47:focus { background:var(--ea-brand) !important; color:var(--ea-white) !important; outline:none !important; }

.ea-slider47 {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    outline: none !important;
    /* padding gives room for card box-shadows on both sides */
    padding: 8px 32px 16px !important;
    /* negative margin compensates so cards align with content */
    margin: -8px 0 0 !important;
    scroll-padding-left: 32px !important;
}
.ea-slider47::-webkit-scrollbar { display:none !important; }
.ea-slider47.ea-grabbing47 { cursor:grabbing !important; }
.ea-track47 { display:flex !important; gap:var(--ea-gap) !important; width:max-content !important; min-width:100% !important; }

.ea-card47 { width:var(--ea-card-w) !important; flex-shrink:0 !important; background:var(--ea-bg-card) !important; border-radius:var(--ea-radius) !important; box-shadow:none !important; scroll-snap-align:start !important; display:flex !important; flex-direction:column !important; overflow:hidden !important; transition:transform .25s !important; position:relative !important; outline:none !important; filter:none !important; }
.ea-card47:hover,.ea-card47:focus { transform:translateY(-5px) !important; filter:none !important; }

.ea-img47 { position:relative !important; width:100% !important; height:190px !important; overflow:hidden !important; background:#1a1a2e !important; flex-shrink:0 !important; }
.ea-thumb47 { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; transition:transform .4s !important; border:none !important; }
.ea-card47:hover .ea-thumb47 { transform:scale(1.05) !important; }
.ea-no-img47 { width:100% !important; height:100% !important; background:linear-gradient(135deg,#6c52e2 0%,#1a1a3e 100%) !important; display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:10px !important; padding:16px !important; box-sizing:border-box !important; }
.ea-no-img47 span { font-size:2rem !important; opacity:.8 !important; }
.ea-no-img-title47 { color:rgba(255,255,255,.85) !important; font-size:.75rem !important; font-weight:600 !important; text-align:center !important; line-height:1.4 !important; font-family:var(--ea-font) !important; letter-spacing:.02em !important; }
/* No-image card: completely hide image block, style body with gradient top border */
.ea-card47--noimg .ea-img47 { display:none !important; }
.ea-card47--noimg .ea-body47 { flex:1 !important; border-top:4px solid var(--ea-brand) !important; }

.ea-cats47 { position:absolute !important; bottom:10px !important; left:10px !important; display:flex !important; gap:6px !important; flex-wrap:wrap !important; pointer-events:none !important; }
.ea-cat47 { font-family:var(--ea-font) !important; background:var(--ea-brand) !important; color:var(--ea-white) !important; font-size:.62rem !important; font-weight:700 !important; letter-spacing:.06em !important; text-transform:uppercase !important; padding:3px 9px !important; border-radius:20px !important; white-space:nowrap !important; line-height:1.5 !important; }

.ea-body47 { padding:18px 18px 16px !important; display:flex !important; flex-direction:column !important; gap:10px !important; flex:1 !important; background:var(--ea-bg-card) !important; }

.ea-date47 { display:flex !important; align-items:baseline !important; gap:5px !important; background:var(--ea-brand) !important; color:var(--ea-white) !important; border-radius:8px !important; padding:6px 12px !important; width:fit-content !important; line-height:1 !important; }
.ea-day47 { font-family:var(--ea-font) !important; font-size:1.4rem !important; font-weight:800 !important; color:var(--ea-white) !important; line-height:1 !important; }
.ea-month47 { font-family:var(--ea-font) !important; font-size:.75rem !important; font-weight:700 !important; text-transform:uppercase !important; color:rgba(255,255,255,.85) !important; letter-spacing:.05em !important; }
.ea-dow47 { font-family:var(--ea-font) !important; font-size:.7rem !important; font-weight:500 !important; color:rgba(255,255,255,.7) !important; letter-spacing:.04em !important; }
.ea-time47 { font-family:var(--ea-font) !important; font-size:.8rem !important; font-weight:600 !important; color:var(--ea-white) !important; margin-left:auto !important; white-space:nowrap !important; }

.ea-card-title47 { font-family:var(--ea-font) !important; font-size:.95rem !important; font-weight:700 !important; color:var(--ea-text) !important; margin:0 !important; padding:0 !important; line-height:1.35 !important; letter-spacing:-.01em !important; border:none !important; background:none !important; }

.ea-desc47 { font-family:var(--ea-font) !important; font-size:.78rem !important; font-weight:400 !important; color:var(--ea-text-muted) !important; margin:0 !important; line-height:1.55 !important; display:-webkit-box !important; -webkit-line-clamp:4 !important; -webkit-box-orient:vertical !important; overflow:hidden !important; }

.ea-footer47 { display:flex !important; align-items:center !important; justify-content:space-between !important; margin-top:auto !important; gap:8px !important; }

.ea-cost47 { font-family:var(--ea-font) !important; font-size:.8rem !important; font-weight:700 !important; color:var(--ea-brand) !important; background:rgba(77,82,226,.12) !important; border-radius:6px !important; padding:3px 10px !important; white-space:nowrap !important; }

.ea-btn47 { font-family:var(--ea-font) !important; font-size:.75rem !important; font-weight:700 !important; color:var(--ea-white) !important; background:var(--ea-brand) !important; border:none !important; border-radius:8px !important; padding:7px 14px !important; text-decoration:none !important; letter-spacing:.04em !important; text-transform:uppercase !important; white-space:nowrap !important; transition:background .2s,transform .15s !important; display:inline-block !important; line-height:1.3 !important; cursor:pointer !important; margin-left:auto !important; }
.ea-btn47:hover,.ea-btn47:focus { background:var(--ea-brand-dk) !important; color:var(--ea-white) !important; text-decoration:none !important; transform:translateY(-1px) !important; outline:none !important; }

.ea-dots47 { display:flex !important; justify-content:center !important; gap:7px !important; padding:16px 32px 0 !important; flex-wrap:wrap !important; }
.ea-dot47 { width:8px !important; height:8px !important; border-radius:50% !important; background:rgba(77,82,226,.25) !important; border:none !important; padding:0 !important; cursor:pointer !important; transition:background .2s,transform .2s !important; flex-shrink:0 !important; }
.ea-dot47.ea-dot-active47 { background:var(--ea-brand) !important; transform:scale(1.4) !important; }

.ea-adult-badge47 { position:absolute; top:8px; right:8px; background:rgba(180,0,0,.92); color:#fff; font-size:11px; font-weight:700; padding:3px 8px; border-radius:20px; letter-spacing:.5px; z-index:3; backdrop-filter:blur(4px); }

@media (max-width:640px) {
    .ea-wrap47 { padding:24px 0 28px !important; }
    .ea-header47 { padding:0 16px 18px !important; }
    .ea-slider47 { padding:8px 16px 14px !important; scroll-padding-left:16px !important; }
    .ea-title47 { font-size:1.2rem !important; }
    .ea-card47 { --ea-card-w:265px; }
    .ea-dots47 { padding:14px 16px 0 !important; }
}

/* ================================================================
   MODAL — light, modern, clean. Brand: #4d52e2 / bg: #e9edf1
   ================================================================ */

@keyframes eaModalIn {
    from { opacity: 0; transform: translateY(20px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes eaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Backdrop ── */
.ea-modal-portal47 {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .48);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    overflow: hidden;
    animation: eaFadeIn .2s ease;
}
.ea-modal-portal47[aria-hidden="false"] {
    display: flex !important;
}

/* ── Modal box ── */
.ea-modal-mbox47 {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    border-radius: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 40px);
    -webkit-overflow-scrolling: touch;
    box-shadow:
        0 2px 0 rgba(77,82,226,.12),
        0 24px 60px rgba(0,0,0,.22),
        0 4px 16px rgba(0,0,0,.08);
    font-family: 'Montserrat', sans-serif;
    display: block;
    scrollbar-width: thin;
    scrollbar-color: #d0d4e8 #f5f5f5;
    animation: eaModalIn .26s cubic-bezier(.22,.68,0,1.15);
}
.ea-modal-mbox47::-webkit-scrollbar { width: 5px; }
.ea-modal-mbox47::-webkit-scrollbar-track { background: #f5f5f5; }
.ea-modal-mbox47::-webkit-scrollbar-thumb { background: #d0d4e8; border-radius: 5px; }

/* ── Close button ── */
.ea-modal-x47 {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 100000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    color: #000;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-appearance: none;
    transition: background .15s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    backdrop-filter: blur(4px);
    font-family: 'Montserrat', sans-serif;
}
.ea-modal-x47:hover {
    background: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* ── Hero image ── */
.ea-mhero47 {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e9edf1;
    flex-shrink: 0;
}
.ea-mhero47--noimg {
    height: 80px;
    background: #4d52e2;
}
.ea-mhero-img47 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 5s ease;
}
.ea-modal-mbox47:hover .ea-mhero-img47 {
    transform: scale(1.04);
}
/* Gradient: transparent top → white bottom — bleeds into card body */
.ea-mhero-gradient47 {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 45%,
        rgba(255,255,255,.6) 75%,
        #ffffff 100%
    );
}
.ea-mhero-adult47 {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: .7px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(192,57,43,.35);
}

/* ── Title overlaid on hero bottom ── */
.ea-mhero-title47 {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 22px 18px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.28;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -.02em;
    text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.ea-mhero47--noimg .ea-mhero-title47 {
    position: static;
    padding: 20px 22px 14px;
    font-size: 1.1rem;
    color: #ffffff;
}

/* ── Meta strip ── */
.ea-mmeta47 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 4px 22px 12px;
    border-bottom: 1.5px solid #e9edf1;
}
.ea-mpub47 {
    font-size: .7rem;
    color: #888;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}
.ea-meventdate47 {
    font-size: .72rem;
    color: #4d52e2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(77,82,226,.08);
    padding: 3px 10px;
    border-radius: 30px;
    border: 1px solid rgba(77,82,226,.15);
}
.ea-mmeta-sep47 {
    color: #ccc;
    font-size: .6rem;
}

/* ── Chips: price + 18+ ── */
.ea-mchips47 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px 4px;
    flex-wrap: wrap;
}
.ea-mchip47 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 30px;
    font-size: .73rem;
    font-weight: 700;
    padding: 5px 13px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    letter-spacing: .01em;
}
.ea-mchip-price47 {
    background: #000;
    color: #fff;
    border: none;
}
.ea-mchip-adult47 {
    background: rgba(192,57,43,.08);
    color: #c0392b;
    border: 1.5px solid rgba(192,57,43,.25);
}

/* ── Description ── */
.ea-mcontent47 {
    padding: 14px 22px 0;
    background: #fff;
    color: #111;
}
.ea-mdesc47 {
    font-size: 1rem;
    line-height: 1.8;
    color: #111 !important;
    margin: 0 0 4px;
    font-family: 'Montserrat', sans-serif;
    word-break: break-word;
    overflow-wrap: break-word;
}
.ea-mdesc47 p { margin: 0 0 12px; color: #111 !important; }
.ea-mdesc47 p:last-child { margin-bottom: 0; }
.ea-mdesc47 img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 14px 0;
}
.ea-mdesc47 h1,.ea-mdesc47 h2,.ea-mdesc47 h3,.ea-mdesc47 h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #000;
    margin: 18px 0 7px;
    line-height: 1.25;
}
.ea-mdesc47 h2 { font-size: 1rem; }
.ea-mdesc47 h3 { font-size: .92rem; }
.ea-mdesc47 a { color: #4d52e2; text-decoration: underline; }
.ea-mdesc47 ul,.ea-mdesc47 ol { margin: 8px 0 12px 18px; padding: 0; }
.ea-mdesc47 li { margin-bottom: 5px; color: #333; }
.ea-mdesc47 strong,.ea-mdesc47 b { font-weight: 700; color: #000; }
.ea-mdesc47 em,.ea-mdesc47 i { font-style: italic; }
.ea-mdesc47 blockquote {
    border-left: 3px solid #4d52e2;
    margin: 14px 0;
    padding: 10px 16px;
    background: rgba(77,82,226,.05);
    border-radius: 0 8px 8px 0;
    color: #444;
    font-style: italic;
}
.ea-mdesc47 figure { margin: 14px 0; }
.ea-mdesc47 figcaption { font-size: .72rem; color: #999; margin-top: 4px; text-align: center; }

/* ── Divider ── */
.ea-mdivider47 {
    height: 1.5px;
    background: #e9edf1;
    margin: 14px 0 0;
}

/* ── Footer ── */
.ea-mfooter47 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px 22px;
    background: #fff;
}
.ea-mdisclaimer47 {
    font-size: .68rem;
    color: #aaa;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

/* ── "Official page" button ── */
.ea-mextbtn47 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #4d52e2;
    color: #ffffff !important;
    font-weight: 700;
    font-size: .78rem;
    padding: 11px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    border: none;
    transition: background .18s, transform .15s, box-shadow .18s;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(77,82,226,.3);
}
.ea-mextbtn47:hover {
    background: #3a3fc8;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(77,82,226,.42);
    color: #ffffff !important;
    text-decoration: none !important;
}
.ea-mextbtn47:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(77,82,226,.25);
}
.ea-mextbtn47--adult {
    background: #c0392b !important;
    box-shadow: 0 4px 14px rgba(192,57,43,.28) !important;
}
.ea-mextbtn47--adult:hover {
    background: #a93226 !important;
    box-shadow: 0 8px 22px rgba(192,57,43,.4) !important;
}

/* ── Calendar buttons ── */
.ea-cal-btns47 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-right: auto;
}
.ea-calbtn47 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 8px 14px;
    border-radius: 50px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background .18s, transform .15s, box-shadow .18s;
    white-space: nowrap;
}
.ea-calbtn47--google {
    background: #fff;
    color: #4d52e2 !important;
    border: 1.5px solid #4d52e2;
    box-shadow: 0 2px 8px rgba(77,82,226,.12);
}
.ea-calbtn47--google:hover {
    background: #4d52e2;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(77,82,226,.3);
}
.ea-calbtn47--apple {
    background: #fff;
    color: #333 !important;
    border: 1.5px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.ea-calbtn47--apple:hover {
    background: #222;
    color: #fff !important;
    border-color: #222;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

/* ── Dark mode ── */
[data-scheme="dark"] .ea-modal-mbox47,
body[data-scheme="dark"] .ea-modal-mbox47 {
    background: #232323;
    box-shadow: 0 2px 0 rgba(77,82,226,.2), 0 24px 60px rgba(0,0,0,.6);
}
[data-scheme="dark"] .ea-mhero-gradient47,
body[data-scheme="dark"] .ea-mhero-gradient47 {
    background: linear-gradient(to bottom, transparent 0%, transparent 45%, rgba(35,35,35,.6) 75%, #232323 100%);
}
[data-scheme="dark"] .ea-mhero-title47,
body[data-scheme="dark"] .ea-mhero-title47 { color: #fff; }
[data-scheme="dark"] .ea-mmeta47,
body[data-scheme="dark"] .ea-mmeta47 { border-color: rgba(255,255,255,.08); }
[data-scheme="dark"] .ea-mpub47,
body[data-scheme="dark"] .ea-mpub47 { color: #888; }
[data-scheme="dark"] .ea-mcontent47,
body[data-scheme="dark"] .ea-mcontent47 { background: #232323; color: #eee; }
[data-scheme="dark"] .ea-mdesc47,
body[data-scheme="dark"] .ea-mdesc47 { color: #ddd; }
[data-scheme="dark"] .ea-mdesc47 p,
body[data-scheme="dark"] .ea-mdesc47 p { color: #ccc; }
[data-scheme="dark"] .ea-mdesc47 strong,
body[data-scheme="dark"] .ea-mdesc47 strong { color: #fff; }
[data-scheme="dark"] .ea-mdesc47 li,
body[data-scheme="dark"] .ea-mdesc47 li { color: #ccc; }
[data-scheme="dark"] .ea-mdivider47,
body[data-scheme="dark"] .ea-mdivider47 { background: rgba(255,255,255,.08); }
[data-scheme="dark"] .ea-mfooter47,
body[data-scheme="dark"] .ea-mfooter47 { background: #232323; }
[data-scheme="dark"] .ea-mdisclaimer47,
body[data-scheme="dark"] .ea-mdisclaimer47 { color: #666; }
[data-scheme="dark"] .ea-mchip-price47,
body[data-scheme="dark"] .ea-mchip-price47 { background: #fff; color: #000; }
[data-scheme="dark"] .ea-modal-x47,
body[data-scheme="dark"] .ea-modal-x47 { background: rgba(35,35,35,.92); color: #fff; }
[data-scheme="dark"] .ea-calbtn47--google,
body[data-scheme="dark"] .ea-calbtn47--google { background: #1a1a2e; color: #8b8fff !important; border-color: #4d52e2; }
[data-scheme="dark"] .ea-calbtn47--apple,
body[data-scheme="dark"] .ea-calbtn47--apple { background: #1a1a1a; color: #ccc !important; border-color: #444; }

/* ── Mobile: bottom sheet ── */
@media (max-width: 560px) {
    .ea-modal-portal47 {
        padding: 0;
        display: none;
        align-items: flex-end;
    }
    .ea-modal-portal47[aria-hidden="false"] {
        display: flex !important;
        align-items: flex-end !important;
    }
    .ea-modal-mbox47 {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        max-height: 93vh;
        animation: eaSheetIn .28s cubic-bezier(.22,.68,0,1.1);
    }
    @keyframes eaSheetIn {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    .ea-mhero47 { height: 190px; }
    .ea-mhero-title47 { font-size: .95rem; padding: 16px 18px 14px; }
    .ea-mmeta47 { padding: 4px 18px 10px; }
    .ea-mchips47 { padding: 10px 18px 4px; }
    .ea-mcontent47 { padding: 12px 18px 0; }
    .ea-mfooter47 { padding: 12px 18px 28px; flex-direction: column; align-items: stretch; gap: 10px; }
    .ea-cal-btns47 { flex-direction: column; }
    .ea-calbtn47 { width: 100%; justify-content: center; }
    .ea-mextbtn47 { width: 100%; justify-content: center; padding: 13px 22px; }
}

/* ── Desktop ── */
@media (min-width: 561px) {
    .ea-modal-mbox47 {
        max-width: 700px;
        max-height: 88vh;
    }
    .ea-mhero47 { height: 260px; }
    .ea-mhero-title47 { font-size: 1.2rem; padding: 22px 28px 18px; }
    .ea-mmeta47 { padding: 4px 28px 14px; }
    .ea-mchips47 { padding: 14px 28px 4px; }
    .ea-mcontent47 { padding: 16px 28px 0; }
    .ea-mfooter47 { padding: 14px 28px 24px; }
}

/* ── Age gate ── */
.ea-agegate-overlay47 {
    position: fixed; inset: 0; z-index: 200000;
    background: rgba(0,0,0,.55);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    animation: eaFadeIn .2s ease;
}
.ea-agegate-box47 {
    background: #fff;
    border: none;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 400px; width: 90%;
    text-align: center;
    color: #000;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.ea-agegate-icon47 { font-size: 48px; line-height: 1; margin-bottom: 14px; }
.ea-agegate-title47 { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; color: #000; font-family: 'Montserrat', sans-serif; letter-spacing: -.02em; }
.ea-agegate-text47 { font-size: 14px; color: #555; line-height: 1.65; margin: 0 0 28px; font-family: 'Montserrat', sans-serif; }
.ea-agegate-btns47 { display: flex; flex-direction: column; gap: 10px; }
.ea-agegate-confirm47 {
    background: #4d52e2; color: #fff; border: none;
    border-radius: 50px; padding: 13px 20px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .18s, transform .15s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(77,82,226,.3);
}
.ea-agegate-confirm47:hover { background: #3a3fc8; transform: translateY(-1px); }
.ea-agegate-cancel47 {
    background: #e9edf1; color: #555; border: none;
    border-radius: 50px; padding: 11px 20px;
    font-size: 13px; cursor: pointer;
    transition: background .2s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.ea-agegate-cancel47:hover { background: #dde1e7; }
/* Dark age gate */
[data-scheme="dark"] .ea-agegate-box47,
body[data-scheme="dark"] .ea-agegate-box47 {
    background: #232323; color: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
[data-scheme="dark"] .ea-agegate-title47,
body[data-scheme="dark"] .ea-agegate-title47 { color: #fff; }
[data-scheme="dark"] .ea-agegate-text47,
body[data-scheme="dark"] .ea-agegate-text47 { color: #aaa; }
[data-scheme="dark"] .ea-agegate-cancel47,
body[data-scheme="dark"] .ea-agegate-cancel47 { background: rgba(255,255,255,.08); color: #aaa; }
[data-scheme="dark"] .ea-agegate-cancel47:hover,
body[data-scheme="dark"] .ea-agegate-cancel47:hover { background: rgba(255,255,255,.14); }

/* ── Styled title block (when no hero image or images hidden) ── */
.ea-mtitleblock47 {
    padding: 32px 28px 20px;
    background: #ffffff;
    border-bottom: 3px solid #4d52e2;
    position: relative;
}
.ea-mtitleblock47::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4d52e2 0%, #7c80f0 100%);
    border-radius: 20px 20px 0 0;
}
.ea-mtitleblock-adult47 {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: .7px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ea-mtitleblock-h47 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.28;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -.02em;
    padding: 0;
    border: none;
    background: none;
}

/* Dark mode title block */
[data-scheme="dark"] .ea-mtitleblock47,
body[data-scheme="dark"] .ea-mtitleblock47 {
    background: #232323;
    border-bottom-color: #4d52e2;
}
[data-scheme="dark"] .ea-mtitleblock-h47,
body[data-scheme="dark"] .ea-mtitleblock-h47 { color: #ffffff; }

@media (max-width: 560px) {
    .ea-mtitleblock47 { padding: 24px 18px 16px; }
    .ea-mtitleblock-h47 { font-size: 1.05rem; }
}

/* ── Info button & popover (v16) ─────────────────────────── */
.ea-info-btn47 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: inherit;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    opacity: 0.75;
    transition: opacity .15s, background .15s;
    flex-shrink: 0;
}
.ea-info-btn47:hover,
.ea-info-btn47:focus-visible {
    opacity: 1;
    background: rgba(255,255,255,0.32);
    outline: none;
}

.ea-info-popover47 {
    position: absolute;
    z-index: 99999;
    background: #1e293b;
    color: #f1f5f9;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.28);
    pointer-events: none;
    white-space: pre-wrap;
    word-break: break-word;
    animation: eaPopoverIn47 .15s ease;
}
@keyframes eaPopoverIn47 {
    from { opacity:0; transform:translateY(-4px); }
    to   { opacity:1; transform:translateY(0); }
}


/* ── City filter bar ── */
.ea-cityfilter47 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.ea-citybtn47 {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: inherit;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    font-family: inherit;
}
.ea-citybtn47:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
}
.ea-citybtn-active47 {
    background: #fff;
    border-color: #fff;
    color: #111 !important;
    font-weight: 600;
}

/* ── Going counter button ── */
.ea-going-btn47 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(77,82,226,0.06);
    border: 1px solid rgba(77,82,226,0.18);
    border-radius: 100px;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #4d52e2;
    font-family: inherit;
    letter-spacing: .01em;
    transition: background 0.2s, border-color 0.2s, transform 0.12s, color 0.2s;
    margin-top: 4px;
    white-space: nowrap;
}
.ea-going-btn47:hover {
    background: rgba(77,82,226,0.12);
    border-color: rgba(77,82,226,0.4);
    transform: translateY(-1px);
}
.ea-going-btn47.ea-going-active47 {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}
.ea-going-btn47.ea-going-active47:hover {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-1px);
}
.ea-going-count47 {
    font-weight: 700;
    font-size: 11px;
    background: rgba(77,82,226,0.1);
    border-radius: 20px;
    padding: 1px 6px;
    min-width: 20px;
    text-align: center;
    transition: background 0.2s;
}
.ea-going-btn47.ea-going-active47 .ea-going-count47 {
    background: rgba(255,255,255,0.25);
}
.ea-going-icon47 { font-size: 13px; line-height: 1; }

/* ── Custom card (manual) ── */
.ea-card47--manual { border: 1.5px solid rgba(255,255,255,0.18); }
