:root {
    --ra-navy: #1C3A6D;
    --ra-blue: #2780e3;
    --ra-dark: #141414;
    --ra-surface: #ffffff;
    --ra-muted: #5a5a5a;
    --ra-border: #e2e8f0;
    --ra-bg: #f4f7fb;
    --ra-radius: 12px;
    --ra-shadow: 0 8px 30px rgba(29, 59, 111, 0.08);
}

body {
    background: var(--ra-bg);
}

.ra-media-header {
    background: var(--ra-surface);
    border-bottom: 1px solid var(--ra-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 0 rgba(29, 59, 111, 0.04);
}

.ra-media-header .navbar {
    padding: 1rem 0;
}

.ra-media-header .navbar-brand img {
    max-height: 42px;
    width: auto;
}

.ra-media-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ra-media-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--ra-navy);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ra-media-nav__link:hover {
    background: rgba(39, 128, 227, 0.08);
    color: var(--ra-blue);
}

.ra-media-nav__link.is-active {
    background: var(--ra-navy);
    color: #fff;
}

.ra-media-search .form-control {
    border-radius: 999px;
    border-color: var(--ra-border);
    min-width: 180px;
    font-size: 0.875rem;
}

.ra-media-search .form-control:focus {
    border-color: var(--ra-blue);
    box-shadow: 0 0 0 0.2rem rgba(39, 128, 227, 0.15);
}

.ra-hero {
    background: linear-gradient(135deg, var(--ra-navy) 0%, #0f2748 100%);
    color: #fff;
    border-radius: var(--ra-radius);
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
}

.ra-hero--compact {
    padding: 2.5rem 2rem;
}

.ra-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.ra-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.ra-hero__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 0;
    opacity: 0.92;
}

.ra-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ra-dark);
}

.ra-section-subtitle,
.ra-subheading {
    color: var(--ra-muted);
}

.ra-subheading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ra-navy);
    margin-bottom: 1rem;
}

.ra-btn-primary {
    background: #1C3A6D;
    border-color: #1C3A6D;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
}

.ra-btn-primary:hover,
.ra-btn-primary:focus {
    background: #152f57;
    border-color: #152f57;
    color: #fff;
}

/* Shared form field styles (newsletter + report download) */
.ra-form-control {
    border-radius: 999px;
    border-color: var(--ra-border);
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
}

.ra-form-control:focus {
    border-color: var(--ra-blue);
    box-shadow: 0 0 0 0.2rem rgba(39, 128, 227, 0.15);
}

