/* TicketsFest Україна Home Page — extracted in v9.7.1 */
:root {
    --bg:            #ebf3ff;
    --text:          #0f172a;
    --primary:       #1d4ed8;
    --primary-light: #3b82f6;
    --container:     1320px;
    --padding-x:     clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', 'DM Sans', -apple-system, sans-serif; background: var(--bg); -webkit-font-smoothing: antialiased; }

.tfe-page-wrapper {
    min-height: 100vh;
    padding-bottom: 40px;
    background-image:
        radial-gradient(at 0% 0%,   hsla(245,90%,96%,1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(210,90%,96%,1) 0, transparent 50%);
}
.tfe-container   { max-width: var(--container); margin: 0 auto; padding: 0 var(--padding-x); }
.tfe-section-gap { margin-bottom: 60px; }
.tfe-slider-lock { width: 100%; overflow: hidden; padding-bottom: 20px; }

/* ── DARK BANNER SECTION ── */
.tfe-hero-banner-section {
    background: #0f172a;
    padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
    margin-bottom: 60px;
    position: relative;
}

/* Geometric grid overlay */
.tfe-hero-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}

/* Blue orb top-left */
.tfe-hero-banner-section .tfe-orb-1 {
    position: absolute;
    top: -100px; left: -100px;
    width: 500px; height: 500px;
    background: #2563eb;
    filter: blur(130px);
    opacity: 0.12;
    border-radius: 50%;
    pointer-events: none;
}

/* Pink orb bottom-right */
.tfe-hero-banner-section .tfe-orb-2 {
    position: absolute;
    bottom: -40px; right: -60px;
    width: 400px; height: 400px;
    background: #ec4899;
    filter: blur(120px);
    opacity: 0.10;
    border-radius: 50%;
    pointer-events: none;
}

/* Banner wrapper */
.tfe-hero-banner-section .tfe-banners-wrap {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(37, 99, 235, 0.08);
}

/* Dots pagination — override plugin styles to match dark bg */
.tfe-hero-banner-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
}
.tfe-hero-banner-section .swiper-pagination-bullet-active {
    background: #3b82f6 !important;
}

