/* Common section styles */
.section-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Berita Lokal & Komunitas */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.local-news-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
}

.local-news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.local-news-title {
    font-size: 1.1rem;
    margin: 0.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    max-height: 4.5em;
    line-height: 1.5;
    color: #333;
}

/* Otomotif & Properti */
.auto-property-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.auto-property-title {
    font-size: 1rem;
    margin: 0.5rem 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 4.5em;
    line-height: 1.5;
}

/* Sains & Teknologi */
.tech-science-thumbnail {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.tech-science-title {
    font-size: 1rem;
    margin: 0.5rem 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 4.5em;
    line-height: 1.5;
}
