/* ===== Superbelangrijke mededeling ===== */
.homepage-mededeling {
    background-color: #dc3545;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    text-align: center;
}

/* ===== Banner ===== */
.homepage-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

@media (max-width: 768px) {
    .homepage-banner {
        min-height: 260px;
    }
}

.homepage-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.homepage-banner__bg--fallback {
    background: linear-gradient(135deg, #0d6efd 0%, #495057 100%);
}

/* Zwarte overlay zodat tekst altijd leesbaar is, ongeacht de foto */
.homepage-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.homepage-banner__content {
    position: relative;
    z-index: 1;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

.homepage-banner__titel {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

.homepage-banner__ondertitel {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
    max-width: 640px;
}

/* ===== Homepage hoofd-inhoud ===== */
.homepage-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ===== Secties (acties / nieuws) ===== */
.homepage-sectie {
    margin-bottom: 3.5rem;
}

.homepage-sectie__header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.homepage-sectie__header h2 {
    font-weight: 700;
    margin-bottom: 0;
}

.homepage-sectie__footer {
    margin-top: 1.5rem;
    text-align: center;
}

/* ===== Nieuwsbericht kaart ===== */
.nieuws-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.nieuws-card .card-img-top {
    border-radius: 1rem 1rem 0 0;
    object-fit: cover;
    height: 180px;
}

.nieuws-card__img-placeholder {
    height: 180px;
    border-radius: 1rem 1rem 0 0;
}

.nieuws-card__datum {
    font-size: 0.85rem;
}

.nieuws-card__inhoud {
    font-size: 0.9rem;
}

.nieuws-card,
.nieuws-card:hover {
    transform: none !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    transition: none !important;
}