/* Shared educational sections and static article pages. */
.jetting-section, .reading-section { padding: clamp(28px, 4vw, 64px); background: #fff; }
.jetting-section { background: #f1f6fa; border-block: 1px solid #d5e2ed; scroll-margin-top: calc(var(--header-height) + 20px); }
.reading-section { border-top: 1px solid #d5e2ed; }
.reading-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.reading-heading .section-intro { margin: 0; }
.text-link { display: inline-block; color: #00548c; text-decoration: underline; text-underline-offset: 4px; font-size: 1.125rem; font-weight: 700; }
.text-link:hover { color: #a84200; }
.reading-heading > .text-link { flex-shrink: 0; padding-bottom: 5px; }
.jetting-explainer { overflow: hidden; overflow-anchor: none; border: 1px solid #ccdae5; border-radius: 14px; background: #fff; }
.jetting-explainer, .stage-details { scroll-margin-top: calc(var(--header-height) + 12px); }
.jetting-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #ccdae5; background: #f9fbfd; }
.jetting-steps button { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 18px; border: 0; border-right: 1px solid #d5e2ed; background: transparent; color: var(--navy); text-align: left; }
.jetting-steps button:last-child { border-right: 0; }
.jetting-steps button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: inset 0 -4px var(--orange); }
.jetting-steps button:hover:not([aria-pressed="true"]) { background: #fff0e0; }
.jetting-steps button:focus-visible { outline-offset: -5px; }
.step-number { color: #b34700; font: italic 900 32px/1 'Hydroforce Display', Arial, sans-serif; }
.jetting-steps button[aria-pressed="true"] .step-number { color: #ffb567; }
.jetting-steps strong { display: block; font-size: 1.25rem; line-height: 1.15; }
.jetting-steps small { display: block; margin-top: 5px; font-size: .9375rem; line-height: 1.25; }
.jetting-visual { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 44px); padding: clamp(20px, 3vw, 42px); }
.nozzle-figure { margin: 0; min-width: 0; }
.nozzle-figure img { display: block; width: 100%; height: auto; }
.nozzle-figure figcaption { margin-top: 12px; color: #4c6578; font: .875rem/1.6 Arial, sans-serif; }
.diagram-expand { display: inline-block; padding: 12px 0 2px; color: #00548c; font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.stage-details h3 { margin: 0 0 16px; font: italic 900 clamp(25px, 2.3vw, 35px)/1.12 'Hydroforce Display', Arial, sans-serif; }
.stage-details p:not(.section-kicker) { margin: 0 0 16px; color: #36536b; font: 1rem/1.65 Arial, sans-serif; }
.stage-details p.stage-fact { padding: 14px 0 0; margin-bottom: 0; border-top: 1px solid #d5e2ed; font-size: .9375rem; }
.stage-details > section:not([hidden]) ~ section:not([hidden]) { margin-top: 24px; }
.stage-details > section[hidden] { display: none; }
@media (min-width: 901px) {
  .jetting-visual { align-items: start; }
  /* Stack the panels to reserve the tallest one without exposing inactive text. */
  .jetting-explainer.is-interactive .stage-details { display: grid; align-items: start; min-height: 0; }
  .jetting-explainer.is-interactive .stage-details > section { grid-area: 1 / 1; margin: 0; }
  .jetting-explainer.is-interactive .stage-details > section[hidden] { display: block; visibility: hidden; pointer-events: none; }
}
.jetting-section > .text-link { margin-top: 22px; }
.service-reading { margin-top: 12px; color: #00548c; font-size: 1rem; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card { position: relative; display: flex; flex-direction: column; align-items: start; padding: 28px; border: 1px solid #d0dee8; border-top: 4px solid var(--orange); border-radius: 8px; background: #fff; }
.guide-card .section-kicker { margin-bottom: 14px; }
.guide-card h3 { margin: 0 0 16px; font-size: 1.75rem; line-height: 1.15; }
.guide-card h3 a::after { position: absolute; inset: 0; content: ''; border-radius: 8px; }
.guide-card h3 a:hover { color: #a84200; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card:focus-within { outline: 3px solid #ffae52; outline-offset: 4px; }
.guide-card:hover { border-color: #a8bac8; border-top-color: var(--orange); box-shadow: 0 5px 18px #00234612; }
.guide-card:hover .card-link { color: #a84200; text-decoration: underline; text-underline-offset: 4px; }
.guide-card > p:not(.section-kicker) { margin: 0 0 22px; color: #36536b; font: 1rem/1.65 Arial, sans-serif; }
.guide-card .card-link { margin-top: auto; font-weight: 700; color: #00548c; font-size: 1.125rem; }
.guide-page main { background: white; }
.guide-hero { padding: 30px clamp(22px, 5vw, 80px) 48px; background: linear-gradient(115deg, #002346, #074f7c); color: #fff; border-bottom: 6px solid var(--orange); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; margin: 0 0 32px; padding: 0; font-size: .9375rem; color: #c7deed; }
.breadcrumbs li + li::before { content: '/'; margin-right: 12px; color: #a8c8df; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.guide-hero .section-kicker { color: #ffb568; }
.guide-hero h1 { max-width: 1050px; margin: 0 0 20px; font: italic 900 clamp(34px, 4.3vw, 66px)/1.08 'Hydroforce Display', Arial, sans-serif; color: white; letter-spacing: 0; -webkit-text-stroke: 0; text-shadow: none; overflow-wrap: break-word; }
.guide-deck { max-width: 850px; margin: 0; color: #e0ecf5; font: 1.125rem/1.65 Arial, sans-serif; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: #c7deed; font-size: 1rem; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 900px); justify-content: center; align-items: start; gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 4vw, 64px); }
.guide-sidebar { position: sticky; top: calc(var(--header-height) + 24px); padding: 24px; border: 1px solid #d6e1e9; border-top: 4px solid var(--orange); border-radius: 6px; background: #f3f7fa; }
.guide-sidebar h2 { font-size: 1.25rem; margin: 0 0 16px; }
.guide-sidebar ol { margin: 0; padding-left: 20px; }
.guide-sidebar li { margin-bottom: 14px; padding-left: 4px; line-height: 1.4; }
.guide-sidebar li::marker { color: #a84200; }
.guide-sidebar a { color: #00548c; text-decoration: underline; text-underline-offset: 3px; }
.guide-sidebar ol a { display: block; padding: 4px 0; }
.guide-sidebar ol a[aria-current] { color: #9d3b00; text-decoration-thickness: 2px; font-weight: 900; }
.guide-sidebar .service-action { margin-top: 10px; font-size: 1rem; }
.guide-sidebar a.service-action, .guide-article a.service-action { color: white; text-decoration: none; }
.guide-article { min-width: 0; }
.guide-article > section { margin-top: 38px; scroll-margin-top: calc(var(--header-height) + 24px); }
.guide-article h2 { margin: 0 0 18px; font: italic 900 clamp(27px, 2.6vw, 36px)/1.16 'Hydroforce Display', Arial, sans-serif; letter-spacing: 0; }
.guide-article h3 { font-size: 1.4rem; margin: 0 0 12px; }
.guide-article p, .guide-article li, .guide-article dd { color: #344f65; font: 1.0625rem/1.75 Arial, sans-serif; }
.guide-article p { margin: 0 0 20px; }
.guide-article a { color: #00548c; text-decoration: underline; text-underline-offset: 4px; }
.guide-article ul { padding-left: 24px; }
.guide-article li { padding-left: 4px; margin-bottom: 9px; }
.article-takeaway { padding: 24px 28px; border-left: 4px solid var(--orange); background: #f0f6fa; border-radius: 0 8px 8px 0; }
.article-takeaway strong { display: block; margin-bottom: 10px; color: #a84200; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.article-takeaway p { margin: 0; color: var(--navy); }
.definition-list { margin: 0 0 22px; }
.definition-list > div { border-bottom: 1px solid #d5e2ed; padding: 18px 0; }
.definition-list dt { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.definition-list dd { margin: 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.comparison-grid > div { padding: 22px; border: 1px solid #d5e2ed; border-top: 3px solid var(--orange); border-radius: 6px; background: #f4f8fb; }
.comparison-grid p { margin: 0; }
.article-diagram { margin-top: 30px; }
.guide-article .jetting-visual { grid-template-columns: 1fr; padding: 22px; }
.guide-article .jetting-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-article .jetting-steps button { padding: 16px; border-bottom: 1px solid #d5e2ed; }
.guide-article .jetting-steps strong { font-size: 1.125rem; }
.guide-article .stage-details { min-height: 210px; }
.guide-article .stage-details .section-kicker { color: #a84200; font: 900 .875rem/1.4 'Hydroforce Condensed', Arial, sans-serif; }
.guide-article .stage-details h3 { font: italic 900 28px/1.15 'Hydroforce Display', Arial, sans-serif; }
.article-cta { padding: 28px; background: #edf5fb; border: 1px solid #d5e2ed; border-radius: 8px; }
.article-cta p { margin-bottom: 20px; }
.article-cta p.article-services-link { margin: 20px 0 0; }
.guide-catalog { padding: clamp(28px, 4vw, 64px); }
.guide-catalog > .section-intro { max-width: 780px; }
.guide-page .reading-section { background: #f1f6fa; }
@media (prefers-reduced-motion: no-preference) {
  .guide-card, .service-action, .service-shortcut, .header-contact a, #navigation a { transition: background-color .16s ease, color .16s ease, box-shadow .16s ease; }
}
@media (hover: hover) { .business-link:hover, .specialty-link:hover, .camera-support a:hover, .scope-card button:hover, .service-detail-list a:hover { color: #a84200; } .business-primary .business-link:hover { color: #ffb563; } }
@media (max-width: 1180px) {
  .jetting-steps button { gap: 10px; padding: 18px 12px; }
  .jetting-steps strong { font-size: 1.125rem; }
  .guide-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 36px 24px; }
}
@media (max-width: 900px) {
  .jetting-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jetting-steps button { border-bottom: 1px solid #d5e2ed; }
  .jetting-visual { grid-template-columns: 1fr; }
  .stage-details, .guide-article .stage-details { order: -1; min-height: 0; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .guide-sidebar ol { columns: 2; column-gap: 32px; }
  .guide-sidebar li { break-inside: avoid; }
}
@media (max-width: 600px) {
  .jetting-section, .reading-section, .guide-catalog { padding: 32px 18px; }
  .reading-heading { flex-direction: column; align-items: start; gap: 12px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 24px; }
  .jetting-visual { padding: 14px; gap: 24px; }
  .jetting-steps, .guide-article .jetting-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jetting-steps button, .guide-article .jetting-steps button { flex-direction: column; justify-content: flex-start; gap: 5px; min-width: 0; padding: 12px 4px; text-align: center; }
  .step-number { font-size: 22px; }
  .jetting-steps strong, .guide-article .jetting-steps strong { font-size: 1rem; line-height: 1.15; }
  .jetting-steps small { display: none; }
  .stage-details .section-kicker { margin-bottom: 10px; }
  .guide-hero { padding: 24px 18px 32px; }
  .breadcrumbs ol { margin-bottom: 24px; }
  .guide-deck { font-size: 1rem; }
  .article-meta { font-size: .9375rem; }
  .guide-layout { padding: 28px 18px 36px; gap: 28px; }
  .guide-sidebar { padding: 22px; }
  .guide-sidebar ol { columns: 1; }
  .guide-article p, .guide-article li, .guide-article dd { font-size: 1rem; }
  .article-takeaway, .article-cta { padding: 22px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .guide-article .jetting-visual { padding: 14px; }
}
