.zu-resource-page {
    --resource-green: #009b4d;
    --resource-deep: #063b23;
    --resource-dark: #032a19;
    --resource-yellow: #fff200;
    --resource-ink: #16382a;
    --resource-muted: #667b70;
    --resource-soft: #f2f8f5;
    overflow: hidden;
    background: #fff;
    color: var(--resource-ink);
}

.zu-resource-page h1, .zu-resource-page h2, .zu-resource-page h3, .zu-resource-page p { margin-top: 0; }
.resource-hero { position: relative; min-height: 430px; display: flex; align-items: center; isolation: isolate; background-size: cover; background-position: center; }
.resource-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,38,21,.97), rgba(4,65,36,.88) 54%, rgba(3,45,27,.56)); }
.resource-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, transparent 52%, rgba(0,155,77,.35)), radial-gradient(circle at 70% 25%, rgba(255,242,0,.14), transparent 27%); }
.resource-downloads-hero { background-position: center 38%; }
.resource-eyebrow, .resource-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--resource-green); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.resource-eyebrow { margin-bottom: 17px; color: var(--resource-yellow); }
.resource-hero h1 { max-width: 820px; margin-bottom: 14px; color: #fff; font-size: clamp(3rem, 6vw, 5rem); font-weight: 850; letter-spacing: -.055em; line-height: .97; }
.resource-hero p { max-width: 720px; margin-bottom: 26px; color: rgba(255,255,255,.8); font-size: 1.07rem; line-height: 1.75; }
.resource-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.resource-primary-btn, .resource-ghost-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 11px; font-weight: 800; text-decoration: none; transition: .25s ease; }
.resource-primary-btn { border: 0; background: var(--resource-yellow); color: var(--resource-dark); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.resource-primary-btn:hover { color: var(--resource-dark); transform: translateY(-2px); }
.resource-ghost-btn { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.07); }
.resource-ghost-btn:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.13); }
.resource-orb { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; animation: resourceFloat 7s ease-in-out infinite; }
.resource-orb-one { width: 210px; height: 210px; right: 10%; top: 16%; }
.resource-orb-two { width: 80px; height: 80px; right: 29%; bottom: 10%; animation-delay: -2.5s; }

