:root {
    --red: #ff1000;
    --orange: #ff7601;
    --gold: #ffbc0d;
    --ink: #292329;
    --muted: #6b616c;
    --line: #ded5df;
    --paper: #fff;
    --wash: #f7f3f7;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: #fff url('background.jpg') repeat; font: 14px/1.55 Arial, Helvetica, sans-serif; }
a { color: #d93300; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #8e1500; }
img { max-width: 100%; height: auto; }
.site-shell { width: min(1240px, calc(100% - 28px)); margin-inline: auto; }
.top-strip { background: #333; color: #eee; font-size: 12px; padding: 5px 0; }
.site-header { background: linear-gradient(#fff, #f5f1f5); border-bottom: 4px solid var(--orange); }
.header-inner { min-height: 116px; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 254px; display: block; }
.brand img { display: block; }
.header-copy { flex: 1; min-width: 0; }
.header-kicker { margin: 0 0 14px; color: #796d79; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 6px; }
.site-header nav a { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 13px; color: #fff; background: var(--red); border-bottom: 3px solid #bd0b00; font-weight: 700; text-decoration: none; }
.site-header nav a:nth-child(even) { background: var(--orange); border-color: #c54f00; }
.site-header nav a:hover { background: #3e3a3e; border-color: #222; }
main.site-shell { padding-block: 18px 28px; }
.intro-band { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; padding: 18px 20px; background: rgba(255,255,255,.92); border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; color: var(--red); font-size: 28px; line-height: 1.15; }
h2 { color: #3d343d; font-size: 22px; line-height: 1.2; }
h3 { font-size: 17px; line-height: 1.25; }
.intro-band p { max-width: 920px; margin-bottom: 0; }
.primary-link, .more-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; color: #fff; background: var(--red); font-weight: 700; text-decoration: none; }
.primary-link:hover, .more-link:hover { color: #fff; background: #3d343d; }
.content-section { padding-block: 20px 4px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 7px; color: var(--red); }
.section-heading p { max-width: 660px; margin-bottom: 7px; color: var(--muted); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.featured-item { display: grid; grid-template-columns: 112px 1fr; min-height: 122px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.featured-image { display: block; background: #eee; }
.featured-image img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; object-position: top; display: block; }
.featured-copy { padding: 10px; }
.featured-copy h3 { margin-bottom: 5px; }
.featured-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.category-panel { padding: 14px; background: rgba(255,255,255,.94); border-top: 5px solid var(--orange); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.category-panel:nth-child(even) { border-color: var(--red); }
.category-panel h3 { margin-bottom: 5px; }
.category-panel > p { color: var(--muted); }
.directory-links { list-style: none; margin: 0 0 12px; padding: 0; }
.directory-links li { display: grid; grid-template-columns: minmax(150px, .65fr) 1fr; gap: 12px; padding: 7px 4px; border-top: 1px dotted #c9bdc9; }
.directory-links a { font-weight: 700; }
.directory-links span { color: var(--muted); font-size: 13px; }
.more-link { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.archive-note, .category-page, .content-page, .not-found { margin-top: 20px; padding: 20px; background: rgba(255,255,255,.95); border: 1px solid var(--line); }
.archive-note h2, .category-page h1, .content-page h1 { color: var(--red); }
.breadcrumbs { gap: 8px; margin: 2px 0 12px; color: var(--muted); font-size: 12px; }
.category-page > header, .content-page > header { max-width: 900px; }
.category-page .directory-links { margin-top: 18px; max-width: 960px; }
.category-copy, .content-page section { max-width: 920px; margin-top: 20px; padding-top: 16px; border-top: 3px solid var(--gold); }
.content-page section .directory-links { margin-top: 12px; }
.error-code { margin: 0; color: var(--orange); font-size: 54px; font-weight: 700; line-height: 1; }
.site-footer { color: #eee; background: #3e3a3e; border-top: 5px solid var(--orange); }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 24px; padding-block: 16px; }
.footer-inner img { filter: saturate(.85) brightness(1.25); }
.footer-inner p { margin: 4px 0 0; color: #d8d1d8; font-size: 12px; }
.site-footer a { color: #ffd15a; }

@media (max-width: 880px) {
    .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-inner { gap: 18px; }
    .category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .site-shell { width: min(100% - 18px, 1240px); }
    .header-inner { display: block; padding-block: 10px; }
    .brand { width: 220px; margin-bottom: 8px; }
    .header-kicker { margin-bottom: 8px; }
    .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-header nav a { justify-content: center; text-align: center; }
    .intro-band { grid-template-columns: 1fr; align-items: start; gap: 14px; padding: 15px; }
    h1 { font-size: 24px; }
    .section-heading { display: block; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-item { grid-template-columns: 98px 1fr; }
    .directory-links li { grid-template-columns: 1fr; gap: 2px; }
    .footer-inner { grid-template-columns: 1fr; gap: 12px; }
}
