/* TicketsFest Україна Single Tour/Event Series Page — extracted in v9.7.1 */
:root {
    --primary:       #2563eb;
    --primary-dark:  #1d4ed8;
    --primary-light: #3b82f6;
    --bg-dark:       #0f172a;
    --white:         #ffffff;
    --gray-50:       #f8fafc;
    --gray-100:      #f1f5f9;
    --gray-200:      #e2e8f0;
    --gray-300:      #cbd5e1;
    --gray-400:      #94a3b8;
    --gray-500:      #64748b;
    --gray-800:      #1e293b;
    --gray-900:      #0f172a;

    --container:  1140px;
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --padding-x:  clamp(16px, 4vw, 24px);
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { background: var(--gray-50); font-family: 'DM Sans', 'Inter', sans-serif; -webkit-font-smoothing: antialiased; margin: 0; padding: 0; overflow-x: hidden; }
.tfe-page-wrapper { background: var(--gray-50); min-height: 100vh; padding-bottom: clamp(40px, 8vw, 80px); }
.tfe-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--padding-x); width: 100%; }
.tfe-layout { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vw, 60px) var(--padding-x); display: flex; flex-direction: column; gap: clamp(32px, 5vw, 48px); }

/* ── HERO ── */
.tfe-hero { position: relative; background: var(--bg-dark); padding: clamp(80px, 12vw, 120px) 0 0; overflow: visible; margin-bottom: clamp(20px, 5vw, 40px); }
.tfe-hero__bg { position: absolute; inset: 0; overflow: hidden; opacity: 0.4; }
.tfe-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.5); transform: scale(1.1); }
.tfe-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,23,42,0.2), var(--bg-dark) 100%); }
.tfe-hero__content { position: relative; z-index: 10; display: grid; grid-template-columns: clamp(260px, 30vw, 340px) 1fr; gap: clamp(32px, 5vw, 50px); align-items: end; padding-bottom: clamp(40px, 6vw, 60px); }