/* ── SECTION HEADER ── */
.tfe-section-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; }
.tfe-flag-icon      { font-size: 32px; }
.tfe-section-title  { margin: 0; font-size: 36px; font-weight: 900; background: linear-gradient(135deg, #0f172a, #334155); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── VIEW ALL BUTTON ── */
.tfe-center-btn-wrap { margin-top: 30px; text-align: center; }
.tfe-view-all { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; background: #fff; border: 1px solid #bfdbfe; color: var(--primary); font-weight: 800; text-decoration: none; transition: all .2s; font-family: inherit; }
.tfe-view-all:hover { background: var(--primary); color: #fff; }

/* ── ARTIST CARDS ── */
.tfe-artists-grid-desktop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tfe-artists-mobile-list  { display: none; }

.tfe-artist-card { display: block; text-decoration: none; background: #fff; border-radius: 28px; border: 1px solid rgba(226,232,240,0.8); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.tfe-artist-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(15,23,42,0.12); }
.tfe-artist-cover { aspect-ratio: 16/12; background: #f1f5f9; position: relative; overflow: hidden; }
.tfe-artist-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s; }
.tfe-artist-card:hover .tfe-artist-cover img { transform: scale(1.08); }

.tfe-artist-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.tfe-chip          { padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 11px; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); }
.tfe-chip--count   { background: #3b82f6; color: #fff; }

.tfe-artist-body { padding: 18px; }
.tfe-artist-name { margin: 0; font-weight: 900; font-size: 19px; color: #0f172a; }
.tfe-artist-sub  { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.tfe-artist-sub span:first-child { font-weight: 700; color: #64748b; font-size: 14px; }
.tfe-artist-btn  { width: 32px; height: 32px; border-radius: 50%; background: #eff6ff; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.tfe-artist-btn svg { width: 14px; height: 14px; }

/* ── SUBSCRIBE WIDGET ── */
.tfe-sub-wrapper { padding: 60px 40px; border-radius: 32px; background: radial-gradient(circle at top right, #4338ca 0%, #0f172a 60%, #020617 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.tfe-sub-wrapper::before { content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px; background: #ec4899; filter: blur(90px); opacity: 0.4; border-radius: 50%; pointer-events: none; }
.tfe-sub-wrapper::after  { content: ''; position: absolute; bottom: -50px; right: 20%; width: 300px; height: 300px; background: #3b82f6; filter: blur(100px); opacity: 0.3; border-radius: 50%; pointer-events: none; }
.tfe-sub-content { max-width: 500px; position: relative; z-index: 2; }
.tfe-sub-title   { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin: 0 0 12px; line-height: 1.2; }
.tfe-sub-text    { font-size: 16px; color: #cbd5e1; margin: 0; line-height: 1.5; }

.tfe-sub-form  { position: relative; z-index: 2; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); padding: 6px; border-radius: 50px; display: flex; align-items: center; max-width: 450px; width: 100%; height: 60px; }
.tfe-sub-input { font-family: inherit; border: 0 !important; outline: none !important; background: transparent !important; padding: 0 20px; font-size: 16px; color: #fff !important; flex-grow: 1; height: 100%; font-weight: 500; }
.tfe-sub-input::placeholder { color: rgba(255,255,255,0.65); }
.tfe-sub-btn   { font-family: inherit; background: #fff; color: #0f172a; border: none; border-radius: 50px; padding: 0 24px; height: 100%; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: .2s; font-size: 15px; white-space: nowrap; }
.tfe-sub-btn:hover { background: #eff6ff; }
.tfe-sub-btn svg { width: 14px; height: 14px; }

/* ── PARTNERS ── */
.tfe-logos-section { margin-top: 40px; }
.tfe-logos-wrap { background: rgba(255,255,255,0.5); border-radius: 24px; padding: 20px 10px; }

/* Honeypot */
.tfe-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .tfe-section-title { font-size: 28px; }
    .tfe-artists-grid-desktop { display: none; }
    .tfe-artists-mobile-list { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .tfe-artists-mobile-list .tfe-artist-card { min-width: 260px; max-width: 260px; flex-shrink: 0; scroll-snap-align: center; }
}
@media (max-width: 900px) {
    .tfe-sub-wrapper { flex-direction: column; text-align: center; padding: 40px 20px; gap: 24px; }
    .tfe-sub-form { margin: 0 auto; }
}
@media (max-width: 768px) {
    .tfe-section-gap { margin-bottom: 40px; }
    .tfe-hero-banner-section { padding: 50px 0 28px; margin-bottom: 40px; } /* 60px header + 10px gap */
    .tfe-hero-banner-section .tfe-banners-wrap { border-radius: 12px; }
    .tfe-sub-wrapper { padding: 32px 20px; }
    .tfe-sub-form { flex-direction: column; background: transparent; padding: 0; border: none; height: auto; backdrop-filter: none; border-radius: 0; }
    .tfe-sub-input { background: rgba(255,255,255,0.15) !important; border-radius: 12px !important; height: 50px; text-align: center; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.2) !important; }
    .tfe-sub-btn { width: 100%; height: 50px; border-radius: 12px; justify-content: center; }
}
@media (max-width: 480px) {
    .tfe-artists-mobile-list .tfe-artist-card { min-width: 220px; max-width: 220px; }
    .tfe-section-header { gap: 8px; }
    .tfe-flag-icon { font-size: 24px; }
    .tfe-section-title { font-size: 22px; }
}


/* ── v9.8.6 HOMEPAGE GROWTH BLOCKS ── */
.tfe-growth-section { position: relative; }
.tfe-growth-section--top .tfe-section-title {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tfe-city-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.tfe-city-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(191,219,254,.9);
    box-shadow: 0 16px 38px rgba(15,23,42,.07);
    text-decoration: none;
    color: #0f172a;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tfe-city-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,.75);
    box-shadow: 0 20px 50px rgba(29,78,216,.14);
}
.tfe-city-card strong { font-size: clamp(18px, 2vw, 24px); line-height: 1.05; }
.tfe-city-card span:last-child { color: var(--primary); font-weight: 800; font-size: 13px; }
.tfe-city-kicker { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.tfe-ukrainian-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.28), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    color: #fff;
    overflow: hidden;
}
.tfe-ukrainian-box h2 { margin: 10px 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; font-weight: 950; }
.tfe-ukrainian-box p { margin: 0; max-width: 720px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.6; }
.tfe-ukrainian-box .tfe-view-all { flex-shrink: 0; }
.tfe-ukrainian-events-list { margin-top: 24px; }
@media (max-width: 1100px) {
    .tfe-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .tfe-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .tfe-city-card { min-height: 112px; border-radius: 18px; padding: 14px; }
    .tfe-ukrainian-box { flex-direction: column; align-items: flex-start; border-radius: 24px; }
    .tfe-ukrainian-box .tfe-view-all { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
    .tfe-city-grid { grid-template-columns: 1fr; }
}


/* ── v9.8.7 HOMEPAGE BLOCK VISUAL FIX ──
   Ensures growth blocks render as cards on translated home routes and after cache rebuilds. */
.tfe-growth-section--cities .tfe-section-header { margin-bottom: 24px; }
.tfe-growth-section--cities .tfe-city-grid { width: 100%; }
.tfe-city-card, .tfe-city-card:visited { text-decoration: none !important; color: #0f172a !important; }
.tfe-city-card * { text-decoration: none !important; }
.tfe-city-card { will-change: transform; }
.tfe-ukrainian-box { min-height: 220px; }
.tfe-ukrainian-box .tfe-flag-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.14); }
@media (max-width: 768px) {
    .tfe-ukrainian-box { min-height: auto; }
}


/* TicketsFest Україна v9.9.26 — keep original homepage design, fix banner ratio only */

.tfe-hero-banner-section .tftb-slide-inner{aspect-ratio:1600/791!important;}
.tfe-hero-banner-section .tftb-slide-img{height:100%!important;object-fit:cover!important;aspect-ratio:1600/791!important;}


/* TicketsFest Україна v9.9.28 — homepage layout recovery
   Roll back the white section cards from v9.9.27 and keep the original homepage structure.
   Only the hero banner is reduced and polished. */

/* Safety reset: if any previous template/cache still outputs section-card classes, they must not create white boxes. */
.tfe-home-section-card,
.tfe-home-section-card--compact {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep the homepage airy, but not boxed. */
.tfe-page-wrapper {
    background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 42%, #f8fbff 100%) !important;
}
.tfe-container {
    max-width: 1320px;
}
.tfe-section-gap {
    margin-bottom: clamp(42px, 4vw, 58px) !important;
}
.tfe-section-header {
    justify-content: center !important;
    margin-bottom: clamp(20px, 2.4vw, 30px) !important;
}
.tfe-section-title {
    font-size: clamp(26px, 3vw, 36px) !important;
    line-height: 1.12 !important;
}
.tfe-slider-lock {
    padding-bottom: 10px !important;
}

/* Compact premium hero: no giant frame, no huge vertical space. */
.tfe-hero-banner-section {
    padding: clamp(20px, 2.6vw, 34px) 0 clamp(28px, 3vw, 42px) !important;
    margin-bottom: clamp(38px, 4vw, 54px) !important;
    background:
        radial-gradient(circle at 15% 10%, rgba(37,99,235,.18), transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(236,72,153,.10), transparent 28%),
        linear-gradient(180deg, #0f172a 0%, #101a30 100%) !important;
}
.tfe-hero-banner-section::before {
    opacity: .55 !important;
}
.tfe-hero-banner-section .tfe-container {
    max-width: 1120px !important;
    padding-left: clamp(14px, 2vw, 24px) !important;
    padding-right: clamp(14px, 2vw, 24px) !important;
}
.tfe-hero-banner-section .tfe-banners-wrap {
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 22px 56px rgba(2,6,23,.42) !important;
}
.tfe-hero-banner-section .tftb-slide-inner {
    aspect-ratio: 1600 / 791 !important;
    border-radius: 22px !important;
}
.tfe-hero-banner-section .tftb-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 1600 / 791 !important;
}
.tfe-hero-banner-section .tftb-nav {
    width: 38px !important;
    height: 38px !important;
    font-size: 26px !important;
    box-shadow: 0 10px 26px rgba(15,23,42,.18) !important;
}
.tfe-hero-banner-section .tftb-prev { left: 12px !important; }
.tfe-hero-banner-section .tftb-next { right: 12px !important; }
.tfe-hero-banner-section .tftb-dots { bottom: 10px !important; }

/* Content blocks: keep original open layout, just tighten rhythm a bit. */
.tfe-growth-section--top,
.tfe-growth-section--month,
.tfe-growth-section--cities {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.tfe-city-grid {
    gap: clamp(10px, 1.2vw, 14px) !important;
}
.tfe-city-card {
    box-shadow: 0 12px 28px rgba(15,23,42,.055) !important;
}
.tfe-logos-wrap {
    background: rgba(255,255,255,.42) !important;
    border: 1px solid rgba(191,219,254,.45) !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.04) !important;
}

@media (min-width: 1440px) {
    .tfe-hero-banner-section .tfe-container {
        max-width: 1080px !important;
    }
}
@media (max-width: 1024px) {
    .tfe-hero-banner-section .tfe-container {
        max-width: 920px !important;
    }
    .tfe-hero-banner-section .tfe-banners-wrap,
    .tfe-hero-banner-section .tftb-slide-inner {
        border-radius: 18px !important;
    }
}
@media (max-width: 768px) {
    .tfe-hero-banner-section {
        padding: 16px 0 24px !important;
        margin-bottom: 34px !important;
    }
    .tfe-hero-banner-section .tfe-container {
        max-width: none !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .tfe-hero-banner-section .tfe-banners-wrap,
    .tfe-hero-banner-section .tftb-slide-inner {
        border-radius: 16px !important;
    }
    .tfe-section-gap {
        margin-bottom: 38px !important;
    }
    .tfe-section-title {
        font-size: clamp(22px, 6vw, 28px) !important;
    }
}


/* TicketsFest Україна v9.9.29 — smaller homepage hero banner.
   Keep original homepage structure; only reduce banner visual scale. */
.tfe-hero-banner-section {
    padding: clamp(14px, 1.8vw, 24px) 0 clamp(22px, 2.4vw, 34px) !important;
    margin-bottom: clamp(30px, 3vw, 44px) !important;
}
.tfe-hero-banner-section .tfe-container {
    max-width: 940px !important;
    padding-left: clamp(14px, 2vw, 22px) !important;
    padding-right: clamp(14px, 2vw, 22px) !important;
}
.tfe-hero-banner-section .tfe-banners-wrap {
    max-width: 940px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 18px !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 16px 38px rgba(2,6,23,.34) !important;
}
.tfe-hero-banner-section .tftb-slide-inner {
    border-radius: 18px !important;
}
.tfe-hero-banner-section .tftb-nav {
    width: 34px !important;
    height: 34px !important;
    font-size: 23px !important;
}
.tfe-hero-banner-section .tftb-dots {
    bottom: 8px !important;
}
.tfe-hero-banner-section .tftb-dot {
    width: 7px !important;
    height: 7px !important;
}
.tfe-hero-banner-section .tftb-dot.is-active {
    width: 20px !important;
}
@media (min-width: 1440px) {
    .tfe-hero-banner-section .tfe-container,
    .tfe-hero-banner-section .tfe-banners-wrap {
        max-width: 920px !important;
    }
}
@media (max-width: 1024px) {
    .tfe-hero-banner-section .tfe-container,
    .tfe-hero-banner-section .tfe-banners-wrap {
        max-width: 860px !important;
    }
}
@media (max-width: 768px) {
    .tfe-hero-banner-section {
        padding: 12px 0 20px !important;
        margin-bottom: 28px !important;
    }
    .tfe-hero-banner-section .tfe-container,
    .tfe-hero-banner-section .tfe-banners-wrap {
        max-width: none !important;
    }
    .tfe-hero-banner-section .tfe-banners-wrap,
    .tfe-hero-banner-section .tftb-slide-inner {
        border-radius: 14px !important;
    }
}

/* TicketsFest Україна v9.9.30 — compact homepage banner without cropping.
   The banner is made smaller by the container width, not by cropping the image. */
.tfe-hero-banner-section {
    padding: clamp(12px, 1.5vw, 22px) 0 clamp(20px, 2.2vw, 32px) !important;
    margin-bottom: clamp(26px, 2.8vw, 40px) !important;
}
.tfe-hero-banner-section .tfe-container,
.tfe-hero-banner-section .tfe-banners-wrap {
    max-width: min(920px, 92vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.tfe-hero-banner-section .tfe-banners-wrap {
    overflow: visible !important;
    background: transparent !important;
    border-radius: 18px !important;
    line-height: 0 !important;
    box-shadow: 0 14px 34px rgba(2,6,23,.26) !important;
}
.tfe-hero-banner-section .tftb-banners,
.tfe-hero-banner-section .tftb-track,
.tfe-hero-banner-section .tftb-slide {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}
.tfe-hero-banner-section .tftb-track {
    align-items: stretch !important;
}
.tfe-hero-banner-section .tftb-slide-inner {
    width: 100% !important;
    aspect-ratio: 1600 / 791 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    line-height: 0 !important;
    background: #0f172a !important;
}
.tfe-hero-banner-section .tftb-slide-img,
.tfe-hero-banner-section .tftb-banners--fit-cover .tftb-slide-img,
.tfe-hero-banner-section .tftb-banners--fit-contain .tftb-slide-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    aspect-ratio: auto !important;
    background: #0f172a !important;
}
.tfe-hero-banner-section .tftb-nav {
    width: 34px !important;
    height: 34px !important;
    font-size: 23px !important;
}
.tfe-hero-banner-section .tftb-prev { left: 10px !important; }
.tfe-hero-banner-section .tftb-next { right: 10px !important; }
.tfe-hero-banner-section .tftb-dots { bottom: 8px !important; }
.tfe-hero-banner-section .tftb-dot { width: 7px !important; height: 7px !important; }
.tfe-hero-banner-section .tftb-dot.is-active { width: 20px !important; }
@media (max-width: 768px) {
    .tfe-hero-banner-section {
        padding: 10px 0 18px !important;
        margin-bottom: 28px !important;
    }
    .tfe-hero-banner-section .tfe-container,
    .tfe-hero-banner-section .tfe-banners-wrap {
        max-width: calc(100vw - 28px) !important;
    }
    .tfe-hero-banner-section .tfe-banners-wrap,
    .tfe-hero-banner-section .tftb-slide-inner {
        border-radius: 14px !important;
    }
}
