/*
Theme Name: Mortgage Ledger
Author: Ledger Editorial
Description: Newspaper-style layout for mortgage guides, with built-in payment, APR, refinance, tax, debt and rent-vs-own calculators.
Version: 2.3.1
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: mortgageledger
*/

:root {
	--ink: #141414;
	--soft: #62666b;
	--line: #e2e2e2;
	--paper: #fff;
	--tint: #f3f5f7;
	--brand: #0f3352;
	--accent: #a3262c;
	--brand-soft: color-mix(in srgb, var(--brand) 8%, #fff);
	--head: "Newsreader", Georgia, "Times New Roman", serif;
	--body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text, .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Top strip */
.strip { background: #000; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.strip-in { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-height: 30px; }
.strip p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip a { flex: none; border-left: 1px solid #555; padding-left: 14px; }
.strip a:hover { color: #fff; text-decoration: underline; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.masthead-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { font: 700 27px/1 var(--head); letter-spacing: -.02em; white-space: nowrap; display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--accent); }
.wordmark:hover { color: var(--ink); }
.custom-logo { max-height: 48px; width: auto; }
.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > .menu { display: flex; gap: 20px; }
.nav .menu > li { position: relative; }
.nav .menu > li > a { display: block; white-space: nowrap; padding: 26px 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.nav .menu > li > a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--ink); }
.nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nav .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 8px 0; display: none; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; }
.nav-search { display: none; }
.masthead-tools { display: flex; align-items: center; gap: 18px; }
.find { display: flex; align-items: center; border: 1px solid #cfcfcf; height: 38px; width: 200px; background: var(--paper); }
.find input { border: 0; flex: 1; min-width: 0; height: 100%; padding: 0 10px; background: none; font-size: 14px; }
.find input:focus { outline: none; }
.find:focus-within { border-color: var(--ink); }
.find button { border: 0; background: none; width: 38px; height: 100%; cursor: pointer; color: var(--soft); display: grid; place-items: center; }
.head-link { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.head-link--main { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.burger { display: none; border: 0; background: none; width: 42px; height: 42px; cursor: pointer; place-items: center; }
.burger-close { display: none; }

/* Shared bits */
.meta { margin: 6px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.kicker { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; background: #e9e9e9; color: var(--soft); }
.chip--line { background: none; border: 1px solid var(--ink); color: var(--ink); padding: 3px 7px; }
.tag { position: absolute; top: 10px; left: 10px; background: #000; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--accent); padding-bottom: 1px; margin-right: 18px; }
.box { border: 1px solid var(--line); padding: 18px 20px; }
.box-h { font-size: 19px; margin-bottom: 14px; }
.band { display: grid; grid-template-columns: 1fr 210px; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.band--split { grid-template-columns: 1fr 340px; }
.band-h { font-size: 24px; margin-bottom: 18px; }

/* Tools strip (home) */
.tools { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 18px 0; }
.tools-h { font-size: 15px; line-height: 1.3; font-family: var(--body); text-transform: uppercase; letter-spacing: .06em; }
.tools-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tools-list a { display: block; height: 100%; border: 1px solid var(--line); padding: 10px 12px; font-size: 12.5px; line-height: 1.35; }
.tools-list a:hover { border-color: var(--ink); color: var(--ink); }
.tools-list strong { display: block; font: 700 16px/1.2 var(--head); }
.tools-list span { display: block; color: var(--accent); font-weight: 700; font-size: 11.5px; margin: 2px 0; }
.tools-list em { font-style: normal; color: var(--soft); }

/* Lead + quick calculator */
.front { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-bottom: 32px; }
.lead { position: relative; min-height: 440px; background: var(--tint); }
.lead-img, .lead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-card { position: absolute; left: 28px; bottom: 28px; width: min(470px, calc(100% - 56px)); background: var(--paper); padding: 24px 26px; }
.lead-title { font-size: 31px; margin-bottom: 12px; }
.lead-card p:not(.chips):not(.meta) { margin: 0 0 12px; font-size: 15px; color: #333; }
.front-calc .calc { height: 100%; background: var(--brand); color: #fff; border: 0; padding: 24px 22px; }
.front-calc .calc-title { font-size: 26px; color: #fff; }
.front-calc .calc-fields { grid-template-columns: 1fr 1fr; }
.front-calc .calc-field > span:first-child { color: #c9d4de; }
.front-calc .calc-input { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.front-calc .calc-input::after { color: #c9d4de; }
.front-calc .calc-out { border-color: rgba(255, 255, 255, .25); }
.front-calc .calc-out div:first-child dd { font-size: 38px; }
.front-calc dt, .front-calc .calc-note { color: #c9d4de; }
.front-calc dd, .front-calc .calc-out div:first-child dd { color: #fff; }
.front-calc .calc-field:first-child { grid-column: 1 / -1; }

/* Tiles */
.tiles { display: grid; gap: 24px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-img { position: relative; display: block; aspect-ratio: 7 / 4; background: var(--tint); margin-bottom: 12px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-title { font-size: 19px; line-height: 1.22; }
.tile-text { margin: 8px 0 0; font-size: 14.5px; color: #3c3c3c; }

/* Jump links */
.jumps { list-style: none; margin: 0; padding: 0; }
.jumps li { border-bottom: 1px solid var(--line); padding: 14px 0 16px; }
.jumps li:first-child { padding-top: 0; }
.jumps a { display: flex; align-items: center; gap: 6px; font: 700 13px/1.3 var(--body); letter-spacing: .05em; text-transform: uppercase; }
.jumps span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); margin-top: 4px; }

/* By topic + ranked list */
.by-topic-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; margin-bottom: 20px; }
.by-topic-head h2 { font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; }
.topics a { color: var(--soft); }
.topics a:hover, .topics a[aria-current] { color: var(--accent); }
.topics li:first-child a { color: var(--accent); }
.list-head .topics li:first-child a { color: var(--soft); }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.ranked li:first-child { border-top: 0; padding-top: 0; }
.ranked-n { height: 40px; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 700 20px/1 var(--head); color: var(--accent); }
.ranked a { font: 700 15.5px/1.3 var(--head); display: block; }
.ranked time { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-top: 4px; }

/* Calculators */
.calc { border: 1px solid var(--line); padding: 22px; background: var(--paper); margin: 0 0 26px; }
.calc-title { font: 700 22px/1.2 var(--head); margin: 0 0 16px; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; align-items: end; }
.calc-field { display: block; }
.calc-field > span:first-child { display: block; font-size: 12px; font-weight: 600; color: var(--soft); margin-bottom: 4px; }
.calc .is-arm { display: none; }
.calc.is-arm-on .is-arm { display: block; }
.calc-input { position: relative; display: flex; border: 1px solid #c9c9c9; background: var(--paper); }
.calc-input::after { content: attr(data-unit); padding: 0 10px; display: grid; place-items: center; font-size: 13px; color: var(--soft); }
.calc-input[data-unit="$"] { flex-direction: row-reverse; }
.calc-input input, .calc-field select { width: 100%; min-width: 0; border: 0; height: 40px; padding: 0 10px; background: none; font-variant-numeric: tabular-nums; }
.calc-field select { border: 1px solid #c9c9c9; background: var(--paper); }
.calc-input input:focus { outline: none; }
.calc-input:focus-within { border-color: var(--ink); }
.calc-out { margin: 18px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.calc-out div:first-child { grid-column: 1 / -1; }
.calc-out dt { font-size: 12px; font-weight: 600; color: var(--soft); }
.calc-out dd { margin: 2px 0 0; font: 700 18px/1.25 var(--head); font-variant-numeric: tabular-nums; }
.calc-out div:first-child dd { font-size: 30px; color: var(--brand); }
.calc-note { margin: 14px 0 0; font-size: 12px; color: var(--soft); }
.calc-table { margin-top: 16px; }
.calc-table summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.calc-scroll { max-height: 360px; overflow: auto; margin-top: 10px; border: 1px solid var(--line); }
.calc-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 6px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; }
.calc-table thead th { position: sticky; top: 0; background: var(--tint); }

/* Run the numbers (home) */
.numbers { border-top: 1px solid var(--line); padding: 32px 0 8px; }
.numbers-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.numbers-head h2 { font-size: 30px; }
.numbers-head a { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.numbers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.numbers-grid .calc { margin: 0; background: var(--tint); border-color: var(--tint); }
.numbers-grid .calc-fields { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* Home page copy (archived home text) */
.home-copy { display: grid; grid-template-columns: 300px 1fr; gap: 0 36px; border-top: 1px solid var(--line); margin-top: 32px; padding: 36px 0 44px; }
.home-copy > h2 { grid-row: span 2; font: 800 34px/1.05 var(--body); text-transform: uppercase; letter-spacing: -.01em; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.choice h3 { font-size: 20px; margin-bottom: 8px; padding-top: 10px; border-top: 3px solid var(--ink); }
.choice p { margin: 0; font-size: 14.5px; color: #3c3c3c; }
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.promo { margin: 0; }
.promo img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.promo figcaption { margin-top: 12px; font: 700 18px/1.3 var(--head); }
.promo figcaption strong { display: block; }
.promo figcaption a { color: var(--accent); }

/* Articles and pages */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 30px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--soft); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.story-head h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.01em; margin-bottom: 12px; }
.story-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.story-img { margin: 0 0 28px; }
.story-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.byline { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 4px; }
.byline img { border-radius: 50%; }
.text { font-size: 17.5px; line-height: 1.7; max-width: 720px; }
.text > *:first-child { margin-top: 0; }
.text p, .text ul, .text ol, .text dl { margin: 0 0 1.1em; }
.text h2 { font-size: 28px; margin: 1.6em 0 .55em; }
.text h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.text a { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.text a:hover { color: var(--accent); }
.text ul, .text ol { padding-left: 1.3em; }
.text li { margin-bottom: .35em; }
.text li::marker { color: var(--accent); }
.text strong { font-weight: 700; }
.text img { margin: 1.2em 0; }
.text .calc { font-size: 16px; line-height: 1.5; margin: 0 0 30px; }
.glossary dt { font: 700 19px/1.3 var(--head); margin-top: 1.1em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.glossary dt:first-child { border-top: 0; padding-top: 0; }
.glossary dd { margin: 4px 0 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 2px solid var(--ink); }
.pager a { font: 700 17px/1.3 var(--head); }
.pager span { display: block; font: 700 11.5px/1 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.pager-next { text-align: right; grid-column: 2; }
.related { grid-template-columns: 1fr; }

/* Rail (sidebar) */
.rail { display: flex; flex-direction: column; gap: 30px; }
.find--rail { width: 100%; height: 44px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows-img { aspect-ratio: 1; overflow: hidden; background: var(--tint); }
.rows-img img { width: 100%; height: 100%; object-fit: cover; }
.rows-title { font: 700 15.5px/1.3 var(--head); display: block; }
.rows .kicker { margin-top: 4px; font-size: 10.5px; }
.about-card { background: var(--brand-soft); padding: 22px; }
.about-card img { margin-bottom: 12px; }
.about-card h2 { font-size: 20px; margin-bottom: 6px; }
.about-card p { margin: 0 0 14px; font-size: 14.5px; color: #3c3c3c; }
.social { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 12px; font-size: 13px; font-weight: 700; }

/* Lists */
.list-head { padding: 30px 0 0; }
.list-head h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.list-head p { margin: 0 0 16px; color: var(--soft); max-width: 640px; }
.list-head + .cols { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 18px; }
.nav-links { display: flex; gap: 6px; margin-top: 34px; }
.page-numbers { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty .find { width: 100%; max-width: 420px; }
.lost { padding: 80px 0 100px; max-width: 620px; }
.lost-code { font: 700 90px/1 var(--head); color: var(--accent); margin: 0 0 10px; }
.lost h1 { font-size: 36px; margin-bottom: 12px; }

/* Forms (WPForms, themed) */
.mlg-form .wpforms-field-label { font-weight: 600 !important; font-size: 14px !important; }
.mlg-form input[type=text], .mlg-form input[type=email], .mlg-form textarea { border: 1px solid #c9c9c9 !important; border-radius: 0 !important; font-size: 16px !important; padding: 10px 12px !important; height: auto !important; }
.mlg-form button[type=submit] { background: var(--ink) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; padding: 12px 26px !important; height: auto !important; font-weight: 700 !important; letter-spacing: .05em; text-transform: uppercase; font-size: 13px !important; }
.mlg-form button[type=submit]:hover { background: var(--accent) !important; }

/* Footer */
.colophon { border-top: 3px solid var(--ink); margin-top: 20px; padding: 40px 0 0; font-size: 14px; }
.colophon-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.ft-cols { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1.25fr .8fr; gap: 28px; }
.ft-title { font: 700 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin-bottom: 9px; line-height: 1.35; }
.ft-col li a { color: var(--soft); }
.ft-col li a:hover { color: var(--accent); }
.footer-logo { font: 700 22px/1.1 var(--head); display: inline-block; margin-bottom: 12px; }
.ft-col p { margin: 0 0 12px; color: #3c3c3c; }
.ft-news { border-left: 1px solid var(--line); padding-left: 32px; }
.ft-news h2 { font-size: 22px; margin-bottom: 8px; }
.ft-news p { margin: 0 0 14px; color: var(--soft); }
.nl-form { display: flex; border: 1px solid #c9c9c9; height: 44px; }
.nl-form input { flex: 1; min-width: 0; border: 0; padding: 0 12px; background: none; }
.nl-form input:focus { outline: none; }
.nl-form:focus-within { border-color: var(--ink); }
.nl-form button { border: 0; border-left: 1px solid var(--ink); background: var(--paper); padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.nl-form button:hover { background: var(--ink); color: #fff; }
.nl-done { font-weight: 700; color: var(--brand); }
.colophon-base { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 34px; padding: 18px 0 26px; font-size: 12.5px; color: var(--soft); }
.colophon-base p { margin: 0; max-width: 760px; }
.colophon-base ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex: none; }

/* Tablet */
@media (max-width: 1180px) {
	.masthead-tools .find { width: 170px; }
	.nav > .menu { gap: 14px; }
	.nav .menu > li > a { font-size: 11.5px; letter-spacing: .06em; }
	.tools-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ft-cols { grid-template-columns: repeat(3, 1fr); }
	.colophon-grid { grid-template-columns: 1fr; }
	.ft-news { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; max-width: 520px; }
}
@media (max-width: 1023px) {
	.masthead-in { min-height: 64px; justify-content: space-between; }
	.masthead-tools .find, .head-link:not(.head-link--main) { display: none; }
	.burger { display: grid; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); padding: 8px 24px 22px; max-height: calc(100vh - 100px); overflow-y: auto; }
	.masthead.is-open .nav { display: block; }
	.masthead.is-open .burger-open { display: none; }
	.masthead.is-open .burger-close { display: block; }
	.nav > .menu { display: block; }
	.nav .menu > li > a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
	.nav .sub-menu { position: static; display: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; }
	.nav li:hover > .sub-menu { display: none; }
	.nav li.is-open > .sub-menu, .nav li:focus-within > .sub-menu { display: block; }
	.nav-search { display: block; margin-top: 16px; }
	.nav-search input { width: 100%; height: 44px; border: 1px solid #c9c9c9; padding: 0 12px; }
	.front { grid-template-columns: minmax(0, 1fr); }
	.band, .band--split { grid-template-columns: minmax(0, 1fr); }
	.jumps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.jumps li { padding: 0 0 12px; }
	.tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.numbers-grid { grid-template-columns: 1fr; }
	.home-copy { grid-template-columns: 1fr; }
	.home-copy > h2 { margin-bottom: 22px; }
	.cols { grid-template-columns: 1fr; }
	.rail { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.strip p { font-size: 11px; }
	.wordmark { font-size: 22px; }
	.head-link--main { display: none; }
	.tools { grid-template-columns: 1fr; gap: 10px; }
	.tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lead { min-height: 0; background: none; }
	.lead-img { position: relative; display: block; height: auto; aspect-ratio: 16 / 10; }
	.lead-card { position: static; width: auto; padding: 16px 0 0; }
	.lead-title { font-size: 26px; }
	.tiles--4, .tiles--3 { grid-template-columns: 1fr; }
	.jumps { grid-template-columns: 1fr; }
	.choices, .promos { grid-template-columns: 1fr; }
	.home-copy > h2 { font-size: 28px; }
	.text { font-size: 17px; }
	.calc { padding: 18px 16px; }
	.calc-fields, .front-calc .calc-fields, .numbers-grid .calc-fields { grid-template-columns: 1fr 1fr; }
	.rail { grid-template-columns: 1fr; }
	.pager { grid-template-columns: 1fr; }
	.pager-next { grid-column: auto; text-align: left; }
	.ft-cols { grid-template-columns: 1fr 1fr; }
	.ft-cols > :first-child { grid-column: 1 / -1; }
	.colophon-base { flex-direction: column; }
}
