/* product thumbnail section  */
.slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;

}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: calc(100% - 20px);
    height: 100%;
    background-image: url(/assets/Imgs/Icons/products/blue-blur.webp);
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.slide img {
    height: 80vh;
    width: calc(100% - 20px);
    object-position: center;
    position: relative;
    z-index: 1;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 35%;
    display: flex;
    gap: 1rem;
    left: 10%;
    flex-direction: column;
    z-index: 3;
}



.slide-text h3 {
    font-weight: 500;
    font-size: 35.65px;
    line-height: 131%;
    color: var(--white-text-Color);
    width: 60%;
}

.slide-text h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--white-text-Color);
}



@media (max-width: 1600px) {

    .slide-text {
        gap: 1rem;
    }

}

@media (max-width: 790px) {

    .slide-text h3,
    .slide-text h1 {
        font-weight: 600;
        font-size: 30px;
        line-height: 125%;
        white-space: normal;

    }



    .slide::before {
        left: 5px;
        width: calc(100% - 10px);
    }

    .slide img {
        height: 54vh;
        width: calc(100% - 10px);
        object-fit: cover;
    }
}


/* product thumbnail section  */


/* Articles section */

.article-slideshow-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 10px;
    text-align: center;
}

.article-slideshow-container h2 {
    font-size: 28px;
    font-weight: 600;
    padding: 10px 0;
}

.article-slides-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
}

.article-slide:nth-child(1),
.article-slide:nth-child(2) {
    grid-column: span 2;
}

.article-card {
    background: #eee;
    border-radius: 8px;
    height: 25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.article-card-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 35%;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.article-card-information p {
    padding: 0 10px;
    font-size: 14px;
}

.article-card-information h4 {
    font-size: 30px;
    padding: 0 5px;
}





.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* @media (max-width: 780px) {
    .article-slides-wrapper {
      overflow-x: scroll;
    }
  } */
@media (max-width: 1030px) {
    .article-slides-wrapper {
        grid-template-columns: repeat(2, 1fr);

    }

    .article-slide:nth-child(1) {
        grid-column: span 2;
    }

    .article-slide:nth-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 1450px) {

    .article-slides-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-slide:nth-child(1) {
        grid-column: span 3;
    }

    .article-slide:nth-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 1700px) {
    /* .article-slides-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    } */

    /* .article-slide:nth-child(2) {
        grid-column: span 1;
    } */
}

@media (max-width: 780px) {


    .article-slides-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .article-slide:nth-child(1),
    .article-slide:nth-child(2) {
        grid-column: span 1;
    }

}

/* Articles section */