/* Slideshow */
.comment-container {
  position: relative;
  background: #f1f1f1;
  max-width: 500px;
  width: 50%;
  margin: auto;
}

.comment {
  padding: 15px;
  text-align: center;
  font-size: 70%;
}

.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: #bbb;
  display: inline-block;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 40px;
  left: 10%;
  width: 80%;
  padding: 5px 14px;
  display: flex;
  justify-content: space-between;
  background-color: #eee;
  border-radius: 5px;
}
/* =====================================
   UITGELICHTE PROJECTEN
===================================== */

#projecten-highlight {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;

    padding: 1rem 2rem;
}

/* Oude lege kolommen uitschakelen */
#projecten-highlight .projectbadge {
    display: none;
}

/* Projectblokken */
#projecten-highlight .w3-col {
    float: none;
    width: 300px !important;
    margin: 0;
    display: flex;
}

/* Kaart zelf */
#projecten-highlight .w3-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
}

/* Afbeelding */
#projecten-highlight img {
    width: 90%;
    margin: 0 auto;
    display: block;

    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Tekstvak */
#projecten-highlight .w3-container {
    padding: 0.75rem 1rem 1rem;

    display: flex;
    justify-content: center;
}

/* Titel */
#projecten-highlight h4 {
    margin: 0;
    padding: 0.75rem 0;

    text-align: center;

    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.35;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 2.8em;
}
/* ==================================================
   UITGELICHTE PROJECTEN OP MOBIELE SCHERMEN
   ================================================== */

@media screen and (max-width: 600px) {

    /* De link "Meer projecten..." niet naast de kaarten laten zweven */
    .projecten .w3-panel.w3-right {
        float: none !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 16px;
        padding: 0;
        text-align: right;
    }

    /* Projecten onder de zwevende elementen laten beginnen */
    #projecten-highlight {
        display: flex;
        flex-direction: column;
        align-items: center;
        clear: both;

        width: 100%;
        box-sizing: border-box;
        gap: 20px;
        padding: 0 12px;
        margin: 0 auto;
    }

    /* Iedere projectkaart centreren en voldoende breed maken */
    #projecten-highlight .project-card {
        display: block;
        width: 100%;
        max-width: 420px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* Link en kaart de volledige beschikbare breedte geven */
    #projecten-highlight .project-card > a {
        display: block;
        width: 100%;
    }

    #projecten-highlight .project-card .w3-card {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        text-align: center;
    }

    /* Afbeelding breed, responsief en gecentreerd */
    #projecten-highlight .project-card picture {
        display: block;
        width: 100%;
    }

    #projecten-highlight .project-card img {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    /* Titel netjes onder de afbeelding */
    #projecten-highlight .project-card .w3-container {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 6px 4px;
    }

    #projecten-highlight .project-card h4 {
        margin: 0;
        line-height: 1.3;
        text-align: center;
    }
}

/* ==================================================
   NAVIGATIE GETUIGENISSEN
   ================================================== */

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    max-width: 500px;
    min-height: 48px;
    box-sizing: border-box;

    margin: 16px auto 0;
    padding: 7px 12px;

    background-color: #e5e5e5;
}

/* Container met de bolletjes */
.testimonial-navigation .dot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin: 0;
    padding: 0;

    background-color: transparent;
}

/* Standaard bolletje */
.testimonial-navigation .dot {
    display: block;
    flex: 0 0 auto;

    width: 11px;
    height: 11px;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background-color: #aaaaaa;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

/* Bolletje van de zichtbare getuigenis */
.testimonial-navigation .dot.active {
    background-color: #000000;
    transform: scale(1.15);
}

/* Pijltjes */
.testimonial-navigation .testimonial-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 32px;
    height: 32px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: transparent;
    color: #000000;

    font-family: Arial, sans-serif;
    font-size: 19px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

/* Hover enkel op toestellen die hover ondersteunen */
@media (hover: hover) {
    .testimonial-navigation .testimonial-arrow:hover {
        color: #ffffff;
        background-color: #000000;
    }

    .testimonial-navigation .dot:hover {
        background-color: #666666;
    }
}

/* Zichtbare toetsenbordfocus */
.testimonial-navigation .testimonial-arrow:focus-visible,
.testimonial-navigation .dot:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}


/* ==================================================
   TABLETS EN KLEINERE SCHERMEN
   ================================================== */

@media screen and (max-width: 600px) {

    .testimonial-navigation {
        gap: 7px;

        width: 100%;
        min-height: 44px;

        margin-top: 12px;
	}
}

.comment-container {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
}

.comment {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.comment img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-bottom: 16px;
    margin-left: auto;
}

@media screen and (max-width: 600px) {

    .comment-container {
        padding: 14px 12px;
    }

    .comment {
        font-size: 14px;
        line-height: 1.5;
    }

    .comment img {
        max-width: 85%;
        margin-bottom: 14px;
    }

    .comment p {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 380px) {

    .comment-container {
        padding: 12px 9px;
    }

    .comment {
        font-size: 13px;
        line-height: 1.45;
    }

    .comment img {
        max-width: 90%;
    }
}