/*
Theme Name: TicketsFest Ukraine
Theme URI: https://ticketsfest.com.ua/
Author: TicketsFest
Description: TicketsFest standalone theme (design system + CPT templates).
Version: 9.9.63
Text Domain: ticketsfest
*/

/* =====================================================
   TicketsFest Design System
   ===================================================== */

:root{
  --tfe-primary:#1d4ed8;
  --tfe-primary-2:#2563eb;
  --tfe-dark:#0f172a;
  --tfe-muted:#64748b;
  --tfe-bg:#f8fafc;
  --tfe-white:#ffffff;
  --tfe-soft:#eff6ff;
  --tfe-border:rgba(226,232,240,.9);
  --tfe-radius:24px;
  --tfe-radius-xl:32px;
  --tfe-shadow:0 10px 40px -10px rgba(15,23,42,.08);
  --tfe-font:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --tfe-container:1320px;
  --tfe-pad:20px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  min-height:100vh;
  background:var(--tfe-bg);
  color:var(--tfe-dark);
  font-family:var(--tfe-font);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; }
a{ color:var(--tfe-primary); text-decoration:none; }
a:hover{ text-decoration:underline; }

#page, #content, .site-content{ width:100%; max-width:100%; overflow-x:hidden; }

.tfe-container,
.footer-wrapper{
  width:100%;
  max-width:var(--tfe-container);
  margin:0 auto;
  padding:0 var(--tfe-pad);
}

.tfe-page-wrap{ padding:0 0 60px; }

.tfe-card{
  background:var(--tfe-white);
  border:1px solid var(--tfe-border);
  border-radius:var(--tfe-radius);
  box-shadow:0 10px 30px -20px rgba(15,23,42,.18);
  padding:18px;
}

/* =========================================================
   HEADER (Floating Glass)
   ========================================================= */

.tfe-header-wrap{
  position: sticky;
  top: calc(20px + env(safe-area-inset-top));
  z-index: 1000;

  background: rgba(255,255,255,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-radius: 60px;
  border: 1px solid rgba(255,255,255,.6);

  width: 94%;
  max-width: 1240px;
  margin: 0 auto 40px auto;
  margin-top: calc(20px + env(safe-area-inset-top));
  height: 70px;

  box-shadow: var(--tfe-shadow);
  transition: all .3s ease;
}

.tfe-header-inner{
  width:100%;
  height:100%;
  padding:0 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.tfe-logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  z-index:1001;
}
.tfe-logo img{
  height:38px;
  width:auto;
  display:block;
  transition:transform .2s;
}
.tfe-logo:hover img{ transform:scale(1.05); }

.tfe-logo-text{
  font-weight:900;
  font-size:22px;
  color:var(--tfe-dark);
  letter-spacing:-.02em;
  white-space:nowrap;
}
.tfe-logo-accent{ color:var(--tfe-primary); }

.tfe-nav-container{ display:none; }
@media (min-width:1025px){
  .tfe-nav-container{ display:flex; align-items:center; gap:20px; }

  .tfe-desktop-nav ul{
    display:flex; gap:4px;
    list-style:none; margin:0; padding:0; align-items:center;
  }
  .tfe-desktop-nav a{
    color:var(--tfe-dark);
    font-weight:600;
    font-size:14px;
    padding:10px 18px;
    border-radius:50px;
    transition:all .2s ease;
    background:transparent;
    text-decoration:none;
  }
  .tfe-desktop-nav a:hover{
    background: rgba(29,78,216,.08);
    color: var(--tfe-primary);
    text-decoration:none;
  }
  .tfe-desktop-nav .current-menu-item > a,
  .tfe-desktop-nav .current_page_item > a{
    background: var(--tfe-primary);
    color:#fff;
    box-shadow: 0 4px 12px rgba(29,78,216,.3);
    text-decoration:none;
  }

  .tfe-lang-switcher{
    display:flex; gap:5px;
    background:#f1f5f9;
    padding:4px;
    border-radius:30px;
  }
  .tfe-lang-item{
    font-size:11px;
    font-weight:800;
    color:#64748b;
    padding:6px 10px;
    border-radius:20px;
    transition:.2s;
    text-decoration:none;
  }
  .tfe-lang-item:hover{ color:var(--tfe-primary); text-decoration:none; }
  .tfe-lang-item.is-active{
    background:#fff;
    color:var(--tfe-primary);
    box-shadow:0 2px 5px rgba(0,0,0,.05);
  }
}

.tfe-burger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px; height:40px;
  background:transparent;
  border:none;
  cursor:pointer;
  padding:0;
  align-items:flex-end;
  -webkit-tap-highlight-color:transparent;
}
.tfe-burger span{
  display:block;
  width:24px;
  height:2.5px;
  background-color:var(--tfe-dark);
  border-radius:3px;
  transition:.3s;
}
.tfe-burger span:nth-child(2){
  width:16px;
  background-color:var(--tfe-primary);
}
@media (min-width:1025px){ .tfe-burger{ display:none; } }

