/*
Theme Name: Bold Typography
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: bold-typography
License: GPL-2.0-or-later
*/
:root { --paper: #fffaf2; --ink: #151515; --accent: #d92d20; --line: #b9b1a5; --wide: 78rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1.05rem; line-height: 1.6; }
a { color: inherit; text-decoration-thickness: .14em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: .22rem solid var(--accent); outline-offset: .25rem; }
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 10; top: -8rem; left: 1rem; padding: .8rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer { border-block: 1px solid var(--ink); }
.header-inner, .site-footer { max-width: var(--wide); margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-name { font-size: 1.4rem; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.menu { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-main { max-width: var(--wide); margin: auto; padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 4vw, 3rem); }
.chapter { display: grid; grid-template-columns: minmax(4rem, .4fr) minmax(0, 2fr); gap: clamp(1rem, 5vw, 5rem); padding-block: clamp(3rem, 8vw, 8rem); border-bottom: 1px solid var(--line); }
.chapter-number { margin: 0; color: var(--accent); font-size: clamp(3rem, 10vw, 9rem); font-weight: 900; line-height: .8; }
h1, h2, h3 { line-height: .95; letter-spacing: -.045em; }
h1 { max-width: 12ch; margin: .15em 0; font-size: clamp(3.4rem, 11vw, 10rem); }
h2 { max-width: 14ch; font-size: clamp(2.4rem, 6vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.section-label { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.opening-copy { max-width: 45ch; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.numbered-listings { padding-left: 1.5em; }
.numbered-listings li { padding: 1rem 0 2rem 1rem; border-top: 2px solid var(--ink); }
.answers dt { margin-top: 2rem; font-size: 1.3rem; font-weight: 800; }
.answers dd { margin: .5rem 0; max-width: 60ch; }
.view-heading { padding-bottom: 2rem; border-bottom: 4px solid var(--ink); }
.entry-list, .listing-records { counter-reset: entries; }
.entry-summary, .listing-record { display: grid; grid-template-columns: minmax(3rem, .25fr) minmax(0, 2fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.entry-summary::before, .listing-record::before { counter-increment: entries; content: counter(entries, decimal-leading-zero); color: var(--accent); font-size: 2rem; font-weight: 900; }
.entry-summary > *, .listing-record > * { grid-column: 2; }
.entry-summary h2, .listing-record h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.verified-label { display: inline-block; width: fit-content; padding: .2rem .55rem; background: var(--ink); color: var(--paper); font-weight: 800; }
.content-record { max-width: 68rem; }
.entry-content > * { max-width: 68ch; }
.entry-content > .alignwide { max-width: 100%; }
.featured-media { margin: 3rem 0; }
.nav-links { display: flex; gap: 1rem; margin-top: 2rem; }
@media (max-width: 44rem) { .header-inner, .site-footer { align-items: flex-start; flex-direction: column; } .chapter, .entry-summary, .listing-record { grid-template-columns: 1fr; } .entry-summary > *, .listing-record > * { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (forced-colors: active) { .verified-label { border: 2px solid CanvasText; } }
