/* =================================================================
   FC ZÜRICH LANDING PAGE STYLES
   ================================================================= */

/* Shell overrides — match dealbook pattern */
body:has(.vibe-fczurich-page) #basecontainer,
body:has(.vibe-fczurich-page) #content,
body:has(.vibe-fczurich-page) .ui-container,
body:has(.vibe-fczurich-page) .rubrik-container,
body:has(.vibe-fczurich-page) [class*="container"] {
  overflow-y: visible !important;
}

/* Page container — same approach as dealbook */
.vibe-fczurich-page {
  font-family: Futura, 'Futura LT', Arial, sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
}

@media (min-width: 769px) {
  #content .vibe-fczurich-page p {
    font-size: 16px;
  }
}

/* Desktop: remove shell container padding */
@media (min-width: 769px) {
  body:has(.vibe-fczurich-page) #content {
    padding: 0 !important;
  }
}

/* =================================================================
   Hero Section — content-info floatcontainer pattern (like dealbook)
   ================================================================= */
.vibe-fczurich-hero {
  margin-bottom: 1.5rem;
}

.vibe-fczurich-hero .content-info.floatcontainer {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  position: relative;
  min-height: 320px;
  width: 994px;
  margin-left: -22px;
}


/* =================================================================
   Section Titles
   ================================================================= */
.vibe-fczurich-section-title {
  font-family: Futura-Bold, Futura, sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  color: #000;
  margin: 2.5rem 0 1rem;
}

/* =================================================================
   Partnership Section
   ================================================================= */
.vibe-fczurich-partnership {
  margin-bottom: 2rem;
}

.vibe-fczurich-partnership-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.vibe-fczurich-partnership-text p {
  margin: 0 0 1rem;
}

.vibe-fczurich-partnership-text p:last-child {
  margin-bottom: 0;
}

/* Image Grid - 3 columns */
.vibe-fczurich-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vibe-fczurich-image-grid-item {
  overflow: hidden;
}

.vibe-fczurich-image-grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Team Photo */
.vibe-fczurich-team-photo {
  margin-top: 1.5rem;
  overflow: hidden;
}

.vibe-fczurich-team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Video Embed — single centered video with 16:9 aspect ratio */
.vibe-fczurich-video-single {
  max-width: 950px;
  margin: 1.5rem auto;
}

.vibe-fczurich-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.vibe-fczurich-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Section Description Text */
.vibe-fczurich-section-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.vibe-fczurich-section-text p {
  margin: 0;
}

/* =================================================================
   Placeholder Sections
   ================================================================= */
.vibe-fczurich-section {
  margin-bottom: 2rem;
}

.vibe-fczurich-placeholder {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
}

.vibe-fczurich-placeholder a {
  color: #0033A0;
  text-decoration: none;
  font-weight: 600;
}

.vibe-fczurich-placeholder a:hover {
  color: #f29400;
  text-decoration: underline;
}

/* Products grid — 5 columns */
.vibe-fczurich-products-grid ul.products {
  grid-template-columns: repeat(5, 1fr);
}

/* =================================================================
   Match Center Widget
   ================================================================= */

/* Loading state */
.vibe-fczurich-match-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.vibe-fczurich-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #dee2e6;
  border-top-color: #0033A0;
  border-radius: 50%;
  animation: fczurich-spin 0.8s linear infinite;
}

@keyframes fczurich-spin {
  to { transform: rotate(360deg); }
}

/* Section titles (Recent / Upcoming) */
.vibe-fczurich-match-section {
  margin-bottom: 1.5rem;
}

.vibe-fczurich-match-section-title {
  font-family: Futura-Bold, Futura, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

/* Match list */
.vibe-fczurich-match-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Single match card */
.vibe-fczurich-match-card {
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 0;
}

.vibe-fczurich-match-card:last-child {
  border-bottom: none;
}

.vibe-fczurich-match-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.4rem;
  text-align: center;
}

/* Match row: [Home] [Center] [Away] */
.vibe-fczurich-match-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Team block */
.vibe-fczurich-match-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 200px;
  font-size: 0.95rem;
  font-weight: 600;
}

.vibe-fczurich-match-team:first-child {
  justify-content: flex-end;
  text-align: right;
}

.vibe-fczurich-match-team:last-child {
  justify-content: flex-start;
  text-align: left;
}

/* Reverse icon order for home team (name then logo) */
.vibe-fczurich-match-team:first-child {
  flex-direction: row-reverse;
}

.vibe-fczurich-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Center block (score or date) */
.vibe-fczurich-match-center {
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.vibe-fczurich-match-score {
  font-family: Futura-Bold, Futura, sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.vibe-fczurich-match-score.vibe-fczurich-match-live {
  color: #d32f2f;
}

.vibe-fczurich-match-separator {
  opacity: 0.5;
}

.vibe-fczurich-match-date {
  font-size: 0.85rem;
  color: #555;
}

.vibe-fczurich-match-time {
  font-size: 0.8rem;
  color: #888;
}

.vibe-fczurich-match-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-top: 0.15rem;
}

.vibe-fczurich-match-badge--live {
  background: #d32f2f;
  color: #fff;
}

/* Empty / Error states */
.vibe-fczurich-match-empty,
.vibe-fczurich-match-error {
  text-align: center;
  color: #888;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

/* =================================================================
   Instagram Embeds
   ================================================================= */
.vibe-fczurich-instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vibe-fczurich-instagram-embed {
  overflow: hidden;
}

.vibe-fczurich-instagram-embed iframe {
  width: 100%;
  min-height: 480px;
  border: 0;
}

/* =================================================================
   Tablet Responsive (768-1024px)
   ================================================================= */
@media (max-width: 1024px) {
  .vibe-fczurich-hero .content-info.floatcontainer {
    width: 100%;
    margin-left: 0;
  }
}

/* =================================================================
   Mobile Responsive (<768px)
   ================================================================= */
@media (max-width: 768px) {
  /* Hide hero banner on mobile */
  .vibe-fczurich-hero {
    display: none;
  }

  /* Font sizes matching perfumer detail page */
  .vibe-fczurich-page {
    font-family: Futura, 'Futura-Bold', Arial, sans-serif !important;
    padding: 0 1rem;
  }

  .vibe-fczurich-section-title {
    font-size: 29px !important;
    font-family: Futura-Bold, Futura, sans-serif !important;
    margin: 2rem 0 0.75rem;
  }

  .vibe-fczurich-partnership-text,
  .vibe-fczurich-section-text {
    font-size: 29px;
    font-family: Futura, 'Futura-Bold', Arial, sans-serif !important;
  }

  .vibe-fczurich-image-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .vibe-fczurich-placeholder {
    padding: 2rem 1rem;
    font-size: 29px;
  }

  .vibe-fczurich-instagram-grid {
    grid-template-columns: 1fr;
  }

  /* Match center mobile */
  .vibe-fczurich-match-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .vibe-fczurich-match-team {
    width: auto;
    justify-content: center !important;
    text-align: center !important;
    flex-direction: row !important;
    font-size: 24px;
  }

  .vibe-fczurich-match-center {
    min-width: unset;
  }

  .vibe-fczurich-match-score {
    font-size: 29px;
  }

  .vibe-fczurich-match-section-title {
    font-size: 24px;
  }

  .vibe-fczurich-match-meta {
    font-size: 20px;
  }

  .vibe-fczurich-match-date {
    font-size: 22px;
  }

  .vibe-fczurich-match-time {
    font-size: 20px;
  }

  .vibe-fczurich-match-empty,
  .vibe-fczurich-match-error {
    font-size: 29px;
  }
}
