/* Service pages (service26): match blog26 reference skin on stage/local.
   Loaded after Tim hashed CSS + firm-service.css + blog26-site.css.
   Survives Tim package reimports; do not hand-edit hashed service/*.css. */

/* .text-link / .light-link / results heading CTA: base CSS paints a gray
   border-bottom AND an orange text-decoration underline = two lines.
   Keep only the orange underline. */
body.blg-service26 #main .text-link,
body.blg-service26 #main .light-link,
body.blg-service26 #main .recent-results-heading a,
body.blg-service26 #main #results .recent-results-heading a,
#service-template.blg-service26 #main .text-link,
#service-template.blg-service26 #main .light-link,
#service-template.blg-service26 #main .recent-results-heading a {
  border: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-decoration: underline !important;
  text-decoration-color: #B84E1C !important;
  text-underline-offset: 4px !important;
}

/* Honeypot must stay off-screen on every service page form. */
#service-template #main .hp-field,
#service-template #main .contact-form .hp-field,
#service-template .hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* —— Service hero: same navy / Cormorant / gold language as blog post-hero —— */
body.blg-service26 #main .service-hero,
#service-template.blg-service26 #main .service-hero {
  background: #0B1A2E !important;
  color: #FFFFFF;
  border-bottom: 3px solid #C8A04A;
  min-height: 0;
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(28px, 3.5vw, 44px);
}
body.blg-service26 #main .service-hero::after {
  content: none !important;
}
body.blg-service26 #main .service-hero h1 {
  font: 600 clamp(36px, 4.8vw, 62px) / 1.06 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #FFFFFF !important;
  max-width: 22ch;
}
body.blg-service26 #main .service-hero .hero-headline {
  display: block;
  white-space: normal;
}
body.blg-service26 #main .service-hero .hero-headline em,
body.blg-service26 #main .service-hero h1 em {
  color: #D4622B !important;
  font-style: italic !important;
  font-weight: 600 !important;
}
body.blg-service26 #main .service-hero .hero-kicker {
  font: 700 12px / 1.4 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #C8D0DA !important;
  margin-bottom: 18px !important;
}
body.blg-service26 #main .service-hero .hero-kicker .orange-rule {
  background: #C8A04A !important;
  width: 28px;
  height: 2px;
}
body.blg-service26 #main .service-hero .hero-copy > p {
  font: 400 clamp(17px, 1.4vw, 19px) / 1.55 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #E8EEF4 !important;
  max-width: 58ch;
}
body.blg-service26 #main .service-hero .hero-difference {
  font: 500 16px / 1.5 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #C8D0DA !important;
}
body.blg-service26 #main .service-hero .hero-reassurance {
  font: 400 15px / 1.45 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  color: #C8D0DA !important;
}
body.blg-service26 #main .service-hero .hero-urgent {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, .55) !important;
  color: #FFFFFF !important;
}
body.blg-service26 #main .service-hero .hero-urgent:hover {
  background: rgba(255, 255, 255, .08) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}
body.blg-service26 .service-photo {
  border: 0 !important;
  background: transparent !important;
  overflow: hidden;
}
body.blg-service26 .service-photo img {
  object-fit: cover;
  object-position: center top;
}

/* Guide navy title cards: Tim’s HTML puts TWO titles in each card
   (.section-label + a second span). Remove the first line; keep read-time + title
   so the card matches the blog reference single-title look. */
#service-template.blg-service26 #main .guide-heading-band .section-label {
  display: none !important;
}
#service-template.blg-service26 #main .guide-heading-band .eyebrow {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 10px;
}
#service-template.blg-service26 #main .guide-heading-band .read-time {
  font: 700 12px / 1.4 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(251, 248, 241, .72) !important;
}

