/* Core */
:root {
    --ink: #294967;
    --ink-soft: #4f6980;
    --white: #ffffff;
    --light: #f0f6f9;
    --light-blue: #e2f0f8;
    --line: #cbdce7;
    --blue: #326baf;
    --blue-alt: #4b80c3;
    --teal: #137e84;
    --teal-alt: #239698;
    --coral: #ed765d;
    --deep: #3b5788;
    --wrap: 1216px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 400; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover, a:visited, a:active { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #f4a145; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 40px; line-height: 1.18; font-weight: 700; letter-spacing: -.038em; margin-bottom: 24px; }
h2 { font-size: 28px; line-height: 1.28; font-weight: 400; letter-spacing: -.022em; margin-bottom: 20px; }
h3 { font-size: 19px; line-height: 1.42; font-weight: 400; margin-bottom: 9px; }
p { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
p a, p a:hover, p a:visited, p a:active { color: inherit; font-weight: inherit; text-decoration: none; background: transparent; box-shadow: none; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.section-tag, .eyebrow { display: block; font-size: 12px; line-height: 1.4; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.section-tag { margin-bottom: 18px; color: var(--blue); }
.eyebrow { color: var(--teal); margin-bottom: 20px; }
.section-heading { max-width: 920px; }
.section-heading p { max-width: 830px; }

/* Navigation */
.site-header { border-top: 5px solid var(--teal); background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; column-gap: 30px; min-height: 87px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand-sign { width: 37px; height: 37px; border: 3px solid var(--blue); position: relative; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; }
.brand-sign::before { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 3px; background: var(--blue); }
.brand-sign::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 13px; border-radius: 3px; border: 2px solid var(--teal); }
.brand-sign-eye { position: absolute; top: 2px; right: 3px; background: var(--coral); border-radius: 50%; width: 4px; height: 4px; }
.brand-name { font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 38px); }
.nav a { font-size: 14px; position: relative; white-space: nowrap; }
.nav a:not(.nav-report)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; border-bottom: 2px solid var(--teal); transition: right .15s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .nav-report { background: var(--blue); color: #fff; padding: 12px 18px; transition: background .15s ease; }
.nav .nav-report:hover { background: var(--teal); color: #fff; }

/* Opening colorblock with CSS-built dishwasher */
.hero { padding-top: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(335px,.85fr); align-items: stretch; }
.hero-copy { padding: 52px clamp(30px,4.1vw,64px) 48px; background: var(--light); }
.hero-copy p { max-width: 650px; }
.hero-visual { display: flex; align-items: center; justify-content: center; min-width: 0; background: var(--blue); overflow: hidden; position: relative; }
.hero--open .hero-grid { grid-template-columns: minmax(0,1.06fr) minmax(345px,.94fr); }
.hero--open .hero-copy { background: #e8f4f2; }
.hero--open .hero-visual { background: var(--teal); }
.hero--service .hero-copy { background: #eaf2fc; }
.hero--service .hero-visual { background: var(--deep); }
.machine-scene { width: 100%; max-width: 480px; height: 378px; position: relative; display: grid; place-items: center; isolation: isolate; }
.scene-orbit { position: absolute; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.scene-orbit--one { height: 345px; width: 345px; }
.scene-orbit--two { height: 270px; width: 270px; border-width: 2px; border-color: rgba(255,255,255,.14); }
.scene-tile { position: absolute; width: 48px; height: 17px; background: rgba(255,255,255,.12); z-index: -1; }
.scene-tile--a { left: 14%; top: 18%; }
.scene-tile--b { right: 11%; bottom: 19%; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,.26); background: transparent; }
.machine { width: 240px; height: 292px; border: 7px solid #e1f1f9; background: #cfe1eb; border-radius: 15px 15px 9px 9px; box-shadow: 19px 21px 0 rgba(25,63,111,.15); position: relative; transform: rotate(-2deg); }
.machine-top { height: 45px; background: #f5f9fb; border-bottom: 5px solid #a5bdd3; position: relative; display: flex; align-items: center; padding: 0 12px; gap: 8px; }
.machine-led { width: 10px; height: 10px; background: #24a99f; border-radius: 50%; }
.machine-panel { height: 8px; width: 82px; background: #c0d6e5; border-radius: 5px; }
.machine-knob { width: 19px; height: 19px; border: 4px solid #8eabc0; border-radius: 50%; margin-left: auto; }
.machine-door { position: absolute; inset: 47px 10px 11px; background: #edf5f9; border: 5px solid #aac5d6; border-radius: 4px 4px 8px 8px; }
.machine-window { position: absolute; inset: 23px 13px 22px; background: #6797b7; border: 4px solid #9dbace; border-radius: 7px; overflow: hidden; }
.machine-window::before { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255,255,255,.27) 0%, rgba(255,255,255,.05) 41%, transparent 42%); }
.machine-handle { width: 82px; height: 7px; background: #b7cbd7; border-radius: 2px; position: absolute; top: 7px; left: calc(50% - 41px); }
.dish { width: 73px; height: 73px; border-radius: 50%; border: 9px solid #f5fbff; background: #d7e9ef; position: absolute; top: 37px; }
.dish--back { left: 34px; }
.dish--front { right: 18px; top: 50px; width: 67px; height: 67px; border-color: #e0f4f3; }
.rack { height: 2px; position: absolute; background: #e4f1f8; left: 9px; right: 9px; }
.rack--one { top: 128px; }
.rack--two { top: 153px; }
.glass-line { width: 10px; border: 2px solid rgba(255,255,255,.55); border-radius: 10px; height: 20px; position: absolute; }
.glass-line--one { top: 16px; left: 21px; transform: rotate(18deg); }
.glass-line--two { top: 21px; right: 25px; transform: rotate(-15deg); }
.machine-base { position: absolute; left: 16px; right: 16px; bottom: -7px; height: 8px; border-radius: 2px; background: #8aaac0; }
.machine-scene--open .machine { transform: rotate(3deg); }
.machine-scene--open .machine-door { transform-origin: top center; transform: perspective(250px) rotateX(-13deg) translateY(4px); box-shadow: 0 14px 0 rgba(30,69,114,.21); }
.machine-scene--service .machine { transform: rotate(-4deg); }
.machine-scene--service .scene-orbit--one { width: 315px; height: 315px; border-radius: 15px; transform: rotate(10deg); }

/* Two equal contact surfaces */
.contact-strip { margin-top: 0; }
.contact-strip-inner { display: grid; grid-template-columns: 1fr 1fr; }
.contact-strip-inner a { display: flex; justify-content: center; flex-direction: column; gap: 5px; min-height: 115px; padding: 22px 40px; color: #fff; transition: filter .16s ease; }
.contact-strip-inner a:hover { filter: brightness(1.07); color: #fff; }
.contact-strip-phone { background: var(--teal); }
.contact-strip-online { background: var(--coral); }
.contact-overline { font-size: 12px; line-height: 1.3; letter-spacing: .11em; text-transform: uppercase; }
.contact-strong { font-size: clamp(20px,2.35vw,32px); line-height: 1.25; letter-spacing: -.025em; }

/* Local geography */
.local-section { padding: 52px 0; }
.local-section--first { background: #fff; }
.local-inner p { max-width: 920px; }
.location-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.location-chips span { display: inline-block; background: var(--light-blue); border-left: 3px solid var(--teal); padding: 7px 12px; line-height: 1.4; font-size: 14px; color: var(--ink); }
.location-chips--quiet span { background: #f0f7f8; border-left-color: #7eabb6; }
.local-section--last { background: #f7fafc; padding: 36px 0 46px; border-top: 1px solid var(--line); }

/* Accordion module */
.breakdown-section { padding: 62px 0 66px; background: var(--light); }
.heading-line { margin-bottom: 24px; }
.accordion-list { border-top: 1px solid #b6cadb; }
.accordion-list details { border-bottom: 1px solid #b6cadb; }
.accordion-list summary { position: relative; padding: 16px 66px 16px 17px; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.5; transition: background .15s ease; }
.accordion-list summary:hover { background: rgba(255,255,255,.55); }
.accordion-list summary::-webkit-details-marker { display: none; }
.accordion-list summary::after { content: "+"; font-family: Arial, sans-serif; color: var(--blue); font-size: 28px; font-weight: 400; line-height: 1; position: absolute; right: 23px; top: 14px; }
.accordion-list details[open] summary::after { content: "−"; }
.accordion-list details[open] summary { background: rgba(255,255,255,.55); }
.accordion-body { padding: 3px 64px 21px 17px; max-width: 980px; }
.accordion-body p { margin: 0; }
.accordion-list--compact summary { padding-block: 17px; }

/* Service colorblock */
.service-band { background: var(--teal); color: #fff; padding: 54px 0 57px; }
.service-band-inner { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.service-band .section-tag { color: #d3eeed; }
.band-intro h2 { margin-bottom: 0; }
.band-content { border-top: 1px solid rgba(255,255,255,.35); padding-top: 19px; }
.band-content p { max-width: 1040px; }
.plain-section { padding: 54px 0 60px; }
.plain-inner { max-width: 1050px; }
.plain-inner p { max-width: 940px; }

/* Four cohesive panels */
.four-panel { padding: 0; background: #f7fafc; }
.four-panel-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; border-top: 4px solid var(--blue); background: #e8f1f7; }
.four-part { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 29px; min-width: 0; min-height: 115px; position: relative; }
.four-part:not(:last-child) { border-right: 1px solid #bfd2df; }
.four-part::before { content: ""; position: absolute; height: 8px; width: 8px; background: var(--blue); top: -6px; left: 24px; border-radius: 50%; }
.four-part--call { background: #e0f5f3; }
.four-part--report { background: #dbeaf6; }
.four-part--call:hover { background: #c9e9e6; }
.four-part--report:hover { background: #c9def1; }
.four-label { text-transform: uppercase; letter-spacing: .095em; font-size: 11px; line-height: 1.4; color: var(--ink-soft); }
.four-value { font-size: 18px; line-height: 1.3; }

/* home page */
.home-diagnostic { padding: 55px 0; background: #fff; }
.diagnostic-rows { border-top: 1px solid var(--line); max-width: 1090px; margin-top: 24px; }
.diagnostic-row { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.diagnostic-row h3 { margin-bottom: 5px; }
.diagnostic-row p { max-width: 915px; }
.row-number { color: var(--teal); font-size: 20px; line-height: 1.5; }
.home-accordion { padding: 53px 0 57px; background: #e7f2f4; }
.home-accordion-inner { display: grid; grid-template-columns: 1fr; gap: 19px; }
.home-accordion .section-heading { max-width: 850px; }
.home-location { padding: 52px 0 59px; }
.home-location p { max-width: 940px; }
.location-chips--home span { background: #e7f2ec; border-left-color: var(--blue); }
.home-location .location-chips { margin-bottom: 21px; }

/* offer page */
.offer-locations { padding: 52px 0 57px; }
.offer-detail { padding: 55px 0 63px; background: #e8eff8; }
.offer-detail h2 { margin-bottom: 26px; }
.offer-rows { display: grid; gap: 0; max-width: 1040px; border-top: 1px solid #bccdde; }
.offer-row { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 17px; padding: 22px 0; border-bottom: 1px solid #bccdde; }
.offer-row p { max-width: 900px; }
.offer-line { height: 3px; background: var(--coral); margin-top: 15px; }
.offer-accordion { padding: 53px 0 58px; background: #fff; }
.offer-accordion .accordion-list { margin-top: 23px; }
.offer-bottom-cta { padding: 34px 0 39px; color: #fff; background: var(--blue); }
.offer-bottom-inner { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(225px,.5fr); gap: 32px; align-items: center; }
.offer-bottom-cta .section-tag { color: #deebf8; }
.offer-bottom-cta h2 { margin-bottom: 11px; }
.offer-bottom-cta p { max-width: 710px; }
.bottom-contact { background: var(--coral); color: #fff; padding: 19px 17px; text-align: center; font-size: 23px; white-space: nowrap; }
.bottom-contact:hover { filter: brightness(1.06); color: #fff; }

/* Footer */
.site-footer { background: #e1ebf2; border-top: 1px solid #c2d5e3; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 27px; }
.footer-brand { display: flex; align-items: center; gap: 13px; font-size: 14px; }
.footer-ornament { display: inline-block; height: 14px; width: 14px; border: 3px solid var(--blue); border-radius: 3px; }
.footer-sep { color: #91acbe; }
.site-footer nav { display: flex; align-items: center; gap: 25px; }
.site-footer a { font-size: 14px; }
.site-footer .privacy { font-size: 12px; color: var(--ink-soft); }
.site-footer a:hover { color: var(--teal); }

/* Responsive layout */
@media (max-width: 1050px) {
    .hero-grid, .hero--open .hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(290px,.85fr); }
    .hero-copy { padding: 34px 30px; }
    .machine-scene { transform: scale(.87); }
    .service-band-inner { gap: 18px; }
    .four-part { padding: 20px 15px 23px; }
    .four-value { font-size: 16px; }
    .home-accordion-inner { gap: 24px; }
}
@media (max-width: 900px) {
    .hero-grid, .hero--open .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: 36px 34px; }
    .hero-visual { min-height: 260px; }
    .machine-scene { height: 300px; transform: scale(.83); }
    .service-band-inner { grid-template-columns: 1fr; gap: 20px; }
    .band-content { border-top: 1px solid rgba(255,255,255,.35); padding: 17px 0 0; }
    .home-accordion-inner { grid-template-columns: 1fr; gap: 18px; }
    .home-accordion .section-heading { max-width: 850px; }
    .four-panel-inner { grid-template-columns: 1fr 1fr; }
    .four-part:nth-child(2) { border-right: 0; }
    .four-part:nth-child(-n+2) { border-bottom: 1px solid #bfd2df; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 36px); }
    .header-inner { flex-wrap: wrap; gap: 12px; padding: 15px 0 14px; }
    .brand { gap: 9px; }
    .brand-name { font-size: 19px; }
    .nav { width: 100%; justify-content: space-between; gap: 10px; }
    .nav a { font-size: 13px; }
    .nav .nav-report { padding: 8px 11px; }
    .hero { padding-top: 12px; }
    .hero-copy { padding: 30px 23px 32px; }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    p { font-size: 16px; }
    .hero-visual { min-height: 230px; }
    .machine-scene { height: 275px; transform: scale(.72); }
    .contact-strip-inner { grid-template-columns: 1fr; }
    .contact-strip-inner a { min-height: 86px; padding: 16px 23px; }
    .contact-strong { font-size: 26px; }
    .local-section, .local-section--last, .home-diagnostic, .home-accordion, .home-location, .offer-locations, .offer-detail, .offer-accordion, .plain-section, .breakdown-section, .service-band { padding-block: 34px 40px; }
    .accordion-list summary { font-size: 16px; padding: 15px 46px 15px 12px; }
    .accordion-list summary::after { right: 12px; top: 14px; }
    .accordion-body { padding: 0 10px 18px 12px; }
    .four-panel-inner { grid-template-columns: 1fr 1fr; }
    .four-part { padding: 17px 12px 19px; }
    .four-value { font-size: 15px; }
    .four-label { font-size: 10px; }
    .offer-bottom-inner { grid-template-columns: 1fr; gap: 10px; }
    .bottom-contact { width: fit-content; }
    .footer-inner { flex-wrap: wrap; padding-block: 24px; }
}
@media (max-width: 400px) {
    .wrap { width: calc(100% - 28px); }
    .nav { gap: 5px; }
    .nav a { font-size: 12px; }
    .nav .nav-report { padding: 7px 8px; }
    .hero-copy { padding: 27px 17px 29px; }
    .contact-strip-inner a { padding-inline: 17px; }
    .contact-strong { font-size: 24px; }
    .four-part { padding-inline: 10px; }
    .four-value { font-size: 14px; }
    .footer-brand { flex-wrap: wrap; row-gap: 3px; }
    .site-footer nav { gap: 19px; }
}


/* Knowledge pages — extensions of the existing Colorblock components */
.knowledge-hero { padding-top: 22px; }
.knowledge-hero-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(340px,.84fr); }
.knowledge-hero-copy { background: #edf5f9; padding: 42px clamp(28px,3.6vw,50px); }
.knowledge-hero-copy p { max-width: 720px; }
.knowledge-hero-copy h1 { max-width: 690px; overflow-wrap: anywhere; }
.knowledge-hero-visual { min-width: 0; background: var(--blue); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.knowledge-hero--diagnostic .knowledge-hero-copy { background: #e6f3f1; }
.knowledge-hero--diagnostic .knowledge-hero-visual { background: var(--teal); }
.knowledge-hero--brand .knowledge-hero-copy { background: #e9f1fa; }
.knowledge-hero--brand .knowledge-hero-visual { background: var(--deep); }
.knowledge-hero--v1 .knowledge-hero-visual { background: var(--teal); }
.knowledge-hero--v2 .knowledge-hero-visual { background: var(--blue-alt); }
.knowledge-hero--v1 .scene-orbit--one { border-radius: 26px; transform: rotate(-10deg); }
.knowledge-hero--v2 .scene-orbit--two { border-radius: 20px; transform: rotate(9deg); }
.knowledge-hero--v1 .machine { transform: rotate(2deg); }
.knowledge-hero--v2 .machine { transform: rotate(-4deg); }
.knowledge-section { padding: 42px 0 46px; }
.knowledge-inner { max-width: 1216px; }
.knowledge-inner p { max-width: 1010px; }
.knowledge-section--accent { background: #e9f3f7; border-top: 1px solid #d0e0e9; border-bottom: 1px solid #d0e0e9; }
.knowledge-section--thin { padding: 43px 0 49px; }
.knowledge-section .section-tag { margin-bottom: 11px; }
.knowledge-price { background: #e2f2ef; padding: 41px 0 48px; border-top: 3px solid var(--teal); }
.knowledge-price-inner { max-width: 1216px; }
.knowledge-price p { max-width: 1010px; }
.knowledge-price .section-tag { color: var(--teal); margin-bottom: 12px; }
.knowledge-end { background: #e9eff7; padding: 34px 0; }
.knowledge-end p { max-width: 1010px; }
.hub-section { padding: 45px 0 53px; }
.hub-section--1 { background: #e8f2f7; }
.hub-columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; row-gap: 0; }
.hub-columns p { border-top: 1px solid #c6d8e5; padding: 13px 0 15px; margin-bottom: 0; }
.hub-columns p:nth-last-child(-n+2) { border-bottom: 1px solid #c6d8e5; }
.hub-info { background: var(--teal); color: #fff; padding: 48px 0 52px; }
.hub-info .section-tag { color: #d4edea; }
.hub-info p { max-width: 1000px; }
@media (max-width: 1050px) {
    .knowledge-hero-grid { grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); }
    .knowledge-hero-copy { padding: 34px 30px; }
    .knowledge-hero-visual .machine-scene { transform: scale(.82); }
}
@media (max-width: 900px) {
    .knowledge-hero-grid { grid-template-columns: 1fr; }
    .knowledge-hero-visual { min-height: 270px; }
    .knowledge-hero-visual .machine-scene { height: 285px; transform: scale(.77); }
}
@media (max-width: 650px) {
    .knowledge-hero-copy { padding: 27px 22px 30px; }
    .knowledge-hero-visual { min-height: 235px; }
    .knowledge-hero-visual .machine-scene { height: 245px; transform: scale(.68); }
    .knowledge-section, .knowledge-section--thin, .hub-section { padding: 34px 0 38px; }
    .knowledge-price, .hub-info { padding: 34px 0 39px; }
    .hub-columns { grid-template-columns: 1fr; }
    .hub-columns p:nth-last-child(-n+2) { border-bottom: 0; }
    .hub-columns p:last-child { border-bottom: 1px solid #c6d8e5; }
}

/* Editorial geometry under the contact band: content-led two-thirds and one-third */
.locality-editorial { padding: 24px 0 35px; background: #fff; }
.locality-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 18px; align-items: stretch; }
.locality-main { background: #edf5f9; padding: 31px 34px 36px; border-top: 4px solid var(--blue); min-width: 0; }
.locality-main .section-heading { max-width: none; }
.locality-main h2 { max-width: 660px; margin-bottom: 20px; }
.locality-main .location-chips { margin-top: 0; gap: 9px; }
.locality-main .location-chips span { background: #fff; border: 1px solid #cbdde9; border-left: 3px solid var(--teal); padding: 8px 11px; }
.locality-side { background: #def0ee; border-top: 4px solid var(--teal); padding: 30px 30px 32px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.locality-side p { margin: 0; max-width: none; }
.locality-side p + p { margin-top: 15px; padding-top: 15px; border-top: 1px solid #b8d9d7; }
.home-location.locality-editorial { padding-block: 28px 40px; }
.home-location .locality-main .location-chips { margin-bottom: 0; }
.offer-locations.locality-editorial { padding-block: 24px 36px; }

.breakdown-editorial { background: #eaf2f8; padding: 40px 0 47px; }
.breakdown-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 20px; align-items: stretch; }
.breakdown-primary { background: #fff; border-top: 5px solid var(--blue); padding: 32px 33px 23px; min-width: 0; }
.breakdown-primary .heading-line { margin-bottom: 18px; }
.breakdown-primary .section-heading p { max-width: 720px; }
.breakdown-primary .accordion-list { border-color: #cbdce7; }
.breakdown-primary .accordion-list details { border-color: #cbdce7; }
.breakdown-primary .accordion-list summary { padding-left: 3px; }
.breakdown-primary .accordion-body { padding-left: 3px; padding-right: 30px; }
.breakdown-aside { min-width: 0; background: var(--teal); color: #fff; border-top: 5px solid var(--coral); padding: 32px 29px 34px; }
.breakdown-aside .section-tag { color: #d6f1ef; }
.breakdown-aside h2 { margin-bottom: 23px; }
.breakdown-aside p { color: #fff; line-height: 1.75; }
.breakdown-aside p + p { margin-top: 21px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.29); }
.plain-editorial { padding: 42px 0 48px; background: #fff; }
.plain-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 20px; align-items: start; }
.plain-primary { padding: 4px 14px 0 0; min-width: 0; }
.plain-primary p { max-width: 800px; }
.plain-aside { background: #edf5f9; border-top: 4px solid var(--blue); padding: 25px 27px 28px; min-width: 0; }
.plain-aside p { margin: 0; }

/* Subpages: information blocks rather than full-width bands of one paragraph */
.knowledge-post { background: #f3f8fb; padding: 34px 0 44px; }
.knowledge-post-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 17px 20px; align-items: start; }
.post-topic { background: #fff; border-left: 4px solid #8dbfcf; padding: 28px 33px 30px; min-width: 0; }
.post-topic--first { border-left-color: var(--blue); grid-column: 1; grid-row: 1; }
.post-topic--second:not(.post-topic--rail), .post-topic--third:not(.post-topic--rail) { border-left-color: var(--teal); }
.knowledge-post-grid--rail-second .post-topic--third { grid-column: 1; grid-row: 2; }
.knowledge-post-grid--rail-second .post-topic--second { grid-column: 2; grid-row: 1 / 3; }
.knowledge-post-grid--rail-third .post-topic--second { grid-column: 1; grid-row: 2; }
.knowledge-post-grid--rail-third .post-topic--third { grid-column: 2; grid-row: 1 / 3; }
.post-topic--rail { background: #deedf5; border-left: 0; border-top: 5px solid var(--teal); padding: 29px 28px 32px; align-self: start; }
.page-knowledge--brand .post-topic--rail { background: #e5edf8; border-top-color: var(--blue); }
.page-knowledge--diagnostic .post-topic--rail { background: #e0f1ee; border-top-color: var(--teal); }
.post-topic .section-tag { margin-bottom: 15px; }
.post-topic h2 { margin-bottom: 15px; overflow-wrap: normal; }
.post-topic p { max-width: none; margin-bottom: 15px; }
.post-topic p:last-child { margin-bottom: 0; }
.post-topic--rail p + p { margin-top: 17px; padding-top: 16px; border-top: 1px solid #b6cfde; }
.page-knowledge--diagnostic .post-topic--rail p + p { border-top-color: #bedbd5; }

/* Different, balanced 3+2 layouts for substantial service information */
.home-diagnostic--editorial { padding: 41px 0 48px; background: #fff; }
.home-diagnostic--editorial .section-heading { margin-bottom: 22px; }
.diagnostic-grid, .offer-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 20px; align-items: start; }
.diagnostic-main { border-top: 4px solid var(--blue); background: #f1f7fa; padding: 1px 29px 4px; min-width: 0; }
.diagnostic-aside { border-top: 4px solid var(--teal); background: #e1f2f0; padding: 1px 24px 4px; min-width: 0; }
.diagnostic-grid .diagnostic-row { border-color: #c5d9e3; gap: 14px; grid-template-columns: 35px minmax(0,1fr); padding: 23px 0; }
.diagnostic-aside .diagnostic-row { grid-template-columns: 30px minmax(0,1fr); gap: 11px; }
.diagnostic-grid .diagnostic-row:last-child { border-bottom: 0; }
.diagnostic-grid .row-number { color: var(--blue); }
.diagnostic-aside .row-number { color: var(--teal); }
.diagnostic-grid h3 { margin-bottom: 10px; }
.diagnostic-grid p { margin: 0; }
.offer-detail--editorial { padding: 43px 0 51px; background: #edf4f9; }
.offer-detail--editorial h2 { margin-bottom: 26px; }
.offer-primary { background: #fff; border-top: 4px solid var(--blue); padding: 1px 28px 4px; min-width: 0; }
.offer-aside { background: #e2f2ef; border-top: 4px solid var(--teal); padding: 1px 24px 4px; min-width: 0; }
.offer-grid .offer-row { grid-template-columns: 20px minmax(0,1fr); gap: 17px; padding: 22px 0; border-color: #c3d5e1; }
.offer-grid .offer-row:last-child { border-bottom: 0; }
.offer-grid .offer-line { margin-top: 12px; }
.offer-grid .offer-row h3 { margin-bottom: 9px; }
.offer-grid .offer-row p { margin-bottom: 0; }

/* Hub: grouped reference index with a genuine technical column */
.hub-editorial { background: #f4f8fb; padding: 35px 0 44px; }
.hub-editorial-grid { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); gap: 20px; align-items: start; }
.hub-editorial-main { background: #fff; border-top: 5px solid var(--blue); padding: 28px 31px 26px; min-width: 0; }
.hub-editorial-main .hub-editorial-topic + .hub-editorial-topic { margin-top: 26px; padding-top: 26px; border-top: 1px solid #c9dce7; }
.hub-editorial-topic h2 { margin-bottom: 19px; }
.hub-editorial-topic .hub-columns { gap: 0 27px; }
.hub-editorial-topic .hub-columns p { border-color: #c9dce7; }
.hub-editorial-side { min-width: 0; background: #deefed; border-top: 5px solid var(--teal); padding: 28px 27px 30px; }
.hub-editorial-side .hub-columns { grid-template-columns: 1fr; }
.hub-editorial-side .hub-columns p { padding: 14px 0; border-color: #bdd6d4; }
.hub-editorial-side .hub-columns p:last-child { border-bottom: 1px solid #bdd6d4; }
.hub-editorial-topic p { max-width: none; }

/* Corresponding compact behavior on tablets and phones */
@media (max-width: 900px) {
    .locality-grid, .breakdown-grid, .plain-grid, .knowledge-post-grid, .diagnostic-grid, .offer-grid, .hub-editorial-grid { grid-template-columns: 1fr; }
    .locality-side { display: block; }
    .knowledge-post-grid .post-topic { grid-column: 1 !important; grid-row: auto !important; }
    .diagnostic-main, .diagnostic-aside, .offer-primary, .offer-aside { width: 100%; }
}
@media (max-width: 680px) {
    .locality-editorial, .home-location.locality-editorial, .offer-locations.locality-editorial { padding: 15px 0 28px; }
    .locality-grid, .breakdown-grid, .plain-grid, .knowledge-post-grid, .diagnostic-grid, .offer-grid, .hub-editorial-grid { gap: 12px; }
    .locality-main { padding: 22px 20px 25px; }
    .locality-side { padding: 23px 20px 25px; }
    .locality-main h2 { margin-bottom: 19px; }
    .breakdown-editorial, .knowledge-post, .hub-editorial { padding: 25px 0 33px; }
    .breakdown-primary, .hub-editorial-main { padding: 25px 20px 23px; }
    .breakdown-aside { padding: 26px 21px 29px; }
    .plain-editorial { padding: 26px 0 33px; }
    .plain-primary { padding: 0; }
    .plain-aside { padding: 22px 20px 24px; }
    .post-topic, .post-topic--rail { padding: 24px 21px 27px; }
    .home-diagnostic--editorial, .offer-detail--editorial { padding: 29px 0 35px; }
    .diagnostic-main, .offer-primary { padding-inline: 18px; }
    .diagnostic-aside, .offer-aside { padding-inline: 18px; }
    .hub-editorial-side { padding: 25px 20px 28px; }
    .hub-editorial-main .hub-columns { grid-template-columns: 1fr; }
    .hub-editorial-topic .hub-columns p:nth-last-child(-n+2) { border-bottom: 0; }
    .hub-editorial-topic .hub-columns p:last-child { border-bottom: 1px solid #c9dce7; }
}

/* Independent editorial columns prevent tall panels from stretching row gaps */
.knowledge-post-grid { grid-template-rows: auto; }
.knowledge-post-primary { display: flex; flex-direction: column; gap: 17px; min-width: 0; }
.knowledge-post-aside { min-width: 0; }
.knowledge-post-primary .post-topic, .knowledge-post-aside .post-topic { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) {
    .knowledge-post-grid { display: flex; flex-direction: column; }
    .knowledge-post-primary, .knowledge-post-aside { display: contents; }
    .knowledge-post-grid .post-topic--first { order: 1; }
    .knowledge-post-grid .post-topic--second { order: 2; }
    .knowledge-post-grid .post-topic--third { order: 3; }
}

/* A longer opening topic is treated as one full-width editorial passage, not a half-empty sidebar */
.knowledge-post-stack { display: flex; flex-direction: column; gap: 17px; }
.knowledge-post-stack > .post-topic--first { width: 100%; border-top: 4px solid var(--blue); border-left: 0; padding-block: 25px 27px; }
.knowledge-post-stack > .post-topic--first h2 { margin-bottom: 13px; }
.knowledge-post-stack > .post-topic--first p { max-width: 1080px; }
.knowledge-post-duo { display: grid; grid-template-columns: minmax(0,2.08fr) minmax(0,1fr); align-items: start; gap: 20px; }
.knowledge-post-duo .post-topic { grid-column: auto; grid-row: auto; }
.knowledge-post-duo .post-topic--rail { border-left: 0; }
@media (max-width: 900px) {
    .knowledge-post-duo { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 680px) {
    .knowledge-post-stack { gap: 12px; }
    .knowledge-post-stack > .post-topic--first { padding: 24px 21px 27px; }
}
