/*
Theme Name: Bold Typography
Version: 2.2.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: bold-typography
License: GPL-2.0-or-later
*/
:root { --paper: #fffaf2; --surface: #ffffff; --ink: #151515; --muted: #655f57; --accent: #d92d20; --line: #cfc6b8; --wide: 78rem; --reading: 48rem; }
* { 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 { position: relative; z-index: 2; border-bottom: 1px solid var(--ink); background: var(--paper); }
.site-footer { border-top: 1px solid var(--ink); }
.header-inner, .site-footer { max-width: var(--wide); margin: auto; padding: 1.15rem 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; align-items: center; gap: .65rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.menu a { font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.site-main { max-width: var(--wide); margin: auto; padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 4vw, 3rem); }
.home-main { padding-top: 0; }
.home-copy { max-width: var(--reading); padding-block: clamp(4rem, 10vw, 9rem); }
.home-copy h1 { max-width: 11ch; margin: .15em 0 .3em; }
.home-copy .entry-content { margin-top: clamp(2rem, 5vw, 4rem); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.home-copy .entry-content > * { max-width: 66ch; }
.home-copy .entry-content > :first-child { margin-top: 0; }
.blog-feed { padding-block: clamp(3rem, 8vw, 7rem); border-top: 4px solid var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.post-card { display: flex; min-width: 0; flex-direction: column; padding: 1.25rem; border: 1px solid var(--ink); background: var(--surface); }
.post-card__media { display: block; margin: -1.25rem -1.25rem 1.25rem; overflow: hidden; }
.post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__date { margin: 0 0 .75rem; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 2.5vw, 2.25rem); }
.post-card h3 a { text-decoration: none; }
.post-card > p:last-child { margin: auto 0 0; color: var(--muted); }
.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: 64rem) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .header-inner, .site-footer, .section-heading { align-items: flex-start; flex-direction: column; } .chapter, .entry-summary, .listing-record, .post-grid { grid-template-columns: 1fr; } .entry-summary > *, .listing-record > * { grid-column: 1; } .home-copy h1 { font-size: clamp(3rem, 17vw, 5.5rem); } }
@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; } }
