.resources-page { background: #f7fafb; min-height: 100vh; }
.resource-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.resource-brand { display: block; width: 240px; max-width: 55%; }
.resource-brand img { display: block; width: 100%; height: auto; }
.resource-navigation { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.resource-navigation select { min-height: 42px; border: 1px solid #9db4be; border-radius: 5px; background: #fff; color: var(--ink); padding: 8px 30px 8px 12px; max-width: 160px; }
.resource-main { max-width: 1040px; padding-block: 52px 48px; }
.resource-main h1 { margin: 12px 0 14px; font-size: clamp(32px,4vw,46px); line-height: 1.2; white-space: normal; }
.resource-intro { color: #536e7c; margin-bottom: 30px; font-size: 16px; }
.resource-file { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 28px; border: 1px solid #d6e1e6; border-radius: 10px; background: #fff; box-shadow: 0 5px 18px #153b4b08; }
.file-symbol { display: grid; place-items: center; width: 62px; height: 78px; border: 1px solid #d3e0e6; border-radius: 7px; background: #eef5f7; color: #0b536b; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.file-category { color: #617e8c; font-size: 12px; margin: 0 0 8px; }
.resource-file h2 { font-size: 25px; line-height: 1.35; margin: 0 0 10px; }
.file-description { color: #536e7c; font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.file-metadata { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; font-size: 12px; }
.file-metadata div { display: flex; gap: 7px; }
.file-metadata dt { color: #6f8793; }
.file-metadata dd { margin: 0; color: #294956; }
.resource-downloads { display: grid; gap: 10px; min-width: 188px; }
.resource-download-light { border-color: #8ca9b6; background: #fff; color: #183d4c; }
.resource-download-light:hover { border-color: #216781; background: #f1f7f9; }
.resource-download { white-space: nowrap; align-self: center; min-height: 46px; padding: 12px 18px; gap: 18px; font-size: 14px; }
.resource-footer { background: var(--surface); border-top: 1px solid #d6e1e6; color: #617e8c; font-size: 12px; }
.resource-footer-inner { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 28px; padding-block: 24px; }
.resource-public-group { min-width: 0; }
.resource-public-group h2 { margin: 0 0 10px; color: #172f3c; font-size: 12px; font-weight: 600; }
.resource-utility-links, .resource-records { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.resource-public-group a, .resource-record { color: #536773; font-size: 12px; line-height: 1.8; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.resource-record { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; }
.resource-record img { display: block; width: 16px; height: 17px; flex: 0 0 auto; }
.resource-footer a:focus-visible { outline: 2px solid #216781; outline-offset: 3px; border-radius: 2px; }
@media (max-width:650px) {
 .resource-header { flex-wrap: wrap; gap: 16px; padding-block: 18px; }
 .resource-brand { max-width: 100%; width: 225px; }
 .resource-navigation { width: 100%; justify-content: space-between; gap: 12px; }
 .resource-main { padding-block: 32px; }
 .resource-intro { margin-bottom: 22px; }
 .resource-file { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
 .file-symbol { display: none; }
 .resource-file h2 { font-size: 23px; }
 .resource-downloads { width: 100%; }
 .resource-download { justify-content: center; width: 100%; }
 .resource-footer-inner { grid-template-columns: 1fr; gap: 18px; }
 .resource-records { gap: 6px 18px; }
}


/* Autumn theme for the public resources page, aligned with the home page roles. */
.resources-page { background: #F7F2E8; color: #302820; }
.resource-header { background: #FFFCF6; border-color: #DDD0BD; }
.resource-navigation a { color: #675448; }
.resource-navigation a:hover { color: #84432E; }
.resource-navigation select { border-color: #BFAF9A; background: #FFFCF6; color: #302820; }
.resource-main { position: relative; }
.resource-main h1 { font-size: clamp(34px, 3.8vw, 44px); line-height: 1.28; }
.resource-intro { color: #675448; font-size: 16px; }
.resource-file { background: #FFFCF6; border-color: #DDD0BD; box-shadow: 0 8px 24px -22px #30282088; }
.file-symbol { border-color: #D6C5AD; background: #F1E7D8; color: #84432E; }
.file-category, .file-description, .file-metadata dt { color: #675448; }
.file-metadata dd { color: #46362C; }
.resource-download { background: #84432E; color: #FFFCF6; }
.resource-download:hover { background: #6F3524; }
.resource-footer { background: #ECE2D2; border-color: #DDD0BD; color: #675448; }
.resource-footer a { color: #675448; }
.resource-footer a:hover { color: #84432E; }
.resource-main .autumn-ornament--resources { right: 2px; top: 26px; width: 52px; opacity: .24; pointer-events: none; }
.resource-navigation select:focus-visible { outline: 3px solid #84432E; outline-offset: 3px; }
.resource-header { background: var(--paper); }
.resource-brand { isolation: isolate; background: var(--paper); }
.resource-brand img { mix-blend-mode: darken; }
@media (max-width:650px) {
 .resource-main h1 { font-size: clamp(32px, 9vw, 38px); }
 .resource-main .autumn-ornament--resources { width: 38px; right: 2px; top: 18px; opacity: .18; }
 .resource-file { border-radius: 8px; }
}