.tfe-hero .tfe-poster { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.8); background: var(--gray-800); transform: translateY(clamp(20px, 4vw, 40px)); border: 1px solid rgba(255,255,255,0.1); }
.tfe-hero .tfe-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.tfe-hero-info { color: var(--white); width: 100%; }
.tfe-hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(37,99,235,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(59,130,246,0.3); border-radius: 99px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; color: #60a5fa; }
.tfe-hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.tfe-hero-title { font-family: 'DM Sans', sans-serif; font-size: clamp(32px, 6vw, 64px); font-weight: 900; line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; color: #fff; word-break: break-word; }

/* Meta pills */
.tfe-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tfe-meta-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--white); text-decoration: none; transition: var(--transition); }
.tfe-meta-pill svg { width: 15px; height: 15px; color: var(--gray-400); flex-shrink: 0; }
.tfe-meta-pill--blue { background: rgba(37,99,235,0.2); border-color: rgba(59,130,246,0.4); color: #93c5fd; }

/* Buttons */
.tfe-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.tfe-secondary-actions { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.tfe-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; font-weight: 800; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; outline: none; font-family: inherit; }
.tfe-btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.tfe-btn--primary { height: clamp(54px, 8vw, 64px); padding: 0 clamp(24px, 5vw, 36px); font-size: clamp(14px, 2vw, 16px); background: var(--primary); color: var(--white); box-shadow: 0 10px 25px rgba(37,99,235,0.3); border-radius: var(--radius-lg); }
.tfe-btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(37,99,235,0.4); color: var(--white); }
.tfe-btn--primary svg { width: 20px; height: 20px; }
.tfe-btn--outline { height: 44px; padding: 0 20px; font-size: 14px; background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.tfe-btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

/* ── STATS GRID ── */
.tfe-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tfe-stat-box { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.tfe-stat-icon { width: 48px; height: 48px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.tfe-stat-icon svg { width: 22px; height: 22px; }
.tfe-stat-lbl { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.tfe-stat-val { font-size: 22px; font-weight: 900; color: var(--gray-900); line-height: 1.2; margin-top: 4px; }

/* ── SECTIONS ── */
.tfe-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 40px); box-shadow: 0 10px 30px rgba(0,0,0,0.02); width: 100%; overflow: hidden; }
.tfe-section--transparent { background: transparent; border: none; padding: 0; box-shadow: none; overflow: visible; }
.tfe-section-title { font-family: 'DM Sans', sans-serif; font-size: clamp(20px, 3.5vw, 24px); font-weight: 900; color: var(--gray-900); margin: 0 0 24px; letter-spacing: -0.02em; border-bottom: 1px solid var(--gray-100); padding-bottom: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tfe-section-title svg { width: 20px; height: 20px; color: var(--primary); }

/* ── SPOTIFY ── */
.tfe-spotify-wrap { width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); min-height: 152px; border: 1px solid var(--gray-200); }

/* ── ABOUT ── */
.tfe-content { font-size: clamp(15px, 2.5vw, 17px); line-height: 1.8; color: var(--gray-800); }
.tfe-content p { margin: 0 0 20px; }
.tfe-content p:last-child { margin-bottom: 0; }
.tfe-content img, .tfe-content iframe { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* ── EVENT CARDS ── */
.tfe-events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tfe-event-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-decoration: none; display: flex; flex-direction: column; }
.tfe-event-card:hover { border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,0.08); transform: translateY(-4px); }
.tfe-event-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--gray-100); }
.tfe-event-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s ease; }
.tfe-event-card:hover .tfe-event-img img { transform: scale(1.06); }
.tfe-event-date-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); border-radius: var(--radius-sm); padding: 6px 10px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.tfe-event-date-badge div:first-child { font-size: 10px; font-weight: 800; color: var(--primary); text-transform: uppercase; }
.tfe-event-date-badge div:last-child { font-size: 20px; font-weight: 900; color: var(--gray-900); line-height: 1; }
.tfe-event-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.tfe-event-title { font-size: 14px; font-weight: 800; color: var(--gray-900); margin: 0 0 8px; line-height: 1.3; }
.tfe-event-meta { font-size: 12px; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tfe-event-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.tfe-event-meta-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.tfe-event-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); margin-top: auto; }
.tfe-event-price { font-size: 13px; color: var(--gray-500); }
.tfe-event-price strong { font-size: 15px; color: var(--gray-900); font-weight: 800; }
.tfe-event-btn { padding: 5px 10px; background: var(--gray-100); color: var(--primary); font-size: 11px; font-weight: 800; border-radius: var(--radius-sm); transition: var(--transition); }
.tfe-event-card:hover .tfe-event-btn { background: var(--primary); color: var(--white); }
.tfe-event-btn--disabled { background:#f1f5f9 !important; color:#64748b !important; }
.tfe-event-btn--sold { background:#fee2e2 !important; color:#b91c1c !important; }
.tfe-event-status { display:inline-flex; align-items:center; border-radius:999px; padding:4px 8px; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.tfe-event-status--ended{background:#f1f5f9;color:#64748b;}
.tfe-event-status--sold{background:#fee2e2;color:#b91c1c;}
.tfe-tour-alert{border-radius:var(--radius-md);background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:16px 18px;font-weight:800;margin-bottom:18px;}

/* ── NO EVENTS ── */
.tfe-no-events { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; color: var(--gray-500); }
.tfe-no-events svg { width: 48px; height: 48px; color: var(--gray-300); margin: 0 auto 16px; display: block; }

/* ── SUBSCRIBE ── */
.tfe-sub-widget { background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 100%); color: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 50px); display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 40px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); flex-wrap: wrap; }
.tfe-sub-widget-text { flex: 1; min-width: 250px; }
.tfe-sub-widget h3 { margin: 0 0 10px; font-family: 'DM Sans', sans-serif; font-size: clamp(22px, 4vw, 28px); font-weight: 900; line-height: 1.2; }
.tfe-sub-widget h3 em { font-style: normal; background: linear-gradient(to right, #fff, #bfdbfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tfe-sub-widget p { margin: 0; color: var(--gray-400); font-size: clamp(14px, 2vw, 16px); }
.tfe-sub-form { display: flex; gap: 10px; width: 100%; max-width: 450px; flex-wrap: wrap; }
.tfe-sub-input { flex: 1; min-width: 200px; height: clamp(48px, 8vw, 56px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); padding: 0 20px; color: var(--white); outline: none; font-size: 16px; font-family: inherit; }
.tfe-sub-input::placeholder { color: rgba(255,255,255,0.5); }
.tfe-sub-btn { height: clamp(48px, 8vw, 56px); padding: 0 28px; background: var(--primary); color: var(--white); border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; font-size: 15px; white-space: nowrap; font-family: inherit; }
.tfe-sub-btn:hover { background: var(--primary-light); }

/* ── BOOKING MODAL ── */
.tfe-bk-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.85); backdrop-filter: blur(8px); z-index: 99999; display: none; align-items: center; justify-content: center; padding: var(--padding-x); }
.tfe-bk-overlay.is-open { display: flex; }
.tfe-bk-modal { background: var(--white); border-radius: var(--radius-lg); width: min(520px, 92vw); max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.tfe-bk-head { padding: clamp(20px,4vw,28px) clamp(20px,4vw,28px) 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--gray-200); }
.tfe-bk-label { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); font-weight: 800; }
.tfe-bk-artist { margin: 0; font-size: clamp(20px,4vw,26px); font-weight: 900; color: var(--gray-900); line-height: 1.1; }
.tfe-bk-meta { margin: 6px 0 0; color: var(--primary); font-weight: 700; font-size: 14px; }
.tfe-bk-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gray-200); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gray-500); transition: 0.2s; }
.tfe-bk-close:hover { background: var(--gray-100); }
.tfe-bk-close svg { width: 18px; height: 18px; }
.tfe-bk-progress { display: flex; gap: 8px; padding: 16px clamp(20px,4vw,28px) 0; }
.tfe-bk-bar { height: 4px; flex: 1; border-radius: 99px; background: var(--gray-200); transition: background 0.3s; }
.tfe-bk-bar.active { background: var(--primary); }
.tfe-bk-body { padding: clamp(16px,3vw,24px) clamp(20px,4vw,28px) clamp(20px,4vw,28px); }
.tfe-bk-body label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 14px; }
.tfe-bk-input { width: 100%; margin-top: 8px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 12px 16px; font-family: inherit; font-size: 15px; color: var(--gray-900); outline: none; background: var(--white); transition: 0.2s; box-sizing: border-box; }
.tfe-bk-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.tfe-bk-acts { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tfe-bk-pri { flex: 1; min-height: 50px; border-radius: var(--radius-md); border: none; background: var(--gray-900); color: var(--white); font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tfe-bk-pri:hover:not(:disabled) { background: var(--primary); }
.tfe-bk-pri:disabled { opacity: 0.5; cursor: not-allowed; }
.tfe-bk-sec { min-height: 50px; padding: 0 20px; border-radius: var(--radius-md); border: 1px solid var(--gray-200); background: var(--gray-50); color: var(--gray-800); font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; }
.tfe-bk-sec:hover { border-color: var(--primary); color: var(--primary); }
.tfe-bk-ok { display: none; text-align: center; padding: clamp(40px,8vw,60px) clamp(20px,4vw,28px); }
.tfe-bk-ok-icon { width: 68px; height: 68px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.tfe-bk-ok-icon svg { width: 32px; height: 32px; }
.tfe-bk-ok h3 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: var(--gray-900); }
.tfe-bk-ok p { margin: 0; color: var(--gray-500); font-weight: 600; }
.tfe-bk-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-events-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .tfe-hero__content { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: 0; }
    .tfe-hero .tfe-poster { max-width: 300px; margin: 0 auto; transform: translateY(0); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
    .tfe-meta-row { justify-content: center; }
    .tfe-actions { justify-content: center; flex-direction: column; }
    .tfe-secondary-actions { justify-content: center; flex-direction: column; }
    .tfe-btn--primary, .tfe-btn--outline { width: 100%; justify-content: center; }
    .tfe-stats-grid { grid-template-columns: 1fr; }
    .tfe-events-grid { grid-template-columns: repeat(2, 1fr); }
    .tfe-sub-widget { flex-direction: column; text-align: center; }
    .tfe-sub-form { max-width: 100%; }
}
@media (max-width: 480px) {
    .tfe-events-grid { grid-template-columns: 1fr; }
    .tfe-sub-form { flex-direction: column; }
    .tfe-sub-btn { width: 100%; }
    .tfe-bk-acts { flex-direction: column; }
    .tfe-bk-sec { width: 100%; justify-content: center; }
}
.tfe-event-promo{margin-left:8px;font-style:normal;color:#f97316;font-weight:900;text-transform:uppercase;font-size:12px}


/* v9.9.51 — Single Tour mobile/tablet polish.
   Scoped to body.single-tour so other pages and the footer are not affected. */
body.single-tour .tfe-page-wrapper {
    overflow-x: clip;
}

body.single-tour .tfe-spotify-wrap {
    min-height: 352px;
    border-radius: 20px;
    overflow: hidden;
}
body.single-tour .tfe-spotify-wrap iframe {
    display: block;
    width: 100% !important;
    min-height: 352px !important;
    height: 352px !important;
    border: 0 !important;
}

@media (max-width: 1024px) {
    body.single-tour .tfe-hero {
        padding-top: 96px;
    }
    body.single-tour .tfe-hero__content {
        grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
        gap: 30px;
        align-items: center;
    }
    body.single-tour .tfe-layout {
        padding-top: 38px;
        gap: 34px;
    }
    body.single-tour .tfe-events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.single-tour .tfe-hero {
        padding: 86px 0 34px !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
    }
    body.single-tour .tfe-hero__bg {
        opacity: .3;
    }
    body.single-tour .tfe-hero__bg img {
        filter: blur(28px) saturate(1.18);
        transform: scale(1.08);
    }
    body.single-tour .tfe-hero__content {
        grid-template-columns: 1fr !important;
        gap: 22px;
        text-align: center;
        justify-items: center;
        align-items: center;
        padding-bottom: 0 !important;
    }
    body.single-tour .tfe-hero .tfe-poster {
        width: min(78vw, 310px) !important;
        max-width: 310px !important;
        aspect-ratio: 4 / 5 !important;
        margin: 0 auto 4px !important;
        transform: none !important;
        border-radius: 22px !important;
        box-shadow: 0 20px 52px rgba(0,0,0,.46) !important;
    }
    body.single-tour .tfe-hero .tfe-poster img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    body.single-tour .tfe-hero-info {
        width: min(100%, 520px);
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    body.single-tour .tfe-hero-badge {
        margin-inline: auto;
        margin-bottom: 14px;
    }
    body.single-tour .tfe-hero-title {
        width: 100%;
        text-align: center !important;
        font-size: clamp(30px, 9vw, 46px) !important;
        line-height: 1.04 !important;
        margin-bottom: 16px !important;
    }
    body.single-tour .tfe-meta-row {
        justify-content: center !important;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
    }
    body.single-tour .tfe-meta-pill {
        max-width: 100%;
        min-height: 36px;
        padding: 8px 11px;
        white-space: normal;
        text-align: center;
        justify-content: center;
        line-height: 1.25;
    }
    body.single-tour .tfe-actions,
    body.single-tour .tfe-secondary-actions {
        width: min(100%, 430px);
        margin-inline: auto;
        justify-content: center !important;
    }
    body.single-tour .tfe-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }
    body.single-tour .tfe-secondary-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 16px;
    }
    body.single-tour .tfe-secondary-actions > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    body.single-tour .tfe-btn--primary,
    body.single-tour .tfe-btn--outline,
    body.single-tour .tfe-secondary-actions .tfe-btn,
    body.single-tour .tfe-secondary-actions button.tfe-btn {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px;
        height: auto !important;
        padding: 12px 14px !important;
        white-space: normal;
        line-height: 1.15;
        text-align: center;
    }
    body.single-tour .tfe-layout {
        padding: 24px 14px 44px !important;
        gap: 24px !important;
    }
    body.single-tour .tfe-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    body.single-tour .tfe-stats-grid > .tfe-stat-box:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    body.single-tour .tfe-stat-box {
        min-height: 112px;
        padding: 14px 10px !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 9px;
        border-radius: 18px;
    }
    body.single-tour .tfe-stat-icon {
        width: 40px;
        height: 40px;
    }
    body.single-tour .tfe-stat-val {
        font-size: 22px;
    }
    body.single-tour .tfe-section {
        padding: 20px 14px !important;
        border-radius: 20px !important;
    }
    body.single-tour .tfe-section-title {
        justify-content: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    body.single-tour .tfe-content {
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
    }
    body.single-tour .tfe-spotify-wrap {
        min-height: 352px !important;
        border-radius: 20px !important;
    }
    body.single-tour .tfe-spotify-wrap iframe,
    body.single-tour iframe[src*="open.spotify.com"] {
        min-height: 352px !important;
        height: 352px !important;
        width: 100% !important;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-grid,
    body.single-tour #tour-past-events .tfe-instance .tfe-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        overflow: visible !important;
        content-visibility: visible !important;
        contain: none !important;
        contain-intrinsic-size: auto !important;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-item,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-item {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 260px;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-inner,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-inner {
        content-visibility: visible !important;
        contain: none !important;
        contain-intrinsic-size: auto !important;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-caption,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-caption {
        padding: 44px 10px 10px !important;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-caption-title,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-caption-title {
        font-size: 13px !important;
        line-height: 1.15 !important;
        -webkit-line-clamp: 2;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-caption-meta,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-caption-meta {
        font-size: 11px !important;
        line-height: 1.25;
        white-space: normal !important;
        -webkit-line-clamp: 2;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-caption-row,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-caption-row {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-card-caption-cta,
    body.single-tour #tour-past-events .tfe-instance .tfe-card-caption-cta {
        width: 100%;
        min-height: 34px;
        padding: 8px 7px;
        font-size: 11px;
    }
    body.single-tour .tfe-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    body.single-tour .tfe-event-card {
        border-radius: 18px;
    }
    body.single-tour .tfe-event-info {
        padding: 11px;
    }
    body.single-tour .tfe-event-title {
        font-size: 13px;
        line-height: 1.2;
    }
    body.single-tour .tfe-event-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    body.single-tour .tfe-event-btn {
        width: 100%;
        text-align: center;
        padding: 8px 9px;
    }
    body.single-tour .tfe-sub-widget {
        padding: 24px 16px !important;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 22px;
    }
    body.single-tour .tfe-sub-widget-text {
        min-width: 0 !important;
        width: 100%;
    }
    body.single-tour .tfe-sub-form {
        max-width: 100% !important;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    body.single-tour .tfe-sub-input,
    body.single-tour .tfe-sub-btn {
        width: 100% !important;
    }
}

@media (max-width: 390px) {
    body.single-tour .tfe-layout {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.single-tour .tfe-hero .tfe-poster {
        width: min(84vw, 292px) !important;
    }
    body.single-tour .tfe-secondary-actions {
        grid-template-columns: 1fr;
    }
    body.single-tour .tfe-stats-grid {
        grid-template-columns: 1fr !important;
    }
    body.single-tour .tfe-stats-grid > .tfe-stat-box:last-child:nth-child(odd) {
        grid-column: auto;
    }
    body.single-tour #tour-schedule .tfe-instance .tfe-grid,
    body.single-tour #tour-past-events .tfe-instance .tfe-grid,
    body.single-tour .tfe-events-grid {
        grid-template-columns: 1fr !important;
    }
}
