/* =====================================================================
   Inner page hero — 1 image + h1 (blog.html .aa-page-hero)
   ===================================================================== */

.aa-page-hero {
  position: relative;
  background: #1d3533;
  overflow: hidden;
}

.aa-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img, none);
  background-size: cover;
  background-position: center;
}

@media (max-width: 991px) {
  .aa-page-hero::before {
    background-image: var(--img-mobile, var(--img, none));
  }
}

.aa-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 53, 51, 0.3), rgba(29, 53, 51, 0.78));
}

.aa-page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 260px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .aa-page-hero__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.aa-page-hero__title {
  margin: 0;
  color: #fff;
  font-family: "Montserrat Alternates", system-ui, sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 768px) {
  .aa-page-hero__inner {
    min-height: 340px;
  }

  .aa-page-hero__title {
    font-size: 48px;
  }
}

@media (min-width: 992px) {
  .aa-page-hero__inner {
    min-height: 420px;
  }

  .aa-page-hero__title {
    font-size: 64px;
  }
}

.aa-page-hero--plain::before {
  background-image: none;
}