/* Mobile overlay */
.tfe-mobile-overlay{
  position:fixed; top:0; left:0;
  width:100%; height:100dvh;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  z-index: 99999;

  padding:24px;
  padding-top: calc(24px + env(safe-area-inset-top));

  opacity:0; visibility:hidden; pointer-events:none;
  transform: scale(.95);
  transition: all .3s cubic-bezier(.4,0,.2,1);

  display:flex; flex-direction:column;
}
.tfe-mobile-overlay.is-active{
  opacity:1; visibility:visible; pointer-events:all;
  transform: scale(1);
}

.tfe-mobile-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:60px;
  margin-bottom:20px;
  border-bottom:2px solid var(--tfe-soft);
  flex-shrink:0;
}
.tfe-menu-title{
  font-weight:800;
  font-size:20px;
  color:var(--tfe-dark);
  text-transform:uppercase;
}
.tfe-mobile-lang{
  display:flex; gap:10px; margin-right:15px;
}
.tfe-mobile-lang a{
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  color:#94a3b8;
  padding:5px 10px;
  border-radius:8px;
  border:1px solid rgba(226,232,240,.9);
}
.tfe-mobile-lang a.is-active{
  color:var(--tfe-primary);
  border-color:var(--tfe-primary);
  background:var(--tfe-soft);
}
.tfe-close-btn{
  width:44px; height:44px;
  background:var(--tfe-soft);
  border-radius:50%;
  border:none;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:26px;
  color:var(--tfe-primary);
  line-height:1;
  transition:.2s;
}
.tfe-close-btn:hover{
  background:var(--tfe-primary);
  color:#fff;
  transform: rotate(90deg);
}

.tfe-mobile-list{ width:100%; overflow-y:auto; -webkit-overflow-scrolling:touch; flex-grow:1; }
.tfe-mobile-list ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.tfe-mobile-list a{
  display:block;
  font-size:20px;
  font-weight:700;
  color:var(--tfe-dark);
  padding:12px 0;
  text-decoration:none;
  border-bottom:1px dashed rgba(226,232,240,.9);
  transition: all .2s ease;
}
.tfe-mobile-list a:hover{
  color:var(--tfe-primary);
  padding-left:10px;
  border-bottom-style:solid;
  border-bottom-color:var(--tfe-primary);
}

.tfe-mobile-footer{
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid var(--tfe-soft);
  display:flex;
  flex-direction:column;
  gap:15px;
  text-align:center;
  flex-shrink:0;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.tfe-social-row{ display:flex; gap:12px; justify-content:center; }
.tfe-social-icon{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--tfe-soft);
  display:flex; align-items:center; justify-content:center;
  color:var(--tfe-primary);
  text-decoration:none;
  font-size:18px;
  transition:.2s;
}
.tfe-social-icon:hover{
  background:var(--tfe-primary);
  color:#fff;
  transform: translateY(-3px);
}
.tfe-contact-email{
  font-weight:700;
  color:var(--tfe-primary);
  text-decoration:none;
  font-size:18px;
}
.tfe-legal-info{
  font-size:12px;
  line-height:1.5;
  color:var(--tfe-muted);
}
.tfe-legal-name{ font-weight:700; color:var(--tfe-dark); display:block; margin-bottom:2px; }

@media (max-width:1024px){ .tfe-header-wrap{ width:96%; } }
@media (max-width:768px){
  .tfe-header-wrap{
    width:92%;
    height:60px;
    border-radius:40px;
    top: calc(10px + env(safe-area-inset-top));
    margin-top: calc(10px + env(safe-area-inset-top));
  }
  .tfe-header-inner{ padding:0 15px; }
  .tfe-logo img{ height:30px; }
  .tfe-logo-text{ font-size:18px; }
}

