/* Content pages share the site's typography, color and spacing system. */
.seo-reading { max-width: 900px; }
.seo-reading p, .seo-reading li { font-size: 1.0625rem; line-height: 1.8; }
.seo-section + .seo-section { margin-top: 2.75rem; }
.seo-reading > h2 { margin-bottom: 1.75rem; }
.seo-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 1rem; }
.seo-section h3 { font-size: 1.3rem; line-height: 1.4; margin-bottom: .8rem; }

/*
 * Lists inside a reading block. The site resets list-style globally, so
 * without these a numbered list reads as a run of unrelated lines: the
 * complaint that sent me here. Markers are drawn, so they carry the page's
 * own language instead of the browser's.
 */
.seo-reading ul, .seo-reading ol { display: grid; gap: .85rem; margin: 1.25rem 0 0; padding: 0; }
.seo-reading li { position: relative; padding-left: 2.25rem; line-height: 1.7; }
.seo-reading ul > li::before {
    content: ""; position: absolute; left: .55rem; top: .8em;
    width: .4rem; height: .4rem; border-radius: 999px; background: var(--signal);
}
.seo-reading ol { counter-reset: seo-step; }
.seo-reading ol > li { counter-increment: seo-step; }
.seo-reading ol > li::before {
    content: counter(seo-step, decimal-leading-zero);
    position: absolute; left: 0; top: .25em;
    font-family: var(--mono); font-size: .8rem; letter-spacing: .08em;
    color: var(--signal-text);
}
.seo-reading li > strong { color: var(--text-hi); }
.seo-reading p + p { margin-top: 1rem; }
.seo-reading ul + p, .seo-reading ol + p { margin-top: 1.4rem; }

/* The lede under a block heading reads as a lede, not as body copy. */
.seo-reading .seo-lede {
    font-size: 1.15rem; line-height: 1.7; color: var(--text-lo);
    max-width: 62ch; margin-bottom: 2.25rem;
}

/* A details block: the label holds the left column, the sections run right. */
.seo-spread { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); max-width: var(--shell); }
.seo-spread-head { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.seo-spread-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; margin-top: .9rem; }
.seo-spread-body { max-width: 68ch; }
.seo-spread-body .seo-section + .seo-section { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
    .seo-spread { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .seo-spread-head { position: static; }
}
.seo-breadcrumb { padding: 1.25rem var(--gutter); font-size: .9375rem; }
.seo-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.seo-breadcrumb li + li::before { content: "/"; margin-right: .6rem; opacity: .6; }
.seo-links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; padding: 0; }
.seo-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 1rem 0; border-bottom: 1px solid currentColor; font-size: 1rem; }
.seo-links .ico { flex-shrink: 0; }
.seo-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.seo-table th, .seo-table td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid currentColor; }
.seo-reading a, .seo-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 600px) {
    .seo-links { grid-template-columns: 1fr; }
    .seo-table th, .seo-table td { padding: .6rem; }
}
