.resources-hub-hero {
    --rh-orange: var(--exl-primary, #fb4e0b);
    --rh-ink: #172f50;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 60px 0;
    color: #fff;
    background: #001632;
}

.rh-background {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    opacity: .3;
    pointer-events: none;
}

.rh-background img { position: absolute; max-width: none; }
.rh-background-base { width: 100%; height: 100%; object-fit: cover; }
.rh-background-aerial { width: 272.36%; height: 140.82%; left: -86.18%; top: -38.73%; }
.rh-background-vector { position: absolute; left: 0; top: -39px; z-index: -1; max-width: none; pointer-events: none; }
.rh-shell { max-width: 1440px; padding: 0 68px; }
.rh-top { display: grid; grid-template-columns: minmax(0, 1fr) 504px; grid-template-areas: "intro search" "trending trending"; align-items: end; column-gap: 24px; row-gap: 40px; margin-bottom: 60px; }
.rh-intro { grid-area: intro; }
.rh-intro h1 { margin: 0 0 24px; font-size: 64px; line-height: 52px; font-weight: 700; text-transform: uppercase; }
.rh-intro h1::before { content: ""; display: block; width: 126px; height: 5px; margin-bottom: 48px; background: linear-gradient(90deg, #f74d0c, #ffa82b); }
.rh-intro h1 span { color: var(--rh-orange); }
.rh-intro > p { margin: 0; font-size: 24px; line-height: 28px; font-weight: 300; }

.rh-search {
    grid-area: search;
    height: 48px;
    padding: 5px 9px 5px 15px;
    gap: 8px;
    border: 1px solid #f74d0c;
    border-radius: 40px;
    background: #fef7f4;
}

.rh-search > img { flex-shrink: 0; }
.rh-search .form-control { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #172f50; font-size: 16px; line-height: 20px; }
.rh-search .form-control::placeholder { color: #64768c; opacity: 1; }
.rh-search .form-control:focus { box-shadow: none; }
.rh-search .btn { flex-shrink: 0; border: 0; padding: 8px 17px; border-radius: 40px; color: #fff; background: linear-gradient(51deg, #f74d0c 32.383%, #ffa82b 120.96%); font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; }
.rh-trending { grid-area: trending; display: flex; align-items: center; gap: 12px; }
.rh-trending h2 { margin: 0; font-size: 18px; line-height: 20px; font-weight: 500; }
.rh-topics { gap: 12px; }
.rh-topics a { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border: 1px solid #fff; border-radius: 29px; color: #fff; font-size: 14px; line-height: 20px; text-transform: uppercase; white-space: nowrap; }
.rh-topics a:hover { background: rgba(255, 255, 255, .13); }
.rh-feature { padding: 60px 68px; border-radius: 14px; color: var(--rh-ink); background: linear-gradient(25.48deg, #d9cfc8 36.933%, #fef7f4 99.03%); }
.rh-feature-layout { flex-wrap: nowrap; column-gap: 60px; }
.rh-feature-media { position: relative; flex: 0 0 55.13699%; height: 380px; border-radius: 16px; overflow: hidden; }
.rh-feature-media img { position: absolute; width: calc(100% + .6px); height: 434.693px; top: -48.14px; left: .4px; object-fit: cover; max-width: none; }
.rh-feature-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; }
.rh-feature-copy { min-width: 0; }
.rh-feature-tags { display: flex; align-items: center; gap: 20px; color: var(--rh-orange); font-size: 16px; line-height: 18px; font-weight: 700; }
.rh-feature-tags span + span { display: flex; align-items: center; gap: 20px; }
.rh-feature-tags span + span::before { content: ""; display: block; width: 1px; height: 19px; background: #64768c; }
.rh-feature-copy h2 { margin: 20px 0 24px; font-size: 44px; line-height: 38px; font-weight: 700; text-transform: uppercase; }
.rh-feature-copy h2 span { color: var(--rh-orange); }
.rh-feature-description { margin: 0 0 20px; color: #001632; font-size: 24px; line-height: 28px; font-weight: 300; }
.rh-read-more, .rh-read-more:focus { width: fit-content; color: var(--rh-orange); font-size: 14px; line-height: 16px; font-weight: 500; text-transform: uppercase; }
.rh-read-more:hover { color: var(--rh-orange); }
.rh-read-more span { text-decoration: underline; text-underline-offset: 2px; }
.rh-feature-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 32px; }
.rh-author { align-items: center; gap: 12px; }
.rh-author > img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; }
.rh-author-details { min-width: 0; }
.rh-author-name { margin: 0 0 2px; color: #001632; font-size: 20px; line-height: 22px; }
.rh-author-role { margin: 0; color: #384d6a; opacity: .8; font-size: 16px; line-height: 18px; font-weight: 300; white-space: nowrap; }
.rh-article-date { margin: 0; padding-bottom: 4px; color: #384d6a; font-size: 12px; line-height: 16px; white-space: nowrap; }
.resources-hub-hero a:focus-visible,
.resources-hub-hero button:focus-visible { outline: 2px solid var(--rh-orange); outline-offset: 3px; }

/* Dark mode feature styles */
.dark-mode-rh-feature { background: linear-gradient(102.8deg, #001632 -56.63%, #172F50 23.04%, #384D6A 102.7%) !important; color: #fff !important; }
.dark-mode-rh-feature .rh-feature-description {
    color: #fff !important;
}

.dark-mode-rh-feature .rh-author-name, .dark-mode-rh-feature .rh-author-role, .dark-mode-rh-feature .rh-article-date {
  color: #B8C5CD !important;
}

@media (min-width: 992px) and (max-width: 1279.98px) {
    .rh-shell { padding: 0 32px; }
    .rh-top { grid-template-columns: minmax(0, 1fr) 360px; }
    .rh-intro h1 { font-size: 52px; }
    .rh-intro > p { font-size: 20px; }
    .rh-search .form-control { font-size: 14px; }
    .rh-feature { padding: 40px; }
    .rh-feature-layout { column-gap: 32px; }
    .rh-feature-media { flex-basis: 48%; }
    .rh-feature-copy h2 { font-size: 36px; line-height: 32px; }
    .rh-feature-description { font-size: 20px; line-height: 24px; }
    .rh-feature-footer { flex-wrap: wrap; }
    .rh-feature-tags, .rh-feature-tags span + span { gap: 12px; }
    .rh-feature-tags { font-size: 14px; }
}

@media (max-width: 991.98px) {
    .resources-hub-hero { padding: 44px 0; background: #02193c; }
    .rh-shell { max-width: 600px; padding: 0 20px; }
    .rh-background { width: 1983px; height: 1447px; top: -1059px; left: auto; right: -717px; transform: none; mask: url("../images/resources-hub/background-mask.svg") 345px 995px / 1447px 1272px no-repeat; }
    .rh-background-vector { mask: url("../images/resources-hub/background-mask.svg") -528px -25px / 1447px 1272px no-repeat; }
    .rh-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "trending" "search"; gap: 24px; margin-bottom: 24px; }
    .rh-intro h1 { margin-bottom: 12px; font-size: 44px; line-height: 36px; }
    .rh-intro h1::before { width: 68px; height: 2px; margin-bottom: 32px; }
    .rh-intro > p { max-width: 353px; color: #b8c5cd; font-size: 16px; line-height: 18px; }
    .rh-trending { flex-direction: column; align-items: flex-start; gap: 12px; }
    .rh-trending h2 { font-size: 16px; line-height: 18px; }
    .rh-topics { max-width: 353px; }
    .rh-topics a { height: 28px; font-size: 12px; }
    .rh-search { height: 44px; padding: 5px 5px 5px 11px; }
    .rh-search .form-control { font-size: 14px; line-height: 16px; }
    .rh-search .btn { height: 32px; padding: 0 20px; font-weight: 500; }
    .rh-feature { padding: 20px 20px 32px; border-radius: 16px; background: linear-gradient(17.06deg, #fef7f4 24.709%, #d9cfc8 67.031%); }
    .rh-feature-layout { flex-direction: column; gap: 32px; }
    .rh-feature-media { flex: 0 0 auto; width: 100%; height: 203px; mask: none; }
    .rh-feature-media img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; }
    .rh-feature-copy { width: 100%; }
    .rh-feature-tags, .rh-feature-tags span + span { gap: 8px; }
    .rh-feature-tags { font-size: 14px; line-height: 16px; }
    .rh-feature-tags span + span::before { height: 16px; }
    .rh-feature-copy h2 { margin-bottom: 20px; font-size: 36px; line-height: 30px; }
    .rh-feature-description { font-size: 20px; line-height: 22px; }
    .rh-author { align-items: flex-start; }
    .rh-author-name { font-size: 18px; line-height: 18px; }
    .rh-author-role { margin-bottom: 2px; font-weight: 400; line-height: 21px; }
}

@media (max-width: 374.98px) {
    .rh-intro h1 { font-size: 36px; line-height: 32px; }
    .rh-search { gap: 6px; }
    .rh-search .form-control { font-size: 12px; }
    .rh-search .btn { padding: 0 12px; }
    .rh-feature-copy h2 { font-size: 32px; line-height: 28px; }
    .rh-feature-tags { font-size: 12px; }
    .rh-author-role { white-space: normal; font-size: 14px; }
}