/* Post Slide for News Carousel */
.post-slide {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.post-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.post-img a {
    display: block;
    height: 100%;
}

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

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

.post-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.post-date .date {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.post-date .month {
    display: block;
    font-size: 11px;
    color: #999;
}

.post-review {
    padding: 15px;
}

.post-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

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

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

.post-bar {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.post-bar li {
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
    color: #999;
}

.post-bar li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-bar li a:hover {
    color: #8B0000;
}

.post-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Owl Carousel adjustments for posts */
.owl-carousel .post-slide {
    margin-right: 15px;
}

@media (max-width: 768px) {
    .post-img {
        height: 200px;
    }

    .post-review {
        padding: 12px;
    }

    .post-title {
        font-size: 14px;
    }

    .post-description {
        font-size: 12px;
    }
}