.ra-badge {
    display: inline-block;
    background: rgba(39, 128, 227, 0.12);
    color: var(--ra-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ra-featured-report__card,
.ra-report-card,
.ra-download-panel,
.ra-newsletter__card {
    background: var(--ra-surface);
    border: 1px solid var(--ra-border);
    border-radius: var(--ra-radius);
    box-shadow: var(--ra-shadow);
}

.ra-featured-report__card,
.ra-report-card {
    overflow: hidden;
}

.ra-featured-report__image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.ra-featured-report__body {
    padding: 2rem;
}

.ra-featured-report__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ra-featured-report__title a,
.ra-report-card__title a {
    color: var(--ra-dark);
    text-decoration: none;
}

.ra-featured-report__title a:hover,
.ra-report-card__title a:hover {
    color: var(--ra-blue);
}

.ra-featured-report__excerpt,
.ra-report-card__excerpt {
    color: var(--ra-muted);
    line-height: 1.6;
}

.ra-featured-report__meta,
.ra-report-card__date {
    color: var(--ra-muted);
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.ra-report-card__image-wrap {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ra-report-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ra-report-card:hover .ra-report-card__image {
    transform: scale(1.03);
}

.ra-report-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.ra-report-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.ra-report-card__link {
    color: var(--ra-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.ra-report-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ra-category-badge {
    display: inline-block;
    background: rgba(28, 58, 109, 0.1);
    color: var(--ra-navy);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.ra-report-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    color: var(--ra-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.ra-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .ra-sidebar-stack--sticky {
        position: sticky;
        top: 6rem;
        z-index: 10;
    }
}

.ra-featured-mini {
    display: flex;
    gap: 0.875rem;
    text-decoration: none;
    color: inherit;
}

.ra-featured-mini img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.ra-featured-mini h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ra-dark);
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.ra-featured-mini p {
    font-size: 0.75rem;
    color: var(--ra-muted);
    margin: 0;
}

.ra-featured-mini:hover h4 {
    color: var(--ra-blue);
}

.ra-article-body {
    font-size: 1rem;
    line-height: 1.8;
}

.ra-article-body h2,
.ra-article-body h3,
.ra-article-body h4 {
    color: var(--ra-navy);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ra-article-body p {
    margin-bottom: 1.25rem;
}

.ra-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ra-radius);
    margin: 1.5rem 0;
}

.ra-article-body a {
    color: var(--ra-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ra-article-body ul,
.ra-article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.ra-article-body blockquote {
    border-left: 4px solid var(--ra-navy);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: var(--ra-muted);
    font-style: italic;
}

.btn-outline-primary {
    color: var(--ra-navy);
    border-color: var(--ra-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--ra-navy);
    border-color: var(--ra-navy);
    color: #fff;
}

.ra-report-detail__header {
    margin-bottom: 2rem;
}

.ra-back-link {
    display: inline-block;
    color: var(--ra-blue);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
}

.ra-report-detail__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--ra-dark);
    margin-bottom: 1rem;
}

.ra-report-detail__summary {
    font-size: 1.125rem;
    color: var(--ra-muted);
    line-height: 1.7;
    max-width: 800px;
}

.ra-report-detail__cover img {
    width: 100%;
    border-radius: var(--ra-radius);
    box-shadow: var(--ra-shadow);
}

.ra-report-detail__content {
    color: var(--ra-muted);
    line-height: 1.8;
}

.ra-report-detail__row {
    align-items: stretch;
}

.ra-report-detail__sidebar {
    align-self: stretch;
}

.ra-report-detail__aside {
    height: 100%;
}

@media (min-width: 992px) {
    .ra-download-panel--sticky {
        position: sticky;
        top: 6rem;
        z-index: 10;
    }
}

.ra-insight-form__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ra-navy);
    margin-bottom: 0.35rem;
}

.ra-insight-form__subtitle {
    color: var(--ra-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.ra-insight-form--inline .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ra-navy);
}

.ra-download-panel {
    padding: 1.75rem 2rem;
}

.ra-download-panel__description {
    color: var(--ra-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ra-download-form__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ra-navy);
    margin-bottom: 0.35rem;
}

.ra-download-form__subtitle {
    color: var(--ra-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.ra-download-form .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ra-navy);
}

.ra-download-form .form-check-label {
    font-size: 0.8125rem;
    color: var(--ra-muted);
    line-height: 1.5;
}

.ra-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--ra-surface);
    border: 1px dashed var(--ra-border);
    border-radius: var(--ra-radius);
}

.ra-empty-state--compact {
    padding: 1.5rem;
    text-align: left;
}

.ra-category-hero {
    background: var(--ra-surface);
    border: 1px solid var(--ra-border);
    border-radius: var(--ra-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.ra-category-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ra-navy);
    margin-bottom: 0.5rem;
}

.ra-category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    background: var(--ra-surface);
    border: 1px solid var(--ra-border);
    border-radius: var(--ra-radius);
    box-shadow: var(--ra-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ra-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(28, 58, 109, 0.2);
    box-shadow: 0 12px 32px rgba(28, 58, 109, 0.1);
}

.ra-category-card__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ra-navy);
    background: rgba(28, 58, 109, 0.08);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ra-category-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ra-dark);
    margin-bottom: 0.65rem;
}

.ra-category-card__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ra-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.ra-category-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ra-navy);
}

.ra-category-card:hover .ra-category-card__link {
    color: var(--ra-blue);
}

.ra-hub-card {
    display: block;
    border-radius: var(--ra-radius);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: var(--ra-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ra-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(29, 59, 111, 0.14);
}

.ra-hub-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ra-hub-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 20, 20, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.ra-hub-card__label {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .ra-media-nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .ra-download-panel--sticky {
        position: static;
    }

    .ra-sidebar-stack--sticky {
        position: static;
    }

    .ra-report-detail__aside {
        height: auto;
    }

    .ra-hero {
        padding: 2rem 1.25rem;
    }
}

/* Newsletter */
.ra-newsletter {
    padding: 2.5rem 0 3rem;
}

.ra-newsletter__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
}

.ra-newsletter__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ra-navy);
    margin-bottom: 0.25rem;
}

.ra-newsletter__text {
    font-size: 0.875rem;
    color: var(--ra-muted);
    margin-bottom: 0;
}

.ra-newsletter__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 320px;
    max-width: 480px;
}

.ra-newsletter__input {
    flex: 1 1 200px;
    min-width: 0;
}

.ra-newsletter__btn {
    white-space: nowrap;
}

/* Footer */
.ra-media-footer {
    background: var(--ra-surface);
    border-top: 1px solid var(--ra-border);
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.ra-media-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0;
}

.ra-media-footer__nav a {
    color: var(--ra-navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    transition: color 0.2s ease;
}

.ra-media-footer__nav a:hover {
    color: var(--ra-blue);
}

.ra-media-footer__sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--ra-border);
}

.ra-media-footer__divider {
    width: min(100%, 640px);
    height: 1px;
    background: var(--ra-border);
    margin: 1.5rem auto;
}

.ra-media-footer__copy {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ra-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767.98px) {
    .ra-newsletter__card {
        padding: 1.5rem;
    }

    .ra-newsletter__form {
        max-width: none;
        width: 100%;
    }

    .ra-newsletter__btn {
        width: 100%;
    }

    .ra-media-footer__sep {
        display: none;
    }

    .ra-media-footer__nav a {
        padding: 0.35rem 0.5rem;
    }
}
