/**
 * Press Slider Block Styles
 */

.tf-press-slider {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.tf-press-slider .swiper {
    width: 100%;
    overflow: visible;
}

.tf-press-slider .swiper-slide {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s ease;
    height: auto;
}

.tf-press-slide__image {
    height: 257px;
    overflow: hidden;
}

.tf-press-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-press-slide__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tf-press-slide__title {
    color: #1A191A;
    font-family: "Futura PT", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 14px;
    margin-top: 0;
}

.tf-press-slide__author {
    color: #474545;
    font-family: "Futura PT", sans-serif;
    font-size: 20px;
    font-weight: 450;
    line-height: 150%;
    margin-bottom: 40px;
    margin-top: 0;
}

.tf-press-slide__content .tf-btn {
    width: 100%;
    margin-top: auto;
    text-align: center;
    justify-content: center;
}

.tf-press-slider__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding-top: 56px;
}

/* Swiper Navigation Buttons */
.tf-press-slider .swiper-button-prev,
.tf-press-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    color: #1A191A;
    border: 1px solid #1A191A;
    transition: all 0.3s ease;
    position: relative !important;
    top: unset !important;
    left: unset !important;
    bottom: unset !important;
    right: unset !important;
}

.tf-press-slider .swiper-button-prev:hover,
.tf-press-slider .swiper-button-next:hover {
    background: #1A191A;
    color: #fff;
    transform: scale(1.1);
}

.tf-press-slider .swiper-button-prev::after,
.tf-press-slider .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
    .tf-press-slide__title {
        font-size: 18px;
    }

    .tf-press-slide__author {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .tf-press-slider .swiper-button-prev,
    .tf-press-slider .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .tf-press-slider .swiper-button-prev::after,
    .tf-press-slider .swiper-button-next::after {
        font-size: 16px;
    }
}
