/* Locations 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. */

.locations {
    padding-bottom: 198px;
}

.locations .divider_curves {
    color: var(--beige, #fdefda);
}

.locations .tt-course-page__title {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 5px;
}

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

.locations .locations__text,
.locations .locations__text p {
    font-size: 16px;
    line-height: 28px;
}

.locations .locations__text {
    margin-bottom: 48px;
}

.locations__text a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.locations__text a:hover {
    text-decoration: underline;
}

/* ≤767px: locatie-onderdelen gecentreerd. */
@media (max-width: 767px) {
    .locations {
        padding-top: 14px;
    }

    /* Breadcrumbs + titel + ondertitel gecentreerd, specifiek voor dit element. */
    .locations .tt-course-page__breadcrumbs {
        margin-bottom: 32px;
    }

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

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

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

    .locations .locations__text {
        text-align: center;
        margin-bottom: 47px;
    }

    .locations__item {
        padding-bottom: 32px;
    }

    /* Primaire knop full width, telefoonnummer eronder gecentreerd. */
    .locations__item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .locations__item-button--primary {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
    }

    .locations__item-button--secondary {
        align-self: center;
        text-align: center;
    }
}

.locations__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 960px) {
    .locations__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .locations__list {
        grid-template-columns: 1fr;
    }
}

.locations__item {
    background: #fff;
    border-radius: 15px;
    padding: 24px;
}

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

.locations__item-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lighter-green, #DDF1E1);
    color: var(--green, #1FA238);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.locations__item-icon svg {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
}

.locations .locations__item-name {
    font-size: 25px;
    line-height: 36px;
    font-weight: 700;
    margin: 0;
}

.locations__item-video-trigger {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.locations__item-video-trigger:hover,
.locations__item-video-trigger:focus-visible {
    opacity: 0.8;
}

.locations__item-map-link {
    position: relative;
    display: block;
    margin-bottom: 24px;
}

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

.locations__item-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; /* klikken vallen door naar de <a> */
}

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

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

.locations .locations__item-description,
.locations .locations__item-description p {
    font-size: 14px;
    line-height: 23px;
}

.locations .locations__item-description strong {
    font-size: 16px;
    line-height: 28px;
}

.locations__item-description {
    margin-bottom: 24px;
}

.locations__item-description > *:last-child,
.locations__item-description p:last-child {
    margin-bottom: 0;
}

.locations__item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.locations__item-button--secondary {
    color: var(--font-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.locations__item-button--secondary:hover {
    color: var(--pink);
    text-decoration: none;
}