/* —— Section titles: blog type, not Barlow uppercase —— */
body.blg-service26 #main .short-answer h2,
body.blg-service26 #main .recent-results h2,
body.blg-service26 #main #results h2,
body.blg-service26 #main #results-title,
body.blg-service26 #main .related h2,
body.blg-service26 #main .hiring h2,
body.blg-service26 #main .result-source-links h2,
body.blg-service26 #main #practice-areas h2,
body.blg-service26 #main #questions h2,
body.blg-service26 #main #contact h2,
body.blg-service26 #main .closing h2 {
  font: 600 clamp(30px, 3.2vw, 42px) / 1.12 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  color: #0B1A2E !important;
  background: transparent !important; /* Tim hashed CSS paints navy bars on these h2s */
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}
body.blg-service26 #main .short-answer,
body.blg-service26 #main .recent-results,
body.blg-service26 #main #results,
body.blg-service26 #main .related,
body.blg-service26 #main #practice-areas,
body.blg-service26 #main #questions {
  background: #FFFFFF !important;
}

/* Compact section rhythm — Tim/firm was ~76/76; keep clear beats without tall voids. */
body.blg-service26 #main .section,
#service-template.blg-service26 #main .section {
  padding: clamp(28px, 3.2vw, 40px) 0 clamp(18px, 2.4vw, 28px) !important;
}

/* Practice-area link grid: 2 cards per row (1 on phone) */
body.blg-service26 #main #practice-areas .sub-grid,
#service-template.blg-service26 #main #practice-areas .sub-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 8px !important;
  gap: 12px !important;
}
body.blg-service26 #main .practice-card,
#service-template.blg-service26 #main .practice-card {
  display: block;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 16px !important;
  border: 1px solid #E3E7ED;
  border-top: 3px solid #0B1A2E;
  background: #FFFFFF;
  color: #0B1A2E;
  text-decoration: none;
}
body.blg-service26 #main .practice-card h3,
#service-template.blg-service26 #main .practice-card h3 {
  margin: 0 !important;
  font: 600 20px / 1.3 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  color: #0B1A2E !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.blg-service26 #main .practice-card:hover,
body.blg-service26 #main .practice-card:focus-visible {
  border-color: #B84E1C;
  text-decoration: underline;
}
body.blg-service26 #main .short-answer .answer-copy p,
body.blg-service26 #main .recent-results p,
body.blg-service26 #main .related li {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  color: #1B2433;
}
body.blg-service26 #main .reviewed-line {
  font: 500 14px / 1.5 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #5A6574;
}

/* Short-answer “On this page” (.jump-menu) is the FIRST duplicate TOC.
   Hide it sitewide — keep only the guide-rail .guide-nav (blog reference). */
body.blg-service26 #main .jump-menu,
#service-template.blg-service26 #main .jump-menu {
  display: none !important;
}
/* Short answer: no empty second column once jump-menu is gone */
body.blg-service26 #main .answer-grid,
#service-template.blg-service26 #main .answer-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
/* Tighten gap under short-answer → next one-line cross-link strip
   (“Not charged yet?…”) — was ~double .section pad (~130px).
   Use #service-template so this beats the .section shorthand (2 IDs). */
body.blg-service26 #main .short-answer,
#service-template.blg-service26 #main .short-answer {
  padding-top: clamp(22px, 2.6vw, 34px) !important;
  padding-bottom: clamp(10px, 1.2vw, 16px) !important;
}
body.blg-service26 #main .short-answer + .section,
#service-template.blg-service26 #main .short-answer + .section {
  padding-block: clamp(12px, 1.5vw, 18px) !important;
}

/* Short-answer → guide-intro → results: kill tall white voids
   (reviewed→intro was ~72px; intro→results h2 ~92px). Must beat
   blog26 `.blog-page .guide-intro` (service pages also get blog-page). */
