/* ==================================================
   ALGEMEEN
================================================== */

.teamblok {
    width: 100%;
    margin-top: 70px;
    margin-bottom: 70px;
}

.teamblok__row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2.5rem;

    align-items: center;
}


/* ==================================================
   LINKERKANT - AFBEELDING
================================================== */

.teamblok__left {
    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 16px;
}

.teamblok__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 16px;
}


/* ==================================================
   RECHTERKANT
================================================== */

.teamblok__right {
    width: 100%;
    padding-left: 20px;
}


/* ==================================================
   LOCATIE
================================================== */

.teamblok__location {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    color: #144a85;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.teamblok__location-icon {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    color: #144a85;
}


/* ==================================================
   TITEL
================================================== */

.teamblok__title {
    margin: 0 0 17px;
    font-size: clamp(30px, 3vw, 38px);
}


/* ==================================================
   BESCHRIJVING
================================================== */

.teamblok__description {
    margin: 0;

    color: #66778b;

    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
}


/* ==================================================
   STATISTIEKEN
================================================== */

.teamblok__stats {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid #dce3ea;
}

.teamblok__stat {
    min-width: 0;
}

.teamblok__stat strong {
    display: block;

    margin-bottom: 7px;

    color: #15477f;

    font-size: 29px;
    line-height: 1;
    font-weight: 700;
}

.teamblok__stat span {
    display: block;

    color: #66778b;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
}


/* ==================================================
   KNOPPEN / LINKS ONDERAAN
================================================== */

.teamblok__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

/* ==================================================
   TELEFOONLINK
================================================== */

.teamblok__phone-link,
.teamblok__phone-link:visited {
    color: #15477f;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;

    text-decoration-line: underline;
    text-decoration-color: #13d77b;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.teamblok__phone-link:hover {
    color: #0e3760;
}

.teamblok__phone-link:focus-visible {
    outline: 2px solid #13d77b;
    outline-offset: 4px;
}


/* ==================================================
   GROTERE TABLET / KLEINE LAPTOP
================================================== */

@media (max-width: 1199.98px) {

    .teamblok {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .teamblok__row {
        --bs-gutter-x: 1.5rem;
    }

    .teamblok__right {
        padding-left: 10px;
    }

    .teamblok__description {
        font-size: 16px;
    }

    .teamblok__stats {
        gap: 18px;
    }

    .teamblok__stat strong {
        font-size: 27px;
    }

    .teamblok__stat span {
        font-size: 13px;
    }

    .teamblok__buttons {
        gap: 14px;
    }

    .teamblok__primary-link {
        padding-left: 22px;
        padding-right: 22px;

        font-size: 15px;
    }

    .teamblok__phone-link {
        font-size: 14px;
    }

}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 991.98px) {

    .teamblok {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .teamblok__row {
        --bs-gutter-x: 1.25rem;
        --bs-gutter-y: 2rem;
    }

    .teamblok__left {
        aspect-ratio: 4 / 3;
    }

    .teamblok__right {
        padding-left: 0;
    }

    .teamblok__title {
        font-size: 31px;
        letter-spacing: -0.5px;
    }

    .teamblok__description {
        font-size: 15px;
        line-height: 1.55;
    }

    .teamblok__stats {
        grid-template-columns: repeat(3, 1fr);

        gap: 12px;

        margin-top: 22px;
        padding-top: 20px;
    }

    .teamblok__stat strong {
        font-size: 25px;
    }

    .teamblok__stat span {
        font-size: 12px;
    }

    .teamblok__buttons {
        margin-top: 26px;
        gap: 12px;
    }

    .teamblok__primary-link {
        min-height: 48px;

        padding-left: 18px;
        padding-right: 18px;

        font-size: 14px;
    }

    .teamblok__phone-link {
        font-size: 13px;
    }

}


/* ==================================================
   MOBIEL
================================================== */

@media (max-width: 767.98px) {

    .teamblok {
        margin-top: 40px;
        margin-bottom: 45px;
    }

    .teamblok__row {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 2rem;
    }

    .teamblok__left {
        aspect-ratio: 16 / 10;

        border-radius: 14px;
    }

    .teamblok__image {
        border-radius: 14px;
    }

    .teamblok__right {
        padding-left: 0;
    }

    .teamblok__location {
        margin-bottom: 14px;

        font-size: 14px;
    }

    .teamblok__title {
        margin-bottom: 14px;

        font-size: 31px;
        line-height: 1.08;
    }

    .teamblok__description {
        font-size: 16px;
        line-height: 1.55;
    }

    .teamblok__stats {
        grid-template-columns: repeat(3, 1fr);

        gap: 15px;

        margin-top: 24px;
        padding-top: 20px;
    }

    .teamblok__stat strong {
        font-size: 27px;
    }

    .teamblok__stat span {
        font-size: 13px;
    }

    .teamblok__buttons {
        margin-top: 26px;

        gap: 16px;
    }

}


/* ==================================================
   KLEINE MOBIEL
================================================== */

@media (max-width: 575.98px) {

    .teamblok {
        margin-top: 32px;
        margin-bottom: 36px;
    }

    .teamblok__left {
        aspect-ratio: 4 / 3;
    }

    .teamblok__title {
        font-size: 28px;
    }

    .teamblok__description {
        font-size: 15px;
    }


    /* Statistieken onder elkaar */

    .teamblok__stats {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .teamblok__stat {
        display: grid;

        grid-template-columns: 70px 1fr;

        align-items: start;

        column-gap: 14px;
    }

    .teamblok__stat strong {
        margin-bottom: 0;

        font-size: 26px;
    }

    .teamblok__stat span {
        font-size: 14px;
    }


    /* Knop en telefoonlink onder elkaar */

    .teamblok__buttons {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;
    }

    .teamblok__primary-link {
        width: 100%;
    }

    .teamblok__phone-link {
        width: 100%;

        text-align: center;
    }

}


/* ==================================================
   ZEER KLEIN SCHERM
================================================== */

@media (max-width: 399.98px) {

    .teamblok__title {
        font-size: 25px;
    }

    .teamblok__description {
        font-size: 14px;
    }

    .teamblok__primary-link {
        padding-left: 16px;
        padding-right: 16px;

        font-size: 14px;
    }

}