/* Contact VC element — styling toevoegen.
   Hergebruikt tt-page-surface (beige bg + decoratieve shapes) en
   tt-course-page__title / tt-course-page__subtitle uit general/course.css. */

.contact .tt-course-page__title {
    font-size: 52px;
    line-height: 60px;
    margin-bottom: 5px;
}

.contact .tt-course-page__subtitle {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 63px;
}

/* ============ Contact block (left column) ============ */

.contact__left {
    background: #fff;
    border-radius: 15px;
    padding: 31px 24px 44px;
}

.contact__block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.contact__block-title-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--light-blue, #DDEAF5);
    color: var(--blue, #1A75BB);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact__block-title-icon svg {
    display: block;
}

.contact .contact__block-title {
    font-size: 25px;
    line-height: 36px;
    font-weight: 700;
    margin: 0;
}

/* ============ Columns layout: contact block + map ============ */

.contact__columns {
    display: flex;
    align-items: center;
    gap: 0;
}

.contact__left {
    flex: 1 1 auto;
    min-width: 0;
}

.contact__right {
    flex: 0 0 550px;
}

/* ============ Items grid (2 per row) ============ */

.contact__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact__item {
    min-width: 0;
    padding-left: 50px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.contact .contact__item-title {
    font-family: 'LucyCousins', sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: var(--blue, #1A75BB);
    margin: 0 0 8px;
}

.contact__item-details,
.contact__item-details p {
    font-size: 18px;
    line-height: 26px;
}

/* Auto-linked email/phone links: pink + bold, underline op hover. */
.contact__item-details a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact__item-details a:hover {
    text-decoration: underline;
}

/* ============ Map ============ */

.contact__map-link {
    position: relative;
    display: block;
}

.contact__map {
    display: block;
    max-width: 100%;
    height: auto;
}

.contact__map-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 200px;
    max-width: calc(100% - 24px);
    background: #fff;
    border-radius: 4px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(10, 38, 54, 0.18);
    pointer-events: none;
}

.contact__map-overlay-heading {
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: var(--font-color);
}

.contact__map-overlay-address {
    font-size: 10px;
    line-height: 13px;
    color: var(--font-color);
    opacity: 0.75;
    margin-top: 2px;
}

/* ============ Responsive: stack map below contact block ============ */

@media (max-width: 1199px) {
    .contact__columns {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .contact__right {
        flex: 0 0 auto;
        align-self: center;
        width: 100%;
        max-width: 550px;
    }

    .contact__map {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact .tt-course-page__breadcrumbs {
        padding-top: 14px;
        text-align: center;
        margin-bottom: 31px;
    }

    .contact .tt-course-page__breadcrumbs .tt-breadcrumbs__list {
        justify-content: center;
    }

    .contact .tt-course-page__title {
        text-align: center;
        font-size: 34px;
        line-height: 41px;
        margin-bottom: 19px;
    }

    .contact .tt-course-page__subtitle {
        text-align: center;
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 31px;
    }

    .contact__items {
        grid-template-columns: 1fr;
    }

    .contact__item {
        background-position: 15px 0;
        background-size: auto 21px;
    }

    .contact__item[style*="envelope"] {
        background-position: 10px 0;
        background-size: 24px auto;
    }

    .contact__columns {
        gap: 0;
    }

    .contact__left {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}