body.blg-service26 #main .guide-intro,
body.blg-service26 #main .guide-frame.guide-intro,
#service-template.blg-service26 #main .guide-intro,
#service-template.blg-service26 #main .guide-frame.guide-intro,
#service-template.blg-service26.blog-page #main .guide-intro,
#service-template.blg-service26.blog-page #main .guide-frame.guide-intro {
  padding-top: clamp(12px, 1.5vw, 18px) !important;
  padding-bottom: clamp(8px, 1.2vw, 14px) !important;
}
body.blg-service26 #main .guide-intro .guide-prose > :last-child,
#service-template.blg-service26 #main .guide-intro .guide-prose > :last-child,
#service-template.blg-service26.blog-page #main .guide-intro .guide-prose > :last-child {
  margin-bottom: 0 !important;
}
body.blg-service26 #main .guide-intro + .recent-results,
body.blg-service26 #main .guide-intro + #results,
body.blg-service26 #main .guide-copy > .guide-intro + .section,
#service-template.blg-service26 #main .guide-intro + .recent-results,
#service-template.blg-service26 #main .guide-intro + #results,
#service-template.blg-service26.blog-page #main .guide-intro + .recent-results,
#service-template.blg-service26.blog-page #main .guide-intro + #results {
  padding-top: clamp(14px, 1.8vw, 22px) !important;
}

/* Guide bands: less air between navy title cards and prose */
body.blg-service26 #main .guide-section-body,
#service-template.blg-service26 #main .guide-section-body {
  padding: clamp(18px, 2.2vw, 28px) 0 !important;
}
body.blg-service26 #main .guide-heading-band,
#service-template.blg-service26 #main .guide-heading-band {
  padding: clamp(16px, 2vw, 26px) 0 !important;
}
body.blg-service26 #main .answer-copy .reviewed-line,
#service-template.blg-service26 #main .answer-copy .reviewed-line {
  margin-top: 12px !important;
}

/* Results inside #full-guide share the guide rail — keep cards clear of sticky TOC */
@media (min-width: 941px) {
  body.blg-service26 #main #full-guide .recent-results > .container,
  body.blg-service26 #main #full-guide #results > .container,
  body.blg-service26 #main #full-guide #results-lead > .container,
  body.blg-service26 #main #full-guide .hiring > .container,
  body.blg-service26 #main #full-guide #questions > .container {
    padding-inline: var(--pad) calc(var(--pad) + var(--guide-rail, 220px) + var(--guide-gap, 28px)) !important;
    box-sizing: border-box;
  }
}

/* Results grid: 3 across when there are 3+ cards; don’t leave empty columns */
body.blg-service26 #main .recent-results-grid,
body.blg-service26 #main #results .recent-results-grid,
body.blg-service26 #main #results-lead .recent-results-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  border: 0 !important;
  width: 100% !important;
  max-width: none !important;
  grid-auto-flow: row !important;
  overflow: visible !important;
}
body.blg-service26 #main .recent-results-grid:has(> :only-child),
body.blg-service26 #main #results .recent-results-grid:has(> :only-child),
body.blg-service26 #main #results-lead .recent-results-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.blg-service26 #main .recent-results-grid:has(> :nth-child(2):last-child),
body.blg-service26 #main #results .recent-results-grid:has(> :nth-child(2):last-child),
body.blg-service26 #main #results-lead .recent-results-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Result cards → blog-style bordered cards */
body.blg-service26 #main .recent-result-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #E3E7ED;
  border-top: 4px solid #0B1A2E;
  padding: 16px 16px 18px;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  border-radius: 0;
  transition: border-color .18s, box-shadow .18s;
}
body.blg-service26 #main .recent-result-card:hover {
  border-color: #C8A04A;
  box-shadow: 0 10px 28px rgba(11, 26, 46, .08);
}
body.blg-service26 #main .recent-result-card h3 {
  font: 600 22px / 1.25 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  color: #0B1A2E !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 4px 0 8px;
}
body.blg-service26 #main .recent-result-card .result-date,
body.blg-service26 #main .recent-result-card .result-rank {
  font: 700 12px / 1.4 var(--sans, "DM Sans", system-ui, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5A6574;
}
body.blg-service26 #main .recent-result-card p {
  font: 400 15px / 1.55 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #1B2433;
}
body.blg-service26 #main .results-disclaimer {
  font: 500 13px / 1.45 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #5A6574;
}

/* Related / practice-area link lists → 2 cards per row.
   Current-page items are plain <li> text (no <a>) — style the <li> as the card
   so every cell matches. */
