

/*#region Section Share*/

.section-share {
    margin: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);

    background-image: url('/wp-content/themes/cwp-theme/assets/images/partage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-share__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.section-share__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 160px 0;
}

.section-share__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
}

.section-share__links {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.section-share__link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: .2s;
}

.section-share__link:hover {
    text-decoration: none;
    color:var(--color-bold);
    border-bottom-color: var(--color-bold);
}

/*#endregion Section Share*/

/*#region Articles Slider Section*/

.section--articles-slider {
    margin: 80px 0;
}

.section--articles-slider .section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section--articles-slider .section__nav {
    display: flex;
    gap: 12px;
}

.slider-btn {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border:1px solid var(--color-border);
    color:var(--color-text);
}
.slider-btn--next {
    transform-origin: center center;
    transform: rotate(180deg);
}
.slider-btn  svg{
    width: 12px;
}
.slider-btn  svg *{
    fill:var(--color-nav);
}
.slider-btn:hover {
    border-color:var(--color-bold);
}
.slider-btn:hover svg *{
    fill:var(--color-bold);
}
/* SLIDER */
.articles-slider__wrapper {
    overflow: hidden;
}

.articles-slider__track {
    display: flex;
    gap: 24px;
    transition: transform .35s ease;
}

/* CARD */
.article-card {
    flex: 0 0 calc(25% - 18px); /* 4 cartes visibles */
    display: none;
}
.article-card.is-active{
    display: block;
}
.article-card__figure {
    margin-bottom: 12px;
}

.article-card__figure img {
    width: 100%;
    border-radius: 2px;
    object-fit: cover;
}

.article-card__date {
    font-size: 12px;
    opacity: .7;
    margin-bottom: 8px;
}

.article-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 16px;
}

.article-card__excerpt {
    font-size: 14px;
    opacity: .8;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-card__footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.article-card__link {
    font-size: 12px;
    color: var(--color-text);
}
.article-card__link:hover{
    text-decoration: none;
}
.article-card__link:hover span{
    text-decoration: underline;
}

    /*#endregion Articles Slider Section*/

