/* ==========================================================================
   VAARROUTES LIJST
   Full-width route cards: content uitgelijnd op 1200px-grid, carrousel
   loopt door tot de schermrand.
   Filter UI shared with sloepen-filter.css
   ========================================================================== */

.vaarroutes-lijst {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
}

.vaarroutes-lijst *,
.vaarroutes-lijst *::before,
.vaarroutes-lijst *::after {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   ROUTE ITEM
   -------------------------------------------------------------------------- */

.vaarroutes-lijst .vaarroute-item {
    position: relative;
    display: flex;
    gap: 137px;
    /* content-linkerkant uitgelijnd op 1200px-grid, carrousel-rechterkant tot schermrand */
    padding-top: 72px;
    padding-bottom: 72px;
    padding-right: 0;
    padding-left: max(24px, calc((100% - 1200px) / 2));
    background: #ffffff;
    border-radius: 0 0 60px 60px;
    box-shadow: 0px 0px 20.4px 0px rgba(213, 220, 228, 0.5);
    align-items: flex-end;
}

.vaarroutes-lijst .vaarroute-item[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   LEFT, content
   -------------------------------------------------------------------------- */

.vaarroutes-lijst .vaarroute-item__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 40%;
}

.vaarroutes-lijst .vaarroute-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vaarroutes-lijst .vaarroute-item__title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 900;
    font-size: 28px;
    line-height: 130%;
    margin: 0;

    background: linear-gradient(90deg, #52AAFF 0%, #3174C4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.vaarroutes-lijst .vaarroute-item__duur {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-top: 5px;
}

.vaarroutes-lijst .vaarroute-item__duur svg,
.vaarroutes-lijst .vaarroute-item__duur img {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: block;
}

.vaarroutes-lijst .vaarroute-item__duur img {
    margin-bottom: 4px;
}

.vaarroutes-lijst .vaarroute-item__intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #000;
    margin-bottom: 32px;
}

/* Sections */
.vaarroutes-lijst .vaarroute-item__section {
    margin-bottom: 20px;
}

.vaarroutes-lijst .vaarroute-item__section-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #000;
    margin: 0 0 12px;
    text-transform: none;
}

.vaarroutes-lijst .vaarroute-item__section-body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #000;
}

.vaarroutes-lijst .vaarroute-item__section-body p {
    margin: 0 0 8px;
}

.vaarroutes-lijst .vaarroute-item__section-body p:last-child {
    margin-bottom: 0;
}

/* Highlights list */
.vaarroutes-lijst .vaarroute-item__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vaarroutes-lijst .vaarroute-item__highlights li {
    position: relative;
    padding-left: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #000;
}

.vaarroutes-lijst .vaarroute-item__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none'%3E%3Cpath d='M8.39264 18L0 9.46778L2.09816 7.33472L8.39264 13.7339L21.9018 0L24 2.13306L8.39264 18Z' fill='%2300BD49'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* "Onze sloepen" CTA */
.vaarroutes-lijst .vaarroute-item__cta,
.vaarroutes-lijst a.vaarroute-item__cta,
.vaarroutes-lijst a.vaarroute-item__cta:link,
.vaarroutes-lijst a.vaarroute-item__cta:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 8px 32px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-decoration: none !important;
    color: #000 !important;
    background: rgba(255, 209, 82, 1) !important;
    background-color: rgba(255, 209, 82, 1) !important;
    background-image: none !important;
    border: 1px solid rgba(241, 197, 75, 1) !important;
    border-radius: 30px !important;
    box-shadow:
        0px 0px 1px 2px rgba(255, 209, 82, 0.2),
        0px 0px 0px 2px rgba(255, 215, 104, 1) inset,
        0px -2px 2px 0px rgba(223, 176, 48, 1) inset;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.vaarroutes-lijst a.vaarroute-item__cta:hover,
.vaarroutes-lijst a.vaarroute-item__cta:focus,
.vaarroutes-lijst a.vaarroute-item__cta:active {
    background: rgba(255, 209, 82, 1) !important;
    background-color: rgba(255, 209, 82, 1) !important;
    color: #000 !important;
    text-decoration: none !important;
    box-shadow:
        0px 0px 1px 2px rgba(255, 209, 82, 0.2),
        0px 0px 0px 2px rgba(255, 215, 104, 1) inset,
        0px -2px 2px 0px rgba(223, 176, 48, 1) inset;
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: carousel with map as first slide + sfeerfoto slides
   -------------------------------------------------------------------------- */

.vaarroutes-lijst .vaarroute-item__right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
    width: 60%;
}

/* Carousel viewport.
   The track is wider than the viewport, showing slide N fully and the next slide
   partially clipped at the right edge of the card.
   Each slide is 495px wide. */
.vaarroutes-lijst .vaarroute-item__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.vaarroutes-lijst .vaarroute-item__carousel-track {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.vaarroutes-lijst .vaarroute-item__carousel-slide {
    flex: 0 0 auto;
    width: 100%;
    max-width: 495px;
    aspect-ratio: 495 / 350;
    overflow: hidden;
    border-radius: 0;
}

.vaarroutes-lijst .vaarroute-item__carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Gallery nav: sits BELOW the carousel, aligned with the CTA on the left */
.vaarroutes-lijst .vaarroute-item__gallery-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-right: 32px;
}

.vaarroutes-lijst .vaarroute-item__gallery-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent !important;
    box-shadow: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    line-height: 0;
}

.vaarroutes-lijst .vaarroute-item__gallery-btn:hover {
    box-shadow: none;
    transform: scale(1.08);
}

.vaarroutes-lijst .vaarroute-item__gallery-btn svg {
    width: 38px;
    height: 38px;
    display: block;
}

.vaarroutes-lijst .vaarroute-item__gallery-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.vaarroutes-lijst .vaarroute-item__gallery-btn:disabled:hover {
    transform: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .vaarroutes-lijst .vaarroute-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 24px 28px;
        border-radius: 0 0 40px 40px;
    }

    .vaarroutes-lijst .vaarroute-item__right {
        order: -1;
    }

    .vaarroutes-lijst .vaarroute-item__title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {

    .vaarroutes-lijst .vaarroute-item__carousel-slide {
        width: 85%;
    }

    .vaarroutes-lijst .vaarroute-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px 20px 20px;
        gap: 20px;
        border-radius: 0 0 30px 30px;
    }

    .vaarroutes-lijst .vaarroute-item__content,
    .vaarroutes-lijst .vaarroute-item__right {
        display: contents;
    }

    .vaarroutes-lijst .vaarroute-item__header {
        margin-bottom: 0;
        order: 1;
    }

    .vaarroutes-lijst .vaarroute-item__title {
        font-size: 24px;
    }

    .vaarroutes-lijst .vaarroute-item__intro {
        order: 2;
        font-size: 15px;
        margin-bottom: 0;
    }

    .vaarroutes-lijst .vaarroute-item__carousel {
        order: 3;
        width: 100%;
    }

    .vaarroutes-lijst .vaarroute-item__gallery-nav {
        order: 4;
        justify-content: flex-end;
        padding-right: 0;
        width: 100%;
    }

    .vaarroutes-lijst .vaarroute-item__section {
        order: 5;
    }

    .vaarroutes-lijst .vaarroute-item__cta,
    .vaarroutes-lijst a.vaarroute-item__cta {
        order: 6;
        align-self: flex-start !important;
    }
}