/*
Theme Name: Geometric Blocks
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: geometric-blocks
License: GPL-2.0-or-later
*/
:root { --canvas: #f4f2ea; --text: #16211b; --blue: #176b87; --yellow: #f0c94d; --wide: 76rem; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); font-family: system-ui, sans-serif; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible { outline: 3px dashed var(--text); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; padding: .8rem; background: var(--text); color: white; z-index: 5; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--text); color: white; }
.header-inner, .site-footer { max-width: var(--wide); margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem); display: flex; justify-content: space-between; gap: 2rem; }
.site-header a { color: white; }
.site-name { font-weight: 800; text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-main { max-width: var(--wide); margin: auto; padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 3rem); }
.modular-board { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.module { padding: clamp(1.25rem, 3vw, 3rem); border: 2px solid var(--text); }
.module--title { grid-column: 1 / 9; background: var(--yellow); }
.module--body { grid-column: 3 / 13; }
.module--image { grid-column: 1 / 7; margin: 0; background: white; }
.module--listings { grid-column: 7 / 13; background: var(--blue); color: white; }
.module--listings a { color: white; }
.module--questions { grid-column: 2 / 12; }
h1 { margin: .2em 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; }
h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1; }
.module-kicker, .section-label { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tile-list article { padding-top: 1rem; border-top: 1px solid currentColor; }
.module--questions dl { display: grid; grid-template-columns: 1fr 2fr; }
.module--questions dt, .module--questions dd { margin: 0; padding: 1rem; border-top: 1px solid var(--text); }
.view-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; padding: 2rem; background: var(--yellow); border: 2px solid var(--text); }
.view-heading h1 { grid-column: 2; }
.entry-list, .listing-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.entry-summary, .listing-record { padding: 1.5rem; border: 2px solid var(--text); background: white; }
.entry-summary:nth-child(3n), .listing-record:nth-child(3n) { grid-column: 1 / -1; }
.verified-label { padding: .3rem .6rem; border: 2px solid currentColor; font-weight: 800; }
.content-record .entry-content { max-width: 70ch; margin: 3rem auto 0; }
.featured-media { margin: 1rem 0; border: 2px solid var(--text); }
.site-footer { margin-top: 4rem; border-top: 2px solid var(--text); }
@media (max-width: 46rem) { .header-inner, .site-footer { flex-direction: column; } .modular-board { display: block; } .module { margin-bottom: 1rem; } .tile-list, .module--questions dl, .entry-list, .listing-records, .view-heading { grid-template-columns: 1fr; } .view-heading h1 { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .module, .entry-summary, .listing-record { border-color: CanvasText; } }
