.resource-hero {
    background: #003777;
    color: #fff;
    padding: 6rem 0 6rem;
    position: relative;
    overflow: hidden;
}
/* Back link */
.rs-back-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a2e52;
    text-decoration: none;
}
.rs-back-link:hover { color: #FB7412; }

/* Meta row (type chip + date) */
.rs-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-type-chip {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.rs-chip-blog     { background: #8b5cf622; color: #8b5cf6; }
.rs-chip-news     { background: #3b82f622; color: #3b82f6; }
.rs-chip-event    { background: #10b98122; color: #059669; }
.rs-chip-upcoming { background: #10b98122; color: #059669; }
.rs-chip-past     { background: #94a3b822; color: #64748b; }
.rs-date { font-size: 13px; color: #94a3b8; }

/* Article title */
.rs-article-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a2e52;
    line-height: 1.3;
    margin: 0 0 20px;
}

/* Subtitle */
.rs-subtitle {
    font-size: 17px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Featured image */
.rs-featured-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 36px;
}

/* Body content */
.rs-body {
    font-size: 15.5px;
    line-height: 1.85;
    color: #374151;
}
.rs-body p { margin-top: 0; margin-bottom: 14px; }

/* Collapse empty paragraphs and bare <br> tags TinyMCE/Word paste inserts */
.rs-body p:empty,
.rs-body p > br:only-child {
    display: none;
}
.rs-body p:has(> br:only-child) { margin: 0; }
.rs-body > br,
.rs-body ul > br,
.rs-body ol > br,
.rs-body li > br:last-child { display: none; }

/* Event / Case Study sidebar image */
.rs-event-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

/* Event location line */
.rs-event-location {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Info box (sidebar) */
.rs-event-info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 22px;
    border: 1px solid #e5e7eb;
}
.rs-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}
.rs-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.rs-info-row > i {
    color: #FB7412;
    font-size: 15px;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}
.rs-info-row > div { display: flex; flex-direction: column; }
.rs-info-row span  { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.rs-info-row strong { font-size: 14px; color: #1a2e52; font-weight: 600; margin-top: 2px; }

/* Magazine cover */
.rs-mag-cover {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

/* Magazine issue label */
.rs-mag-issue {
    font-size: 12px;
    font-weight: 700;
    color: #FB7412;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

/* PDF download button */
.rs-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a2e52;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
}
.rs-pdf-btn:hover { background: #FB7412; color: #fff; }

/* Case study sections */
.rs-cs-section {
    background: #f8fafc;
    border-left: 4px solid #FB7412;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.rs-cs-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2e52;
    margin-bottom: 10px;
}
.rs-cs-section p { font-size: 14.5px; color: #374151; line-height: 1.75; margin: 0; }

/* Related posts heading */
.rs-related-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a2e52;
    padding-bottom: 12px;
    border-bottom: 2px solid #FB7412;
    display: inline-block;
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    .rs-article-title { font-size: 24px; }
    .rs-featured-img  { max-height: 260px; }
}
