.resources-page {
    --resource-navy: #082844;
    --resource-blue: #123f6b;
    --resource-pale: #eef6fa;
    --resource-line: #d9e4eb;
    --resource-ink: #172b3d;
    --resource-muted: #526579;
    background: #fff;
    color: var(--resource-ink);
}

.resources-page .skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 2000;
    padding: 12px 16px;
    background: #fff;
    color: var(--resource-navy);
    font-weight: 800;
}

.resources-page .skip-link:focus { top: 12px; }
.resource-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.resource-kicker { margin: 0 0 16px; color: #9ddfff; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.resource-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    padding: 138px 0 48px;
    background: #061d33;
}

.resource-hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
.resource-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,44,.96), rgba(5,24,44,.82) 43%, rgba(5,24,44,.28) 76%); }
.resource-hero-grid { position: relative; z-index: 1; display: block; }
.resource-hero-copy { max-width: 760px; }
.resource-hero-copy h1 { max-width: 760px; margin: 0; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 5.4vw, 5.4rem); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.resource-hero-lead { max-width: 700px; margin: 28px 0 0; color: #d8e9f5; font-size: 19px; line-height: 1.7; }
.resource-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.resource-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.resource-btn:hover { transform: translateY(-2px); }
.resource-btn-primary { background: var(--accent-orange); color: #fff; }
.resource-btn-primary:hover { background: #e85825; }
.resource-btn-secondary { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.05); color: #fff; }
.resource-btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.resource-audience { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.resource-audience li { color: #bfd4e2; font-size: 13px; font-weight: 700; }
.resource-audience li::before { content: "✓"; margin-right: 8px; color: #7dd3fc; }

.topic-section { padding: 20px 0 36px; background: var(--resource-pale); }
.topic-group { scroll-margin-top: 105px; padding: 34px 0 42px; border-top: 1px solid #c9d9e2; }
.topic-group:first-child { padding-top: 22px; }
.topic-group:last-child { padding-bottom: 10px; }
.topic-intro { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 24px; margin-bottom: 32px; }
.topic-index { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--resource-blue); color: #fff; font-size: 13px; font-weight: 900; }
.topic-intro h3 { margin: 2px 0 0; color: var(--resource-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.025em; }
.resource-card-grid { display: grid; gap: 22px; }
.resource-card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-card-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-card { display: flex; min-width: 0; overflow: hidden; border: 1px solid var(--resource-line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(8,40,68,.06); flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(8,40,68,.11); }
.resource-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #dfeaf0; }
.resource-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.resource-card:hover .resource-card-image img { transform: scale(1.025); }
.resource-card-image-contain { background: linear-gradient(145deg, #eaf2f7, #fff); }
.resource-card-image-contain img { object-fit: contain; padding: 16px; }
.resource-card-body { display: flex; flex: 1; padding: 25px; flex-direction: column; }
.resource-card-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #6c7f8e; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.resource-card-meta span:first-child { color: #1c6897; }
.resource-card h4 { margin: 0; color: var(--resource-navy); font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.2; }
.resource-card h4 a { color: inherit; text-decoration: none; }
.resource-card p { margin: 14px 0 22px; color: var(--resource-muted); font-size: 14px; line-height: 1.65; }
.resource-card-link { margin-top: auto; color: #145c91; font-size: 14px; font-weight: 800; text-decoration: none; }
.resource-card-link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.resource-card-link:hover span { transform: translateX(4px); }
.resource-card-horizontal { display: grid; grid-template-columns: 46% 54%; }
.resource-card-horizontal .resource-card-image { aspect-ratio: auto; min-height: 330px; }
.resource-card-horizontal .resource-card-body { padding: 30px; }
.resource-card-horizontal h4 { font-size: 27px; }
.resource-tool-visual { position: relative; display: flex; height: 202px; padding: 36px 40px; background: linear-gradient(145deg, #0b3558, #145c87); flex-direction: column; gap: 14px; }
.resource-tool-visual::before { content: ""; position: absolute; top: 24px; right: 28px; width: 62px; height: 74px; border: 1px solid rgba(255,255,255,.2); transform: rotate(6deg); }
.resource-tool-visual span { display: block; width: 68%; height: 7px; border-radius: 99px; background: rgba(255,255,255,.27); }
.resource-tool-visual span:nth-child(2) { width: 82%; }
.resource-tool-visual span:nth-child(3) { width: 54%; }
.resource-tool-visual strong { margin-top: auto; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; }

.resource-help { padding: 54px 0; background: var(--resource-navy); }
.resource-help-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.resource-help h2 { max-width: 760px; margin: 0; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.08; }
.resource-help p:not(.resource-kicker) { max-width: 720px; margin: 20px 0 0; color: #c5d9e7; font-size: 17px; line-height: 1.65; }
.resource-help-actions { display: flex; min-width: 240px; align-items: center; flex-direction: column; gap: 17px; }
.resource-help-actions .resource-btn { width: 100%; }
.resource-help-actions > a:last-child { color: #bce4f7; font-weight: 700; text-decoration: none; }
.resource-safety-note { padding: 16px 0; border-bottom: 1px solid #d3dee5; background: #f6f9fb; }
.resource-safety-note .resource-shell { display: flex; gap: 12px 24px; color: #526579; font-size: 13px; line-height: 1.55; }
.resource-safety-note strong { color: #26465f; white-space: nowrap; }

@media (max-width: 980px) {
    .resource-card-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-card-grid-two { grid-template-columns: 1fr; }
    .resource-help-grid { grid-template-columns: 1fr; }
    .resource-help-actions { width: min(100%, 320px); align-items: flex-start; }
}

@media (max-width: 768px) {
    .resource-shell { width: min(100% - 36px, 680px); }
    .resource-hero { padding: 112px 0 38px; }
    .resource-hero-background { object-position: 62% center; }
    .resource-hero-overlay { background: rgba(5,24,44,.82); }
    .resource-hero-copy h1 { font-size: clamp(2.75rem, 12vw, 4.6rem); }
    .resource-hero-lead { font-size: 17px; }
    .resource-hero-actions { align-items: stretch; flex-direction: column; }
    .resource-btn { width: 100%; white-space: normal; text-align: center; }
    .topic-section { padding-top: 14px; padding-bottom: 26px; }
    .topic-group { padding-top: 28px; padding-bottom: 34px; }
    .topic-group:first-child { padding-top: 18px; }
    .topic-group:last-child { padding-bottom: 8px; }
    .resource-card-grid-three { grid-template-columns: 1fr; }
    .resource-card-horizontal { display: flex; }
    .resource-card-horizontal .resource-card-image { aspect-ratio: 16 / 9; min-height: 0; }
    .topic-intro { grid-template-columns: 46px 1fr; gap: 16px; }
    .topic-index { width: 42px; height: 42px; }
    .resource-help { padding: 44px 0; }
    .resource-safety-note .resource-shell { flex-direction: column; }
    .resource-safety-note strong { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .resources-page *, .resources-page *::before, .resources-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
