/* Level 3 hub layout, 26 November 2026 (owner visual review). Loaded only by
   /services/level-3-building-survey; tools/level3_content.py links it with a
   content-hash token. Presentation only: no text, link or heading changes. */

/* Service summary labels: the white serif label of the Who inspects card (AA on navy). */
.firm-summary-card .service-summary-item h4 { font-family: var(--serif); font-size: 1.18rem; color: var(--white); margin-bottom: 6px; line-height: 1.15; }

/* Hero: H1 and tagline first, then the fee box and the case-study box. */
.page-banner .firm-banner-content > .priority-cta { max-width: 760px; margin: 24px 0 0; padding: 14px 18px; }
.page-banner .firm-banner-content > .priority-cta p { font-size: .88rem; line-height: 1.55; }
.page-banner .firm-banner-content > .level3-evidence { margin: 16px 0 0; }
@media (min-width: 1025px) {
  .page-banner .firm-banner-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: 56px; align-items: start; }
  .page-banner .firm-banner-content > * { grid-column: 1; }
  .page-banner .firm-banner-content > .page-breadcrumb { grid-column: 1 / -1; }
  .page-banner .firm-banner-content > .priority-cta { grid-column: 2; grid-row: 2 / span 4; margin: 0; padding: 18px 20px; background: rgba(255,255,255,.04); }
}

/* Who inspects: copy above a full-width card whose items sit in a row. */
[data-who-inspects-section] { padding-bottom: 48px; }
[data-who-inspects-section] .firm-overview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
[data-who-inspects-section] .firm-overview-copy { max-width: 760px; }
@media (min-width: 700px) {
  [data-who-inspects] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 28px; align-items: start; }
  [data-who-inspects] .firm-summary-kicker { grid-column: 1 / -1; margin-bottom: 2px; }
}

/* Request a survey quote banner: no tall blank bands around it; the jump nav sits above it. */
main > section.section:has(> .container > .service-cta-band) { padding: 32px 0 56px; }
main > section.section:has(> .container > .service-cta-band) .service-cta-band { margin-top: 0; }
main > nav.in-page-nav.container { margin-top: 0; }
@media screen {
  main:has(> nav.in-page-nav) { display: flex; flex-direction: column; }
  main > nav.in-page-nav { order: 1; }
  main > section.section:has(> .container > .service-cta-band), main > nav.in-page-nav ~ * { order: 2; }
}

/* Four-card grids: two by two, never three plus an orphan. */
@media (min-width: 1025px) {
  .firm-standards-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.level3-exclusions { margin-top: 48px; }

/* Primary guidance: bullets inside the text column, with the hub's list spacing. */
[data-l3-subsection="primary-guidance"] ul { max-width: 760px; margin: 20px 0 0 22px; padding: 0; color: var(--text-light); line-height: 1.75; }
[data-l3-subsection="primary-guidance"] li { margin-bottom: 10px; }

@media (max-width: 768px) {
  [data-who-inspects-section] { padding-bottom: 40px; }
  main > section.section:has(> .container > .service-cta-band) { padding: 24px 0 40px; }
  .level3-exclusions { margin-top: 36px; }
}
@media (max-width: 600px) {
  .page-banner .firm-banner-content > .priority-cta { padding: 12px 14px; }
  .page-banner .firm-banner-content > .priority-cta p { font-size: .86rem; }
}
