.category-posts-slider {
    width: 100%;
    padding: 50px 2px;
}

.category-posts-slider .swiper-slide {
    height: auto;
}

.category-posts-slider .post-slide {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-posts-slider .post-thumbnail {
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.category-posts-slider .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
    transition: transform 0.3s ease;
}

.category-posts-slider .post-avatar {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-posts-slider .post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.category-posts-slider .post-date {
    font-size: 12px;
    color: #434960;
    margin-bottom: 8px;
    display: flex;
    gap: 15px;
}

.category-posts-slider .post-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 27px;
}

.category-posts-slider .post-title a {
    color: #3c5388;
    text-decoration: none;
    transition: color 0.3s ease;    
    font-weight: bold;
}

.category-posts-slider .post-title a:hover {
    color: #FF6216;
}

.category-posts-slider .post-excerpt {
    font-size: 16px;
    line-height: 20px;
    color: #4A5565;
    margin-bottom: 10px;
}

.category-posts-slider .post-read-more {
    margin-top: auto;
    padding-top: 10px;
    text-align: center;
}

.category-posts-slider .read-more-link {
    display: inline-block;
    color: #3c5388;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 24px;
    border: 1px solid #3c5388;
}
.post-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 16px #ff7e00;
}
.category-posts-slider .read-more-link:hover {
    color: #ffffff;
    background: #3c5388;
}

.category-posts-slider .swiper-button-next,
.category-posts-slider .swiper-button-prev {
    color: #FFFFFF;
    padding: 25px;
    font-size: 27px !important;
    top: 15px !important;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 27px !important;
}
.category-posts-slider .swiper-button-prev{
    left: 10px;
    right: auto;
}
.category-posts-slider .swiper-button-next{
    right: 10px;
    left: auto;
}
.swiper-button-prev:hover {
    color: #dbdbdb;
}
.swiper-button-next:hover {
    color: #dbdbdb;
}

.category-posts-slider .swiper-pagination-bullet-active {
    background: #FF6216;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    background: #3c5388;
    width: 150px;
    margin: 20px auto 0;
    position: relative;
    padding: 10px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .category-posts-slider .post-title {
        font-size: 21px;
    }
    
    .category-posts-slider .post-excerpt {
        font-size: 16px;
    }
}

.post-slide:hover .post-thumbnail img {
    transform: scale(1.05);
} 