/* --- CONTENT BLOCK CONTAINER --- */
.content-block-container {
    position: relative;
    padding: 160px 35px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}


.page-id-21 .content-block-container::before {
    content: "";
    position: absolute;
    top: 50%;
    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;
}

/* afbeelding links */
.content-block-section.image-left .content-block-container {
    flex-direction: row-reverse;
}

/* --- TEXT --- */
.content-block-text {
    flex: 0 0 62%;
    max-width: 62%;
    color: #fff;
}

.content-block-text h2 {
    position: relative;
    font-weight: 700;
    font-size: 52px;
    line-height: 60px;
    display: inline-block;
    padding-bottom: 25px;
    font-family: 'Josefin Sans', sans-serif;
}

.content-block-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 155px;
    height: 2px;
    background-color: #4F7046;
}

.content-block-text p {
    margin-top: 30px;
    padding: 30px 0;
    font-size: 24px;
    font-weight: 300;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.3;
}

.content-block-image {
    flex: 0 0 33%;
    max-width: 33%;
    display: flex;
    justify-content: flex-end;
}

.content-block-section.image-left .content-block-image {
    justify-content: flex-start;
}

.content-block-image img {
    width: 100% !important;
    max-height: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

/* --- CTA BUTTON --- */

.cta-button-header a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #4F7046;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease;
    height: 50px;
    width: 238px;
    border: 2px solid transparent;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    padding-top: 2px;
}

.cta-button-header a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path fill='white' d='M598.6 342.6C611.1 330.1 611.1 309.8 598.6 297.3L470.6 169.3C458.1 156.8 437.8 156.8 425.3 169.3C412.8 181.8 412.8 202.1 425.3 214.6L498.7 288L64 288C46.3 288 32 302.3 32 320C32 337.7 46.3 352 64 352L498.7 352L425.3 425.4C412.8 437.9 412.8 458.2 425.3 470.7C437.8 483.2 458.1 483.2 470.6 470.7L598.6 342.7z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: transform 0.55s cubic-bezier(.2, .9, .3, 1);
    pointer-events: none;
}

.cta-button-header a:hover {
    background-color: transparent;
    border: 2px solid #fff;
    text-decoration: none;
}

.cta-button-header a:hover::after {
    transform: rotate(0deg);
}

/* --- RESPONSIVE --- */
@media (max-width: 1600px) {
    .content-block-container {
        gap: 60px;
    }
}

@media (max-width: 1300px) {
    .content-block-text h2 {
    font-size: 32px !important;
    line-height: 50px !important;
}

.content-block-text p {
    font-size: 18px !important;
}
}

@media (max-width: 900px) {
.content-block-container,
.content-block-section.image-left .content-block-container {
flex-direction: column;
gap: 50px;
}

.content-block-text,
.content-block-image {
    max-width: 100%;
    text-align: start;
}

.content-block-image {
    justify-content: center !important;
}

.content-block-text br {
    display: none;
}

.content-block-text h2::after {
    width: 155px;
}
}


@media (max-width: 982px) {
    .content-block-container {
        flex-direction: column;
        gap: 50px;
    }

    .content-block-text, .content-block-image {
        max-width: 100%;
        text-align: start;
    }

    .content-block-image {
        justify-content: center !important;
        max-width: 100%;
        width: 100%;
    }

    .content-block-text h2 {
        font-size: 40px;
    }

    .content-block-text p {
        font-size: 23px !important;
    }
}

@media (max-width: 895px) {
    .content-block-text h2 {
        font-size: 30px;
        line-height: 100%;
    }
}

@media (max-width: 786px) {
    .content-block-container {
        padding: 80px 35px 0;
    }
}

@media (max-width: 699px) {
    .page-id-19 .content-block-text h2,
    .page-id-19 .titel-span {
        font-size: 30px !important;
        padding-bottom: 0px;
    }

    .content-block-text p {
        font-size: 18px;
        margin-top: 10px;
    }
}

@media (max-width: 599px) {
   .page-id-391 .content-block-text h2 {
        font-size: 24px !important;
        line-height: 35px !important;
    }
    
    .content-block-image {
        justify-content: center !important;
        max-width: 100%;
    }
}



/*Over ons*/
.page-id-19 .content-block-text h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    width: 40%;
}

.page-id-19 .titel-span {
    font-size: 40px;
    font-weight: 600;
}

@media (max-width: 1300px) {
    .page-id-19 .titel-span {
        font-size: 32px;
    }
}

@media (max-width: 776px) {
.page-id-19 .content-block-text h2 {
        width: 100%;
    }
}

/*Tarieven*/
.page-id-21 .content-block-text h2 {
    font-size: 39px;
    font-weight: 700;
    line-height: 50px;
}

@media (max-width: 699px) {
    .page-id-21 .content-block-text h2 {
        font-size: 23px !important;
        line-height: 34px !important;
    }
}