/* =========================================================
   FOOTER (Clean)
   ========================================================= */

.site-footer{
  background:#fff;
  color:var(--tfe-dark);
  padding:60px 0 30px;
  border-top:1px solid var(--tfe-border);
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
  gap:40px;
  margin-bottom:50px;
}

.footer-brand-logo img{
  height:38px;
  width:auto;
  display:block;
  margin-bottom:15px;
}

.footer-legal-name{
  font-weight:800;
  font-size:14px;
  margin-bottom:4px;
  display:block;
}

.footer-address{
  color:var(--tfe-muted);
  font-size:13px;
  line-height:1.6;
}

.footer-heading{
  font-weight:800;
  font-size:15px;
  text-transform:uppercase;
  margin-bottom:18px;
  display:block;
  letter-spacing:.02em;
}

.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:10px; }
.footer-links a{
  color:var(--tfe-muted);
  font-weight:500;
  font-size:14px;
  transition:.2s;
  text-decoration:none;
}
.footer-links a:hover{
  color:var(--tfe-primary);
  transform: translateX(3px);
  display:inline-block;
}

.email-compact{
  font-weight:700;
  color:var(--tfe-primary);
  text-decoration:none;
  font-size:16px;
  display:inline-block;
  margin-bottom:15px;
}

.social-inline{
  display:flex;
  gap:10px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.social-mini-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--tfe-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--tfe-primary);
  text-decoration:none;
  transition:.2s;
}
.social-mini-btn:hover{
  background:var(--tfe-primary);
  color:#fff;
  transform: translateY(-2px);
}

.footer-bottom{
  border-top:1px solid var(--tfe-border);
  padding-top:25px;
  font-size:13px;
  color:var(--tfe-muted);
  text-align:center;
  font-weight:500;
}

@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:40px 20px; }
  .footer-brand-col{
    grid-column:1 / -1;
    padding-bottom:20px;
    border-bottom:1px solid var(--tfe-soft);
  }
}
@media (max-width:600px){
  .footer-grid{ grid-template-columns:1fr; text-align:center; gap:35px; }
  .footer-brand-logo img{ margin:0 auto 10px; }
  .social-inline{ justify-content:center; }
}

/* =========================================================
   Minimal WP content defaults
   ========================================================= */

.entry-title{ margin:0 0 14px; }
.entry-content{ line-height:1.75; }

/* =========================================================
   v9.5.1 — UI/Mobile stability polish
   Safe frontend fixes for header, event pages, cards and forms
   ========================================================= */
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body.tfe-menu-open { overflow: hidden; touch-action: none; }

.tfe-btn,
.tfe-sub-btn,
.tfe-burger,
.tfe-close-btn,
.tfe-mobile-list a,
.tfe-lang-item,
.tfe-lang-link {
  -webkit-tap-highlight-color: transparent;
}

.tfe-page-wrapper,
.tfe-page-wrap,
.tfe-single-layout,
.tfe-container,
.tfe-section,
.tfe-hero,
.tfe-hero__content {
  max-width: 100%;
}

.tfe-content iframe,
.tfe-content video,
.tfe-spotify-wrap iframe,
.tfe-map-container iframe {
  max-width: 100%;
}

.tfe-section,
.tfe-spotify-wrap,
.tfe-event-details-section,
.tfe-sub-widget {
  overflow-wrap: anywhere;
}

.tfe-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.tfe-info-card,
.tfe-faq-item,
.tfe-perf-chip,
.tfe-card,
.tfe-section {
  min-width: 0;
}

.tfe-info-value,
.tfe-faq-a,
.tfe-perf-name,
.tfe-hero-title,
.tfe-section-title {
  overflow-wrap: anywhere;
}

