/* Blok wrapper */
.afbeelding-titel-tekst-blok {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 35px 0;
    font-family: 'Josefin Sans', sans-serif;
    color: #ffffff;
}

/* Container voor alle items */
.afbeelding-titel-tekst-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.page-id-626 .afbeelding-titel-tekst-container::before {
    content: "";
    position: absolute;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 1200px;
    background-image: url('/wp-content/uploads/2025/11/achtergrond_lijnen.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; 
    z-index: -1;
}

/* Individueel item */
.afbeelding-titel-tekst-item {
    display: flex;
    flex-direction: column;
}

/* Afbeelding bovenaan */
.item-afbeelding {
    overflow: hidden;
    border-radius: 12px;
}

.item-afbeelding img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.afbeelding-titel-tekst-item:hover .item-afbeelding img {
    transform: scale(1.05);
}

/* Content wrapper */
.item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Titel */
.item-titel {
    font-size: 25px;
    font-weight: 700;
    margin: 30px 0;
    color: #ffffff;
    line-height: 1.3;
    font-family: 'Josefin Sans', sans-serif;
}

/* Tekst */
.item-tekst-preview,
.item-tekst-volledig {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 300;
    margin: 0 0 60px 0;
    color: #ffffff;
    flex: 1;
    font-family: 'Josefin Sans', sans-serif;
}

/* Lees verder button met underline */
.lees-meer-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    background: none;
    border: none;
    padding: 0 0 4px 0;
    padding-bottom: 50px;
    position: relative;
    margin-top: auto;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
    transition: transform 0.3s ease;
}

.lees-meer-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4F7046;
}

.lees-meer-btn:hover {
    
    background-color: transparent;
}

.lees-meer-arrow {
    display: block;
    fill: #ffffff;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: transform 0.55s cubic-bezier(.2,.9,.3,1);
}


.lees-meer-btn:hover .lees-meer-arrow,
.lees-meer-btn:focus .lees-meer-arrow {
    transform: rotate(0deg);
}




/* Responsive voor tablets */
@media (max-width: 992px) {
    .afbeelding-titel-tekst-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Responsive voor mobiel */
@media (max-width: 600px) {
    .afbeelding-titel-tekst-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .item-afbeelding img {
        height: 220px;
    }
    
    .item-titel {
        font-size: 22px;
    }
}