/* ==========================================================================
   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 -- minimal parent-link line per build-spec 5.6 (Body-2,
   CSS-generated separator, current item non-link). Link color follows the
   F2 audit rule: normal-weight links on white use Forest Green. */
.detail-breadcrumb {
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  margin-bottom: var(--space-gap);
}

.detail-breadcrumb__link {
  color: var(--color-green-forest);
  text-decoration: underline;
}

.detail-breadcrumb__link:hover,
.detail-breadcrumb__link:focus {
  text-decoration: none;
}

.detail-breadcrumb__current {
  color: var(--color-text-default);
}

.detail-breadcrumb__current::before {
  content: "/";
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--color-text-default);
}

/* 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;
}
