/* ============================================================
   BLOG CSS - HG Vloersystemen
   Blog-specifieke stijlen voor artikelen en overzichtspagina
   ============================================================ */

/* BLOG HERO */
.blog-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-hero-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,20,0.92) 0%, rgba(10,10,20,0.6) 50%, rgba(10,10,20,0.3) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 48px;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blog-categorie-badge {
    background: var(--orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.blog-leestijd {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.blog-hero-titel {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
}

.blog-auteur-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-auteur-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-auteur-naam {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-auteur-datum {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* BLOG LAYOUT */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* BLOG ARTIKEL */
.blog-artikel {
    max-width: 100%;
}

.blog-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.blog-artikel h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-artikel p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.blog-lijst {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog-lijst li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-body);
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.blog-lijst li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.blog-conclusie {
    background: var(--bg-light);
    border-left: 4px solid var(--orange);
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}

.blog-conclusie h2 {
    margin-top: 0;
    color: var(--orange);
}

.blog-conclusie p {
    margin-bottom: 0;
}

/* BLOG TAGS */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0;
}

.blog-tag {
    background: var(--bg-light);
    color: var(--text-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.blog-tag:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}

/* BLOG CTA BOX */
.blog-cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    color: white;
    padding: 36px;
    border-radius: 12px;
    margin-top: 40px;
}

.blog-cta-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.blog-cta-box p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.blog-cta-knoppen {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* SIDEBAR */
.blog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sidebar-widget p {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.sidebar-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-size: 0.9rem;
}

.sidebar-contact li svg {
    color: var(--orange);
    flex-shrink: 0;
}

.sidebar-contact a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-contact a:hover {
    color: var(--orange);
}

.sidebar-artikelen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-artikelen li a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-artikelen li:last-child a {
    border-bottom: none;
    color: var(--orange);
    font-weight: 600;
}

.sidebar-artikelen li a:hover {
    color: var(--orange);
}

/* BLOG OVERZICHT PAGINA */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.blog-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-categorie {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-titel {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-lees-meer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 340px;
    }
    .blog-hero-titel {
        font-size: 1.4rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-cta-knoppen {
        flex-direction: column;
    }
    .blog-cta-knoppen .btn {
        text-align: center;
    }
}
