html, body {
    display: block !important;
}

#article-page {
    background-color: white;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: Poppins, sans-serif;
    font-weight: 300;
}

#article-page #navbar {
    justify-content: flex-start;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    background: rgb(255, 255, 255, 0.7);
    mix-blend-mode: initial;
    opacity: 1;
}

#article-page #navbar-contact {
    margin-left: auto;
}

#home-slide-contact {
    opacity: 1;
}

#return-to-waigeo {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 50px;
}

#return-to-waigeo svg {
    fill: #04afff;
    width: 28px;
    height: 28px;
    margin-right: 22px;
}

#return-to-waigeo-logo {
    width: 76px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    object-fit: contain;
}

#news-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 5;
}

#news {
    text-align: center;
    flex: 1;
    box-sizing: border-box;
    padding: 0 100px 0 50px;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100vh;
    position: relative;
}

#news::-webkit-scrollbar {
    display: none;
}

.news-title {
    position: relative;
    font-size: 28px;
    font-weight: 600;
    padding-top: 30px;
    padding-bottom: 10px;
    color: #0079D6;
    line-height: 38px;
    z-index: 3;
}

.news-subtitle {
    position: relative;
    font-size: 24px;
    font-weight: 600;
    padding-top: 30px;
    color: rgb(50, 60, 70);
    line-height: 36px;
    z-index: 3;
}

#news-bottom-discover {
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: rgb(50, 60, 70);
    line-height: 34px;
    z-index: 3;
}

#news-date {
    /*font-weight: bold;*/
    font-size: 16px;
    padding-bottom: 30px;
    color: #04afff;
    opacity: 0.8;
}

.news-content {
    position: relative;
    text-align: justify;
    color: rgb(50, 60, 70);
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 400;
    z-index: 3;
    line-height: 20px;
    padding: 30px 0;
    text-align: justify;
}

.news-content.no-padding-top {
    padding-top: 0;
}

.news-content span {
    color: #0079D6;
}

.news-content.with-image {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 0;
}

.news-content.with-image img {
    width: 100px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

#news-image {
    width: 50vw;
    height: 100vh;
    box-sizing: border-box;
    margin-bottom: 80px;
}

#news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#news-image-circle {
    position: fixed;
    width: 100vw;
    height: 180vh;
    top: -40vh;
    right: -50vw;
    box-shadow: 0 0 0 150px white;
    z-index: 2;   
    border-radius: 50%; 
}

#return-btn {
    height: 40px;
    color: #286A9E;
    border: 1px solid rgba(40, 106, 158, 0.25);
    background-color: transparent;
    border-radius: 30px;
    padding: 0 20px;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.15s ease;
    width: -moz-fit-content;
    width: fit-content;
    flex-shrink: 0;
    z-index: 3;
    font-size: 14px;
    text-decoration: none;
    position: absolute;
    margin: 120px auto 0 auto;
    top: 0;
    left: 50px;
}

#return-btn:hover {
    border-color: rgba(40, 106, 158, 0.4);
}

#return-btn svg {
    fill: #286A9E;
    width: 14px;
    height: 14px;
    margin-right: 8px;
}

#article-footer {
    position: relative;
    margin-top: auto;
    padding: 50px 0 30px 0;
    z-index: 3;
}

#article-footer > div:last-child {
    display: flex;
    justify-content: center;
    gap: 50px;
    color: rgb(150, 160, 170);
    font-family: Poppins, sans-serif;
    font-size: 12px;
}

#article-footer a {
    color: rgb(150, 160, 170);
    text-decoration: none;
}

#article-page #home-slide-contact-us-btn {
    font-size: 18px;
    padding: 12px 30px;
    margin-bottom: 30px;
    background-color: #0079d6;
    color: white;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    transition: 0.15s ease;
    overflow: hidden;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 50px auto;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
}

#article-page #home-slide-contact-us-btn:hover {
    background-color: #0083e8;
}

#mobile-menu-btn {
    opacity: 1;
}

#background-image {
    width: calc(100vw + 100px);
    height: 400px;
    z-index: 1;
    position: absolute;
    top: -50px;
    left: -50px;
    opacity: 0.3;
    filter: blur(50px);
    display: none;
}

#background-image img {
    object-fit: cover;
}

#mobile-menu-btn.under-image .menu-bar {
    background-color: #004173;
}

ul {
    padding-inline-start: 18px;
}

#waigeo-logo {
    width: 180px;
    display: block;
    margin: 120px auto 0 auto;
    position: relative;
    z-index: 3;
}

#back-office-page #news-image img, #nbl-back-office img {
    object-position: 90% 50%;
}

#e-commerce #news-image img {
    object-position: 48% 50%;
}

#nbl-e-commerce img {
    object-position: 28% 100%;
}

