/* ================================================================
   PROTECTED — Homepage Vertical Banners — Do Not Modify
   be-inspired.life | Three vertical banner cards (Me, Storytelling, Wellness)
   Desktop: full photo background, white text, gradient overlay
   Hover: green (#dcf0f3) overlay, white text remains
   Mobile: green background, black text, no photo

   BANNER IMAGES — permanently stored here so homepage updates never blank them.
   To change an image: update the URL in the nth-child rule below only.
   ================================================================ */

/* ── Banner background images — PERMANENT ── */
.banner:nth-child(1) { background-image: url('/media/img_6a1bd48ee35fd.png'); }
.banner:nth-child(2) { background-image: url('/media/img_6a1bd48ee3bd8.png'); }
.banner:nth-child(3) { background-image: url('/media/img_6a1bd48ee4ea3.png'); }

.banners-section {
  display: flex;
  padding: 5% 5% 0;
  gap: 4px;
}

/* Each banner is a clickable link with photo background */
.banner {
  flex: 1;
  padding: 2.75rem 2.5rem;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

/* Dark gradient overlay — sits on top of photo, below text */
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

/* Hover: swap dark gradient for green overlay */
.banner:hover::after {
  background: rgba(220, 240, 243, 0.88);
}

/* Text always above the overlay */
.banner-headline,
.banner-text {
  position: relative;
  z-index: 2;
}

.banner-headline {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.4s ease;
}

.banner-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
  color: #ffffff;
  transition: color 0.4s ease;
}

/* On hover: text turns dark to read against green overlay */
.banner:hover .banner-headline,
.banner:hover .banner-text {
  color: #1a1a1a;
}

/* ================================================================
   MOBILE — Green cards, black text, no photo
   ================================================================ */
@media (max-width: 768px) {
  .banners-section {
    flex-direction: column;
    padding: 2rem 5% 0;
    gap: 8px;
  }

  .banner {
    aspect-ratio: unset;
    padding: 2rem 1.75rem;
    background-image: none !important;
    background-color: #dcf0f3;
  }

  .banner::after {
    display: none;
  }

  .banner-headline {
    color: #1a1a1a;
    font-size: 1.2rem;
  }

  .banner-text {
    color: #1a1a1a;
    font-size: 0.85rem;
  }

  .banner:hover .banner-headline,
  .banner:hover .banner-text {
    color: #1a1a1a;
  }
}
