.content-page {
    --page-text: #1e293b;
    --page-muted: #64748b;
    --page-faint: #94a3b8;
    --page-line: #f1f5f9;
    --page-border: #e1e5e9;
    --page-accent: #2563eb;
    background: #f8fafc;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 1.5rem) clamp(3rem, 8vw, 5rem);
}

.content-page__shell {
    max-width: 1200px;
    margin: 0 auto;
}

.content-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    align-items: start;
}

.content-page__layout:not(:has(.content-page__aside)) {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.content-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
    color: var(--page-muted);
}

.content-page__breadcrumb a {
    color: var(--page-accent);
    text-decoration: none;
}

.content-page__breadcrumb a:hover {
    text-decoration: underline;
}

.content-page__breadcrumb-sep {
    color: var(--page-faint);
}

.content-page__header {
    margin-bottom: 1.75rem;
}

.content-page__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    color: var(--page-text);
}

.content-page__eyebrow {
    margin: 0 0 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--page-accent);
}

.content-page__lead {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--page-muted);
}

.content-page__lead p {
    margin: 0 0 0.5rem;
}

.content-page__lead p:last-child {
    margin-bottom: 0;
}

.content-page__meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--page-muted);
}

.content-page__figure {
    margin: 0 0 1.75rem;
}

.content-page__hero-image {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.content-page__body {
    color: var(--page-text);
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: justify;
}

.page-downloads {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--page-border);
}

main .page-downloads__title {
    margin: 0 0 1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    color: #042775;
}

.page-downloads__list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-downloads__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(4, 39, 117, 0.1);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-downloads__item:hover {
    border-color: rgba(4, 39, 117, 0.22);
    box-shadow: 0 14px 28px -20px rgba(4, 39, 117, 0.3);
}

.page-downloads__type {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #042775;
    background: #e6f6fe;
    border-radius: 10px;
}

.page-downloads__copy {
    flex: 1;
    min-width: 0;
}

.page-downloads__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #042775;
    overflow-wrap: anywhere;
}

.page-downloads__desc {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5361;
}

.page-downloads__meta {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #5b6472;
}

.page-downloads__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: #042775;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.page-downloads__btn:hover {
    color: #fff;
    background: #031c56;
}

@media (max-width: 560px) {
    .page-downloads__item {
        flex-wrap: wrap;
    }

    .page-downloads__btn {
        width: 100%;
        justify-content: center;
    }
}

.content-page__aside {
    position: sticky;
    top: calc(var(--nav-height, 56px) + 1rem);
}

.related-topics {
    background: #fff;
    border: 1px solid var(--page-border);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.related-topics__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin: 0 0 1.35rem;
    padding-bottom: 0.35rem;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--page-text);
}

.related-topics__title svg {
    flex-shrink: 0;
}

.related-topics__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-topics__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-topics__item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--page-line);
}

.related-topics__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.related-topics__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 0.375rem;
    overflow: hidden;
}

.related-topics__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-topics__copy {
    min-width: 0;
    flex: 1;
}

.related-topics__name {
    margin: 0 0 0.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}

.related-topics__name a {
    color: var(--page-text);
    text-decoration: none;
}

.related-topics__name a:hover {
    color: var(--page-accent);
}

.related-topics__date {
    font-size: 0.75rem;
    color: var(--page-faint);
}

@media (max-width: 1024px) {
    .content-page__layout,
    .content-page__layout:not(:has(.content-page__aside)) {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 2rem;
    }

    .content-page__aside {
        position: static;
    }
}
