/* =========================================================
   PAGE VIGNETTES — LISTES JEUX / CHANSONS / HISTOIRES
   ========================================================= */

.page-vignettes .zone-vignettes {
    position: absolute;
    z-index: 20;

    top: 42%;
    left: 22%;
    width: 56%;
    height: 25%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;

    column-gap: 5%;
    justify-items: center;
    align-items: center;
}

.page-vignettes .vignette-item {
    width: 100%;
}

.page-vignettes .vignette-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   PAGINATION VIGNETTES
   ========================================================= */

.page-vignettes .pagination-vignettes {
    position: absolute;
    z-index: 25;

    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;

    padding: 0.45rem 1.2rem;

    border-radius: 999px;

    background: rgba(10, 10, 35, 0.45);
    backdrop-filter: blur(4px);

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.12),
        0 0 22px rgba(255, 220, 120, 0.18);

    font-family: Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: bold;

    color: #fff8d8;

    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 18px rgba(255, 220, 120, 0.45);
}

.page-vignettes .pagination-vignettes button {
    border: none;
    background: transparent;

    color: #fff8d8;

    font-family: Georgia, serif;
    font-size: 1.4em;
    font-weight: bold;

    cursor: pointer;

    padding: 0 0.2rem;

    transition:
        transform 0.18s ease,
        color 0.18s ease,
        text-shadow 0.18s ease;
}

.page-vignettes .pagination-vignettes button:hover {
    transform: scale(1.2);
    color: #ffffff;

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 22px rgba(255, 220, 120, 0.75);
}

/* =========================================================
   PORTRAIT
   ========================================================= */

@media (orientation: portrait) {

    .page-vignettes .zone-vignettes {
        top: 35%;
        left: 14%;
        width: 72%;
        height: 42%;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);

        column-gap: 7%;
        row-gap: 5%;
    }

    .page-vignettes .pagination-vignettes {
        bottom: 10%;

        gap: 1.6rem;
        padding: 0.55rem 1.4rem;

        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }
}