#logiciels-metiers-page #news-image img, #nbl-logiciels-metiers img {
    object-position: 38% 50%;
}

#ux-page #news-image img {
    object-position: 0% 0%;
}

#nbl-ux img {
    object-position: 0% 26%;
}

#multi-supports-page #news-image img {
    object-position: 0% 32%;
}

#nbl-multi-supports img {
    object-position: 0% 39%;
}

#prestations-au-forfait-page #news-image img, #nbl-prestations-forfait img {
    object-position: 5% 50%;
}

#prestations-au-forfait-page ul {
    margin-top: 20px;
    text-align: left;
    color: rgb(50, 60, 70);
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}

#prestations-au-forfait-page ul li::marker {
    color: #0083e8;
}

#prestations-en-regie-page #news-image img, #nbl-prestations-regie img {
    object-position: 20% 50%;
}

.news-bottom-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    gap: 20px;
    z-index: 3;
}

.news-bottom-link {
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    aspect-ratio: 3 / 2;
}

.news-bottom-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    transition: 0.3s ease;
}

.news-bottom-link:hover img {
    transform: scale(1.08);
}

.news-bottom-link-text {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(rgba(0, 10, 20, 0.08) 30%, rgba(0, 10, 20, 0.5) 70%);
    color: white;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

.news-bottom-link-text > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-shadow: 0 1px 5px rgba(0, 10, 20, 0.7);
    line-height: 20px;
}

.news-bottom-link-text > div > span:first-child {
    font-size: 12px;
    font-weight: 300;
}

.news-bottom-link-text > div > span:last-child {
    font-size: 16px;
}

.news-bottom-link-text svg {
    fill: white;
    width: 16px;
    height: 16px;
    margin-bottom: 12px;
}

@media screen and (max-width: 1650px) {

    #article-footer > div:last-child {
        flex-direction: column;
        gap: 8px;
    }

    #article-page #home-slide-contact-us-btn {
        margin-bottom: 50px;
    }

    .news-bottom-links {
        gap: 15px;
    }

    .news-bottom-link {
        aspect-ratio: 4 / 3;
    }

}

@media screen and (max-width: 1500px) { 

    .news-bottom-links {
        gap: 10px;
    }

    .news-bottom-link {
        aspect-ratio: 5 / 4;
    }

    .news-bottom-link-text {
        padding: 15px;
        gap: 10px;
    }

}

@media screen and (max-width: 1400px) {

    #return-to-waigeo {
        padding-right: 40px;
    }

    .news-bottom-link {
        aspect-ratio: 7 / 6;
    }

}

@media screen and (max-width: 1350px) {

    #return-btn {
        position: relative;
        left: 0;
    }

    #waigeo-logo {
        margin-top: 30px;
    }

    .news-bottom-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .news-bottom-link {
        aspect-ratio: 5 / 3;
        width: 300px;
    }

}

@media screen and (max-width: 1250px) {

    #return-to-waigeo {
        padding-right: 30px;
    }

    #navbar-links, #navbar-contact {
        gap: 30px;
    }

}

@media screen and (max-width: 1100px) {

    html, body {
        overflow-y: auto;
    }

    #news-container {
        flex-direction: column-reverse;
    }

    #news-image {
        width: 600px;
        height: 400px;
        margin: 30px auto 0 auto;
    }

    #news-image img {
        border-radius: 40px;
    }

    #news-image-circle {
        display: none;
    }

    #return-btn {
        margin-top: 30px;
    }

    #news {
        width: 600px;
        max-height: initial;
        overflow-y: visible;
        padding: 0;
        flex: initial;
        flex-shrink: 0;
        margin: 0 auto;
    }

    #article-page {
        overflow-y: visible;
        height: auto;
    }

    #background-image {
        display: block;
    }

    .news-title {
        font-size: 26px;
        line-height: 34px;
    }

    #waigeo-logo {
        width: 160px;
    }

    #ux-page #news-image img {
        object-position: 0% 26%;
    }

    #multi-supports-page #news-image img {
        object-position: 0% 40%;
    }

    #prestations-au-forfait-page #news-image img {
        object-position: 0% 50%;
    }

}

@media screen and (max-width: 770px) {

    #news-image, #news {
        width: 500px;
    }

}

@media screen and (max-width: 670px) {

    #background-image {
        display: none;
    }

    #news-image img {
        border-radius: 0;
    }

    #news-image {
        width: 100%;
        height: 300px;
        margin: 0;
    }

    #news {
        width: 100%;
        padding: 0 20px;
    }

    #news-image-circle {
        display: block;
        width: 200vw;
        height: 472px;
        position: absolute;
        top: -175px;
        right: initial;
        left: -50vw;
    }

    #mobile-menu-btn .menu-bar {
        background-color: white;
    }

    #ux-page #news-image img {
        object-position: 0% 30%;
    }

}
