/* Kartu berita utama */
.news-card-main {
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.news-main-image-wrapper {
    height: 230px;
    overflow: hidden;
}

.news-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-main:hover .news-main-image {
    transform: scale(1.05);
}

.news-main-body {
    min-height: 110px;
}

.news-main-footer {
    font-size: 0.8rem;
}

.news-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-title-main {
    line-height: 1.4;
}

/* Kartu horizontal */
.news-card-horizontal {
    height: 115px;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-horizontal:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-thumb-wrapper {
    width: 25%;
    height: 100%;
    overflow: hidden;
}

.news-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-horizontal:hover .news-thumb-image {
    transform: scale(1.05);
}

.news-title-small {
    font-size: 0.875rem;
    line-height: 1.3;
}

/* Tombol "Lihat Semua" kalau mau lebih modern */
.btn-see-all {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-see-all:hover {
    text-decoration: none;
}