/* ==========================================================================
   INDIVIDUELE BLOGPOST (SINGLE.PHP) STYLING
   ========================================================================== */

/* Algemene Layout & Wrapper (Netjes onder de fixed header) */
.single-post-main {
    width: 100%;
    padding-top: 150px; /* Ruimte onder de fixed header */
    background-color: #ffffff;
}

.post-container {
    max-width: 900px; /* Iets smaller voor een chique, redactionele leesbaarheid */
    margin: 0 auto;
    padding: 0 20px 100px 20px;
}

/* 1. Post Header (Oswald) */
.post-header {
    margin-bottom: 40px;
}

.post-date {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    display: block;
    margin-bottom: 10px;
}

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    color: #111111;
    margin: 0;
    letter-spacing: 1px;
}

/* 2. Grote Rechthoekige Foto (16:9 Cinema Look net als de grid) */
.post-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: #111111;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt dat de geüploade foto de box vlijmscherp vult */
    display: block;
}

/* 3. De Lopende Tekst (Raleway - Perfect leesbaar) */
.post-content {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.post-content p {
    margin: 0 0 30px 0;
}

/* Kopjes DIE JE EVENTUEEL IN DE TEKST TYPT via de editor */
.post-content h2, 
.post-content h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #111111;
    margin: 50px 0 20px 0;
    letter-spacing: 1px;
}

.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 20px; }

/* 4. Back to articles link onderaan */
.post-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.back-home-link {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.back-home-link:hover {
    opacity: 0.6;
}

/* ==========================================================================
   RESPONSIVE (Mobiel)
   ========================================================================== */
@media (max-width: 768px) {
    .single-post-main {
        padding-top: 110px;
    }
    
    .post-title {
        font-size: 32px; /* Iets compacter op telefoons */
    }
    
    .post-content {
        font-size: 15px;
    }
    
    .post-featured-image {
        margin-bottom: 40px;
    }
}
