.article-shell {
    width: min(1600px, calc(100% - 40px));
    margin-inline: auto;
}

.article-breadcrumbs {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #777b87;
    font-size: 11px;
    line-height: 1.4;
}

.article-breadcrumbs a {
    color: #1e247a;
}

.article-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-breadcrumbs > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-detail-hero {
    padding-bottom: 42px;
    background: #f1f0f8;
}

.article-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, .9fr);
    min-height: 510px;
    overflow: hidden;
    border: 1px solid rgba(30, 36, 122, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(24, 28, 78, .08);
}

.article-detail-hero__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 5vw, 80px);
}

.article-detail-hero__eyebrow,
.articles-archive-hero__copy > span {
    display: block;
    margin-bottom: 18px;
    color: #1e247a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.article-detail-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #20222a;
    font-size: clamp(40px, 4.15vw, 44px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -1.7px;
    overflow-wrap: anywhere;
}

.article-detail__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.article-detail__categories a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid #d9dce6;
    border-radius: 999px;
    background: #f7f7fb;
    color: #1e247a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.article-detail__categories a:hover {
    border-color: #1e247a;
    background: #1e247a;
    color: #fff;
}

.article-detail-hero__media {
    position: relative;
    min-height: 510px;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #dfe2f1, #cbd0eb);
}

.article-detail-hero__media picture,
.article-detail-hero__media img {
    width: 100%;
    height: 100%;
}

.article-detail-hero__media img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.article-detail-hero__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 36, 122, .08), transparent 30%);
    content: "";
    pointer-events: none;
}

.article-detail-hero__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(145deg, #1e247a, #363ca1);
    color: #fff;
}

.article-detail-hero__media--placeholder span {
    font-size: clamp(64px, 7vw, 104px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -7px;
}

.article-detail-hero__media--placeholder small {
    margin-top: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.article-detail {
    padding: 64px 0 82px;
    background: #fff;
}

.article-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: start;
}

.article-detail__content.rich-text {
    min-width: 0;
    max-width: none;
    color: #4f5360;
    font-size: 17px;
    line-height: 1.78;
}

.article-detail__content.rich-text h2 {
    margin: 52px 0 20px;
    color: #242733;
    font-size: clamp(31px, 2.6vw, 42px);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.8px;
}

.article-detail__content.rich-text h3 {
    margin: 38px 0 16px;
    color: #292c37;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.35px;
}

.article-detail__content.rich-text h4 {
    margin: 30px 0 14px;
    color: #292c37;
    font-size: 21px;
    line-height: 1.3;
}

.article-detail__content.rich-text p {
    margin: 0 0 22px;
}

.article-detail__content.rich-text ul,
.article-detail__content.rich-text ol {
    display: grid;
    gap: 10px;
    margin: 22px 0 28px;
    padding-left: 25px;
}

.article-detail__content.rich-text li::marker {
    color: #1e247a;
    font-weight: 700;
}

.article-detail__content.rich-text blockquote {
    margin: 34px 0;
    padding: 26px 30px;
    border: 0;
    border-left: 4px solid #1e247a;
    border-radius: 0 10px 10px 0;
    background: #f1f0f8;
    color: #343846;
    font-size: 18px;
    line-height: 1.65;
}

.article-detail__content.rich-text img {
    width: auto;
    max-width: 100%;
    margin: 32px 0;
    border-radius: 16px;
}

.article-detail__content.rich-text table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.article-detail__content.rich-text th,
.article-detail__content.rich-text td {
    padding: 14px;
    border: 1px solid #dfe2e8;
    text-align: left;
    vertical-align: top;
}

.article-detail__content.rich-text th {
    background: #f1f0f8;
    color: #272a35;
    font-weight: 600;
}

.article-detail__sidebar {
    position: sticky !important;
    top: 118px;
}

.article-detail__related .avis-block {
    padding-top: 72px;
    padding-bottom: 78px;
    background: #f7f8fa;
}

.article-detail__related .avis-block-heading h2 {
    font-size: clamp(34px, 3.1vw, 48px);
}

.articles-archive-hero {
    padding-bottom: 58px;
    background: #f1f0f8;
}

.articles-archive-hero__copy {
    padding: 48px 0 10px;
}

.articles-archive-hero__copy h1 {
    max-width: 1100px;
    margin: 0;
    color: #20222a;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.8px;
}

.articles-archive-hero__copy p {
    max-width: 790px;
    margin: 22px 0 0;
    color: #626671;
    font-size: 16px;
    line-height: 1.65;
}

.articles-archive {
    padding: 42px 0 78px;
    background: #f7f8fa;
}

.articles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.articles-filters a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #dfe1e8;
    border-radius: 8px;
    background: #fff;
    color: #525663;
    font-size: 12px;
    font-weight: 500;
}

.articles-filters a small {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #eeedf5;
    color: #1e247a;
    font-size: 9px;
}

