/* ===================================================================
   EA Nieuws — frontend styling
   Palet afgestemd op de rest van het platform:
   accent #8b7355 · oppervlak #f8f8f6 · rand #e8e4dc
   =================================================================== */

.ean-main { width: 100%; }
/* Breedte zoals archive-product, iets smaller (.ast-container override → 1360px) */
.ean-wrap { width: min(1360px, 100%); margin: 0 auto; padding: 40px 16px 60px; font-family: inherit; }
.ean-wrap--narrow { max-width: 900px; }

/* ── Pagina-header ───────────────────────────────────────────── */
.ean-page-header { text-align: center; margin-bottom: 32px; }
.ean-page-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; margin: 0 0 6px; line-height: 1.15; }
.ean-page-subtitle { font-size: 1.05rem; color: #777; margin: 0; }

/* ── Filterbalk ──────────────────────────────────────────────── */
.ean-filters {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    margin-bottom: 30px; padding: 14px 18px;
    background: #f8f8f6; border: 1px solid #e8e4dc; border-radius: 10px;
}
.ean-filter-label { font-weight: 600; font-size: 13px; color: #555; white-space: nowrap; }
.ean-filter-btn {
    display: inline-block; padding: 6px 14px; border-radius: 20px;
    border: 1.5px solid #d5cfc3; background: #fff; color: #444;
    font-size: 13px; text-decoration: none; white-space: nowrap;
    transition: all .15s ease; line-height: 1.4;
}
.ean-filter-btn:hover { border-color: #8b7355; color: #8b7355; text-decoration: none; }
.ean-filter-btn.active { background: #8b7355; border-color: #8b7355; color: #fff; }

/* ── Grid ────────────────────────────────────────────────────── */
.ean-grid {
    display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.ean-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ── Card ────────────────────────────────────────────────────── */
.ean-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e8e4dc; border-radius: 12px;
    overflow: hidden; transition: box-shadow .18s ease, transform .18s ease;
}
.ean-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.ean-card__media {
    display: block; aspect-ratio: 16 / 10; background: #f1efe9;
    overflow: hidden; position: relative;
}
.ean-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.ean-card:hover .ean-card__media img { transform: scale(1.04); }
.ean-card__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; opacity: .35;
}
.ean-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ean-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ean-card__cat {
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #8b7355; background: #f3efe7; padding: 3px 9px; border-radius: 12px;
}
.ean-card__date { font-size: 12px; color: #999; }
.ean-card__title { font-size: 1.12rem; font-weight: 600; line-height: 1.3; margin: 0; }
.ean-card__title a { color: #1a1a1a; text-decoration: none; }
.ean-card__title a:hover { color: #8b7355; }
.ean-card__excerpt { font-size: .92rem; color: #666; line-height: 1.55; margin: 0; }
.ean-card__link {
    margin-top: auto; font-size: .9rem; font-weight: 600; color: #8b7355;
    text-decoration: none; align-self: flex-start;
}
.ean-card__link:hover { text-decoration: underline; }

/* ── Lege staat ──────────────────────────────────────────────── */
.ean-empty { text-align: center; color: #888; padding: 60px 20px; font-size: 1.05rem; }

/* ── Paginatie ───────────────────────────────────────────────── */
.ean-pagination { margin-top: 40px; }
.ean-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ean-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border: 1px solid #d5cfc3; border-radius: 8px; background: #fff;
    color: #444; text-decoration: none; font-size: 14px;
}
.ean-pagination .page-numbers:hover { border-color: #8b7355; color: #8b7355; }
.ean-pagination .page-numbers.current { background: #8b7355; border-color: #8b7355; color: #fff; }

/* ── Single: terug-link ──────────────────────────────────────── */
.ean-back-link {
    display: inline-block; margin-bottom: 22px; font-size: .92rem; font-weight: 600;
    color: #8b7355; text-decoration: none;
}
.ean-back-link:hover { text-decoration: underline; }

/* ── Single: artikel ─────────────────────────────────────────── */
.ean-article__header { margin-bottom: 22px; }
.ean-article__cat {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #8b7355; background: #f3efe7;
    padding: 4px 11px; border-radius: 12px; margin-bottom: 12px;
}
.ean-article__title { font-size: 2.1rem; line-height: 1.15; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; }
.ean-article__meta { font-size: .9rem; color: #999; margin: 0; }
.ean-article__hero { margin: 0 0 28px; border-radius: 14px; overflow: hidden; }
.ean-article__hero img { width: 100%; height: auto; display: block; }
.ean-article__body { font-size: 1.05rem; line-height: 1.7; color: #2b2b2b; }
.ean-article__body p { margin: 0 0 1.1em; }
.ean-article__body h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.ean-article__body h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.ean-article__body img { max-width: 100%; height: auto; border-radius: 10px; }
.ean-article__body a { color: #8b7355; }
.ean-article__body blockquote {
    margin: 1.4em 0; padding: 8px 20px; border-left: 4px solid #8b7355;
    color: #555; font-style: italic; background: #f8f8f6;
}
.ean-article__body ul, .ean-article__body ol { margin: 0 0 1.1em 1.4em; }

/* ── Single: meer nieuws ─────────────────────────────────────── */
.ean-related { margin-top: 56px; padding-top: 36px; border-top: 1px solid #e8e4dc; }
.ean-related__title { font-size: 1.4rem; font-weight: 700; color: #1a1a1a; margin: 0 0 22px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ean-wrap { padding: 26px 16px 44px; }
    .ean-page-title { font-size: 1.6rem; }
    .ean-article__title { font-size: 1.6rem; }
    .ean-grid { gap: 18px; grid-template-columns: 1fr; }
}
