/* ---- Resource Hub (page-local; kept out of cached kit.css) ---- */
.res-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg,var(--cs-navy-dark),var(--cs-navy));
    color: #fff;
    padding: 66px 0 58px;
}
.res-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 360px at 85% -10%,rgba(220,52,43,.32),transparent 60%);
    pointer-events: none;
}
.res-hero .container {
    position: relative;
    z-index: 1;
}
.res-hero .eyebrow {
    color: #ff9b86;
    margin: 0 0 10px;
}
.res-hero h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.01em;
}
.res-hero p.lede {
    margin: 14px 0 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
}

.res-section {
    padding: 34px 0 78px;
}
.res-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.res-search {
    position: relative;
    flex: 1;
    min-width: 250px;
}
.res-search input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--cs-grey-300);
    border-radius: var(--r-md);
    font-size: 15px;
    color: var(--cs-grey-800);
    background: #fff;
}
.res-search input:focus {
    outline: none;
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px var(--cs-red-tint);
}
.res-search button {
    position: absolute;
    left: 10px;
    top: 12px;
    border: none;
    background: none;
    color: var(--cs-grey-400);
}
.res-select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--cs-grey-300);
    border-radius: var(--r-md);
    font-size: 15px;
    min-width: 260px;
    background: #fff;
    color: var(--cs-grey-800);
    cursor: pointer;
}
.res-select:focus {
    outline: none;
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px var(--cs-red-tint);
}

.res-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 4px;
}
.res-chip {
    border: 1px solid var(--cs-grey-300);
    background: #fff;
    color: var(--cs-grey-700);
    padding: 8px 14px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.15s var(--ease);
}
.res-chip:hover {
    border-color: var(--cs-red);
    color: var(--cs-red);
}
.res-chip.active {
    background: var(--cs-red);
    border-color: var(--cs-red);
    color: #fff;
}
.res-chip .ct {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
}
.res-chip.active .ct {
    opacity: 0.9;
}

.res-count {
    color: var(--cs-grey-500);
    font-size: 14px;
    margin: 22px 0 16px;
}
.res-count b {
    color: var(--cs-grey-800);
}

.res-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 16px;
    margin-top: 20px;
}
.rcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cs-grey-200);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--sh-sm);
    transition: 0.18s var(--ease);
    cursor: pointer;
}
.rcard:hover {
    box-shadow: var(--sh-card-hover);
    border-color: var(--cs-grey-300);
    transform: translateY(-2px);
}
.rc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}
.rc-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cs-red);
}
.rc-fmt {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    background: var(--cs-grey-100);
    color: var(--cs-grey-600);
}
.fmt-pdf {
    background: var(--cs-red-tint);
    color: var(--cs-red-dark);
}
.fmt-mp4 {
    background: var(--cs-blue-tint);
    color: var(--cs-blue);
}
.rcard h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.34;
    color: var(--cs-grey-900);
    margin: 0 0 16px;
    flex: 1;
}
.rc-view {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cs-grey-800);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.rcard:hover .rc-view {
    color: var(--cs-red);
}

.res-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 64px 20px;
    color: var(--cs-grey-500);
}
.res-empty .ic {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cs-grey-100);
    color: var(--cs-grey-400);
    margin: 0 0 14px;
}
.res-empty h3 {
    margin: 0 0 6px;
    color: var(--cs-grey-800);
    font-size: 18px;
}

@media(max-width:640px) {
    .res-hero h1 {
        font-size: 32px;
    }
    .res-select {
        flex: 1;
        min-width: 0;
    }
}
