/* =====================================================
   UNIVERSAL HERO SECTION STANDARDS
   Professional, Responsive Typography for All Pages
   ===================================================== */

/* Hero Container - Universal Base */
.hero-section,
.career-hero,
.event-hero,
.event-detail-hero,
.contact-hero,
.resources-hero,
.services-hero,
.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--neutral-100);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

/* Hero Background Pattern */
.hero-section::before,
.career-hero::before,
.event-hero::before,
.event-detail-hero::before,
.contact-hero::before,
.resources-hero::before,
.services-hero::before,
.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%), 
              linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.1;
  z-index: 1;
}

/* Hero Content Container */
.hero-section__content,
.career-hero__content,
.event-hero__content,
.event-detail-hero__content,
.contact-hero_content-container,
.contact-hero_text,
.resources-hero__content,
.services-hero__content,
.about-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* =====================================================
   HERO TITLE - STANDARDIZED TYPOGRAPHY
   Professional size: Desktop 2.75rem (44px)
   ===================================================== */
.hero-section__title,
.career-hero__title,
.event-hero__title,
.event-detail-hero .event-detail-title,
.contact-hero_title,
.resources-hero__title,
.services-hero__title,
.about-hero__title,
h1.hero-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: white !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  word-wrap: break-word !important;
  max-width: 100% !important;
}

/* =====================================================
   HERO SUBTITLE - STANDARDIZED TYPOGRAPHY
   Professional size: Desktop 1.125rem (18px)
   ===================================================== */
.hero-section__subtitle,
.career-hero__subtitle,
.event-hero__subtitle,
.event-detail-hero__subtitle,
.contact-hero_subtitle,
.resources-hero__subtitle,
.services-hero__subtitle,
.about-hero__subtitle,
p.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem) !important;
  line-height: 1.7 !important;
  color: white !important;
  opacity: 0.95 !important;
  margin: 0 auto !important;
  max-width: 700px !important;
  word-wrap: break-word !important;
  font-weight: 400 !important;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 120px 0 80px;
    min-height: 360px;
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 100px 0 70px;
    min-height: 340px;
  }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 90px 0 60px;
    min-height: 320px;
  }

  .hero-section__content,
  .career-hero__content,
  .event-hero__content,
  .event-detail-hero__content,
  .contact-hero_content-container,
  .contact-hero_text,
  .resources-hero__content,
  .services-hero__content,
  .about-hero__content {
    padding: 0 var(--space-md);
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 80px 0 50px;
    min-height: 300px;
  }

  .hero-section__title,
  .career-hero__title,
  .event-hero__title,
  .event-detail-hero .event-detail-title,
  .contact-hero_title,
  .resources-hero__title,
  .services-hero__title,
  .about-hero__title,
  h1.hero-title {
    font-size: 2.25rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-section__subtitle,
  .career-hero__subtitle,
  .event-hero__subtitle,
  .event-detail-hero__subtitle,
  .contact-hero_subtitle,
  .resources-hero__subtitle,
  .services-hero__subtitle,
  .about-hero__subtitle,
  p.hero-subtitle {
    font-size: 1.0625rem !important;
  }

  .hero-section__content,
  .career-hero__content,
  .event-hero__content,
  .event-detail-hero__content,
  .contact-hero_content-container,
  .contact-hero_text,
  .resources-hero__content,
  .services-hero__content,
  .about-hero__content {
    padding: 0 var(--space-md);
    max-width: 720px;
  }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 70px 0 45px;
    min-height: 280px;
  }

  .hero-section__title,
  .career-hero__title,
  .event-hero__title,
  .event-detail-hero .event-detail-title,
  .contact-hero_title,
  .resources-hero__title,
  .services-hero__title,
  .about-hero__title,
  h1.hero-title {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-section__subtitle,
  .career-hero__subtitle,
  .event-hero__subtitle,
  .event-detail-hero__subtitle,
  .contact-hero_subtitle,
  .resources-hero__subtitle,
  .services-hero__subtitle,
  .about-hero__subtitle,
  p.hero-subtitle {
    font-size: 1.0625rem !important;
  }

  .hero-section__content,
  .career-hero__content,
  .event-hero__content,
  .event-detail-hero__content,
  .contact-hero_content-container,
  .contact-hero_text,
  .resources-hero__content,
  .services-hero__content,
  .about-hero__content {
    padding: 0 var(--space-sm);
    max-width: 540px;
  }
}

