/* ============================================================
   POST CONTAINER
   ============================================================ */
.post-container {
    background-color: var(--wit);
    background-image: none !important;
    opacity: 1 !important;
    padding: 10%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 15% 20%;
    max-width: 800px;


}
.zoom-effect {
    animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Duurt 0.4 seconden */
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.75); /* Begint iets kleiner */
    }
    to {
        opacity: 1;
        transform: scale(1); /* Eindigt op ware grootte */
    }
}
/* ============================================================
   GALERIJ (thumbnails bovenaan)
   ============================================================ */
#my-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
#my-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* ============================================================
   CONTENT — TYPOGRAFIE & LEGE REGELS
   ============================================================ */
.content {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #1a1a1a;
    line-height: 1.85;

    /* white-space: pre-wrap vervangen door normale flow
       zodat overtollige lege regels verdwijnen */
    white-space: normal;
    word-wrap: break-word;
}

/* Alinea's die door nl2br + <span> ontstaan */
.content span {
    display: block;
}

/* ============================================================
   DROP CAP — HANDMATIG VIA CLASS
   ============================================================ */
.dropcap {
    float: left;
    font-size: 4em;
    font-weight: 700;
    line-height: 0.78;
    margin: 0.06em 0.12em 0 0;
    color: var(--donkergroen);
    font-family: Georgia, serif;
}

/* ============================================================
   INLINE FOTO'S
   ============================================================ */
.inline-photo-wrapper {
    margin: 30px 0;
    text-align: center;
    display: block;
}
.inline-photo-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.inline-photo-wrapper img:hover {
    transform: scale(1.01);
}

/* ============================================================
   REACTIES
   ============================================================ */
.comment-section {
    margin-top: 40px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.btn-comment {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.comment {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    transition: transform 0.2s;
    color: #000000;
}
.comment-meta {
    font-size: 0.9em;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-meta strong {
    color: #333;
    font-size: 1.1em;
}
.comment-text {
    color: #555;
    line-height: 1.5;
    word-wrap: break-word;
}
.comment.admin-reply {
    background: #e3f2fd;
    border-left-color: #008cff;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb a {
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
    display: inline-block;
}
.breadcrumb a:hover {
    background: #5b5b5b;
    color: #fff;
}

/* ============================================================
   PHOTOSWIPE AANPASSINGEN
   ============================================================ */
.pswp__caption {
    display: none !important;
}
.pswp__album-button {
    background: #424242 !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: none;
}
.pswp--ui-hidden .pswp__album-button {
    opacity: 0;
    transition: opacity 0.2s;
}

/* ============================================================
   DIVERSEN
   ============================================================ */
.whatsapp-share {
    display: none !important;
}
@media screen and (max-width: 600px) {
#my-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Zorgt dat het geheel netjes in het midden staat */
}

#my-gallery a {
    /* We stylen de 'a' link omdat de img daar binnenin zit */
    width: calc(50% - 10px);
    display: block;
}

#my-gallery img {
    width: 100%;    /* De afbeelding vult de 50% van de link */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}
.whatsapp-share {
        display: inline-flex !important;
    }

.post-container {
    padding: 20px;
    box-shadow: none;
    border-radius: 4px;
    width: 92%;           /* Gebruik een percentage kleiner dan 100 */
    max-width: 100%;      /* Voorkom dat hij buiten beeld gaat */
    box-sizing: border-box;
    margin: 25% auto 0 auto; /* 'auto' zorgt voor perfecte centrering */
}

    h1 {
        font-size: 1.6em; /* Iets kleinere titel zodat het past */
        line-height: 1.2;
    }

    .content {
        font-size: 1.15em;
        line-height: 1.7;
        color: #000000;
    }

    .comment {
        padding: 12px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        border-left-width: 3px; /* Iets subtielere lijn */
        color: #000000;
    }

  .pswp__album-button {
        width: 80%;            /* Iets breder op mobiel voor makkelijk klikken */
        text-align: center;
        bottom: 15px;          /* Iets lager bij de rand */
        font-size: 14px;       /* Iets kleinere letters */
        padding: 12px 0;       /* Iets meer 'touch' oppervlak */
    }

}
/* ============================================================
   KNOPPEN
   ============================================================ */


.download-knop {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #f8f9fa;
    border: 1px solid #cccccc;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    font-family: sans-serif;
    transition: background-color 0.2s, border-color 0.2s;
    margin-top: 15px;
}

.download-knop:hover {
    background-color: #e2e6ea;
    border-color: #007bff;
    color: #007bff;
}

.download-knop img {
    border-radius: 4px;
}