.articles-filters a:hover,
.articles-filters a.is-active {
    border-color: #1e247a;
    background: #1e247a;
    color: #fff;
}

.articles-filters a:hover small,
.articles-filters a.is-active small {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.articles-archive__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.article-archive-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e2e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(24, 29, 74, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-archive-card:hover {
    border-color: rgba(30, 36, 122, .28);
    box-shadow: 0 18px 42px rgba(24, 29, 74, .1);
    transform: translateY(-3px);
}

.article-archive-card__media {
    display: block;
    aspect-ratio: 398 / 320;
    overflow: hidden;
    background: linear-gradient(145deg, #e4e6f4, #cfd3ed);
}

.article-archive-card__media picture,
.article-archive-card__media img {
    width: 100%;
    height: 100%;
}

.article-archive-card__media img {
    object-fit: cover;
    transition: transform .35s ease;
}

.article-archive-card:hover .article-archive-card__media img {
    transform: scale(1.035);
}

.article-archive-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(30, 36, 122, .42);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -4px;
}

.article-archive-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.article-archive-card__categories {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.article-archive-card__categories a {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f1f0f8;
    color: #1e247a;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

.article-archive-card h2 {
    margin: 0;
    color: #252833;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.25px;
}

.article-archive-card h2 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.article-archive-card__body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 13px 0 0;
    color: #6a6e7a;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-archive-card__more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 20px;
    color: #1e247a;
    font-size: 12px;
    font-weight: 600;
}

.article-archive-card__more svg {
    width: 13px;
    fill: currentColor;
    transition: transform .18s ease;
}

.article-archive-card:hover .article-archive-card__more svg {
    transform: translateX(3px);
}

.articles-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 36px;
}

.articles-pagination a {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #dde0e7;
    border-radius: 7px;
    background: #fff;
    color: #1e247a;
    font-size: 12px;
    font-weight: 600;
}

.articles-pagination a:hover,
.articles-pagination a.is-active {
    border-color: #1e247a;
    background: #1e247a;
    color: #fff;
}

.articles-archive__empty {
    padding: 50px 24px;
    border: 1px solid #e0e2e7;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.articles-archive__empty h2 {
    margin: 0;
    font-size: 28px;
}

.articles-archive__empty p {
    margin: 12px 0 24px;
    color: #686c78;
}

.articles-archive__empty a {
    display: inline-flex;
    padding: 13px 18px;
    border-radius: 7px;
    background: #1e247a;
    color: #fff;
}

@media (max-width: 1250px) {
    .article-detail-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(410px, .85fr);
        min-height: 470px;
    }

    .article-detail-hero__media {
        min-height: 470px;
    }

    .article-detail__layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 28px;
    }

    .articles-archive__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .article-detail-hero__grid,
    .article-detail__layout {
        grid-template-columns: 1fr;
    }

    .article-detail-hero__copy {
        min-height: 380px;
        padding: 44px 36px;
    }

    .article-detail-hero__media {
        min-height: 410px;
    }

    .article-detail__sidebar {
        position: static !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .article-shell {
        width: calc(100% - 28px);
    }

    .article-breadcrumbs {
        min-height: 44px;
    }

    .article-detail-hero {
        padding-bottom: 28px;
    }

    .article-detail-hero__grid {
        border-radius: 14px;
    }

    .article-detail-hero__copy {
        min-height: 330px;
        padding: 34px 22px;
    }

    .article-detail-hero__eyebrow {
        margin-bottom: 13px;
        font-size: 9px;
    }

    .article-detail-hero h1 {
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -.8px;
    }

    .article-detail__categories {
        margin-top: 23px;
    }

    .article-detail__categories a {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .article-detail-hero__media {
        min-height: 285px;
    }

    .article-detail {
        padding: 42px 0 55px;
    }

    .article-detail__content.rich-text {
        font-size: 16px;
        line-height: 1.72;
    }

    .article-detail__content.rich-text h2 {
        margin-top: 40px;
        font-size: 29px;
    }

    .article-detail__content.rich-text h3 {
        margin-top: 32px;
        font-size: 23px;
    }

    .article-detail__content.rich-text blockquote {
        margin: 27px 0;
        padding: 21px 19px;
        font-size: 16px;
    }

    .article-detail__content.rich-text table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .article-detail__sidebar {
        grid-template-columns: 1fr;
    }

    .article-detail__related .avis-block {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .articles-archive-hero {
        padding-bottom: 42px;
    }

    .articles-archive-hero__copy {
        padding-top: 31px;
    }

    .articles-archive-hero__copy h1 {
        font-size: 39px;
        letter-spacing: -.9px;
    }

    .articles-archive-hero__copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .articles-archive {
        padding: 30px 0 54px;
    }

    .articles-archive__grid {
        grid-template-columns: 1fr;
    }

    .article-archive-card__body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-detail *,
    .article-detail-hero *,
    .articles-archive * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
