/* ============================================================
   drbillmorgan.com — Services page
   Loads after about.css (shared interior template)
============================================================ */

/* ---------- Split hero: navy strip with image slot ---------- */
.page-hero--split .inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 520px);
  justify-content: space-between;
  align-items: center;
  column-gap: 80px;
}
.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-hero__content .breadcrumb ol { margin-bottom: 28px; }
.page-hero__eyebrow {
  margin-bottom: 12px;
  color: var(--orange-bright);
}
.page-hero--split .page-hero__subhead { margin-bottom: 32px; }

.page-hero__media img,
.media-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
}
.page-hero__media img { object-fit: cover; }
.media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px dashed var(--line-dark);
  font-size: 14px;
  color: var(--slate);
}

@media (max-width: 900px) {
  .page-hero--split .inner {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .page-hero__media { max-width: 560px; }
}

/* ---------- Body: no photo row in the sidebar column ---------- */
.page-body__grid--no-photo {
  grid-template-areas: "main side";
  grid-template-rows: auto;
}
.service-list { grid-area: main; }

@media (max-width: 860px) {
  .page-body__grid--no-photo {
    grid-template-areas:
      "main"
      "side";
  }
}

/* ---------- Service blocks ---------- */
.service-block {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.7;
  scroll-margin-top: 112px;
}
.service-block:first-child { padding-top: 0; border-top: 0; }
.service-block:last-child  { padding-bottom: 0; }
.service-block .eyebrow { margin-bottom: 8px; }
.service-block h2 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

@media (max-width: 860px) {
  .service-block { padding-block: 32px; font-size: 17px; }
  .service-block h2 { font-size: 24px; }
}

/* ---------- More at Paoli Psychological Associates ---------- */
.more-services {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 6vw, 88px) 0;
}
.more-services .inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  column-gap: 80px;
  row-gap: 28px;
  align-items: center;
}
.more-services__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.more-services__headline {
  font-size: clamp(24px, 1rem + 1vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.more-services__desc { font-size: 16px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pills a {
  display: inline-block;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  transition: border-color .2s, color .2s;
}
.pills a:hover { border-color: var(--orange); color: var(--orange); }

@media (max-width: 900px) {
  .more-services .inner { grid-template-columns: 1fr; }
}
