/* Shared resource navigation and the buyer's document/tool directory. */
.site-nav .nav-directory { position: relative; }
.nav-directory-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 310px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 60px rgba(7,30,39,.16); z-index: 40; }
.nav-directory-panel a { display: grid; gap: 3px; min-height: 48px; padding: 11px 13px; color: var(--text); text-decoration: none; border-radius: 6px; }
.nav-directory-panel a:hover, .nav-directory-panel a:focus-visible { background: #edf5f5; color: var(--accent-strong); }
.nav-directory-panel small { color: var(--text-muted); font-size: 12px; font-weight: 400; }
.nav-directory-panel a[aria-current="page"] { background: #edf5f5; color: var(--accent-strong); }
.footer-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.footer-directory .footer-links { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; }
.footer-directory strong { margin: 0 0 8px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.footer-directory .footer-links a { font-size: 13px; min-height: 44px; }
.resource-hero { padding: 76px 0 44px; border-bottom: 1px solid var(--line); background: #edf4f4; }
.resource-hero h1 { max-width: 900px; font-size: clamp(40px,5.3vw,72px); line-height: 1.04; letter-spacing: -.045em; margin: 12px 0 22px; }
.resource-hero p:not(.eyebrow) { max-width: 720px; color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.resource-jumps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.resource-jumps a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.resource-section { padding: 50px 0; scroll-margin-top: 100px; }
.resource-section + .resource-section { border-top: 1px solid var(--line); }
.resource-heading { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 18px; margin-bottom: 26px; align-items: start; }
.resource-heading > span { color: var(--accent-strong); font-size: 16px; font-weight: 700; padding-top: 6px; }
.resource-heading h2 { font-size: clamp(26px,3vw,38px); line-height: 1.15; margin: 0 0 10px; }
.resource-heading p { color: var(--text-muted); max-width: 720px; margin: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.resource-card h3 { font-size: 23px; line-height: 1.2; margin: 0 0 12px; }
.resource-card p { color: var(--text-muted); margin: 0 0 20px; }
.resource-card .text-link { margin-top: auto; }
.resource-kind { display: block; color: var(--accent-strong); margin-bottom: 15px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 750; }
.resource-note { margin: 24px 0 0; max-width: 85ch; color: var(--text-muted); font-size: 14px; }
.buyer-resources { padding: 44px 0; border-block: 1px solid var(--line); background: #edf4f4; scroll-margin-top: 100px; }
.buyer-resources-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.buyer-resources h2 { margin: 0; font-size: 28px; }
.buyer-resources-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.buyer-resource { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.buyer-resource strong { display: block; margin-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.buyer-resource a { display: flex; align-items: center; min-height: 44px; line-height: 1.35; font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.buyer-resource p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 8px 0 0; }
@media (max-width:1200px) {
 .nav-directory-panel { position: static; width: 100%; margin: 4px 0 12px; box-shadow: none; }
 .nav-directory-panel a { padding: 12px; }
}
@media (max-width:800px) {
 .resource-grid, .buyer-resources-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .footer-directory { grid-column: 1 / -1; }
}
@media (max-width:600px) {
 .resource-hero { padding: 44px 0 28px; }
 .resource-hero p:not(.eyebrow) { font-size: 16px; }
 .resource-section { padding: 32px 0; }
 .resource-heading { grid-template-columns: 32px minmax(0,1fr); gap: 10px; }
 .resource-grid, .buyer-resources-grid { grid-template-columns: 1fr; }
 .resource-card { padding: 22px; }
 .footer-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
 .buyer-resources-heading .button { width: 100%; justify-content: center; }
}

.site-nav a[aria-current="page"]:not(.button), .footer-directory a[aria-current="page"] { color: var(--accent-strong); font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
