/* Algemene layout */
.blog-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header */
.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-subtitle {
    color: #666;
    font-size: 18px;
}

/* Featured article */
.featured-post {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.featured-post h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 25px;
}

/* Blog cards */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.2s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-card p {
    color: #555;
    line-height: 1.6;
}

/* Buttons */
.blog-btn {
    display: inline-block;
    margin-top: 15px;
    background: #007bff;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.blog-btn:hover {
    background: #0056b3;
    color: white;
}

/* Detail page */
.blog-detail {
    background: white;
    border-radius: 18px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-detail h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.blog-meta {
    color: #777;
    margin-bottom: 35px;
    font-size: 14px;
}

/* Blog content */
.blog-content {
    font-size: 18px;
    line-height: 1.9;
    color: #222;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content h2 {
    margin-top: 45px;
    margin-bottom: 20px;
    font-size: 30px;
}

.blog-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
}

/* Ads */
.ad-block {
    margin: 40px 0;
    padding: 35px;
    background: #ffffff;
    border: 2px dashed #ddd;
    border-radius: 14px;
    text-align: center;
}

/* Banner */
.banner-slot {
    margin: 35px 0;
    text-align: center;
}
.affiliate-btn {
    display: inline-block;
    background: #28a745;
    color: white !important;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    margin: 10px 0;
}

.affiliate-btn:hover {
    background: #1e7e34;
    color: white !important;
}
/* blog overzicht grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* kleine blog cards */
.blog-card {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    height: 100%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

/* hover effect */
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* titel */
.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    min-height: 60px;
    line-height: 1.3;
}

/* samenvatting */
.blog-card p {
    flex-grow: 1;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* knop altijd onderaan */
.blog-card .blog-btn {
    margin-top: auto;
    display: inline-block;
}
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 70px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 25px;
}

.hero-buttons a {
    margin: 0 10px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-secondary {
    background: white;
    color: #007bff;
}

.benefits-grid,
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card,
.blog-preview-card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
}

.cta-section,
.seo-section {
    text-align: center;
    margin: 60px 0;
}

.homepage-ad {
    margin: 50px 0;
}

.ad-placeholder {
    background: #f3f3f3;
    border: 2px dashed #ccc;
    padding: 35px;
    border-radius: 14px;
    text-align: center;
}

.blog-link {
    font-weight: bold;
    text-decoration: none;
    color: #007bff;
}

@media (max-width: 900px) {
    .benefits-grid,
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 30px;
    }
}