.post-carousel-wrapper {
    position: relative;
    margin: 0;
    background: transparent;
    padding: 0;
}

.post-carousel {
    overflow: visible;
    padding: 0 50px;
}

.swiper-wrapper {
    align-items: stretch;
}

.post-card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    border: none;
    margin: 0;
    position: relative;
}

.post-card.title-only {
    min-height: auto;
}

.post-card.title-only .post-content {
    padding-top: 0;
}

.post-card:hover {
    transform: none;
    box-shadow: none;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 15px;
}

.post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-thumbnail::after {
    opacity: 1;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    margin-bottom: 8px;
}

.post-category a {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.post-category a:hover {
    background: #c0392b;
}

.post-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #e74c3c;
}

.post-meta {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-bottom: 10px;
}

.post-meta span {
    margin-right: 10px;
}

.post-excerpt {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 12px;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
    margin-top: 8px;
    display: inline-block;
}

.read-more:hover {
    color: #c0392b;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    margin-top: -20px;
    border: 1px solid #ddd;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    font-weight: 600;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff;
    color: #e74c3c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 25px;
}

.swiper-pagination-bullet {
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background: #e74c3c;
    transform: scale(1.3);
}

/* View All Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* Swiper Configuration */
.post-carousel {
    --slides-per-view: 3;
    overflow: hidden;
}

.swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.post-carousel .swiper-slide .post-card {
    width: 100%;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-carousel-wrapper {
        padding: 30px 15px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .post-carousel-wrapper {
        padding: 20px 10px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 18px;
    }
}

/* Swiper Touch */
.swiper {
    touch-action: pan-y;
}

.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Masonry Layout */
.post-card.masonry {
    break-inside: avoid;
    margin-bottom: 20px;
}

.swiper-wrapper.masonry {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .swiper-wrapper.masonry {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .swiper-wrapper.masonry {
        column-count: 1;
    }
}