.gallery-template-require-consultation {
    & {
        /*--branding-card-width: 350px;*/
        /*--branding-card-height: 450px;*/
        /*--branding-grid-gap: 24px;*/
        --branding-card-width: clamp(1px, calc(350 / 1920 * 100vw), 350px);
        --branding-card-height: clamp(1px, calc(260 / 1920 * 100vw), 260px);
        --branding-grid-gap: clamp(1px, calc(70 / 1920 * 100vw), 70px);
        padding-top: clamp(1px, calc(120 / 1920 * 100vw), 120px);
        padding-bottom: clamp(1px, calc(165 / 1920 * 100vw), 165px);
    }


    .cards-wrapper {
        width: 100%;
    }

    .branding-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        gap: var(--branding-grid-gap);
        width: 100%;
    }

    @media (min-width: 768px) {
        .branding-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (min-width: 992px) {
        .branding-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }


    .item {
        position: relative;
        width: 100%;
        justify-self: center;
    }

    @media(min-width: 992px){
        .item {
            max-width: var(--branding-card-width);
        }
    }

    .item.is-hidden {
        display: none;
    }

    .card-link {
        position: relative;
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .branding-grid__image {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    @media(min-width: 992px) {
        .branding-grid__image {
            min-height: clamp(1px, calc(250 / 1920 * 100vw), 250px);
            max-height: clamp(1px, calc(250 / 1920 * 100vw), 250px);
        }
    }

    .branding-grid__actions {
        display: flex;
        justify-content: center;
        margin-top: 80px;
    }


    .item.item_youtube:after {
        background: url("/_data/styly/img/youtube-play.png") 0 -60px no-repeat;
        content: "";
        height: 64px;
        width: 88px;
        position: absolute;
        left: calc(50% - 44px);
        top: calc(50% - 32px);
        pointer-events: none;
        opacity: 0.8;
    }

    .btn-default {
        padding-left: clamp(1px, calc(100 / 1920 * 100vw), 100px);
        padding-right: clamp(1px, calc(100 / 1920 * 100vw), 100px);
    }
}
