/* Discovery Design 3.0 phase 2 - artist/venue/event cards (10.2.54)
   Presentation only. Keep grid column count, CRM data, booking and URLs untouched. */

/* 1. Event cards remain 4:5 and visibly legible even on keyboard focus/hover. */
body:not(.wp-admin) .tfe-instance .tfe-card-item {
  border-radius: 18px;
  box-shadow: 0 8px 27px rgba(16, 32, 68, .10);
  transition: transform .2s ease, box-shadow .2s ease;
  background: #0d1934;
}
body:not(.wp-admin) .tfe-instance .tfe-card-inner {
  border-radius: inherit;
  border: 1px solid rgba(199, 215, 241, .25);
  overflow: hidden;
}
body:not(.wp-admin) .tfe-instance .tfe-card-caption {
  background: linear-gradient(180deg, rgba(9, 20, 44, 0) 0%, rgba(9, 20, 44, .80) 38%, rgba(9, 20, 44, .97) 100%);
  padding: 46px 13px 13px;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
body:not(.wp-admin) .tfe-instance .tfe-card-caption-title {
  font-family: 'e-Ukraine Head', 'e-Ukraine', sans-serif;
  font-weight: 750;
  font-size: clamp(13px, 1.23vw, 17px);
  line-height: 1.22;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
body:not(.wp-admin) .tfe-instance .tfe-card-caption-meta {
  color: rgba(235, 243, 255, .87);
  font-size: 11px;
  font-weight: 550;
}
body:not(.wp-admin) .tfe-instance .tfe-card-caption-date {
  border-radius: 7px;
  padding: 5px 8px;
  background: #f4f7ff;
  color: #153b84;
  font-weight: 750;
  box-shadow: none;
}
body:not(.wp-admin) .tfe-instance .tfe-card-caption-cta {
  border-radius: 9px;
  background: #fff;
  color: #1647aa;
  box-shadow: none;
  font-family: 'e-Ukraine', sans-serif;
  font-weight: 700;
}
body:not(.wp-admin) .tfe-instance .tfe-card-item:focus-within {
  outline: 3px solid rgba(44, 101, 220, .55);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  body:not(.wp-admin) .tfe-instance .tfe-card-item:hover {
    box-shadow: 0 14px 38px rgba(16, 32, 68, .18);
    transform: translateY(-3px);
  }
  /* The old hover overlay hid event title, date and price. Keep these visible. */
  body:not(.wp-admin) .tfe-instance .tfe-card-item:hover .tfe-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (max-width: 767px) {
  body:not(.wp-admin) .tfe-instance .tfe-card-caption {padding: 38px 9px 10px;}
  body:not(.wp-admin) .tfe-instance .tfe-card-caption-title {font-size: 12px; line-height: 1.18;}
  body:not(.wp-admin) .tfe-instance .tfe-card-caption-meta {font-size: 10px;}
  body:not(.wp-admin) .tfe-instance .tfe-card-caption-cta {font-size: 10px; min-height: 32px; padding: 6px 8px;}
  body:not(.wp-admin) .tfe-instance .tfe-card-caption-date {font-size: 9px;}
}

/* 2. Artist archive cards. Scoped to artist page wrapper, no new link targets. */
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-card {
  border: 1px solid #e2eaf5;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(16,32,68,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-cover {aspect-ratio:4/5;}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-cover img {object-position:center top;}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-cover-name {
  font-family: 'e-Ukraine Head', 'e-Ukraine', sans-serif;
  font-size: clamp(14px,1.6vw,20px);
  line-height:1.15;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-body {gap:10px;}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-city-pill {
  border: 1px solid #e5ecf6;
  border-radius:8px;
  background:#f5f8fe;
  color:#294161;
}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-view,
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-book {
  border-radius:10px;
  font-family:'e-Ukraine', sans-serif;
  font-weight:750;
  min-height:42px;
}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-view {background:#eef3fc; border-color:#dce6f6; color:#174492;}
.tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-book {background:#163c80; color:#fff;}
@media (hover:hover) and (pointer:fine) {
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-card:hover {
    transform:translateY(-3px);
    border-color:#a4c2f3;
    box-shadow:0 17px 36px rgba(16,32,68,.12);
  }
}
@media (max-width: 767px) {
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-card {border-radius:15px;}
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-body {padding:10px;}
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-cover-name {font-size:clamp(13px,3.5vw,16px);}
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-view,
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-btn-book {min-height:42px; font-size:11px;}
}

/* 3. Performer profile: same calm editorial geometry as Event Page 3.0.
   Do not change embedded Spotify, gallery interactions or booking dialog. */
body.single-performer .tfe-page-wrapper.tfe-design-v4 {background:#f5f8fd;}
body.single-performer .tfe-page-wrapper.tfe-design-v4 > .tfe-hero {
  background:#0c1a36;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-hero__overlay {
  background:linear-gradient(115deg,rgba(9,20,45,.90),rgba(15,35,74,.77));
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-hero__content {
  align-items:center;
  gap:clamp(24px,5vw,68px);
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-poster {
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 24px 62px rgba(0,9,24,.32);
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-poster img {aspect-ratio:4/5; object-fit:cover; object-position:center top;}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-hero-title {
  font-family:'e-Ukraine Head','e-Ukraine',sans-serif;
  font-size:clamp(33px,4.4vw,58px);
  line-height:1.1;
  letter-spacing:-.027em;
  overflow-wrap:anywhere;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-section {
  border-radius:22px;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-section-title {
  font-family:'e-Ukraine Head','e-Ukraine',sans-serif;
  letter-spacing:-.018em;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-btn--primary {
  background:#2355bc;
  border-radius:11px;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-tour-card {
  border-radius:14px;
  background:#fff;
  border-color:#e2eaf5;
}
body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-tour-card__img {border-radius:9px;}
@media (max-width:767px) {
  body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-hero-title {font-size:clamp(29px,7vw,41px);}
  body.single-performer .tfe-page-wrapper.tfe-design-v4 .tfe-poster {max-width:260px; margin-inline:auto;}
}

/* 4. Venue landing keeps venue-specific events, but uses matching typography. */
body.tax-tour_venue .tfe-premium-page {background:#f5f8fd;}
body.tax-tour_venue .tfe-premium-page .tfe-premium-hero {
  background:#0c1a36;
}
body.tax-tour_venue .tfe-premium-page .tfe-premium-hero__content h1 {
  font-family:'e-Ukraine Head','e-Ukraine',sans-serif;
  font-size:clamp(33px,5.1vw,60px);
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
body.tax-tour_venue .tfe-premium-page .tfe-premium-section--event-archive {
  padding-top:clamp(26px,4vw,54px);
}
@media (prefers-reduced-motion:reduce) {
  body:not(.wp-admin) .tfe-instance .tfe-card-item,
  .tfe-page-wrapper.tfe-design-v4 #tfeArtistsGrid .tfe-artist-card {transition:none!important; transform:none!important;}
}
