/* B612 HOME — À LA UNE */

/* =========================================================
   À LA UNE
   ========================================================= */

.b612-home-news-slider {
    position: relative;
    width: 100%;
    height: 325px;

    border-radius: 17px;

    background-image: url("../img/fond-a-la-une.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: visible;
}



/* =========================================================
   ZONE DES SLIDES
   ========================================================= */

.b612-home-news-viewport {

    position: relative;
    z-index: 5;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.b612-home-news-track {

    width: 100%;
    height: 100%;

    display: flex;

    transition:
        transform .45s
        cubic-bezier(.22,.61,.36,1);
}

.b612-home-news-slide {

    position: relative;

    flex:
        0 0 100%;

    width: 100%;
    height: 100%;

    box-sizing: border-box;

    padding:
        25px
        55px;

    display: grid;

    grid-template-columns:
        45%
        55%;

    align-items: center;
}


/* =========================================================
   FORMES ORGANIQUES
   ========================================================= */

.b612-home-news-slide::before {

    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -105px;
    right: -25px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.48);

    pointer-events: none;
}

.b612-home-news-slide::after {

    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    bottom: -150px;
    left: 47%;

    border-radius: 50%;

    background:
        rgba(255,255,255,.45);

    pointer-events: none;
}


/* =========================================================
   COUVERTURE
   ========================================================= */

.b612-home-news-cover {

    position: relative;

    z-index: 2;

    justify-self: center;

    width: 170px;

    display: block;

    text-decoration: none;

    filter:
        drop-shadow(
            0 13px 17px
            rgba(24,45,80,.18)
        );

    transition:
        transform .25s ease;
}

.b612-home-news-cover:hover {

    transform:
        translateY(-5px);
}

.b612-home-news-cover img {

    display: block;

    width: 100%;
    height: auto;

    border-radius: 3px;
}


/* =========================================================
   TEXTE
   ========================================================= */

.b612-home-news-content {

    position: relative;

    z-index: 3;

    padding:
        0
        10px 0 0;
}

.b612-home-news-type {

    display: block;

    margin-bottom: 7px;

    font-family: "Filson Pro", sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .12em;

    color: #153ba5;
}

.b612-home-news-content h2 {

    max-width: 310px;

    margin: 0 0 5px;

    font-family: 'Formiga', sans-serif;
    font-weight: 700;
	font-size: 28px;
    
    font-weight: 500;

    line-height: .94;

    color: #153ba5;
}

.b612-home-news-author {

    margin: 0 0 15px;

    font-family: "Filson Pro", sans-serif;
    font-weight: 800;

    font-size: 1rem;

    color: #153ba5;
}

.b612-home-news-description {

    max-width: 285px;

    margin: 0 0 17px;

    font-family: 'Filson Pro', sans-serif;
    font-weight: 600;

    font-size: 0.95rem;

    line-height: 1.45;

    color: #33456a;
}

.b612-home-news-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    height: 36px;

    padding:
        0
        18px;

    border-radius: 999px;

    background: #ffd32f;

    color: #153ba5;

    font-family: "Filson Pro", sans-serif;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.b612-home-news-button:hover {

    transform:
        translateX(3px);

    background:
        #ffca00;
}

.b612-home-news-button span {

    font-size: 15px;
}


/* =========================================================
   FLÈCHES
   ========================================================= */

.b612-home-news-arrow {

    position: absolute;

    z-index: 30;

    top: 50%;

    width: 38px;
    height: 38px;

    margin: 0;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(18,57,166,.15);

    border-radius: 50%;

    background: #fff;

    color: #1239a6;

    box-shadow:
        0 5px 15px
        rgba(18,57,166,.08);

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.b612-home-news-arrow:hover {

    background:
        #1239a6;

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.05);
}

.b612-home-news-arrow--prev {

    left: 14px;
}

.b612-home-news-arrow--next {

    right: 14px;
}

.b612-home-news-arrow {

    font-size: 18px;
}


/* =========================================================
   POINTS
   ========================================================= */

.b612-home-news-dots {

    height: 18px;

    margin-top: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;
}

.b612-home-news-dot {

    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #c9d0df;

    cursor: pointer;
}

.b612-home-news-dot.is-active {

    background:
        #1239a6;
}

@media (max-width: 700px) {

    .b612-home-news-slider {
    
            height: 480px;
        }

    .b612-home-news-slide {
    
            grid-template-columns: 1fr;
    
            padding:
                30px 45px;
    
            gap: 20px;
    
            text-align: center;
        }

    .b612-home-news-cover {
    
            width: 145px;
    
            justify-self: center;
        }

    .b612-home-news-content {
    
            padding: 0;
        }

    .b612-home-news-description {
    
            margin-left: auto;
            margin-right: auto;
        }
}
