:root { color-scheme: light; }
body { background: #fffaf2; color: #3f2618; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; line-height: 1.6; }
.page-shell { max-width: 960px; margin: 0 auto; padding: 20px 14px 28px; }
.card { background: #fffdf8; border: 1px solid #ead8c0; border-radius: 16px; box-shadow: 0 6px 14px rgba(99, 67, 33, 0.07); }
.hero { padding: 0; margin-bottom: 16px; overflow: hidden; }
.hero-media-wrap { background: #fffdf8; border-bottom: 1px solid #ead8c0; }
.hero-media { width: 100%; height: auto; display: block; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px 14px 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.filters { padding: 14px; margin-bottom: 14px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { border: 1px solid #ead8c0; background: #fffdf8; border-radius: 999px; padding: 8px 12px; color: #6b4a32; cursor: pointer; }
.chip.active { background: #f7ead8; color: #7a451f; border-color: #b77945; }
.filter-inputs { display: grid; grid-template-columns: 1fr; gap: 8px; }
input, select { border: 1px solid #ead8c0; border-radius: 12px; padding: 10px 12px; background: #fff; color: #3f2618; }
.feed-heading { margin: 4px 4px 8px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: #6b4a32; }
.feed-card { display: grid; grid-template-columns: 6px 1fr; margin: 8px 0; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, opacity .35s ease; }
.feed-card.reveal-init { opacity: .01; transform: translateY(10px); }
.feed-card.reveal-in { opacity: 1; transform: translateY(0); }
.feed-card:hover, .feed-card:focus-within { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99, 67, 33, 0.13); }
.accent-rail { background: linear-gradient(180deg, #b77945, #7a451f); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:focus-visible { outline: 2px solid #b77945; outline-offset: -2px; border-radius: 12px; }
.card-content { padding: 10px 14px 12px; }
.topic-pill { display: inline-block; margin: 0 0 4px; padding: 2px 9px; font-size: .75rem; font-weight: 700; text-transform: none; border-radius: 999px; background: #f7ead8; color: #6b3d1f; }
h3 { margin: 2px 0 6px; line-height: 1.35; }
.teaser,.meta { color: #6b4a32; }
.teaser { margin: 0; }
.btn { display: inline-block; background: #f7ead8; color: #7a451f; padding: 8px 12px; text-decoration: none; border: 1px solid #ead8c0; }
.pill-btn { border-radius: 999px; }
.btn-secondary { background: #fffdf8; }
.subscribe { padding: 16px; margin-top: 18px; background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%); border-color: #e2c79f; }
.subscribe h2 { margin-top: 0; }
.subscribe form { display: grid; gap: 8px; }
.subscribe label { display: block; margin: 6px 0; }
.hp { position: absolute; left: -9999px; }
.footer { margin-top: 20px; padding: 18px; background: linear-gradient(145deg, #fff8ec 0%, #f7ead8 100%); }
.footer-grid { display: grid; gap: 12px; }
.footer-brand { margin: 0; font-weight: 700; }
.footer-desc { margin: 4px 0 0; color: #6b4a32; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer a { color: #7a451f; text-decoration: none; font-weight: 600; }
.footer a:hover, .footer a:focus-visible { text-decoration: underline; }
.footer-note { margin-top: 12px; }
.empty-state { padding: 18px; }
.detail-card { padding: 14px; }
.detail-card h1 { margin: 4px 0 8px; line-height: 1.3; }
.detail-section { padding: 10px 12px; margin: 8px 0; }
.detail-section h2 { margin: 0 0 6px; }
.detail-section p { margin: 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }
.tag { border: 1px solid #ead8c0; padding: 3px 8px; border-radius: 999px; color: #6b4a32; font-size: .85rem; }
.related { margin-top: 10px; }
.related-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.related-card { margin: 0; }
.related-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #3f2618; border: 1px solid #ead8c0; border-radius: 12px; padding: 8px 10px; background: linear-gradient(180deg, #fffdf8, #fff9f1); transition: transform .2s ease, box-shadow .2s ease; }
.related-link:hover, .related-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(99, 67, 33, 0.10); }
.subscribe-inline { padding: 12px; margin-top: 10px; }
@media (min-width: 720px) {
  .page-shell { padding: 28px 18px 34px; }
  .filter-inputs { grid-template-columns: 1fr 1fr; }
  .filters { position: sticky; top: 10px; z-index: 3; backdrop-filter: blur(3px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
@media (max-width: 719px) { .hero-actions { padding: 10px 12px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .feed-card, .related-link { transition: none; transform: none !important; }
}
