/* TicketsFest 10.2.32: country discovery - center the copy, keep the original six-card row.
   Scoped to country fallback only; no changes to other sections or shortcodes. */
.tfe-page-wrapper .tfe-home-upcoming { margin-bottom: clamp(20px, 2.8vw, 32px); }
.tfe-page-wrapper .tfe-growth-section--country-fallback {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto clamp(20px, 2.6vw, 30px);
  text-align: center;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__intro {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 0 !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  font-weight: 900;
  line-height: 1.16 !important;
  letter-spacing: -.035em;
  text-align: center !important;
  color: #17243a !important;
  background: none !important;
  -webkit-text-fill-color: #17243a !important;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__icon {
  flex: none;
  font-size: .85em;
  line-height: 1;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-section-lead {
  margin: 0 !important;
  max-width: 660px;
  color: #526179;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.5;
  text-align: center !important;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 21px;
  min-height: 42px;
  color: #245eea;
  background: rgba(255,255,255,.9);
  border: 1px solid #c5dafb;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 5px 15px rgba(37,99,235,.035);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__all:hover,
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__all:focus-visible {
  color: #fff;
  background: #245eea;
  border-color: #245eea;
}
.tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-slider-lock {
  width: 100%;
  overflow: visible;
  padding-bottom: 10px;
}
html body .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-wrap.tfe-instance[data-layout="grid"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  overflow: visible !important;
}
/* Original six cards across. Override only the unwanted 3/2/1 layout from 10.2.31. */
@media (min-width: 1100px) {
  html body .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-wrap.tfe-instance[data-layout="grid"] > .tfe-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.1vw, 16px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-grid > .tfe-card-item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex: none !important;
  }
}
/* On smaller viewports, keep one horizontal strip that can be swiped.
   Never turn the six-card strip into 3/2/1 vertically stacked rows. */
@media (max-width: 1099px) {
  html body .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-wrap.tfe-instance[data-layout="grid"] > .tfe-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x !important;
  }
  html body .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-grid > .tfe-card-item {
    display: block !important;
    flex: 0 0 clamp(160px, 33vw, 220px) !important;
    width: clamp(160px, 33vw, 220px) !important;
    min-width: clamp(160px, 33vw, 220px) !important;
    max-width: none !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
  }
}
@media (max-width: 640px) {
  .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__head { gap: 12px; margin-bottom: 18px; }
  .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-section-title { font-size: clamp(23px, 6.2vw, 29px) !important; gap: 8px; }
  .tfe-page-wrapper .tfe-growth-section--country-fallback .tfe-country-more__all { font-size: 13px; }
}
