/* Inner pages, stored as native blocks */
.page-main > .wp-block-group { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.page-main .wp-block-columns { margin-bottom: 0; gap: clamp(20px, 4vw, 64px); }
.page-main .wp-block-column > :last-child { margin-bottom: 0; }
.page-band { padding-block: clamp(36px, 4.6vw, 68px); border-top: 1px solid var(--rule); }
.page-band.no-rule { border-top: 0; }
.crumbs, .checked { font-family: var(--mono); font-size: .9375rem; color: var(--ink); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-hero { padding-block: clamp(20px, 3.4vw, 48px) clamp(32px, 4.6vw, 64px); }
.svc-hero .wp-block-columns { align-items: center; }
.svc-hero h1 { font-size: clamp(3.25rem, 7vw, 6.25rem); line-height: 1.04; margin-bottom: .32em; }
.svc-hero .lede { font-size: clamp(1.125rem, 1.6vw, 1.4375rem); line-height: 1.4; color: var(--ink); max-width: 30em; }
.svc-hero .checked { margin: 1.6em 0 0; }

.sheet-block { aspect-ratio: 1024 / 1000; background: url("../images/paper.webp") center / 100% 100% no-repeat; padding: 11% 15% 9% 14%; font-family: var(--mono); color: var(--ink); font-size: clamp(.875rem, 1.3vw, 1.1875rem); line-height: 1.3; }
.sheet-block > * { transform: rotate(2.2deg); margin-block: 0; }
.sheet-block .sheet-title { text-align: center; letter-spacing: .08em; font-size: 1.15em; margin-bottom: 1em; }
.sheet-block ol { list-style: none; padding: 0; counter-reset: s; }
.sheet-block li { counter-increment: s; position: relative; min-height: 3.6em; display: flex; align-items: center; padding: .8em 3.2em .8em 0; border-bottom: 1px solid #4d5c57; }
.sheet-block li:last-child { border-bottom: 0; }
.sheet-block li::before { content: counter(s) ". "; white-space: pre; }
.sheet-block li::after { content: ""; position: absolute; right: 0; top: 50%; width: 2.4em; height: 2.4em; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='4' y='8' width='26' height='26' fill='none' stroke='%230f2a24' stroke-width='1.5'/%3E%3Cpath d='M10 21l7 8L36 3' fill='none' stroke='%23d12f18' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.in-short { background: var(--fog); border-radius: 3px; padding: clamp(20px, 2.6vw, 36px); }
.in-short h2, .in-short h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.in-short p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); margin-bottom: .7em; color: var(--ink); }

.danger-panel { border: 1px solid var(--muted); border-radius: 3px; padding: clamp(20px, 2.6vw, 32px) clamp(20px, 3vw, 44px) clamp(22px, 2.8vw, 36px); }
.danger-tag { display: inline-block; background: var(--accent); color: #fff; font: 500 1rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 10px 16px; border-radius: 2px; margin-bottom: 18px; }
.danger-panel .wp-block-columns { align-items: center; }
.danger-panel h2 { margin: 0; }
.danger-panel ul { margin: 0; padding-left: 1.1em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.danger-panel li { margin-bottom: .4em; }

.wp-block-list.five { counter-reset: n; margin-top: clamp(16px, 2.6vw, 32px); }
.wp-block-list.five li { counter-increment: n; font: 400 1rem/1.45 var(--sans); color: var(--body); }
.wp-block-list.five li::before { content: counter(n); display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font: 400 1.625rem/1 var(--display); }
.wp-block-list.five strong { display: block; font: 400 clamp(1.5rem, 2.1vw, 1.875rem)/1.15 var(--display); color: var(--ink); margin-bottom: .35em; }

.wp-block-table.rows { margin: 8px 0 0; }
.wp-block-table.rows table { border-collapse: collapse; width: 100%; }
.wp-block-table.rows td { border: 0; border-top: 1px solid var(--rule); padding: 15px 0; vertical-align: baseline; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.wp-block-table.rows tr:last-child td { border-bottom: 1px solid var(--rule); }
.wp-block-table.rows td:first-child { color: var(--ink); font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--display); }
.wp-block-table.rows td:first-child a { text-decoration: none; }
.wp-block-buttons.center-buttons { justify-content: center; margin-top: 30px; }
.wp-block-button.btn-line .wp-block-button__link { background: transparent; color: var(--ink); }
.wp-block-button.btn-line .wp-block-button__link:hover { background: var(--fog); }

.next-card { height: 100%; position: relative; border: 1px solid var(--rule); border-radius: 3px; padding: 24px 22px 24px 112px; min-height: 150px; }
.next-card::before { content: ""; position: absolute; left: 22px; top: 24px; width: 72px; height: 72px; background: center / contain no-repeat; }
.ico-home::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%230f2a24' stroke-width='1.25'%3E%3Cpath d='M6 27 28 8l22 19M12 23v25h32V23'/%3E%3Crect x='23' y='33' width='10' height='15' stroke='%23d12f18'/%3E%3C/svg%3E"); }
.ico-sun::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%230f2a24' stroke-width='1.25'%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Cpath d='M28 8v7M28 41v7M8 28h7M41 28h7M14 14l5 5M37 37l5 5M42 14l-5 5M19 37l-5 5'/%3E%3C/svg%3E"); }
.ico-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%230f2a24' stroke-width='1.25'%3E%3Ccircle cx='28' cy='28' r='20'/%3E%3Cpath d='M28 14v14l9 7'/%3E%3C/svg%3E"); }
.ico-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%230f2a24' stroke-width='1.25'%3E%3Ccircle cx='19' cy='20' r='7'/%3E%3Ccircle cx='38' cy='20' r='7'/%3E%3Cpath d='M7 46c0-9 5-14 12-14s12 5 12 14zM33 32c1 0 3-1 5-1 7 0 11 6 11 15H36'/%3E%3C/svg%3E"); }
.ico-drop::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%230f2a24' stroke-width='1.25'%3E%3Cpath d='M28 6c9 12 17 21 17 31a17 17 0 0 1-34 0C11 27 19 18 28 6z'/%3E%3Ccircle cx='39' cy='42' r='7' stroke='%23d12f18'/%3E%3Cpath d='M39 38v8M35 42h8' stroke='%23d12f18'/%3E%3C/svg%3E"); }
.next-card h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); margin-bottom: .3em; }
.next-card h3 a { text-decoration: none; }
.next-card p { font-size: 1rem; line-height: 1.4; margin: 0; }

.sources { list-style: none; padding: 0; margin: 10px 0 0; font-family: var(--mono); font-size: .9375rem; }
.sources li { padding: 7px 0; border-top: 1px solid var(--rule); }
.sources li:last-child { border-bottom: 1px solid var(--rule); }
.page-faq .wp-block-columns { align-items: center; }
.page-faq .wp-block-details p { font-size: 1rem; }
.fine-print { font-family: var(--mono); font-size: .875rem; color: var(--ink); margin-top: 16px; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.1em; }
.prose h3 { margin-top: 1em; }

@media (max-width: 781px) {
	.next-card { min-height: 0; }


	.sheet-block { font-size: clamp(.8125rem, 3.4vw, 1.0625rem); }
}

/* Template fidelity pass */
.sheet-block { aspect-ratio: 1024 / 940; padding: 10% 14% 8% 13%; font-size: clamp(.9375rem, 1.42vw, 1.3125rem); }
.sheet-block li { min-height: 5.2em; padding-right: 3.8em; }
.sheet-block li::after { width: 3em; height: 3em; }
.site-section-02-what h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.site-section-02-what p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.in-short p { padding-top: .7em; margin-bottom: 0; border-top: 1px solid rgba(209, 47, 24, .45); margin-top: .7em; }
.danger-panel { padding: clamp(26px, 3.2vw, 44px) clamp(22px, 3.4vw, 52px) clamp(30px, 3.6vw, 52px); }
.danger-tag { margin-bottom: 24px; }
.wp-block-list.five li { text-align: center; }
.wp-block-list.five li::before { width: 64px; height: 64px; margin-inline: auto; font-size: 1.875rem; }
.wp-block-list.five strong { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.wp-block-table.rows td:last-child { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.center-buttons .wp-block-button__link { font: 400 1.5rem/1.1 var(--display); padding: 14px 44px; }
.center-buttons .wp-block-button__link::after { content: " \2192"; color: var(--accent); }
.next-card { padding: 30px 24px 30px 132px; min-height: 190px; }
.next-card::before { width: 88px; height: 88px; top: 30px; }
.next-card h3 { font-size: clamp(1.625rem, 2.2vw, 2rem); }
.next-card p { font-size: 1.0625rem; }
.site-section-07-sources h2 { padding-bottom: .3em; border-bottom: 2px solid var(--accent); display: inline-block; }
.sources { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.sources li { padding: 12px 0; }
.sources a { text-decoration: none; }
.sources a:hover { text-decoration: underline; }
@media (max-width: 781px) {
	.wp-block-list.five li { text-align: left; }
	.wp-block-list.five li::before { width: 48px; height: 48px; margin: 0; font-size: 1.375rem; }
	.sheet-block { aspect-ratio: 1024 / 1000; font-size: clamp(.8125rem, 3.4vw, 1.0625rem); }
	.sheet-block li { min-height: 4em; }
	.next-card { padding: 22px 18px 22px 102px; }
	.next-card::before { width: 66px; height: 66px; left: 18px; top: 22px; }
}

/* Mobile numbered lists keep mixed text and links in one flow */
@media (max-width: 820px) {
	.wp-block-list.five li, .wp-block-list.five li:first-child { display: block; position: relative; min-height: 76px; padding: 14px 0 14px 62px; text-align: left; }
	.wp-block-list.five li::before { position: absolute; left: 0; top: 14px; width: 48px; height: 48px; margin: 0; font-size: 1.375rem; }
}
.svc-hero + .page-band.no-rule { padding-top: 8px; }
