/*
    Page "Actualités & Publications": navy title band, grid of 3 columns (the cards are the ones of the home page, see recent-articles/css/list-view.css), pagination.
*/
.ik-articles {
    --ik-navy: #0E2861;
    --ik-text: #3d4864;
    --ik-muted: #5a6682;
    --ik-line: #dcdfe8;
    --ik-gold: #D99F40;
}

/* the page builder row around the shortcode: no padding, full width */
#content #post-loop-wrapper-col,
#content #post-loop-wrapper-col .vc_column-inner {
    padding-top: 0 !important;
}

.ik-articles .articles-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- title band ---------- */
.ik-articles .articles-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0 38px;
    background: var(--ik-navy);
    color: #fff;
}

.ik-articles .articles-crumb {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.ik-articles .articles-crumb a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.ik-articles .articles-crumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ik-articles .articles-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px) !important;
    font-weight: 300;
    letter-spacing: .04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.ik-articles .articles-hero h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 18px;
    background: var(--ik-gold);
}

.ik-articles .articles-lead {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px !important;
    line-height: 1.6;
}

/* ---------- grid ---------- */
.ik-articles .articles-body {
    padding-top: 48px;
    padding-bottom: 72px;
}

#content .ik-articles .recent-artickles.remote {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 1023px) {
    #content .ik-articles .recent-artickles.remote {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .ik-articles .articles-wrap {
        padding: 0 16px;
    }

    #content .ik-articles .recent-artickles.remote {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- pagination ---------- */
.ik-articles .articles-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 44px 0 0;
}

.ik-articles .articles-pager a {
    padding: 12px 24px;
    border: 1px solid var(--ik-navy);
    border-radius: 2px;
    color: var(--ik-navy);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.ik-articles .articles-pager a:hover {
    background: var(--ik-navy);
    color: #fff;
}

.ik-articles .articles-pager .count {
    color: var(--ik-muted);
    font-size: 14px;
}

.ik-articles .articles-empty {
    padding: 40px 0;
    color: var(--ik-text);
    font-size: 17px;
}

/* ---------- closing block ---------- */
.ik-articles .articles-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 64px;
    padding: 28px 32px;
    border: 1px solid var(--ik-line);
    background: #f4f6fb;
}

.ik-articles .articles-cta p {
    margin: 0;
    color: var(--ik-navy);
    font-size: 20px !important;
    font-weight: 300;
}

.ik-articles .articles-cta a {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 2px;
    background: var(--ik-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease;
}

.ik-articles .articles-cta a:hover {
    background: #0a1d49;
}
