.resource-hero {
    background: #003777;
    color: #fff;
    padding: 6rem 0 6rem;
    position: relative;
    overflow: hidden;
}
/* Blog / News card */
.blog-card { margin-top: 0; }
.blog-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 6px; }

/* Section head with "View All" link */
.res-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.res-section-head h2 { margin: 0; font-size: 22px; font-weight: 700; color: #1a2e52; }
.res-section-head a  { font-size: 13.5px; font-weight: 600; color: #FB7412; text-decoration: none; }
.res-section-head a:hover { text-decoration: underline; }
.res-section-divider { border: none; border-top: 1.5px solid #e5e7eb; margin: 48px 0; }

/* Type badge */
.res-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
    background: #3b82f622;
    color: #3b82f6;
}

/* Magazine card */
.mag-card {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    background: #fff;
    height: 180px;
    transition: box-shadow .2s;
}
.mag-card:hover { box-shadow: 0 8px 36px rgba(0,0,0,.14); }
.mag-card-cover { width: 200px; flex-shrink: 0; object-fit: cover; height: 100%; }
.mag-card-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; overflow: hidden; }
.mag-issue { font-size: 11.5px; font-weight: 700; color: #FB7412; margin-bottom: 6px; }
.mag-card-body h5 { font-weight: 700; color: #1a2e52; margin: 0 0 4px; }
.mag-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: #1a2e52;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    width: fit-content;
}
.mag-download:hover { background: #FB7412; color: #fff; }

/* Case study card */
.cs-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    background: #fff;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.cs-card:hover { box-shadow: 0 8px 36px rgba(0,0,0,.14); transform: translateY(-3px); }
.cs-card-img { width: 100%; height: 200px; object-fit: cover; }
.cs-card-body { padding: 22px; }
.cs-industry {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: #3b82f622;
    color: #3b82f6;
    margin-bottom: 8px;
}
.cs-client { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.cs-card-body h5 { font-weight: 700; color: #295586; margin: 0 0 10px; line-height: 1.35; }
.cs-card-body p  { line-height: 1.6; margin: 0 0 14px; }

/* Event label badges */
.ev-badge-upcoming { background: #3b82f622; color: #3b82f6; }
.ev-badge-past     { background: #3b82f622; color: #3b82f6; }

/* ── Listing page filter bar ── */
.rf-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 18px 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
}
.rf-search-wrap { position: relative; }
.rf-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}
.rf-search {
    padding: 9px 14px 9px 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    width: 240px;
    background: #fff;
    transition: border-color .2s;
}
.rf-search:focus { border-color: #FB7412; }
.rf-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.rf-cat {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.4;
}
.rf-cat:hover  { border-color: #FB7412; color: #FB7412; }
.rf-cat.active { background: #FB7412; border-color: #FB7412; color: #fff; }
.rf-no-results {
    display: none;
    text-align: center;
    padding: 40px 0;
    color: #94a3b8;
    font-size: 15px;
    width: 100%;
}
@media (max-width: 576px) {
    .rf-bar { flex-direction: column; align-items: stretch; }
    .rf-search { width: 100%; }
}

/* Page sub-section dividers */
.ev-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a2e52;
    padding-bottom: 12px;
    border-bottom: 2px solid #FB7412;
    display: inline-block;
    margin-bottom: 28px;
}

