/* Homepage presentation only. Server-side cache helper is unchanged. */
body.crf-home { margin: 0; background: #090909; color: #f0f0f0; font: 16px/1.6 Arial,Helvetica,sans-serif; }
.crf-home *, .crf-home *::before, .crf-home *::after { box-sizing: border-box; }
.crf-home a { color: #ffb44d; text-decoration: none; }
.crf-home a:hover { text-decoration: underline; }
.crf-home a:focus-visible, .crf-home button:focus-visible, .crf-home input:focus-visible, .crf-home select:focus-visible, .crf-home summary:focus-visible { outline: 3px solid #61a7ff; outline-offset: 3px; }
.home-shell { max-width: 1440px; margin: auto; padding: 24px; }
.home-shell img { max-width: 100%; height: auto; }
.home-shell h1 { font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.15; margin: 6px 0 12px; }
.home-shell h2 { font-size: 1.45rem; line-height: 1.3; margin: 0 0 12px; }
.home-shell h3 { font-size: 1.05rem; line-height: 1.4; margin: 0 0 10px; }
.home-shell p { margin: 8px 0 12px; }
.home-shell .home-muted { color: #bcbcbc; font-size: .875rem; }
.home-eyebrow { color: #ffb44d; font-size: .78rem; font-weight: bold; letter-spacing: .07em; text-transform: uppercase; }
.home-intro { padding: 8px 0 26px; max-width: 900px; }
.home-intro > p:not(.home-eyebrow) { color: #ccc; }
.home-quick-links, .home-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.home-shell .home-button, .home-shell button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid #ffad3d; border-radius: 5px; background: #ffa323; color: #111; font: bold .9rem/1.4 Arial,Helvetica,sans-serif; text-decoration: none; cursor: pointer; }
.home-shell .home-button-secondary { background: transparent; color: #ffbd60; }
.home-section { margin: 0 0 30px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 15px; }
.home-section-heading h2 { margin: 0; }
.home-section-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.home-update-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.home-card { min-width: 0; background: #181818; border: 1px solid #363636; border-radius: 7px; overflow: hidden; }
.home-card-image { display: flex; align-items: center; justify-content: center; background: #101010; min-height: 150px; padding: 12px; }
.home-card-image img { display: block; width: auto; max-width: 100%; max-height: 180px; height: auto; }
.home-card-body { padding: 14px; }
.home-card h3 a { color: #f5f5f5; }
.home-card h3 a:hover { color: #ffb44d; }
.home-new { display: inline-block; color: #151515; background: #ffa323; font: bold .65rem/1.2 Arial,Helvetica,sans-serif; padding: 3px 6px; border-radius: 3px; text-transform: uppercase; margin: 0 0 7px; }
.home-edit { display: inline-block; padding: 7px 0; font-size: .8rem; text-decoration: underline !important; }
.home-feature-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin-bottom: 28px; align-items: start; }
.home-panel { background: #181818; border: 1px solid #363636; border-radius: 7px; padding: 22px; min-width: 0; }
.home-potw-image { display: flex; justify-content: center; background: #0c0c0c; border-radius: 4px; padding: 16px; margin: 15px 0; }
.home-potw-image img { display: block; width: auto; max-width: 100%; max-height: 300px; height: auto; }
.home-potw-caption { overflow-wrap: anywhere; }
.home-potw-caption img, .home-potw-caption table { max-width: 100%; }
.home-secondary-link { display: inline-block; padding: 8px 0; font-size: .85rem; }
.home-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
.home-form label { font-size: .9rem; font-weight: 700; }
.home-form input, .home-form select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; background: #f4f4f4; border: 1px solid #aaa; border-radius: 4px; color: #111; font: 16px/1.4 Arial,Helvetica,sans-serif; }
.home-form .home-form-actions { margin-top: 7px; }
.home-date-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.home-date-form label { display: block; margin-bottom: 6px; }
.home-date-form button { grid-column: 1/-1; justify-self: start; }
.home-panel hr { border: 0; border-top: 1px solid #414141; margin: 24px 0; }
.home-earlier { margin: 0 0 30px; }
.home-shell summary { cursor: pointer; font-weight: bold; min-height: 44px; padding: 8px 0; }
.home-update-list { list-style: none; margin: 10px 0 18px; padding: 0; }
.home-update-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #363636; }
.home-update-list li > div { min-width: 0; overflow-wrap: anywhere; }
.home-update-list .home-new { margin: 0 0 0 5px; }
.home-update-list p { margin: 3px 0 0; }
.home-category-grid, .home-history-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.home-category, .home-history-card { padding: 16px; text-align: center; }
.home-category .home-card-image, .home-history-card .home-card-image { padding: 10px 0; }
.home-history-card p { overflow-wrap: anywhere; }
.home-admin { margin-bottom: 20px; padding: 8px 18px; border-color: #66502c; }
.home-admin-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 0; }
.home-admin-links a { display: inline-flex; align-items: center; min-height: 44px; }
.home-video-note { color: #bcbcbc; font-size: .9rem; padding: 12px 0; }
@media (max-width: 1199px) { .home-update-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .home-category-grid, .home-history-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 899.98px) {
 .home-desktop-only { display: none !important; }
 .home-feature-grid { grid-template-columns: minmax(0,1fr); }
 .home-update-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-shell { padding: 20px 16px; }
}
@media (max-width: 599.98px) {
 .home-update-grid { grid-template-columns: minmax(0,1fr); }
 .home-shell { padding: 16px 12px; }
 .home-panel { padding: 17px; }
 .home-intro { padding-bottom: 20px; }
 .home-card-image { min-height: 140px; }
 .home-card-image img { max-height: 200px; }
 .home-card-body { padding: 16px; }
 .home-quick-links > a { flex: 1 1 100%; }
 .home-form-actions > button { flex: 1 1 auto; }
 .home-date-form { grid-template-columns: minmax(0,1fr); }
 .home-date-form button { width: 100%; }
}