body.blg-service26 #main .related ul,
body.blg-service26 #main #related ul,
body.blg-service26 #main #practice-areas ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.blg-service26 #main .related li,
body.blg-service26 #main #related li,
body.blg-service26 #main #practice-areas li {
  margin: 0 !important;
  min-width: 0;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  border: 1px solid #E3E7ED;
  border-top: 3px solid #0B1A2E;
  background: #FFFFFF;
  font: 600 20px / 1.3 var(--serif, "Cormorant Garamond", Georgia, serif);
  color: #0B1A2E;
}
body.blg-service26 #main .related li:not(:has(a)),
body.blg-service26 #main #related li:not(:has(a)),
body.blg-service26 #main #practice-areas li:not(:has(a)) {
  padding: 14px 16px;
}
body.blg-service26 #main .related li a,
body.blg-service26 #main #related li a,
body.blg-service26 #main #practice-areas li a {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-decoration: none;
}
body.blg-service26 #main .related li:has(a:hover),
body.blg-service26 #main .related li:has(a:focus-visible),
body.blg-service26 #main #related li:has(a:hover),
body.blg-service26 #main #related li:has(a:focus-visible),
body.blg-service26 #main #practice-areas li:has(a:hover),
body.blg-service26 #main #practice-areas li:has(a:focus-visible) {
  border-color: #C8A04A;
}

/* Branch tables: Tim’s batch CSS sets th:first-child { width:19% }, which
   crushes long Offense text. Undo that; size by content unless exactly 2 cols. */
body.blg-service26 #main table.comparison-chart.branch-table {
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse;
}
body.blg-service26 #main table.comparison-chart.branch-table th:first-child,
body.blg-service26 #main table.comparison-chart.branch-table td:first-child {
  width: auto !important;
}
/* Exactly 2 columns (Offense | Maximum, Tier | Period, etc.): bias to the left. */
body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) {
  table-layout: fixed !important;
}
body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) th:first-child,
body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) td:first-child {
  width: 70% !important;
}
body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) th:last-child,
body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) td:last-child {
  width: 30% !important;
}
body.blg-service26 #main table.comparison-chart.branch-table thead th {
  background: #0B1A2E !important;
  color: #FFFFFF !important;
  font: 700 16px / 1.25 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.blg-service26 #main table.comparison-chart.branch-table td {
  font: 400 16px / 1.45 var(--sans, "DM Sans", system-ui, sans-serif);
  color: #1B2433;
  vertical-align: top;
}

/* FAQ list: tighter stack between questions */
body.blg-service26 #main .before-call-questions,
body.blg-service26 #main .before-call-list,
body.blg-service26 #main #questions .before-call-questions {
  display: grid;
  gap: 10px;
}
body.blg-service26 #main .before-call-question,
body.blg-service26 #main #questions .before-call-question {
  margin: 0 !important;
}
body.blg-service26 #main .before-call-question > summary,
body.blg-service26 #main #questions .before-call-question > summary {
  padding-block: 12px !important;
}

/* —— Booking bands: service markup uses .booking-band-copy p (blog uses .booking-band-line) —— */
body.blg-service26 #main .booking-band .booking-band-copy p,
body.blg-service26 #main .booking-band .booking-band-line,
body.blg-service26 #main .booking-band p.booking-band-line {
  font: 600 22px / 1.3 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  color: #0B1A2E !important;
  margin: 0;
}
/* Tim mockup #d7e2ec was for navy bands; cream bands need dark secondary type. */
body.blg-service26 #main .booking-band .booking-band-note,
body.blg-service26 #main .booking-band p.booking-band-note {
  margin: 12px 0 0 !important;
  font: 500 16px / 1.5 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  color: #5A6574 !important;
}
body.blg-service26 #main .booking-band .booking-reassurance,
body.blg-service26 #main .booking-band p.booking-reassurance {
  font: 500 17px / 1.45 var(--sans, "DM Sans", system-ui, sans-serif) !important;
  color: #5A6574 !important;
}

