/* Hero: text left, image right. Buttons: .as-btn in as-base.css */
.as-hero {
  background-color: var(--as-bg-white);
  padding: 95px 0 85px;
  position: relative;
}

.as-hero-kicker {
  color: var(--as-color-kicker-red);
  font-family: var(--as-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 14px;
}

.as-hero .as-hero-title {
  font-family: var(--as-font-heading);
  color: var(--as-color-hero-heading);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}

.as-hero .as-hero-text {
  font-family: var(--as-font-body);
  color: var(--as-color-hero-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 520px;
}

.as-hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.as-hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  /* Fixed-shape box so every page's hero is the same height, whatever image is used */
  aspect-ratio: 32 / 25;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.08));
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .as-hero {
    padding: 95px 0 50px;
  }

  .as-hero .as-hero-title {
    font-size: 38px;
  }

  .as-hero .as-hero-text {
    font-size: 15px;
  }

  .as-hero-img {
    max-width: 500px;
    margin-top: 20px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .as-hero {
    text-align: center;
    padding: 90px 0 35px;
  }

  .as-hero .as-hero-title {
    font-size: 30px;
  }

  .as-hero .as-hero-text {
    font-size: 14.5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
  }

  .as-hero-cta {
    justify-content: center;
    gap: 12px;
  }

  /* Both buttons share one row */
  .as-hero-cta .as-btn {
    flex: 1 1 0;
    max-width: 200px;
    padding: 10px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .as-hero-img {
    max-width: 100%;
    margin-top: 25px;
  }
}

