/* why-main-drain-keeps-clogging: page layer over the benchmark style.css + refinements.css
   (both byte-identical to how-to-winterize-outdoor-faucets). Loaded last. */

/* Hero: byline and disclosure sit inside the copy column, so the grid needs only
   the copy/media row and the short-answer row (no empty disclosure/byline rows). */
@media(min-width:761px){
 .hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"copy media" "verdict verdict";column-gap:clamp(32px,5vw,72px);row-gap:36px;align-items:start}
}
.hero-copy .byline{margin-top:24px}
.hero-copy .disclosure{margin-top:18px}
.hero-fig img{max-height:340px;width:auto;max-width:100%;height:auto;margin-left:auto;margin-right:auto}
@media(max-width:760px){.hero-fig{margin-left:auto;margin-right:auto;margin-top:24px}}
/* Short answer: verdict left, the part for the most common cause (roots) on the right */
.hero .verdict{align-items:start}
.verdict-pick{grid-column:2;grid-row:1/3;align-self:center}
.verdict-pick-name{font-size:17px;line-height:1.4;color:var(--ink)}
.verdict-pick .buy-price{margin-top:12px}
.verdict-pick .buy-button{margin-top:4px;width:auto}
.verdict .verdict-pick .text-link{display:flex;grid-column:auto;grid-row:auto;margin-top:8px}
@media(max-width:1080px){.verdict-pick{grid-column:1;grid-row:auto}}
@media(max-width:760px){.verdict-pick .buy-button{width:100%}}

/* Section intro line under each H2 */
.block>.lede{margin-top:0;color:var(--muted);font-size:17px;max-width:74ch}
.block>.table-wrap,.block>.checks,.block>.pp-two,.block>.related-list,.block>.pick-grid{margin-top:24px}
.block>.table-wrap+p,.block>.checks+p,.block>.pp-two+p,.block>.pick-grid+.table-wrap{margin-top:24px}
.block>p+.table-wrap,.block>p+.checks,.block>p+.pp-two{margin-top:24px}
.checks{list-style:none;margin-left:0;margin-bottom:0;padding:0;max-width:86ch}
main .inline{font-weight:600}

/* The three kit parts: two columns of cards separated by thin rules */
.pick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,72px)}
.pick-grid .type-row{margin-top:0}
.pick .type-body .buy-price{margin-top:12px}
.pick .type-body .buy-button{margin-top:6px}
.pick .type-body>.text-link{display:flex;margin-top:4px;padding:0;margin-bottom:0}
@media(max-width:1080px){.pick-grid{grid-template-columns:1fr}}

/* Clog pattern finder (select-based tool carried over from the live page) */
.finder-col{min-width:0}
#md-f{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#md-f label{display:block;font-size:17px;font-weight:700;line-height:1.4}
#md-f select{display:block;width:100%;box-sizing:border-box;min-height:48px;margin-top:8px;padding:8px 12px;font:inherit;font-size:16px;font-weight:400;color:var(--ink);background:var(--white);border:1px solid var(--line-strong);border-radius:var(--radius-s)}
#md-f :focus-visible{outline:3px solid var(--teal);outline-offset:3px}
#md-f .res,#md-f .calc-help,#md-f noscript{grid-column:1/-1}
#md-f .res{margin-top:6px;padding-top:22px;border-top:1px solid var(--line)}
#md-f .res p{font-size:19px;font-weight:700;line-height:1.5;color:var(--ink)}
#md-f .calc-help{font-size:15px;line-height:1.55;color:var(--muted);max-width:74ch}
@media(max-width:760px){#md-f{grid-template-columns:1fr}}
/* The three clue paragraphs continue the finder section below the band */
.block.after-band{padding-top:40px}
.block.after-band>p:first-child{margin-top:0}

/* Root foam photo in the step-by-step section: natural proportions, capped at 360px as on the live page */
.foam-photo{margin:24px 0 0;max-width:360px}
.foam-photo img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:var(--radius)}
.foam-photo figcaption{margin-top:10px;font-size:14px;line-height:1.5;color:var(--muted)}
.block>.foam-photo+p{margin-top:24px}

/* Tables: two- to five-column reference tables reuse .compare */
.compare tbody th{font-size:17px}
.compare td .inline,.compare th .inline{font-weight:700}

/* Two-up text columns: the method box */
.pp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px clamp(32px,5vw,72px)}
.pp-two h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;font-weight:700}
.pp-two p{margin-top:12px;max-width:60ch}
.pp-list{margin:12px 0 0;padding-left:22px;max-width:60ch;list-style:disc}
.pp-list li::marker{color:var(--teal)}
.pp-list li{margin:8px 0;font-size:16px;line-height:1.6}
@media(max-width:1080px){.pp-two{grid-template-columns:1fr}}

.faq-item h3{font-size:19px;line-height:1.35;letter-spacing:-.01em;font-weight:700}
.faq-item p{margin-top:6px;max-width:74ch}
section[id],article[id]{scroll-margin-top:calc(var(--header-h) + 16px)}

/* Phone: stacked table rows get side padding so cell text never touches the card edge */
@media(max-width:760px){
 .compare tr{padding:16px 16px}
 .compare tbody tr:first-child{border-top:0}
 .finder-intro p{max-width:none}
}

/* Last section: breathing room before the footer */
#related{padding-bottom:clamp(48px,6vw,80px)}