/* Mobile (320px - 575px) */
@media (max-width: 575px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 60px 0 40px;
    min-height: 260px;
  }

  .hero-section__title,
  .career-hero__title,
  .event-hero__title,
  .event-detail-hero .event-detail-title,
  .contact-hero_title,
  .resources-hero__title,
  .services-hero__title,
  .about-hero__title,
  h1.hero-title {
    font-size: 1.875rem !important;
    margin-bottom: 0.875rem !important;
    letter-spacing: -0.01em !important;
  }

  .hero-section__subtitle,
  .career-hero__subtitle,
  .event-hero__subtitle,
  .event-detail-hero__subtitle,
  .contact-hero_subtitle,
  .resources-hero__subtitle,
  .services-hero__subtitle,
  .about-hero__subtitle,
  p.hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .hero-section__content,
  .career-hero__content,
  .event-hero__content,
  .event-detail-hero__content,
  .contact-hero_content-container,
  .contact-hero_text,
  .resources-hero__content,
  .services-hero__content,
  .about-hero__content {
    padding: 0 1rem;
    max-width: 100%;
  }
}

/* Extra Small Mobile (< 375px) */
@media (max-width: 374px) {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    padding: 50px 0 35px;
    min-height: 240px;
  }

  .hero-section__title,
  .career-hero__title,
  .event-hero__title,
  .event-detail-hero .event-detail-title,
  .contact-hero_title,
  .resources-hero__title,
  .services-hero__title,
  .about-hero__title,
  h1.hero-title {
    font-size: 1.75rem !important;
  }

  .hero-section__subtitle,
  .career-hero__subtitle,
  .event-hero__subtitle,
  .event-detail-hero__subtitle,
  .contact-hero_subtitle,
  .resources-hero__subtitle,
  .services-hero__subtitle,
  .about-hero__subtitle,
  p.hero-subtitle {
    font-size: 0.9375rem !important;
  }
}

/* =====================================================
   UTILITY CLASSES FOR HERO VARIATIONS
   ===================================================== */

/* Centered hero content */
.hero--centered {
  text-align: center !important;
}

/* Left-aligned hero content */
.hero--left {
  text-align: left !important;
}

/* Hero with image background */
.hero--with-image::before {
  background-blend-mode: overlay;
  opacity: 0.15 !important;
}

/* Dark hero variant */
.hero--dark {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
}

/* Light hero variant */
.hero--light {
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
}

.hero--light .hero-section__title,
.hero--light .hero-section__subtitle {
  color: var(--secondary-color) !important;
  text-shadow: none !important;
}

/* Compact hero for inner pages */
.hero--compact {
  padding: 70px 0 50px !important;
  min-height: 240px !important;
}

@media (max-width: 767px) {
  .hero--compact {
    padding: 50px 0 35px !important;
    min-height: 200px !important;
  }
}

/* =====================================================
   ACCESSIBILITY & PRINT STYLES
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .career-hero::before,
  .event-hero::before,
  .event-detail-hero::before,
  .contact-hero::before,
  .resources-hero::before,
  .services-hero::before,
  .about-hero::before {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .hero-section,
  .career-hero,
  .event-hero,
  .event-detail-hero,
  .contact-hero,
  .resources-hero,
  .services-hero,
  .about-hero {
    background: white !important;
    color: black !important;
    padding: 2rem 0 !important;
    page-break-inside: avoid;
  }

  .hero-section::before,
  .career-hero::before,
  .event-hero::before,
  .event-detail-hero::before,
  .contact-hero::before,
  .resources-hero::before,
  .services-hero::before,
  .about-hero::before {
    display: none !important;
  }

  .hero-section__title,
  .career-hero__title,
  .event-hero__title,
  .event-detail-hero .event-detail-title,
  .contact-hero_title,
  .resources-hero__title,
  .services-hero__title,
  .about-hero__title,
  h1.hero-title {
    color: black !important;
    text-shadow: none !important;
  }

  .hero-section__subtitle,
  .career-hero__subtitle,
  .event-hero__subtitle,
  .event-detail-hero__subtitle,
  .contact-hero_subtitle,
  .resources-hero__subtitle,
  .services-hero__subtitle,
  .about-hero__subtitle,
  p.hero-subtitle {
    color: #333 !important;
    opacity: 1 !important;
  }
}
