/* Link overview VC element (academia_link_overview).
   Kaart met secties; elke sectie een titel + één of meer link-pills. */

.tt-link-overview {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 24px;
    margin: 30px 0;
}

.tt-link-overview__section + .tt-link-overview__section {
    margin-top: 7px;
}

.tt-link-overview__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 700;
    color: var(--font-color, #0A2636);
}

.tt-link-overview__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tt-link-overview__list > li + li {
    margin-top: 7px;
}

.tt-link-overview__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    color: var(--font-color, #0A2636);
    font-size: 16px;
    line-height: 26px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tt-link-overview__link:hover,
.tt-link-overview__link:focus {
    background: var(--lighter-green, #DDF1E1);
    color: var(--green, #1FA238);
    /* Overrule .page-default-surface .entry-content a:hover (hogere specificity). */
    text-decoration: none !important;
}

.tt-link-overview__label {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: var(--font-color, #0A2636);
    transition: color 0.3s ease;
}

.tt-link-overview__label::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 26px;
    color: var(--green, #1FA238);
}

.tt-link-overview__chevron {
    flex: 0 0 auto;
    color: var(--green, #1FA238);
}

.tt-link-overview__link:hover .tt-link-overview__label,
.tt-link-overview__link:focus .tt-link-overview__label {
    color: var(--green, #1FA238);
}

@media (max-width: 767px) {
    .tt-link-overview {
        padding: 24px;
        /* Buiten de content-marges laten lopen (16px aan weerszijden). */
        margin-left: -16px;
        margin-right: -16px;
    }
}
