/* =========================
   ALGEMEEN
========================= */

.artikel-bron {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

.article {
    background: var(--content);
    padding: 2rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.article h1 {
    margin-top: 0;
    font-size: var(--h1-size);
    color: var(--text);
}

.artikel-inhoud {
    line-height: 1.7;
}

/* =========================
   AFBEELDING + TITEL
========================= */

.artikel-afbeelding-container {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
}

.artikel-afbeelding {
    width: 100%;
    height: auto;
    display: block;
}

.artikel-titel {
    text-align: center;
    font-size: var(--h2-size);
    color: var(--text);
}

.artikel-titel-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--text);
    font-size: var(--h1-size);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* =========================
   META (LABEL + DATUM)
========================= */

.artikel-meta-top,
.artikel-meta-top-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px;
}

.artikel-datum,
.article-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin: 0;
}

/* =========================
   LABELS
========================= */

.category-label,
.category-label-small {
    display: inline-block;
    background: var(--label);
    color: var(--text);
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 5px;
}

.category-label {
    font-size: 0.8rem;
}

.category-label-small {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

/* =========================
   ARTICLE LIST
========================= */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.article-item {
    background: var(--content);
    border-radius: 6px;
    overflow: hidden;
}

.article-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.article-thumb {
    width: 160px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.35;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
}

.article-link:hover .article-title {
    text-decoration: underline;
}

/* =========================
   FEATURED
========================= */

.featured-article {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* =========================
   TERUG LINK
========================= */

.terug-link {
    display: block;
    margin-top: 20px;
    color: grey;
    text-align: center;
    font-size: 1.1rem;
}

/* =========================
   MOBIEL
========================= */

@media (max-width: 600px) {

    .article {
        padding: 1rem 0;
        border-radius: 0;
    }

    .article-link {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 1rem;
    }

    .article-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .article-title {
        font-size: 1.2rem;
        line-height: 1.45;
    }

    .article-date {
        font-size: 0.9rem;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .content-grid {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 0 10px;
    }

    .articles,
    .sidebar {
        width: 100%;
        flex: none;
    }

    .logo-text {
        display: none;
    }
}