/*.swiper-slide{height:400px !important;}*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap');
body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scrollbar */
}
.swiper {
    width: 100%;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.s-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adjust the values as needed */
}
.swiper-slide {
    width: 300px !important;
    height: 400px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    filter: blur(1px);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: self-start;
}
.swiper-slide-active {
    filter: blur(0px);
}
.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
    background: #fff;
}
.swiper-slide--one span {
    background: #62667f;
}
.swiper-slide--two span {
    background: #087ac4;
}
.swiper-slide--three span {
    background: #b45205;
}
.swiper-slide--four span {
    background: #087ac4;
}
.swiper-slide svg {
    color: #fff;
    width: 14px;
    height: 14px;
    margin-right: 4px;
}
.swiper-slide--one {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
        url(https://images.unsplash.com/photo-1556206079-747a7a424d3d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=871&q=80) no-repeat 50% 50% / cover;
}
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
    background-image: none;
}

.swiper-slide h2,
.swiper-slide p {
    margin: 0;
}
.swiper-latest-posts {
    position: relative;
    width: 100%;
    --swiper-theme-color: #d29a5a;
}

.swiper-latest-posts::before,
.swiper-latest-posts::after {
    content: none;
    position: absolute;
    top: 0;
    width: 110px;
    height: 100%;
    background: rgb(19, 15, 12);
    background: linear-gradient(90deg, rgba(19, 15, 12, 1) 15%, rgba(19, 15, 12, 0) 100%);
    z-index: 2;
}

.swiper-latest-posts::before {
    left: 0;
}

.swiper-latest-posts::after {
    right: 0;
    transform: scale(-1);
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    transition: all 0.3s ease;
}

.swiper-latest-posts .swiper-slide {
    --max-width: 80vw;
    filter: blur(0);
    width: 100% !important;
    max-width: var(--max-width);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.swiper-latest-posts .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.swiper-latest-posts .swiper-slide:hover::before {
    opacity: 0;
}
.swiper-post-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    z-index: 2;
    padding: 2rem;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.swiper-post-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.swiper-btn {
    padding: 6px 20px;
    background: var(--wp--preset--color--theme-2);
    border-radius: 0;
    font-weight: 500;
}

.swiper-btn:hover,
.swiper-btn:focus {
    color: var(--wp--preset--color--theme-2);
    background: #000000;
}
.swiper-post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.swiper-post-category {
    background: var(--wp--preset--color--theme-2);
    color: #fff;
    padding: 1px 6px;
    font-size: 10px;
    border-radius: 16px;
    font-weight: 500;
}
.swiper-latest-posts .swiper-horizontal > .swiper-pagination-progressbar,
.swiper-latest-posts .swiper-pagination-progressbar.swiper-pagination-horizontal {
    top: auto;
    bottom: 0;
}
.swiper-latest-posts .swiper-button-next,
.swiper-latest-posts .swiper-button-prev {
    display: none;
}
@media screen and (min-width: 991px) {
    .swiper-latest-posts .swiper-slide {
        --max-width: 50vw;
    }
    .swiper-latest-posts::before,
    .swiper-latest-posts::after {
        content: '';
    }
    .swiper-latest-posts .swiper-button-next,
    .swiper-latest-posts .swiper-button-prev {
        display: flex;
    }
}

@media screen and (min-width: 1400px) {
    .swiper-latest-posts .swiper-slide {
        --max-width: 36vw;
    }
}
