/**
 * @file
 * Editorial Hero component styling for Wares Point Theme.
 * Expansive, welcoming community hero layout.
 */

.hero-section {
  background-color: var(--wp-white);
  border-bottom: 1px solid var(--wp-border-soft);
  padding: var(--wp-space-xl) 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: var(--wp-space-2xl) 0;
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding: clamp(3rem, 5vw, 5rem) 0;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle at 80% 25%, rgba(200, 169, 126, 0.08) 0%, transparent 75%);
  pointer-events: none;
}

.hero-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wp-space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-section__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.hero-section__content {
  display: flex;
  flex-direction: column;
}

.hero-section__eyebrow {
  color: var(--wp-tan-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  text-transform: uppercase;
  margin-bottom: var(--wp-space-xs);
}

@media (min-width: 768px) {
  .hero-section__eyebrow {
    font-size: 0.875rem;
    margin-bottom: var(--wp-space-sm);
  }
}

.hero-section__headline {
  font-family: var(--wp-font-heading);
  font-size: clamp(2rem, 5vw + 0.5rem, 4.25rem);
  font-weight: 800;
  color: var(--wp-brown-deep);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: var(--wp-space-sm);
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .hero-section__headline {
    margin-bottom: var(--wp-space-md);
  }
}

.hero-section__description {
  font-size: 1.125rem;
  line-height: var(--wp-line-height-normal);
  color: var(--wp-text-muted);
  margin-bottom: var(--wp-space-lg);
  max-width: 680px; /* Widened for expansive community feel */
}

@media (min-width: 768px) {
  .hero-section__description {
    font-size: 1.25rem;
    margin-bottom: var(--wp-space-xl);
  }
}

.hero-section__actions {
  display: flex;
  flex-direction: column;
  gap: var(--wp-space-sm);
  width: 100%;
}

@media (min-width: 480px) {
  .hero-section__actions {
    flex-direction: row;
    align-items: center;
    gap: var(--wp-space-md);
    width: auto;
  }
}

@media (max-width: 479px) {
  .hero-section__actions .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

.hero-section__media {
  position: relative;
  border-radius: var(--wp-radius-md);
  overflow: hidden;
  box-shadow: var(--wp-shadow-sm);
  border: 1px solid var(--wp-border-soft);
  background-color: #FAF7F2;
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .hero-section__media {
    border-radius: var(--wp-radius-lg);
    box-shadow: var(--wp-shadow-md);
  }
}

.hero-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
