/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Regular */
@font-face {
    font-family: "Averta PE";
    src: url("/wp-content/themes/generatepress_child/fonts/Averta%20PE/Averta%20PE%20Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Regular Italic */
@font-face {
    font-family: "Averta PE";
    src: url("/wp-content/themes/generatepress_child/fonts/Averta%20PE/Averta%20PE%20Regular%20Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: "Averta PE";
    src: url("/wp-content/themes/generatepress_child/fonts/Averta%20PE/Averta%20PE%20Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: "Averta PE";
    src: url("/wp-content/themes/generatepress_child/fonts/Averta%20PE/Averta%20PE%20Bold%20Italic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body,
button,
input,
select,
textarea {
    font-family: "Averta PE", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.page .color-white {
    color: #fff !important;
}

.page .color-purple {
    color: #29235C !important;
}

body:not(.home) h1 {
    color: #29235C;
}

p a {
    color: #4DA880;
}

.color-white h2,
.color-white h4,
.color-white h5,
.color-white p {
    color: white;
}

h2,
h4,
h5,
p,
li {
    color: #29235C;
}

a.btn {
    padding: 0.85em 1.5em;
    border-radius: 5px;
    display: block;
    width: fit-content;
    margin-top: 0.85em;
}

.btn-container {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    place-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.btn-container-team {
    margin-bottom: 10px;
}

.btn-container>p {
    margin-bottom: 0;
    line-height: 0;
}

a.btn.btn-blue {
    background-color: #4DA880;
    color: white;
}

a.btn.btn-green {
    background-color: #4DA880;
    color: white;
}

.ruimte-container {
    border: 2.5em solid transparent;
    border-radius: calc(2.5em + 25px);
    margin-top: -2.5em;
    clip-path: padding-box;
}

.ruimte-container .vc_col-sm-12.wpb_column {
    width: calc(100% + 2.5em);
    margin-left: -2.5em;
}

.section-bg {
    /* background: linear-gradient(353deg, rgba(41,35,92,1) 0%, rgba(41,35,92,1) 52%, rgba(238,236,247,0.55) 52%, rgba(238,236,247,0.5522584033613445) 100%); */
    background-image: url(/wp-content/uploads/2025/02/Group-7.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.vc_gitem-zone.vc_gitem-zone-c {
    background: transparent !important;
}

#footer-container #field_submit {
    background: #76BB2A;
    width: 39px;
    height: 39px;
    place-content: center;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.vc_row.container-carrousel {
    padding-right: 0 !important;
}

.ult-item-wrap.slick-slide {
    min-width: 14vw;
}

.ult-carousel-wrapper>.slick-slider {
    display: flex;
    flex-wrap: wrap;
}

.ult-carousel-wrapper button {
    z-index: 1;
    position: relative;
}

button.slick-prev {
    display: none !important;
}

button.slick-next {
    display: none !important;
}

div.slick-track {
    display: flex;
}

button.slick-next-custom {
    float: right;
    border: 1px solid #29235C;
    background: transparent;
    color: #29235C;
    border-radius: 35px;
}

.vc_gitem-post-data-source-post_title>h5 {
    font-weight: bold;
    font-size: 17px;
    color: #29235C;
    margin-bottom: 5px;
}

div.vc_row.contact-input {
    background: #ffffff;
}

.vc_row form input,
.vc_row form textarea {
    background-color: #ffffff;
    border-radius: 5px;
    border: none;
    padding: .85em;
}

.btn-container a:not(.color-white, .btn) {
    color: #29235C !important;
}

.vc_row form input[type='submit'] {
    background-color: #4DA880;
    color: white;
    width: fit-content !important;
    padding-inline: 2em;
    font-weight: bold;
    margin-left: auto;
}

.contact-input.vc_row {
    padding: 1em 1.5em;
}

section.vc_section .vc_gitem-zone .vc_gitem_row {
    top: 0;
    transform: translate(0);
}

.copycontainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.copyright-bar {
    width: 100%;
}

.nieuws-titel .wpb_wrapper {
    display: flex;
    align-items: self-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em !important;
}

.nieuws-titel .wpb_wrapper h2 {
    margin-bottom: 0 !important;
    line-height: 0;
}

.nieuws-titel .wpb_wrapper a {
    text-decoration: underline;
    color: #9290AD !important;
}

.vc_row.container-carrousel .slick-slide img {
    /* height: 240px;
	width: 100%; */
    object-fit: cover;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .ruimte-container .vc_col-sm-6.wpb_column {
        width: calc(50% + 2.5em);
        margin-left: -2.5em;
    }

    .hide-desktop {
        display: none !important;
    }

    #banner-container-mobile {
        display: none !important;
    }

    button.slick-next-custom {
        margin-top: -45px;
    }

    .nieuws-titel .wpb_wrapper h2 {
        line-height: 1;
    }

    .footer-img-container img {
        max-width: 160px !important;
    }

        .team-btn {
        display: block !important;
    }

    .mobile-btn-team {
        display: none !important;
    }
}

@media (min-width: 110px) {
    body .vc-gitem-zone-height-mode-auto.vc-gitem-zone-height-mode-auto-9-16:before {
        padding-top: 145.777778%;
    }
}

/* .vc-row.container-carrousel  */
/* 110% size */
@media (min-width: 1701px) and (max-width: 1919px) {}

/* Laptop L (120%) size */
@media (min-width: 1501px) and (max-width: 1700px) {}

/* Macbook screens size (1440x768) */
@media (min-width: 1401px) and (max-width: 1500px) {}

/* Laptop S/M (150%) sizes */
@media (min-width: 1200px) and (max-width: 1400px) {}

/* Tablet/iPad landscape mode */
@media (min-width: 901px) and (max-width: 1199px) {}

/* Tablet/iPad portrait mode */
@media (min-width: 501px) and (max-width: 900px) {}

/* Tablet/iPad portrait BIG mode (850x1024) */
@media (min-width: 701px) and (max-width: 1180px) {
    #banner-container .wpb_text_column {
        margin-left: 2em;
    }
}

.inside-header.grid-container {
    z-index: 9;
    position: relative;
}

/* Mobile general */
@media (max-width: 790px) {
    #banner-container {
        display: none !important;
    }

    #banner-container-mobile {
        display: block !important;
    }

    .team-btn {
        display: none !important;
    }

    .mobile-btn-team {
        display: block !important;
    }

    .vc-gitem-zone-height-mode-auto.vc-gitem-zone-height-mode-auto-9-16:before {
        padding-top: 107.777777777% !important;
    }

    body section.vc_section.section-bg {
        background-image: url(/wp-content/uploads/2025/02/Group-16.svg) !important;
        background-repeat: no-repeat !important;
        background-position: center 0 !important;
        background-size: 525% auto !important;
    }

    #footer-container .vc_column_container {
        margin-bottom: 15px;
    }

    div#banner-container {
        background-position: 0% !important;
    }

    .nieuws-titel h2 {
        margin-bottom: 6px;
    }

    .button.slick-next-custom {
        margin-top: -40px;
    }

    div.ruimte-container.fiets-foto {
        background-position: 90% !important;
    }

    .contact-input h2 br {
        display: none;
    }

    .contact-input h2 {
        font-size: 17px;
    }

    #footer-container #field_submit {
        width: 46px;
        height: 46px;
    }

    body #footer-container #gform_fields_4 {
        display: flex;
    }

    .teambox {
        flex-direction: column;
    }

    .teambox p {
        max-width: 100% !important;
    }
}

/* iPhone X en kleiner */
@media (max-width: 380px) {}


a.btn.btn-green {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

a.btn.btn-green:before {
    border-radius: 5px;
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #29235C;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

a.btn.btn-green:hover,
a.btn.btn-green:focus,
a.btn.btn-green:active {
    color: white;
}

a.btn.btn-green:hover:before,
a.btn.btn-green:focus:before,
a.btn.btn-green:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}


a.btn.btn-blue {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

a.btn.btn-blue:before {
    border-radius: 5px;
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #4DA880;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

a.btn.btn-blue:hover,
a.btn.btn-blue:focus,
a.btn.btn-blue:active {
    color: white;
}

a.btn.btn-blue:hover:before,
a.btn.btn-blue:focus:before,
a.btn.btn-blue:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}


body div ul>li.green-menu.menu-item>a {
    background: #4DA880 !important;
    line-height: 3;
    border-radius: 5px;
    padding-inline: 30px;
    color: white !important;
}


.single-post .entry-title {
    font-weight: bold;
    color: #29235C;
}

.single-post .byline {
    display: none;
}

.single-post footer.entry-meta {
    display: none;
}

.single-post .site-footer {
    margin-top: 4em;
}


#footer-container #field_submit input {
    place-self: anchor-center;
}

.nieuws-titel .wpb_wrapper h2 {
    line-height: 1;
}


/*  Nieuwe GRID*/
.rt-row .rt-grid-item div.rt-holder {
    box-shadow: none;
}

.rt-row .rt-holder .rt-detail .entry-title a {
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 17px !important;
}

.rt-row .rt-holder .rt-detail {
    padding: 0 !important;
}

.rt-row .rt-holder .rt-detail .tpg-excerpt {
    color: #ffffff !important;
    font-size: 17px !important;
}

.rt-row .rt-holder .rt-detail h3.entry-title {
    margin-bottom: 10px;
}

.rt-row .rt-holder img {
    border-radius: 5px;
}

.tpg-shortcode-main-wrapper .carousel1 .rt-holder .rt-detail,
.tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail,
.tpg-shortcode-main-wrapper .layout1 .rt-holder .rt-detail {
    background: transparent;
}

#footer-container img {
    max-width: 160px !important;
}

.projectenbox {
    display: flex;
	justify-content: space-between;
}

div.rt-col-md-4.rt-col-sm-6.rt-col-xs-12.even-grid-item.rt-grid-item {
    padding-left: 0 !important;
}

.teambox {
    display: flex;
	justify-content: space-between;
}

.greenTextColor {
    color: #4DA880;

}

/* Team pagina lay-out optimalisatie */
.team-read {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Grid - 3 kolommen desktop zoals read.nl */
.team-read__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    justify-items: center;
}

/* Foto's kleiner + nette hover */
.team-read__media {
    width: 100%;
    max-width: 320px;
    border-radius: 6px;
    overflow: hidden;
}

.team-read__img {
    width: 100%;
    aspect-ratio: 1/1;
    /* vierkant */
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.team-read__card:hover .team-read__img {
    transform: translateY(-3px);
}

/* Typografie zoals read.nl */
.team-read__name {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #29235C;
}

.team-read__role {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 400;
    color: #4DA880;
    text-align: center;
}

/* Bij mobiel: 1 kolom */
@media (max-width: 600px) {
    .team-read {
        padding: 40px 15px;
    }
        
    .team-read__media {
        max-width: 100%;
        width: 100%;
    }
    

    .team-read__grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }

    .team-read__card {
        width: 100%;
        max-width: 340px; /* zelfde als je bio */
    }
}

.team-read__bio {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.55;
    color: #29235C;
    text-align: center;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* Zorg dat WPBakery row background niet het team-grid overschildert */
.team-read,
.team-read__grid,
.team-read__card {
    background: transparent !important;
}

/* Reset WPBakery page wrapper */
.page .entry-content {
    background: transparent !important;
}

.featured-image {
    text-align: center;
}

.featured-image picture,
.featured-image img {
    max-height: 350px;      
    height: auto;            
    width: auto;             
    max-width: 100%;         
    border-radius: 16px;     
}

.single-post .featured-image {
    text-align: center;
}

.single-post .featured-image picture img {
    height: 350px !important;   /* schaal hem naar 350px hoog */
    width: auto !important;     /* breedte automatisch, verhouding blijft goed */
    max-width: 100% !important; /* niet breder dan de content */
    display: block;
    margin: 0 auto;
}

ul {
	margin-left: 17px;
}

/* Container zelf alleen spacing */
.btn-container-contact {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Link is de flexcontainer: icoon + tekst naast elkaar */
.btn-container-contact a {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    margin-right: 10px;
}

/* Icoontjes altijd even groot (ook mobiel) */
.btn-container-contact img {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0 !important;
    display: block;
}

/* Tekstblok: label + waarde onder elkaar */
.btn-contact-text {
    font-size: 16px;
    line-height: 1.2;
}

/* Extra fine-tuning mobiel (optioneel) */
@media (max-width: 768px) {
    .btn-container-contact a {
        align-items: flex-start; /* zodat meerregelige tekst netjes onder elkaar blijft */
    }

    .btn-container-contact {
        justify-content: space-between;
    }
}

.topbar-container > img {
    height: auto !important;
}

.team-read__contact {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.team-read__contact-item {
  display: inline-flex;
}

.team-read__icon {
  width: 28px;
  height: auto;
  display: block;
}