.resource-switcher-section { position: relative; z-index: 5; margin-top: -34px; }
.resource-switcher { display: grid; grid-template-columns: repeat(2,1fr); max-width: 800px; overflow: hidden; border: 1px solid #e0eee6; border-radius: 20px; background: #fff; box-shadow: 0 20px 48px rgba(7,55,31,.14); }
.resource-switcher a { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: var(--resource-ink); text-decoration: none; border-right: 1px solid #e3eee7; transition: background .25s ease; }
.resource-switcher a:last-child { border-right: 0; }
.resource-switcher a:hover { background: var(--resource-soft); }
.resource-switcher a.active { background: var(--resource-deep); color: #fff; }
.resource-switcher a > span { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: var(--resource-soft); color: var(--resource-green); }
.resource-switcher a.active > span { background: var(--resource-yellow); color: var(--resource-deep); }
.resource-switcher small, .resource-switcher strong { display: block; }
.resource-switcher small { color: #7d9086; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.resource-switcher a.active small { color: rgba(255,255,255,.59); }
.resource-switcher strong { margin-top: 2px; font-size: .96rem; }

.resource-intro-section { padding: 70px 0 35px; }
.resource-intro { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.resource-intro h2 { margin: 8px 0 10px; color: var(--resource-deep); font-size: clamp(2rem,4vw,2.8rem); font-weight: 830; letter-spacing: -.04em; }
.resource-intro p { max-width: 670px; margin-bottom: 0; color: var(--resource-muted); line-height: 1.75; }
.resource-trust { min-width: 310px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 15px; background: var(--resource-soft); }
.resource-trust > i { color: var(--resource-green); font-size: 1.45rem; }
.resource-trust small, .resource-trust strong { display: block; }
.resource-trust small { color: #788c81; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.resource-trust strong { margin-top: 2px; color: var(--resource-deep); font-size: .9rem; }

.resource-directory-section, .document-library-section { padding: 25px 0 76px; }
.resource-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; padding: 13px 16px; border: 1px solid #e1eee6; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(7,55,31,.06); }
.resource-toolbar label { position: relative; flex: 1; max-width: 500px; margin: 0; }
.resource-toolbar label i { position: absolute; left: 14px; top: 50%; color: var(--resource-green); transform: translateY(-50%); }
.resource-toolbar input { width: 100%; height: 43px; padding: 0 14px 0 42px; border: 1px solid #dce9e1; border-radius: 11px; outline: none; background: #f9fcfa; color: var(--resource-ink); }
.resource-toolbar input:focus { border-color: var(--resource-green); box-shadow: 0 0 0 3px rgba(0,155,77,.1); }
.resource-toolbar > span { color: var(--resource-muted); font-size: .81rem; white-space: nowrap; }
.resource-link-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }
.resource-link-card { position: relative; min-height: 305px; display: flex; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid #dfece4; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(7,55,31,.06); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.resource-link-card::after { content: ""; position: absolute; right: -48px; top: -48px; width: 125px; height: 125px; border-radius: 50%; background: rgba(0,155,77,.06); transition: transform .4s ease; }
.resource-link-card:hover { transform: translateY(-7px); border-color: rgba(0,155,77,.38); box-shadow: 0 20px 44px rgba(7,55,31,.12); }
.resource-link-card:hover::after { transform: scale(1.25); }
.resource-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.resource-card-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: var(--resource-soft); color: var(--resource-green); font-size: 1.25rem; transition: .3s ease; }
.resource-link-card:hover .resource-card-icon { background: var(--resource-green); color: #fff; }
.resource-card-number { color: #d3dfd8; font-size: 1.55rem; font-weight: 800; }
.resource-card-category, .document-category { color: var(--resource-green); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.resource-link-card h3 { margin: 7px 0 9px; color: var(--resource-deep); font-size: 1.25rem; font-weight: 800; }
.resource-link-card p { flex: 1; margin-bottom: 20px; color: var(--resource-muted); font-size: .9rem; line-height: 1.68; }
.resource-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #e7f0ea; }
.resource-card-footer > span { color: #668175; font-size: .74rem; }
.resource-card-footer > span i { margin-right: 5px; color: var(--resource-green); font-size: .48rem; vertical-align: middle; }
.resource-card-footer a { color: var(--resource-deep); font-size: .82rem; font-weight: 800; text-decoration: none; }
.resource-card-footer a:hover { color: var(--resource-green); }
.resource-card-footer a i { margin-left: 5px; }

.document-library-section { background: #f8fbf9; padding-top: 35px; }
.document-toolbar { flex-wrap: wrap; }
.document-filters { display: flex; align-items: center; gap: 5px; padding: 4px; border-radius: 11px; background: var(--resource-soft); }
.document-filters button { padding: 7px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--resource-muted); font-size: .75rem; font-weight: 750; }
.document-filters button.active { background: var(--resource-deep); color: #fff; box-shadow: 0 6px 15px rgba(6,59,35,.16); }
.document-list { display: grid; gap: 15px; }
.document-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px; border: 1px solid #dfece4; border-radius: 19px; background: #fff; box-shadow: 0 10px 30px rgba(7,55,31,.05); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.document-card:hover { transform: translateY(-4px); border-color: rgba(0,155,77,.35); box-shadow: 0 18px 40px rgba(7,55,31,.1); }
.document-icon { width: 76px; height: 86px; position: relative; display: grid; place-items: center; border-radius: 15px; background: var(--resource-soft); color: var(--resource-green); font-size: 1.65rem; }
.document-icon span { position: absolute; bottom: 7px; font-size: .58rem; font-weight: 850; letter-spacing: .09em; }
.document-main h3 { margin: 5px 0 7px; color: var(--resource-deep); font-size: 1.18rem; font-weight: 800; }
.document-main p { max-width: 750px; margin-bottom: 10px; color: var(--resource-muted); font-size: .86rem; line-height: 1.6; }
.document-meta { display: flex; flex-wrap: wrap; gap: 17px; color: #758b80; font-size: .72rem; }
.document-meta i { margin-right: 5px; color: var(--resource-green); }
.document-actions { display: flex; align-items: center; gap: 9px; }
.document-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 10px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.document-preview { border: 1px solid #d9e7df; color: var(--resource-deep); background: #fff; }
.document-preview:hover { border-color: var(--resource-green); color: var(--resource-green); }
.document-download { background: var(--resource-green); color: #fff; box-shadow: 0 9px 20px rgba(0,155,77,.18); }
.document-download:hover { background: var(--resource-deep); color: #fff; }

.resource-empty { display: none; padding: 55px 20px; text-align: center; color: var(--resource-muted); }
.resource-empty.is-visible { display: block; }
.resource-empty i { margin-bottom: 13px; color: var(--resource-green); font-size: 2rem; }
.resource-empty h3 { margin-bottom: 6px; color: var(--resource-deep); }
.resource-help-section { padding: 0 0 76px; }
.resource-help-section .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 27px 31px; border-radius: 21px; background: linear-gradient(115deg, #078c49, #005d31); color: #fff; box-shadow: 0 20px 43px rgba(0,93,49,.17); }
.resource-help-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: var(--resource-yellow); color: var(--resource-deep); font-size: 1.35rem; }
.resource-help-section small { color: var(--resource-yellow); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.resource-help-section h2 { margin: 3px 0; color: #fff; font-size: 1.55rem; font-weight: 800; }
.resource-help-section p { margin: 0; color: rgba(255,255,255,.68); }
.resource-help-section .btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 10px; background: #fff; color: var(--resource-deep); font-weight: 800; white-space: nowrap; }
.resource-help-section .btn:hover { background: var(--resource-yellow); }

[data-resource-search][hidden] { display: none !important; }
.resource-reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s ease var(--resource-delay,0ms), transform .62s ease var(--resource-delay,0ms); }
.resource-reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes resourceFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-13px) rotate(6deg); } }

@media (max-width: 991.98px) {
    .resource-link-grid { grid-template-columns: repeat(2,1fr); }
    .resource-intro { align-items: stretch; flex-direction: column; }
    .resource-trust { min-width: 0; max-width: 430px; }
    .document-card { grid-template-columns: auto 1fr; }
    .document-actions { grid-column: 2; }
    .resource-help-section .container { grid-template-columns: auto 1fr; }
    .resource-help-section .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 767.98px) {
    .resource-hero { min-height: 400px; }
    .resource-hero h1 { font-size: 3rem; }
    .resource-switcher { grid-template-columns: 1fr; }
    .resource-switcher a { border-right: 0; border-bottom: 1px solid #e3eee7; }
    .resource-switcher a:last-child { border-bottom: 0; }
    .resource-intro-section { padding-top: 58px; }
    .resource-toolbar { align-items: stretch; flex-direction: column; }
    .resource-toolbar label { max-width: none; }
    .document-filters { align-self: flex-start; max-width: 100%; overflow-x: auto; }
    .document-card { grid-template-columns: 1fr; }
    .document-icon { width: 62px; height: 70px; }
    .document-actions { grid-column: auto; }
}

@media (max-width: 575.98px) {
    .resource-hero-actions { align-items: flex-start; flex-direction: column; }
    .resource-link-grid { grid-template-columns: 1fr; }
    .resource-link-card { min-height: 285px; }
    .document-actions { align-items: stretch; flex-direction: column; }
    .document-actions a { width: 100%; }
    .resource-help-section .container { grid-template-columns: 1fr; padding: 25px; }
    .resource-help-section .btn { grid-column: auto; justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    .resource-reveal { opacity: 1; transform: none; transition: none; }
    .resource-orb { animation: none; }
    .resource-link-card, .document-card { transition: none; }
}