/* Guide prose + FAQ on service pages */
body.blg-service26 #main .guide-prose,
body.blg-service26 #main .guide-prose p,
body.blg-service26 #main .guide-prose li {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  color: #1B2433;
}
body.blg-service26 #main .guide-prose a {
  color: #B84E1C;
}
/* Keep mid-sentence citations inline (firm-service sets inline-flex on prose links). */
body.blg-service26 #main .guide-prose :is(p, li) > a:not(.m-btn):not(.button),
body.blg-service26 #main .before-call-answer a:not(.m-btn):not(.button) {
  display: inline !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-items: unset !important;
  overflow-wrap: break-word;
}
/* Tighter prose stack (firm-service used 22–26px between blocks). */
body.blg-service26 #main .guide-prose p {
  margin: 0 0 16px !important;
}
body.blg-service26 #main .guide-prose :is(ul, ol) {
  margin: 0 0 18px !important;
}
body.blg-service26 #main .guide-prose h3 {
  margin: 18px 0 10px !important;
}
body.blg-service26 #main .guide-prose > :first-child {
  margin-top: 0 !important;
}
body.blg-service26 #main .booking-band {
  padding: 22px 0 !important;
}
/* Default guide h3 ink — do NOT apply to Tim navy title bars (.sub h3 / charge-grid). */
body.blg-service26 #main .guide-section-body h3 {
  font: 600 24px / 1.25 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  color: #0B1A2E !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* Navy title bars / panels: restore white ink (beats the rule above). */
#service-template.blg-service26 #main .guide-prose .sub h3,
#service-template.blg-service26 #main .charge-grid .sub h3,
#service-template.blg-service26 #main .charge-grid .sub h3 a,
#service-template.blg-service26 #main :is(.steps-prelude .tone-navy, .steps-closing, .closing-quote),
#service-template.blg-service26 #main :is(.steps-prelude .tone-navy, .steps-closing, .closing-quote) :is(h3, p, a, blockquote, strong),
#service-template.blg-service26 #main .service-client-words h2 {
  color: #FFFFFF !important;
}
#service-template.blg-service26 #main .guide-prose .sub h3,
#service-template.blg-service26 #main .charge-grid .sub h3 {
  font: 600 24px / 1.25 var(--serif, "Cormorant Garamond", Georgia, serif) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* Primary CTAs: white on orange/navy (beats firm-service #061B31 ink). */
#service-template.blg-service26 #main .button[data-booking],
#service-template.blg-service26 #main .hero-book,
#service-template.blg-service26 #main .closing-book,
#service-template.blg-service26 #main .closing-submit,
#service-template.blg-service26 #main .booking-band .button,
#service-template.blg-service26 #main .button[data-booking]:is(:hover, :active, :focus, :focus-visible),
#service-template.blg-service26 #main .hero-book:is(:hover, :active, :focus, :focus-visible),
#service-template.blg-service26 #main .closing-book:is(:hover, :active, :focus, :focus-visible),
#service-template.blg-service26 #main .closing-submit:is(:hover, :active, :focus, :focus-visible),
#service-template.blg-service26 #main .booking-band .button:is(:hover, :active, :focus, :focus-visible) {
  color: #FFFFFF !important;
}
#service-template.blg-service26 #main #contact .closing-urgent {
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

