html,
body {
    height: 100%;
    margin: 0;
    background: #f8f9fa;
}

body {
    display: flex;
    flex-direction: column;
}

main.main {
    flex: 1;
}

.berita-header {
    border-bottom: 3px solid #f7c200;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.berita-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 10px;
}

.berita-date i {
    margin-right: 6px;
    color: #f7c200;
}

.berita-image-fit {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    display: block;
}

.berita-terkini-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.berita-deskripsi {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #343a40;
    line-height: 1.6;
    text-align: justify;
}

.btn-kembali-mini {
    background-color: #f7c200;
    color: white;
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    align-self: end;
    margin-top: 20px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(247, 194, 0, 0.4);
}

.btn-kembali-mini:hover {
    background-color: #e0a800;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(224, 168, 0, 0.6);
}

.list-berita-terkini {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.05);
}

.list-berita-terkini h4 {
    padding-bottom: 8px;
    color: #343a40;
}

.list-berita-terkini a {
    text-decoration: none;
    color: #495057;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.list-berita-terkini a:hover {
    color: #f7c200;
}

#modalGambar {
    max-height: 90vh;
    object-fit: contain;
}

@media (max-width: 768px) {
    .berita-image-fit {
        max-height: none;
    }
}
