.rh-blog-page,
.rh-blog-post-page {
    background: #f8fafc;
    color: #001731;
}

.rh-blog-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.rh-blog-post-shell {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
}

.rh-blog-hero {
    padding: 72px 0 50px;
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #dce5f0;
}

.rh-blog-hero-compact {
    padding-bottom: 40px;
}

.rh-blog-eyebrow,
.rh-blog-topic-label {
    margin: 0 0 12px;
    color: #1a56db;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rh-blog-hero h1,
.rh-blog-article-head h1 {
    margin: 0;
    color: #001731;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 800;
}

.rh-blog-hero-copy {
    max-width: 760px;
    margin: 20px 0 0;
    color: #526274;
    font-size: 18px;
    line-height: 1.7;
}

.rh-blog-categories {
    padding: 22px 0;
    background: #fff;
    border-bottom: 1px solid #e3eaf2;
}

.rh-blog-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rh-blog-category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d7e1ec;
    border-radius: 999px;
    background: #fff;
    color: #18324c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.rh-blog-category-chip:hover {
    border-color: #9cb7eb;
    color: #1a56db;
    background: #f4f7ff;
}

.rh-blog-category-chip.is-active {
    border-color: #001731;
    background: #001731;
    color: #fff;
}

.rh-blog-featured-wrap {
    padding: 54px 0 20px;
}

.rh-blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 23, 49, .07);
}

.rh-blog-featured-media,
.rh-blog-card-media {
    display: block;
    overflow: hidden;
    background: #edf3fb;
    text-decoration: none;
}

.rh-blog-featured-media {
    min-height: 410px;
}

.rh-blog-featured-media img,
.rh-blog-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.rh-blog-featured-content h2,
.rh-blog-card h3,
.rh-blog-section-heading h2,
.rh-blog-cta h2 {
    color: #001731;
    font-weight: 800;
    letter-spacing: -.025em;
}

.rh-blog-featured-content h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.12;
}

.rh-blog-featured-content h2 a,
.rh-blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.rh-blog-featured-content > p:not(.rh-blog-topic-label) {
    margin: 0;
    color: #586879;
    font-size: 16px;
    line-height: 1.7;
}

.rh-blog-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e4eaf1;
}

.rh-blog-featured-meta time,
.rh-blog-card-topline,
.rh-blog-post-date {
    color: #748295;
    font-size: 13px;
    font-weight: 600;
}

.rh-blog-list-section,
.rh-blog-related {
    padding: 48px 0 78px;
}

.rh-blog-related {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.rh-blog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.rh-blog-section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.12;
}

.rh-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rh-blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dce5f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 23, 49, .055);
}

.rh-blog-card-media {
    aspect-ratio: 16 / 9;
}

.rh-blog-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001731 0%, #1a56db 72%, #f1672f 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.rh-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.rh-blog-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rh-blog-card-topline span {
    color: #1a56db;
}

.rh-blog-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.28;
}

.rh-blog-card-body > p {
    margin: 0 0 22px;
    color: #5d6b7b;
    font-size: 14px;
    line-height: 1.65;
}

.rh-blog-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: #1a56db;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.rh-blog-arrow-link span {
    color: #f1672f;
    font-size: 18px;
}

.rh-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 42px;
}

.rh-blog-page-link,
.rh-blog-page-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.rh-blog-page-link {
    border: 1px solid #d7e1ec;
    background: #fff;
    color: #1a56db;
    text-decoration: none;
}

.rh-blog-page-status {
    color: #667789;
}

.rh-blog-empty,
.rh-blog-not-found {
    padding: 56px 0;
    text-align: center;
}

.rh-blog-article-head {
    padding: 64px 0 38px;
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
}

.rh-blog-back-link {
    display: inline-flex;
    margin-bottom: 30px;
    color: #5a6a7c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.rh-blog-article-head .rh-blog-topic-label {
    display: inline-flex;
    margin-bottom: 14px;
    text-decoration: none;
}

.rh-blog-article-head h1 {
    font-size: clamp(38px, 5vw, 58px);
}

.rh-blog-post-excerpt {
    max-width: 780px;
    margin: 20px 0 0;
    color: #556678;
    font-size: 19px;
    line-height: 1.7;
}

.rh-blog-post-date {
    display: inline-flex;
    margin-top: 20px;
}

.rh-blog-article-image {
    overflow: hidden;
    margin: 42px 0 0;
    border-radius: 26px;
    background: #eaf0f7;
    box-shadow: 0 18px 48px rgba(0, 23, 49, .08);
}

.rh-blog-article-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.rh-blog-content {
    padding: 42px 0 20px;
    color: #26394d;
    font-size: 17px;
    line-height: 1.85;
}

.rh-blog-content h2,
.rh-blog-content h3 {
    color: #001731;
    font-weight: 800;
    letter-spacing: -.02em;
}

.rh-blog-content h2 {
    margin: 38px 0 14px;
    font-size: 30px;
    line-height: 1.2;
}

.rh-blog-content h3 {
    margin: 28px 0 12px;
    font-size: 23px;
}

.rh-blog-content p {
    margin: 0 0 20px;
}

.rh-blog-content ul,
.rh-blog-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.rh-blog-content li {
    margin: 8px 0;
}

.rh-blog-content a {
    color: #1a56db;
}

.rh-blog-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 34px 0 70px;
    padding: 30px;
    border: 1px solid #d7e5ff;
    border-radius: 24px;
    background: #f1f6ff;
}

.rh-blog-cta h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.rh-blog-cta p:not(.rh-blog-eyebrow) {
    max-width: 600px;
    margin: 0;
    color: #586879;
    line-height: 1.6;
}

.rh-blog-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: #f1672f;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .rh-blog-featured-card {
        grid-template-columns: 1fr;
    }

    .rh-blog-featured-media {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .rh-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .rh-blog-shell,
    .rh-blog-post-shell {
        width: min(100% - 28px, 1180px);
    }

    .rh-blog-hero,
    .rh-blog-article-head {
        padding-top: 46px;
    }

    .rh-blog-hero h1,
    .rh-blog-article-head h1 {
        font-size: 38px;
    }

    .rh-blog-hero-copy,
    .rh-blog-post-excerpt {
        font-size: 16px;
    }

    .rh-blog-featured-wrap {
        padding-top: 32px;
    }

    .rh-blog-featured-content {
        padding: 26px;
    }

    .rh-blog-featured-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rh-blog-grid {
        grid-template-columns: 1fr;
    }

    .rh-blog-list-section,
    .rh-blog-related {
        padding: 36px 0 58px;
    }

    .rh-blog-content {
        padding-top: 30px;
        font-size: 16px;
    }

    .rh-blog-content h2 {
        font-size: 26px;
    }

    .rh-blog-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }
}
