/* ============================================================
   Direct Links PLUS — Clean, Optimized & Enhanced CSS
   ============================================================ */

/* Wrapper */
.flex_layout.direct_links_plus .content_wrapper {
    text-align: left;
    margin-bottom: 50px;
}

/* Container */
.button_repeater_container_plus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
}

/* ===============================
   Card layout
   =============================== */
.link_direct_plus {
    background-color: white;
    box-shadow: 0px 4px 20px rgba(48,48,48,0.08);

    width: calc(25% - 25px);    /* 4 per rij op desktop */
    min-width: 200px;
    max-width: 260px;
    aspect-ratio: 1 / 1;        /* vierkant */

    border-radius: 12px;
    padding: 18px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    text-align: center;
    gap: 10px;

    color: var(--wp--preset--color--fl-body-text); /* 🔹 tekstkleur toevoegen */

    transition: transform .3s ease, box-shadow .3s ease;
}

/* Shadow lift + card hover */
.link_direct_plus:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0px 12px 28px rgba(0,0,0,0.15);
}

/* ===============================
   Icon boven
   =============================== */
.button_icon_plus img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 10px;

    transition: transform .35s ease, opacity .35s ease;
    opacity: 0.95;
}

/* Smooth icon hover animatie */
.link_direct_plus:hover .button_icon_plus img {
    transform: scale(1.08);
    opacity: 1;
}

/* ===============================
   Teksten onder icon
   =============================== */
.button_text_plus {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.titel_plus {
    font-size: 18px;
    font-weight: 700;
}

.subtitel_plus {
    font-size: 14px;
    opacity: .8;
}

/* ===============================
   Arrow onderaan
   =============================== */
.arrow_plus {
    width: 38px;
    height: 38px;
    background-color: var(--wp--preset--color--fl-accent);
    border-radius: 50%;

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

    margin-top: 10px;

    transition: transform .3s ease, background-color .3s ease;
}

/* Extra kleine arrow-hover animatie (matching icon) */
.link_direct_plus:hover .arrow_plus {
    transform: scale(1.12);
}

/* ===============================
   Responsive Grid
   =============================== */

@media screen and (max-width: 1024px) {
    .link_direct_plus {
        width: calc(33.33% - 20px); 
        max-width: 240px;
    }
}

@media screen and (max-width: 700px) {
    .link_direct_plus {
        width: calc(50% - 15px);
        aspect-ratio: unset;
        max-width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .link_direct_plus {
        width: 100%;
    }
}

/* ===============================
   Multisite overrides
   =============================== */

.site-id-6 .link_direct_plus {
    box-shadow: 0px 4px 10px rgba(48, 48, 48, 0.28);
    background: url('/wp-content/uploads/sites/6/2025/10/bg.jpg');
}

.site-id-7 .link_direct_plus {
    box-shadow: 0px 4px 10px rgba(48, 48, 48, 0.28);
}