/* Kill horizontal page scroll from Tim carousel / 100vw hacks */
html:has(body.blg-service26),
body.blg-service26 {
  overflow-x: clip;
}
body.blg-service26 #main {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 940px) {
  /* Match blog / live reference: no “On this page” card / sticky TOC on phone. */
  #service-template #main .jump-menu,
  #service-template .jump-menu,
  #service-template .guide-menu-track,
  #service-template .guide-nav,
  #service-template #guide-section-bar,
  #service-template #guide-progress {
    display: none !important;
  }

  /* —— Stack multi-column layouts (beats firm-service ≤900 2-col rules) —— */
  body.blg-service26 #main .service-hero-grid,
  body.blg-service26 #main .answer-grid,
  body.blg-service26 #main .recent-results-grid,
  body.blg-service26 #main #results .recent-results-grid,
  body.blg-service26 #main #results-lead .recent-results-grid,
  body.blg-service26 #main .sub-grid,
  body.blg-service26 #main .film-grid,
  body.blg-service26 #main .service-client-words .film-grid,
  body.blg-service26 #main .closing-layout,
  body.blg-service26 #main #contact .closing-layout,
  body.blg-service26 #main .before-call-layout,
  body.blg-service26 #main #questions .before-call-layout,
  body.blg-service26 #main .form-grid,
  body.blg-service26 #main #contact .form-grid,
  body.blg-service26 #main .charge-grid,
  body.blg-service26 #main .related-links,
  body.blg-service26 #main #related-services .related-links,
  body.blg-service26 #main .service-steps-grid,
  body.blg-service26 #main .three-tiers,
  body.blg-service26 #main .number-picture {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    gap: 18px !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Practice / related: 2-col only on tablet; phones stack to 1 (see ≤560 below) */
  body.blg-service26 #main #practice-areas .sub-grid,
  #service-template.blg-service26 #main #practice-areas .sub-grid,
  body.blg-service26 #main .related ul,
  body.blg-service26 #main #related ul,
  body.blg-service26 #main #practice-areas ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  /* Keep .container side pad (hero / short-answer) — match reference blog gutters */
  body.blg-service26 #main .service-hero-grid.container,
  body.blg-service26 #main .answer-grid.container,
  body.blg-service26 #main .closing-layout.container,
  body.blg-service26 #main .before-call-layout.container,
  body.blg-service26 #main .container.service-hero-grid,
  body.blg-service26 #main .container.answer-grid,
  body.blg-service26 #main .container.closing-layout,
  body.blg-service26 #main .container.before-call-layout {
    padding-inline: var(--pad, 24px) !important;
    margin-inline: auto !important;
  }
  /* Kill Tim horizontal results carousel only */
  body.blg-service26 #main .recent-results-grid,
  body.blg-service26 #main #results .recent-results-grid,
  body.blg-service26 #main #results-lead .recent-results-grid {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
  body.blg-service26 #main .service-client-words .film-grid > :last-child:nth-child(odd),
  body.blg-service26 #main .film-grid > :last-child:nth-child(odd) {
    grid-column: auto !important;
  }

  /* Hero band: full-bleed navy like blog .post-hero; content keeps container pad */
  body.blg-service26 #main .service-hero {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding: 28px 0 28px !important;
    box-sizing: border-box !important;
  }
  body.blg-service26 #main .service-hero h1 {
    font-size: clamp(32px, 8.8vw, 44px) !important;
    line-height: 1.08 !important;
    max-width: none !important;
  }
  body.blg-service26 #main .service-hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  body.blg-service26 #main .service-hero .hero-actions .button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
  body.blg-service26 .service-photo {
    max-width: 100% !important;
    width: 100% !important;
    margin-inline: auto;
  }
  body.blg-service26 .service-photo img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center top;
  }

  body.blg-service26 #main .process-chart > ol {
    grid-template-columns: 1fr !important;
  }
  /* Simple 2-col Offense / Maximum tables → stacked cards on phone
     (these lack --comparison-column vars, so firm-service card grid breaks).
     Tim’s batch CSS paints first td navy+white; keep that, don’t clear the bg. */
  body.blg-service26 #main table.comparison-chart.branch-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    table-layout: auto !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table thead {
    display: none !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table tbody,
  body.blg-service26 #main table.comparison-chart.branch-table tr {
    display: block !important;
    width: 100% !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table tr {
    margin: 0 0 12px !important;
    border: 1px solid #E3E7ED !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td,
  body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) td:first-child,
  body.blg-service26 #main table.comparison-chart.branch-table:not(:has(thead th:nth-child(3))) td:last-child {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-bottom: 1px solid #E3E7ED !important;
    padding: 12px 14px !important;
    grid-template-columns: none !important;
    white-space: normal !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td:first-child {
    background: #0B1A2E !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-bottom: 0 !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td:last-child {
    border-bottom: 0 !important;
    background: #FFFFFF !important;
    color: #1B2433 !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td::before {
    content: attr(data-label);
    display: block !important;
    margin: 0 0 4px !important;
    font: 700 12px / 1.3 var(--sans, "DM Sans", system-ui, sans-serif) !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td:first-child::before {
    color: rgba(255, 255, 255, 0.75) !important;
  }
  body.blg-service26 #main table.comparison-chart.branch-table td:last-child::before {
    color: #0B1A2E !important;
  }
  /*
   firm-service ≤900 sets .process-chart li to grid 28px|1fr for timeline .num badges.
   Source-steps lists are <li><strong>…</strong></li> with no .num — text was crushed
   into the 28px column. Force a normal stacked list for those.
  */
  body.blg-service26 #main ol.source-steps.process-chart,
  body.blg-service26 #main ol.process-chart.source-steps,
  body.blg-service26 #main .source-steps.process-chart {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    list-style: decimal !important;
    padding: 0 0 0 1.4em !important;
    margin: 12px 0 20px !important;
    border: 1px solid #E3E7ED !important;
    border-top: 4px solid #0B1A2E !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
  }
  body.blg-service26 #main ol.source-steps.process-chart > li,
  body.blg-service26 #main ol.process-chart.source-steps > li,
  body.blg-service26 #main .source-steps.process-chart > li {
    display: block !important;
    grid-template-columns: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 16px 14px 8px !important;
    border: 0 !important;
    border-bottom: 1px solid #E3E7ED !important;
    box-sizing: border-box !important;
  }
  body.blg-service26 #main ol.source-steps.process-chart > li:last-child,
  body.blg-service26 #main ol.process-chart.source-steps > li:last-child,
  body.blg-service26 #main .source-steps.process-chart > li:last-child {
    border-bottom: 0 !important;
  }
  body.blg-service26 #main ol.source-steps.process-chart > li > strong,
  body.blg-service26 #main ol.process-chart.source-steps > li > strong,
  body.blg-service26 #main .source-steps.process-chart > li > strong {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    font: 600 17px / 1.45 var(--sans, "DM Sans", system-ui, sans-serif) !important;
    color: #0B1A2E !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  /* Timeline charts that DO have .num: keep badge grid, but never crush lone text */
  body.blg-service26 #main .process-chart li:not(:has(.num)) {
    display: block !important;
    grid-template-columns: none !important;
  }

  /* Cream booking: full-bleed strip (no 100vw — avoids scrollbar overflow) */
  body.blg-service26 #main .booking-band,
  body.blg-service26 #main aside.booking-band,
  body.blg-service26 #main .guide-copy .booking-band,
  body.blg-service26 #main .guide-section > .booking-band {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    padding-block: 22px !important;
    box-sizing: border-box !important;
    background: #FBF8F1 !important;
    background-color: #FBF8F1 !important;
    border-top: 4px solid #C8A04A !important;
  }
  body.blg-service26 #main .booking-band > .guide-frame,
  body.blg-service26 #main .booking-band > .container,
  body.blg-service26 #main aside.booking-band > .guide-frame {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 var(--pad, 24px) !important;
    background: transparent !important;
    border-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  body.blg-service26 #main .booking-band .booking-band-copy,
  body.blg-service26 #main .booking-band .booking-band-action,
  body.blg-service26 #main .booking-band .booking-band-line,
  body.blg-service26 #main .booking-band p.booking-band-line {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body.blg-service26 #main .booking-band .booking-band-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.blg-service26 #main .booking-band .button {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
  body.blg-service26 #main .booking-reassurance {
    max-width: none !important;
    width: 100% !important;
  }

  /* Navy title cards edge-to-edge */
  body.blg-service26 #main .guide-heading-band .guide-frame {
    padding-inline: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.blg-service26 #main .guide-heading-band {
    padding-inline: 0 !important;
  }
  body.blg-service26 #main .guide-heading-band h2 {
    width: 100% !important;
    max-width: none !important;
  }

  /* Contact CTAs + form full width */
  body.blg-service26 #main #contact .closing-book,
  body.blg-service26 #main #contact .closing-urgent,
  body.blg-service26 #main #contact .closing-submit {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.blg-service26 #main .video-embed,
  body.blg-service26 #main .video-frame,
  body.blg-service26 #main iframe {
    max-width: 100% !important;
  }
  body.blg-service26 #main .video-frame iframe {
    width: 100% !important;
  }

  /* Result cards: keep card chrome, stack vertically (no horizontal snap strip) */
  body.blg-service26 #main .recent-result-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Phone: stack practice/related to 1 column (must follow ≤940 2-col rule) */
