/* ============================================================
 * Hero / Featured Top Styles
 * Divi equivalents:
 *   .et_pb_section with fullwidth/hero styling
 *   .et_pb_fullwidth_header
 *   .et_pb_fullwidth_slider
 * ============================================================ */

/* -----------------------------------------------
   Hero Section
   ----------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-on-dark);
  overflow: hidden;
}

/* Hero overlay handled by .overlay-dark utility in style.css */

.hero > * {
  position: relative;
  z-index: 2;
}

.hero .container {
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-on-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* -----------------------------------------------
   Hero Sizes
   ----------------------------------------------- */
.hero--small {
  min-height: 300px;
  padding: var(--spacing-xl) 0;
}

.hero--small h1 {
  font-size: 2rem;
}

.hero--large {
  min-height: 700px;
  padding: var(--spacing-xxl) 0;
}

.hero--large h1 {
  font-size: 3.5rem;
}

/* -----------------------------------------------
   Responsive Hero
   ----------------------------------------------- */
@media (max-width: 980px) {
  .hero {
    min-height: 400px;
    padding: var(--spacing-xl) 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero--large {
    min-height: 500px;
  }

  .hero--large h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 300px;
    padding: var(--spacing-lg) 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .hero-subtitle {
    font-size: 1rem;
  }

  .hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero--large {
    min-height: 400px;
  }
}
