/* Homepage hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero h1,
[class*="heroTitle"] {
  font-size: 4rem !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: visible !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
  hyphens: auto !important;
}

.hero__title {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: visible !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
  hyphens: auto !important;
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 996px) {
  .hero {
    min-height: 70vh;
    padding: 3rem 0;
  }

  .hero h1,
  [class*="heroTitle"] {
    font-size: 2.8rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.5rem !important;
  }

  .hero__title {
    font-size: 2.2rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.5rem !important;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 65vh;
    padding: 2.5rem 0;
  }

  .hero h1,
  [class*="heroTitle"] {
    font-size: 2.4rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.2rem !important;
  }

  .hero__title {
    font-size: 2rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.2rem !important;
  }

  .hero__subtitle {
    font-size: 1rem;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 2rem 0;
  }

  .hero h1,
  [class*="heroTitle"] {
    font-size: 2rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1rem !important;
  }

  .hero__title {
    font-size: 1.8rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1rem !important;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
}

@media (min-width: 997px) {
  .hero {
    min-height: 80vh;
  }

  .hero__title {
    white-space: normal;
    font-size: 2.5rem;
    word-break: break-word;
  }
}