@media (max-width: 560px) {
  body.blg-service26 #main #practice-areas .sub-grid,
  #service-template.blg-service26 #main #practice-areas .sub-grid,
  body.blg-service26 #main .related ul,
  body.blg-service26 #main #related ul,
  body.blg-service26 #main #practice-areas ul {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  body.blg-service26 #main .related li,
  body.blg-service26 #main #related li,
  body.blg-service26 #main #practice-areas li,
  body.blg-service26 #main .related li a,
  body.blg-service26 #main #related li a,
  body.blg-service26 #main #practice-areas li a,
  body.blg-service26 #main .practice-card,
  #service-template.blg-service26 #main .practice-card {
    font-size: 18px !important;
  }
  body.blg-service26 #main .related li a,
  body.blg-service26 #main #related li a,
  body.blg-service26 #main #practice-areas li a,
  body.blg-service26 #main .related li:not(:has(a)),
  body.blg-service26 #main #related li:not(:has(a)),
  body.blg-service26 #main #practice-areas li:not(:has(a)),
  body.blg-service26 #main .practice-card,
  #service-template.blg-service26 #main .practice-card {
    padding: 14px 16px !important;
  }
  body.blg-service26 #main .practice-card h3,
  #service-template.blg-service26 #main .practice-card h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 680px) {
  #service-template .service-breadcrumb { padding: 8px var(--pad); }
  #service-template .service-breadcrumb ol {
    font-size: 13px;
    flex-wrap: nowrap;
    row-gap: 0;
    overflow: hidden;
  }
  #service-template .service-breadcrumb li[aria-current="page"] {
    display: none !important;
  }
  #service-template .service-breadcrumb li:nth-child(n + 2):not(:nth-last-child(2)):not([aria-current="page"]) {
    display: none !important;
  }

  body.blg-service26 #main .service-hero {
    padding: 28px 0 32px !important;
  }
  body.blg-service26 #main .service-hero h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
  body.blg-service26 #main .service-hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body.blg-service26 #main .service-hero .hero-actions .button {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body.blg-service26 .service-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
  }
  body.blg-service26 .service-photo img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
  }
  body.blg-service26 #main .guide-heading-band h2 {
    font-size: clamp(26px, 7.5vw, 36px) !important;
  }
  body.blg-service26 #main .short-answer,
  #service-template.blg-service26 #main .short-answer {
    padding-block: 22px 14px !important;
  }
  #service-template.blg-service26.blog-page #main .guide-intro,
  #service-template.blg-service26.blog-page #main .guide-frame.guide-intro {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
  }
  body.blg-service26 #main .recent-result-card {
    padding: 18px 16px 20px !important;
  }
  body.blg-service26 #main .booking-band .booking-band-copy p,
  body.blg-service26 #main .booking-band .booking-band-line {
    font-size: 20px !important;
  }
  body.blg-service26 #main .closing-layout,
  body.blg-service26 #main #contact .closing-layout {
    gap: 28px !important;
  }
  body.blg-service26 #main .form-grid,
  body.blg-service26 #main #contact .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 390px) {
  body.blg-service26 #main :is(#results, .service-client-words) h2,
  body.blg-service26 #main #defense-team-title:has(.heading-word) {
    font-size: min(36px, 9vw);
  }
}
