/* Article reading layout, aligned with the approved product and company pages. */
.guide-page,.guides-page{--navy:#172d4d;--paper:#f3f5f7;--line:#e0e5eb;color:#202d40}
:is(.guide-page,.guides-page) :is(h1,h2,h3){font-weight:500;color:var(--navy);letter-spacing:-.03em}
:is(.guide-page,.guides-page) .eyebrow{font-size:10px;letter-spacing:.12em;font-weight:600;color:#596b80}
.guide-page .breadcrumb{font-size:11px;line-height:1.8;padding-block:27px 12px}
.guide-page .guide-intro{padding-block:28px 36px}
.guide-page .guide-intro h1{font-size:clamp(36px,3.5vw,48px);line-height:1.18;max-width:900px;margin:20px 0}
.guide-page .guide-lead{font-size:17px;line-height:1.8;max-width:760px;margin-bottom:18px}
.guide-page .guide-byline{font-size:11px}.guide-byline a{text-decoration:underline;text-underline-offset:3px}
.guide-page .guide-layout{grid-template-columns:210px minmax(0,780px);gap:64px;padding-block:44px 72px}
.guide-page .guide-toc{border-left:1px solid #d7dfe8;padding-left:18px}
.guide-page .guide-toc a{font-size:12px;margin-bottom:14px}
.guide-page .guide-content{font-size:16px;line-height:1.8}
.guide-page .guide-content h2{font-size:28px;line-height:1.3;margin-bottom:20px}
.guide-page .guide-content p{margin-bottom:18px}
.guide-page .guide-section{padding-bottom:32px;margin-bottom:32px}
.guide-page .guide-section> :last-child{margin-bottom:0}
.guide-page .guide-content li{margin-bottom:10px}
.guide-page .guide-table table,.guide-page .wp-block-table table{font-size:13px;line-height:1.7;min-width:600px}
.guide-page :is(.guide-table,.wp-block-table) :is(td,th){padding:14px 16px}
.guide-page :is(.guide-table,.wp-block-table) tbody th{background:#f3f5f7;color:var(--navy);font-weight:500;min-width:132px}
.guide-page :is(.guide-table,.wp-block-table) tbody td{background:#fff}
.guide-page :is(.guide-table,.wp-block-table) tbody tr:nth-child(even) td{background:#f9fafb}
.guide-page .guide-photo{margin-top:24px;max-width:660px}
.guide-page .guide-photo img{max-height:420px;background:var(--paper)}
.guide-page .guide-photo figcaption{font-size:11px}
.guide-page .guide-contact{padding-top:6px}
.guide-page .guide-contact-link{margin:24px 0 0}
.guide-page .guide-contact-link .button{font-size:13px;background:var(--navy);border-color:var(--navy);border-radius:2px;color:#fff;text-decoration:none;white-space:normal;text-align:left}
.guide-page .guide-contact-link .button:hover{background:#294768}
.guides-page .page-intro{padding-block:58px}
.guides-page .page-intro h1{font-size:48px}.guides-page .page-intro p{font-size:16px}
.guides-page .section{padding-block:64px}
.guides-page .guide-group-title{font-size:25px;margin:0 0 28px}
.guides-page .guide-hub-grid{gap:32px}
.guides-page .guide-card{border:0;border-top:1px solid #b6c4d3;padding:26px 0 0;background:transparent}
.guides-page .guide-card h3{font-size:24px;line-height:1.35}
.guides-page .guide-card:hover h3,.guides-page .guide-card:focus-visible h3{text-decoration:underline;text-underline-offset:5px}
.guides-page .guide-hub-note{font-size:13px;margin-top:36px}
.guide-field-feature{background:var(--paper)}
.guide-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.guide-field-photo{margin:0}.guide-field-photo img{display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover}
.guide-field-photo figcaption{font-size:11px;color:var(--muted);margin-top:10px}
.guide-field-grid h2{font-size:32px;line-height:1.25;margin:16px 0 20px}
.guide-field-grid p{font-size:15px;color:var(--muted);line-height:1.8}
.guide-field-grid .text-link{font-size:13px}
@media(max-width:1100px){.guide-page .guide-layout{grid-template-columns:180px minmax(0,1fr);gap:38px}.guide-field-grid{gap:38px}.guides-page .guide-hub-grid{gap:24px}}
@media(max-width:800px){
 .guide-page .guide-intro{padding-block:16px 28px}.guide-page .guide-intro h1{font-size:36px}.guide-page .guide-lead{font-size:16px}
 .guide-page .guide-layout{grid-template-columns:1fr;gap:30px;padding-block:28px 48px}
 .guide-page .guide-toc{padding:20px;border:1px solid var(--line);background:#f7f9fb}
 .guide-page .guide-toc a{margin-bottom:11px}.guide-page .guide-toc a:last-child{margin-bottom:0}
 .guide-page .guide-content h2{font-size:26px}.guide-page .guide-content{font-size:15px}
 .guide-page .guide-section{padding-bottom:28px;margin-bottom:28px}
 .guide-page :is(.guide-table,.wp-block-table) tbody th{position:sticky;left:0;z-index:1;box-shadow:1px 0 #d7dfe8;max-width:145px}
 .guide-page :is(.guide-table,.wp-block-table) thead th:first-child{position:sticky;left:0;z-index:2;background:#eef2f6}
 .guide-page .table-scroll-hint{display:block}
 .guides-page .page-intro{padding-block:40px}.guides-page .page-intro h1{font-size:36px}
 .guides-page .section{padding-block:44px}.guides-page .guide-hub-grid{grid-template-columns:1fr;gap:28px}
 .guides-page .guide-card h3{font-size:23px;margin-block:12px}.guides-page .guide-card p{margin-bottom:18px}
 .guide-field-grid{grid-template-columns:1fr;gap:28px}.guide-field-grid h2{font-size:28px}
 .guide-page .guide-photo img{max-height:380px}
}
@media(max-width:480px){.guide-page .guide-intro h1{font-size:32px}.guide-page .guide-contact-link .button{font-size:12px;padding-inline:16px}.guide-page .breadcrumb{padding-top:20px}}

/* Guide index: visible topic groups with simple, native in-page navigation. */
.guides-page .guide-topic-nav{border-block:1px solid #d7dfe8;background:var(--paper);scroll-margin-top:18px}
.guide-topic-nav .wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-block:18px}
.guide-topic-nav a{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:76px;padding:14px 20px;border:1px solid #ccd5e0;border-radius:2px;background:#fff;color:var(--navy);font-size:16px;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s}
.guide-topic-nav small{font-size:12px;font-weight:400;color:#596b80}
.guide-topic-nav a:hover{background:#e7edf3;border-color:#8b9db2}
.guide-topic-nav a[aria-current="location"]{background:var(--navy);border-color:var(--navy);color:#fff}
.guide-topic-nav a[aria-current="location"] small{color:#e1e7ef}
.guide-topic-nav a:focus-visible{outline:3px solid #b91d3b;outline-offset:3px}
.guides-page .guide-topic-group{padding-block:48px 8px;scroll-margin-top:18px}
.guide-group-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.guide-group-heading h2{font-size:27px;line-height:1.25;margin:0}
.guide-topics-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;flex-shrink:0;font-size:13px;color:#596b80;text-decoration:underline;text-underline-offset:4px}
.guides-page .guide-topic-group:is(#water-treatment,#industrial-salts) .guide-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.guides-page .guide-hub-grid-1{grid-template-columns:minmax(0,1fr)}
.guides-page .guide-topic-group .guide-card{padding-top:22px}
.guides-page .guide-topic-group .guide-card h3{margin-top:0}
.guides-page .guide-hub-grid-1 .guide-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;gap:32px;align-items:start}
.guides-page .guide-hub-grid-1 .guide-card :is(h3,p){margin:0}
.guides-page .guide-hub-grid-1 .guide-card-link{margin-top:0;min-height:36px;align-items:center}
.guides-page .guide-hub-note{margin-block:36px 48px}
@media(max-width:800px){
 .guide-topic-nav .wrap{gap:8px;padding-block:14px}
 .guide-topic-nav a{padding:12px 10px;min-height:92px;font-size:14px;text-align:center;align-items:center}
 .guide-topic-nav small{font-size:11px}
 .guides-page .guide-topic-group{padding-block:32px 4px;scroll-margin-top:0}
 .guide-group-heading{gap:12px;margin-bottom:20px}.guide-group-heading h2{font-size:25px}
 .guides-page .guide-topic-group .guide-hub-grid,.guides-page .guide-topic-group:is(#water-treatment,#industrial-salts) .guide-hub-grid{grid-template-columns:1fr;gap:26px}
 .guides-page .guide-hub-grid-1 .guide-card{display:flex;align-items:stretch;gap:0}
 .guides-page .guide-hub-grid-1 .guide-card h3{margin-bottom:12px}
 .guides-page .guide-hub-grid-1 .guide-card p{margin-bottom:18px}
 .guides-page .guide-hub-grid-1 .guide-card-link{min-height:0}
 .guides-page .guide-hub-note{margin-block:30px 36px}
}
@media(prefers-reduced-motion:reduce){.guide-topic-nav a{transition:none}}

/* Article navigation: native disclosure on phones, short specification destinations. */
.guide-page details.guide-toc{margin:0;border-top:0;border-bottom:0}
.guide-page .guide-toc summary{font-size:12px;line-height:1.6;font-weight:600;letter-spacing:.04em;color:var(--navy);padding:0;cursor:pointer}
.guide-page .guide-toc[open] summary{margin-bottom:16px}
.guide-page .guide-toc summary:focus-visible{outline:2px solid var(--navy);outline-offset:5px}
.guide-page .guide-toc a[aria-current="location"]{color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.guide-page .guide-specifications{padding-top:0}
.guide-page .entry-content .guide-specifications{border-top:1px solid var(--line);padding-top:24px}
.guide-page .guide-specifications p{font-size:14px;font-weight:600;margin:0 0 10px}
.guide-page .guide-specifications ul{display:flex;flex-wrap:wrap;gap:4px 24px;list-style:none;padding:0;margin:0}
.guide-page .guide-specifications li{margin:0}
.guide-page .guide-specifications a,.guide-page .guide-return a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;line-height:1.6}
.guide-page .guide-return{margin:20px 0 0}
@media(max-width:800px){
 .guide-page details.guide-toc{border:1px solid var(--line);padding:0}
 .guide-page .guide-toc summary{min-height:48px;padding:13px 18px;font-size:14px;letter-spacing:0}
 .guide-page .guide-toc[open] summary{margin:0;border-bottom:1px solid var(--line)}
 .guide-page .guide-toc nav{padding:8px 18px}
 .guide-page .guide-specifications ul{display:block}
 .guide-page .guide-specifications a,.guide-page .guide-return a{width:100%;padding-block:8px}
}

/* Supporting notes share the guide hub; avoid a second archive navigation. */
.guide-practical-notes{border-top:1px solid #d7dfe8;margin-top:32px;padding-top:24px}
.guide-practical-notes h3{font-size:18px;margin:0 0 8px}
.guide-practical-notes ul{list-style:none;padding:0;margin:0}
.guide-practical-notes a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;line-height:1.5;overflow-wrap:anywhere}
.guide-practical-notes a span{flex-shrink:0}
