/* ==========================================================================
   Devgun Family Law -- Page: practice-area detail / standalone layout
   Figma: Collaborative Family Divorce frame 7138:783 (Left 442 / Right 926
   within the 1408 container, 05-collab-family-divorce.png).
   Loaded by templates/App/Pages/Layout/TopLevelPage.ss only. The rail card
   + disclosure styles live in css/chrome/rail.css; this file owns the page
   container, the two-column body, the breadcrumb line, and the centered
   standalone measure.
   ========================================================================== */

/* Override the legacy fixed #main padding (site.css) with the tokenized
   section rhythm. */
#main.detail-main {
  padding-top: var(--space-section-y);
  padding-bottom: var(--space-section-y);
  background-color: var(--color-bg-page);
}

/* 1408 content container (build-spec Section 6), same geometry as
   .hero__container so the body aligns with the contained hero above it. */
.detail-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-page-gutter);
}

/* Two-column body: Bootstrap row/cols carry the ~30/70 split (col-lg-4
   rail / col-lg-8 content, build-spec Section 6). Below lg the columns
   stack, rail disclosure first (source order). */
.detail-rail-col {
  margin-bottom: var(--space-gap);
}

@media (min-width: 992px) {
  .detail-rail-col {
    margin-bottom: 0;
  }
}

/* Breadcrumb styles moved to chrome/breadcrumbs.css (2026-07-06) when
   the trail expanded beyond the practice-detail pages -- the shared
   BreadcrumbsTemplate.ss requires that file itself, so every page that
   renders $Breadcrumbs gets the CSS with zero per-layout wiring. */

/* (The Family Law parent quick-nav pill row was removed 2026-07-06 --
   Dave: the header dropdown + child left-rail already handle wayfinding,
   and the chip row "looked ridiculous". Breadcrumbs cover orientation.) */

/* Standalone top-level pages (no rail): center the article at the
   design's content-column measure (926px, frame 7144:737 "Right"). */
.detail-content--standalone {
  max-width: 926px;
  margin-left: auto;
  margin-right: auto;
}

/* Subheading above the article (Dave 2026-07-03): the page title at the
   content-heading scale, sitting over the first paragraph. */
.detail-subheading {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  color: var(--color-text-heading);
  margin: 0 0 1rem;
}

.detail-subheading--standalone {
  max-width: 926px;
  margin-inline: auto;
}
