.gameplan-slider {
    position: relative;
    display: flex;
    width: 100%;
    height: 170px;
    margin: 0;
    background-color: var(--wp--preset--color--custom-color-4);

    .spiele {
        display: flex;
        width: 100%;
        height: 100%;
        overflow: hidden;
        touch-action: pan-y;

        > .matches-track {
            display: flex;
            flex-direction: row;
            transition: transform 0.3s ease;
            will-change: transform;
            user-select: none;
        }
    }

    .spiel {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 220px;
        height: 100%;
        box-sizing: border-box;
        background-color: var(--wp--preset--color--custom-color-4);
        border: 1px solid var(--wp--preset--color--custom-color-2);
		color: inherit;
		text-decoration: none;
        &.current {

            .text p {
                color: var(--wp--preset--color--custom-color-1);;
            }
        }
    }


    .logos .logo,
    .logos .logo-placeholder {
        width: 70px;
        height: 70px;
        max-width: none;
    }

    .gameplan-slider__arrow {
        position: absolute;
        z-index: 2;
        top: 50%;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0 0 3px;
        color: var(--wp--preset--color--custom-color-1);
        background: color-mix(in srgb, var(--wp--preset--color--custom-color-4) 86%, transparent);
        border: 1px solid var(--wp--preset--color--custom-color-2);
        border-radius: 50%;
        font: inherit;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
        transform: translateY(-50%);
        transition: opacity 0.2s ease, background-color 0.2s ease;

        &:hover,
        &:focus-visible {
            background: var(--wp--preset--color--custom-color-2);
            outline: 2px solid var(--wp--preset--color--custom-color-1);
            outline-offset: 2px;
        }

        &:disabled {
            opacity: 0;
            pointer-events: none;
        }
    }

    .gameplan-slider__arrow--previous {
        left: 12px;
    }

    .gameplan-slider__arrow--next {
        right: 12px;
    }


    .logos {
        display: flex;
        flex: 1;
        justify-content: space-evenly;
        align-items: center;

        .logo,
        .logo-placeholder {
            max-width: 70px;
            margin: 0 10px;
            pointer-events: none;
        }

        .logo {
            height: auto;
        }
    }

    .text {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        p:nth-child(1) {
            font-size: 27px;
            font-weight: bold;
            color: var(--wp--preset--color--custom-color-5);
            margin: 0;
            letter-spacing: 2px;
        }

        p:nth-child(2) {
            font-size: 17px;
            font-weight: 400;
            color: grey;
            margin: 0;
        }
    }
}

@media (max-width: 768px) {
    .gameplan-slider {
        height: 140px;
    }

    .gameplan-slider .spiele .spiel {
        width: 140px;
    }

    .gameplan-slider .logos .logo,
    .gameplan-slider .logos .logo-placeholder {
        width: 50px;
        height: 50px;
        max-width: 50px;
    }

    .gameplan-slider .text p:nth-child(1) {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .gameplan-slider .text p:nth-child(2) {
        font-size: 12px;
        font-weight: 300;
    }

    .gameplan-slider .gameplan-slider__arrow {
        width: 36px;
        height: 36px;
        font-size: 29px;
    }
}