.tfe-btn,
.tfe-btn--buy,
.tfe-btn--outline,
.tfe-btn--notify,
.tfe-btn--sold,
.tfe-btn--ended {
  min-height: 46px;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.tfe-mobile-overlay {
  overscroll-behavior: contain;
}

.tfe-mobile-list {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.tfe-mobile-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (hover: none) {
  .tfe-card-item:hover,
  .tfe-instance .tfe-card-inner:hover,
  .tfe-perf-chip:hover {
    transform: none !important;
  }
  .tfe-card-item:hover .tfe-card-caption {
    opacity: 1 !important;
  }
}

@media (max-width: 1024px) {
  .tfe-header-wrap {
    z-index: 9999;
  }
  .tfe-desktop-nav a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  :root { --tfe-pad: 16px; }

  .tfe-header-outer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tfe-header-wrap {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px);
    height: 58px;
    margin-bottom: 22px;
  }

  .tfe-header-inner {
    gap: 10px;
  }

  .tfe-logo {
    min-width: 0;
  }

  .tfe-logo-text {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tfe-burger {
    flex: 0 0 42px;
  }

  .tfe-mobile-overlay {
    padding: 18px;
    padding-top: calc(18px + env(safe-area-inset-top));
  }

  .tfe-mobile-header {
    height: auto;
    min-height: 58px;
    gap: 10px;
  }

  .tfe-mobile-lang {
    margin-right: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .tfe-mobile-list a {
    font-size: 18px;
    padding: 13px 0;
  }

  .tfe-single-layout {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .tfe-hero {
    min-height: auto !important;
    padding-top: 22px !important;
    padding-bottom: 34px !important;
  }

  .tfe-hero__content {
    gap: 22px !important;
  }

  .tfe-hero-title {
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.03 !important;
  }

  .tfe-hero-meta {
    gap: 8px 10px !important;
  }

  .tfe-meta-dot {
    display: none !important;
  }

  .tfe-timer-buy-wrap,
  .tfe-secondary-actions {
    align-items: stretch !important;
  }

  .tfe-timer {
    overflow-x: auto;
    justify-content: flex-start !important;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .tfe-timer-box {
    min-width: 68px;
  }

  .tfe-btn,
  .tfe-btn--buy,
  .tfe-btn--outline,
  .tfe-btn--notify,
  .tfe-btn--sold,
  .tfe-btn--ended {
    width: 100%;
  }

  .tfe-section {
    border-radius: 22px !important;
    padding: 22px !important;
  }

  .tfe-info-grid {
    grid-template-columns: 1fr;
  }

  .tfe-perf-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tfe-perf-chip {
    width: 100%;
  }

  .tfe-sub-widget {
    padding: 26px 20px;
  }

  .tfe-sub-form,
  .tfe-sub-input,
  .tfe-sub-btn {
    width: 100%;
    max-width: 100%;
  }

  .tfe-slider-safe-area,
  .tfe-instance,
  .tfe-wrap {
    overflow-x: hidden;
  }
}

@media (max-width: 420px) {
  .tfe-logo-text {
    display: none;
  }
  .tfe-header-inner {
    padding-left: 14px !important;
    padding-right: 10px !important;
  }
  .tfe-section {
    padding: 18px !important;
  }
  .tfe-hero .tfe-poster {
    max-width: 280px !important;
  }
  .tfe-mobile-lang a {
    padding: 5px 8px;
    font-size: 12px;
  }
}


/* =====================================================
   v9.5.2 — Events archive / advanced search page
   ===================================================== */
.tfe-events-page{background:#f8fafc;color:#0f172a;overflow:hidden;}
.tfe-events-hero{position:relative;padding:clamp(86px,10vw,138px) 20px clamp(46px,7vw,82px);background:radial-gradient(circle at 20% 18%,rgba(37,99,235,.22),transparent 30%),radial-gradient(circle at 80% 8%,rgba(250,204,21,.22),transparent 28%),linear-gradient(135deg,#0f172a 0%,#1d4ed8 54%,#2563eb 100%);color:#fff;}
.tfe-events-hero:after{content:"";position:absolute;inset:auto -10% -22% -10%;height:180px;background:#f8fafc;border-radius:50% 50% 0 0 / 100% 100% 0 0;}
.tfe-events-hero__inner{position:relative;z-index:1;max-width:920px;margin:0 auto;text-align:center;}
.tfe-events-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px;}
.tfe-events-hero h1{margin:0 auto 18px;max-width:820px;color:#fff;font-size:clamp(36px,6vw,76px);line-height:.96;letter-spacing:-.055em;font-weight:950;}
.tfe-events-hero p{margin:0 auto;max-width:760px;color:rgba(255,255,255,.86);font-size:clamp(16px,2vw,20px);line-height:1.65;font-weight:600;}
.tfe-events-hero__note{margin:24px auto 0;max-width:820px;padding:14px 18px;border-radius:22px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.88);font-size:14px;line-height:1.5;font-weight:700;}
.tfe-events-archive-section{max-width:1360px;margin:0 auto;padding:clamp(28px,5vw,70px) 20px 90px;position:relative;z-index:2;}
.tfe-events-archive-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px;}
.tfe-events-archive-head h2{margin:0;color:#0f172a;font-size:clamp(26px,4vw,44px);line-height:1.04;letter-spacing:-.04em;font-weight:950;}
@media(max-width:720px){.tfe-events-hero{text-align:left;padding-top:92px}.tfe-events-hero__inner{text-align:left}.tfe-events-hero h1{margin-left:0}.tfe-events-hero p{margin-left:0}.tfe-events-hero__note{margin-left:0}.tfe-events-archive-section{padding-left:0;padding-right:0}.tfe-events-archive-head{padding:0 20px}.tfe-events-page .tfe-wrap{padding:0 20px}}


/* v9.5.3 — SEO landing filters for /events/ */
.tfe-events-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.tfe-events-active-filters__title{font-size:13px;font-weight:800;opacity:.78}
.tfe-events-filter-chip{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);backdrop-filter:blur(10px);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;color:inherit}
.tfe-events-filter-clear{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;text-decoration:none;background:#fff;color:#0f172a;box-shadow:0 8px 24px rgba(15,23,42,.16)}
.tfe-events-popular-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px;font-size:13px;color:inherit;opacity:.94}
.tfe-events-popular-links span{font-weight:900;opacity:.75}
.tfe-events-popular-links a{display:inline-flex;align-items:center;border-radius:999px;padding:8px 11px;background:rgba(15,23,42,.28);color:inherit;text-decoration:none;border:1px solid rgba(255,255,255,.18);font-weight:850;transition:transform .18s ease,background .18s ease}
.tfe-events-popular-links a:hover{transform:translateY(-1px);background:rgba(15,23,42,.42)}
@media(max-width:640px){.tfe-events-active-filters,.tfe-events-popular-links{align-items:flex-start}.tfe-events-active-filters__title,.tfe-events-popular-links span{width:100%}.tfe-events-filter-chip,.tfe-events-filter-clear,.tfe-events-popular-links a{font-size:11px;padding:7px 9px}}


/* =====================================================
   v9.6.3 — Better Event Archive Design
   ===================================================== */
.tfe-events-featured-section{max-width:1360px;margin:-28px auto 0;padding:0 20px 36px;position:relative;z-index:3}
.tfe-events-section-head{max-width:780px;margin:0 0 22px;padding:0 4px}
.tfe-events-section-head span,.tfe-events-archive-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#1d4ed8;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}
.tfe-events-section-head h2{margin:0;color:#0f172a;font-size:clamp(28px,4vw,48px);line-height:1.02;letter-spacing:-.045em;font-weight:950}
.tfe-events-section-head p{margin:10px 0 0;max-width:640px;color:#64748b;font-size:15px;line-height:1.65;font-weight:650}
.tfe-events-featured-section .tfe-wrap{padding:0}
.tfe-events-featured-section .tfe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tfe-events-featured-section .tfe-card-item:first-child{grid-column:span 2}
.tfe-events-featured-section .tfe-card-item:first-child .tfe-card-inner{aspect-ratio:16/10}
.tfe-events-featured-section .tfe-card-item:first-child .tfe-card-caption-title{font-size:clamp(22px,3vw,34px);line-height:1.04}
.tfe-events-archive-head{padding:0 4px}
.tfe-events-seo-block{max-width:1360px;margin:0 auto;padding:0 20px 90px}
.tfe-events-seo-block__inner{border:1px solid rgba(191,219,254,.9);background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 22px 70px rgba(15,23,42,.08);border-radius:32px;padding:clamp(24px,4vw,42px)}
.tfe-events-seo-block h2{margin:0 0 12px;color:#0f172a;font-size:clamp(24px,3vw,36px);font-weight:950;letter-spacing:-.035em;line-height:1.08}
.tfe-events-seo-block p{margin:0;max-width:880px;color:#475569;font-size:15px;line-height:1.75;font-weight:650}
@media(max-width:980px){.tfe-events-featured-section .tfe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tfe-events-featured-section .tfe-card-item:first-child{grid-column:span 2}}
@media(max-width:640px){.tfe-events-featured-section{margin:0;padding:0 20px 28px}.tfe-events-featured-section .tfe-grid{grid-template-columns:1fr;gap:16px}.tfe-events-featured-section .tfe-card-item:first-child{grid-column:auto}.tfe-events-featured-section .tfe-card-item:first-child .tfe-card-inner{aspect-ratio:4/5}.tfe-events-section-head{margin-bottom:16px}.tfe-events-seo-block{padding:0 20px 58px}.tfe-events-seo-block__inner{border-radius:24px;padding:22px}.tfe-events-archive-kicker{font-size:11px}}

/* =====================================================
   v9.6.7 — Public Pages Speed Optimization
   ===================================================== */
.tfe-events-page,.tfe-events-archive-section,.tfe-events-featured-section{content-visibility:auto;contain-intrinsic-size:900px;}
.tfe-events-hero{content-visibility:auto;contain-intrinsic-size:520px;}
.tfe-events-seo-block{content-visibility:auto;contain-intrinsic-size:280px;}
img{max-width:100%;height:auto;}
iframe{max-width:100%;}
@media (prefers-reduced-motion: reduce){html:focus-within{scroll-behavior:auto}.tfe-events-page *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* =====================================================
   v9.7.0 — UI + Localization polish
   ===================================================== */
html[lang="uk-UA"] .tfe-events-hero h1,
html[lang="pl-PL"] .tfe-events-hero h1{letter-spacing:-.04em;}
.tfe-events-filter-chip{max-width:100%;white-space:normal;line-height:1.25;text-align:left;}
.tfe-events-popular-links a{line-height:1.2;}
.tfe-card-caption-title{hyphens:auto;word-break:normal;}
.tfe-card-caption-cta{text-align:center;line-height:1.15;}
.tfe-no-events__button{text-align:center;}
@media(max-width:720px){
  .tfe-events-hero h1{font-size:clamp(34px,9.4vw,54px);letter-spacing:-.045em;}
  .tfe-events-hero p,.tfe-events-hero__note{font-size:15px;line-height:1.55;}
  .tfe-events-filter-chip,.tfe-events-filter-clear,.tfe-events-popular-links a{white-space:normal;}
  .tfe-events-popular-links a{max-width:100%;}
}
@media(max-width:420px){
  .tfe-card-caption-title{-webkit-line-clamp:3;}
  .tfe-card-caption-row{align-items:stretch;}
  .tfe-card-caption-price{white-space:normal;}
}


/* =====================================================
   v9.7.0 — Stable release marker
   No visual behavior changes. Keeps v9.6.x UI, localization and performance polish.
   ===================================================== */


/* =====================================================
   v9.9.50 — Mobile footer: centered two-column layout
   ===================================================== */
@media (max-width: 600px) {
  .site-footer.tfe-footer-v994 { text-align: center; }
  .site-footer.tfe-footer-v994 .footer-wrapper { padding-left: 18px; padding-right: 18px; }
  .site-footer.tfe-footer-v994 .footer-grid.footer-grid-v994 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
    text-align: center;
    align-items: start;
  }
  .site-footer.tfe-footer-v994 .footer-brand-col,
  .site-footer.tfe-footer-v994 .footer-contact-col,
  .site-footer.tfe-footer-v994 .footer-col-legal {
    grid-column: 1 / -1;
  }
  .site-footer.tfe-footer-v994 .footer-brand-col {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--tfe-soft, rgba(148,163,184,.22));
  }
  .site-footer.tfe-footer-v994 .footer-brand-logo,
  .site-footer.tfe-footer-v994 .footer-brand-logo img,
  .site-footer.tfe-footer-v994 .footer-logo-text {
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer.tfe-footer-v994 .footer-heading {
    justify-content: center;
    text-align: center;
  }
  .site-footer.tfe-footer-v994 .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }
  .site-footer.tfe-footer-v994 .footer-links li { margin-bottom: 0; }
  .site-footer.tfe-footer-v994 .footer-links a {
    justify-content: center;
    text-align: center;
    line-height: 1.25;
  }
  .site-footer.tfe-footer-v994 .footer-social,
  .site-footer.tfe-footer-v994 .social-inline {
    justify-content: center;
  }
  .site-footer.tfe-footer-v994 .footer-email,
  .site-footer.tfe-footer-v994 .footer-cta {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .site-footer.tfe-footer-v994 .footer-bottom {
    text-align: center;
    line-height: 1.45;
  }
}
