/* Home Articles */
.articles-widget {
    padding: 26px 0 0;
    position: relative;
}

.articles-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}
.articles-slider .swiper-wrapper {
    align-items: flex-end;
}
.articles-slider .swiper-slide.swiper-slide-active {
    min-width: calc(100vw * 0.53125);
}
.articles-slider .swiper-slide.swiper-slide-prev,
.articles-slider .swiper-slide.swiper-slide-next {
    max-width: calc(100vw * 0.224);
}

.articles-slider .article-thumbnail {
    position: relative;
    height: 447px;
    overflow: hidden;
}
.articles-slider .swiper-slide.swiper-slide-active .article-thumbnail {
    height: 529px;
}
.articles-slider .article-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.45s;
}
article.article-item:hover .article-thumbnail img {
    transform: scale(1.1);
}
.article-content {
    padding: 31px 50px;
    position: absolute;
    min-height: 274px;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.article-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 12px;
    color: #999;
}

.article-content .article-title a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #000000 24.55%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.7;
    transform: rotate(180deg);
    z-index: -1;
}

.article-content * {
    /* position: relative; */
    z-index: 1;
}

.article-content .article-more {
    border-top: 1px solid #FFFFFF;
    text-align: center;
    display: none;
    padding-top: 21px;
    margin: 0 -78px;
}

.swiper-slide-active .article-content {
    padding: 19px 110px;
}

.swiper-slide-active .article-content .article-more {
    display: block;
}

.article-content .article-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
    max-width: 165px;
}

.swiper-slide-active .article-content .article-title {
    font-size: 26px;
    line-height: 100%;
    margin-bottom: 30px;
    max-width: 100%;
}

.article-content .article-number {
    position: relative;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Roboto Condensed';
    z-index: 2;
}

.article-content .article-more a {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    position: static;
}
.swiper-articles-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 46px;
    gap: 28px;
}

.swiper-slide-active .article-content .article-number {
    margin-bottom: 16px;
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .articles-widget {
        padding: 53px 0 0;
    }
    .articles-slider .swiper-slide.swiper-slide-active {
        min-width: calc((100vw - 32px) * 0.613);
    }
    .articles-slider .swiper-slide.swiper-slide-prev, .articles-slider .swiper-slide.swiper-slide-next {
        max-width: calc((100vw - 32px) * 0.194);
    }
    .articles-slider .swiper-slide.swiper-slide-active .article-thumbnail {
        height: 503px;
    }
    .swiper-slide-active .article-content {
        padding: 19px 70px;
    }
    .swiper-slide-active .article-content .article-title {
        text-transform: capitalize;
    }    
    .article-content .article-more {
        padding-top: 17px;
        margin: 0 -40.5px;
    }
    .article-content {
        padding: 31px 42px;
    }
}
@media (max-width: 1199px) {
    /* .articles-slider .swiper-slide.swiper-slide-active {
        min-width: calc((100vw - 32px) * 0.4);
    }
    .articles-slider .swiper-slide.swiper-slide-prev, .articles-slider .swiper-slide.swiper-slide-next {
        max-width: calc((100vw - 32px) * 0.3);
    } */
    .article-content {
        padding: 31px 30px;
    }
    .swiper-slide-active .article-content {
        padding: 19px 30px;
    }
    .article-content .article-more {
        padding-top: 17px;
        margin: 0 0;
    }
}

@media (max-width: 767px) {
    .articles-widget {
        padding: 51px 0 12px;
    }
    
    .articles-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .article-excerpt {
        font-size: 13px;
    }
    
    .articles-slider .swiper-button-prev,
    .articles-slider .swiper-button-next {
        width: 30px;
        height: 30px;
    }
    
    .articles-slider .swiper-button-prev:after,
    .articles-slider .swiper-button-next:after {
        font-size: 16px;
    }
    
    .articles-slider .swiper-button-prev {
        left: -20px;
    }
    
    .articles-slider .swiper-button-next {
        right: -20px;
    }
    .articles-slider .swiper-slide.swiper-slide-prev, .articles-slider .swiper-slide.swiper-slide-next {
        max-width: 100%;
    }
    
    .articles-slider .swiper-slide.swiper-slide-active {
        min-width: 0;
    }
    .articles-slider .swiper-slide.swiper-slide-active .article-thumbnail, .articles-slider .article-thumbnail {
        height: 369px;
    }
    .swiper-slide-active .article-content .article-title,.article-content .article-title {
        font-size: 20px;
        line-height: 100%;
        text-transform: uppercase;
        margin-bottom: 20px;
    }
    
    .swiper-slide-active .article-content,.article-content {
        padding: 25px 25px 16px;
    }
    
    .article-content .article-more {
        margin: 0 -5px;
        padding-top: 14px;
    }
    
    .swiper-slide-active .article-content .article-number {
        margin-bottom: 12px;
    }
    .swiper-articles-navigation {
        margin-top: 44px;
    }
} 