/* =========================================================
   VSS — SCHENGEN COUNTRIES
========================================================= */

.vss-schengen-countries {

    position: relative;

    overflow: hidden;

    padding: 85px 20px 90px;

    background: #F4F7FC;

}


/* =========================================================
   CONTAINER
========================================================= */

.vss-schengen-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.vss-schengen-header {

    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;

}

.vss-schengen-eyebrow {

    display: block;

    margin-bottom: 10px;

    color: #2463e8;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

}

.vss-schengen-header h2 {

    margin: 0 0 12px;

    color: #071b41;

    font-size: clamp(30px, 4vw, 40px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.5px;

}

.vss-schengen-header p {

    max-width: 620px;

    margin: 0 auto;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;

}


/* =========================================================
   COUNTRY GRID
========================================================= */

.vss-schengen-countries-row {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;

}


/* =========================================================
   COUNTRY CARD
========================================================= */

.vss-schengen-country {

    min-height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 18px 12px;

    background: #ffffff;

    border: 1px solid #e5ebf5;

    border-radius: 16px;

    box-shadow:
        0 6px 22px rgba(16, 48, 100, 0.045);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}

.vss-schengen-country:hover {

    transform: translateY(-4px);

    border-color: #cddbf2;

    box-shadow:
        0 14px 32px rgba(16, 48, 100, 0.09);

}

/* Cards are now <a> links instead of <div>s, so they need the default
   browser link styling (blue text, underline) explicitly reset —
   the original divs never needed this. */
.vss-schengen-country,
.vss-schengen-country:hover,
.vss-schengen-country:visited {

    text-decoration: none !important;

    color: inherit;

}


/* =========================================================
   FLAG
========================================================= */

.vss-schengen-flag {

    width: 52px;

    height: 52px;

    margin-bottom: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: #f1f5fb;

    font-size: 29px;

    line-height: 1;

}


/* =========================================================
   COUNTRY NAME
========================================================= */

.vss-schengen-country > span {

    color: #142398;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 700;

    text-align: center;

}


/* =========================================================
   MORE COUNTRIES
========================================================= */

.vss-schengen-more-badge {

    width: 52px;

    height: 52px;

    margin-bottom: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: #142398;

    color: #ffffff;

    font-size: 16px;

    font-weight: 800;

}

.vss-schengen-more {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3f6fc
        );

}


/* =========================================================
   FOOTER
========================================================= */

.vss-schengen-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 30px;

    padding-top: 22px;

    border-top: 1px solid #e1e8f2;

}

.vss-schengen-footer > span {

    color: #7a889c;

    font-size: 13px;

}

.vss-schengen-footer a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #1455d9 !important;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none !important;

}

.vss-schengen-footer a span {

    font-size: 16px;

    transition:
        transform .25s ease;

}

.vss-schengen-footer a:hover span {

    transform: translateX(4px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .vss-schengen-countries-row {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .vss-schengen-countries {

        padding: 65px 18px 70px;

    }


    /* HEADER */

    .vss-schengen-header {

        margin-bottom: 30px;

    }

    .vss-schengen-header h2 {

        font-size: 29px;

    }

    .vss-schengen-header p {

        font-size: 14px;

        line-height: 1.7;

    }


    /* HORIZONTAL COUNTRY SCROLL */

    .vss-schengen-countries-row {

        display: flex;

        overflow-x: auto;

        gap: 12px;

        padding: 4px 3px 15px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;

    }

    .vss-schengen-countries-row::-webkit-scrollbar {

        display: none;

    }


    /* MOBILE CARD */

    .vss-schengen-country {

        flex: 0 0 115px;

        min-height: 115px;

        padding: 15px 10px;

        scroll-snap-align: start;

        border-radius: 14px;

    }


    .vss-schengen-flag {

        width: 46px;

        height: 46px;

        font-size: 25px;

        border-radius: 12px;

    }


    .vss-schengen-country > span {

        font-size: 11px;

    }


    .vss-schengen-more-badge {

        width: 46px;

        height: 46px;

        font-size: 14px;

        border-radius: 12px;

    }


    /* FOOTER */

    .vss-schengen-footer {

        flex-direction: column;

        align-items: center;

        justify-content: center;

        margin-top: 20px;

        padding-top: 20px;

        text-align: center;

    }

    .vss-schengen-footer > span {

        font-size: 12px;

    }

    .vss-schengen-footer a {

        font-size: 13px;

    }

}