/* Final about page fixes loaded after about.css. */
.about-page {
  overflow-x: clip;
  background: linear-gradient(180deg, #fffefd 0%, #fbf8f1 48%, #fffefd 100%);
}

.about-hero {
  min-height: clamp(520px, 54vw, 680px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.92) 32%, rgba(255,255,255,.38) 54%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 66%, rgba(255,255,255,.24) 100%),
    var(--hero) center right / cover no-repeat !important;
}

.about-hero-grid {
  min-height: clamp(520px, 54vw, 680px);
}

.about-hero-copy {
  max-width: 560px;
}

.about-hero h1 {
  max-width: 550px;
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: 1.02;
  color: #0c241d;
}

.about-love {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(32, 122, 93, .22), transparent 34%),
    linear-gradient(135deg, #003d2e 0%, #07533e 58%, #003827 100%);
}

.about-love-grid {
  max-width: 1340px;
  margin-inline: auto;
}

.about-different article:nth-child(odd) svg,
.about-different article:nth-child(odd) h3 {
  color: #0f6a4f;
}

.about-different article:nth-child(even) svg,
.about-different article:nth-child(even) h3 {
  color: #b9792d;
}

.about-final {
  width: min(100% - 72px, 1340px);
  margin: 34px auto 54px;
}

.about-final .about-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  body.page-template-page-about,
  body:has(.about-page) {
    overflow-x: hidden;
    background: #eef8fa;
  }

  .about-page {
    width: min(100%, 430px);
    margin-inline: auto;
    overflow-x: hidden;
    background: #fffdfa;
  }

  .about-wrap {
    width: calc(100% - 32px) !important;
    max-width: 398px;
  }

  .about-hero {
    min-height: auto;
    padding: 0 0 26px;
    background: none !important;
  }

  .about-hero-grid {
    min-height: 0;
    padding: 0;
  }

  .about-hero-copy {
    display: grid;
    max-width: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 54px rgba(22, 25, 20, .11);
  }

  .about-hero-copy::before {
    content: "";
    display: block;
    height: clamp(260px, 74vw, 330px);
    background:
      linear-gradient(180deg, rgba(0, 43, 31, .04) 0%, rgba(0, 43, 31, .08) 54%, rgba(0, 43, 31, .16) 100%),
      var(--hero) 62% center / cover no-repeat;
  }

  .about-hero h1 {
    margin: 0;
    max-width: none;
    padding: 23px 20px 10px;
    background: #fff;
    font-size: clamp(30px, 8.1vw, 36px);
    line-height: 1.1;
    box-shadow: none;
  }

  .about-hero p {
    max-width: none;
    padding: 0 20px 20px;
    background: #fff;
    font-size: 14px;
    line-height: 1.58;
    font-weight: 650;
  }

  .about-hero .about-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0 20px 22px;
    background: #fff;
  }

  .about-hero .about-btn {
    width: 100%;
    min-height: 48px;
  }

  .about-photo-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: hidden;
  }

  .about-photo-grid img,
  .about-photo-grid img:first-child {
    width: 100%;
    height: 112px;
    min-width: 0;
    object-fit: cover;
  }

  .about-love {
    width: 100%;
    margin: 0;
    padding: 28px 0 30px;
    border-radius: 0;
  }

  .about-love-grid {
    width: calc(100% - 32px) !important;
    max-width: 398px;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .about-love article {
    min-width: 0;
    min-height: 96px;
    padding: 16px 10px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.035);
  }

  .about-different {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
  }

  .about-different article {
    min-width: 0;
    min-height: 168px;
    padding: 18px 14px;
  }

  .about-final {
    width: calc(100% - 32px) !important;
    max-width: 398px;
    min-height: 360px;
    margin: 16px auto 36px;
    align-items: end;
    border-radius: 8px;
  }

  .about-final .about-wrap {
    width: 100% !important;
    padding: 24px;
  }

  .about-final .about-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding: 0 !important;
    background: transparent !important;
  }
}

/* v402: mobile-first about hero image. */
@media (max-width: 900px) {
  .about-page .about-hero {
    --hero: url("/wp-content/uploads/2026/10/about-hero-life-mobile-v402.jpg") !important;
  }

  .about-page .about-hero-copy::before {
    background:
      linear-gradient(180deg, rgba(0,43,31,.02) 0%, rgba(0,43,31,.08) 56%, rgba(0,43,31,.18) 100%),
      var(--hero) center 48% / cover no-repeat !important;
  }
}

/* v403: cleaner neutral overlay for mobile about hero. */
@media (max-width: 900px) {
  body.page-template-page-about .about-page .about-hero,
  body:has(.about-page) .about-page .about-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.42) 50%, rgba(255,255,255,.06) 100%),
      linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.2) 100%),
      var(--hero) center 48% / cover no-repeat !important;
    background-color: #fff !important;
  }
}
