
.gallery-template-4 {
    & {
        background: #a2d6ff;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    @media(min-width: 768px){
        & {
            background-image: url('/_data/styly/vokno/gallery-template-vokno.webp');
            background-size: cover;
            background-position: left;
            background-repeat: no-repeat;
            margin-top: 3rem;
            padding-top: 72px;
            padding-bottom: 140px;
        }
    }

    .gallery-header .title {
        font-size: 32px;
        font-weight: 400;
        font-family: var(--font-primary);
        display: flex;
        align-items: start;
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: column;
    }

    @media (min-width: 768px) {
        .gallery-header .title {
            align-items: center;
            font-size: 36px;
            flex-direction: row;
        }
    }

    .gallery-main-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
        overflow: hidden;
        margin: 0 -15px;
        padding: 15px calc(15px - 0.5rem) 30px;
    }

    @media (min-width: 992px) {
        .gallery-main-container {
            padding-bottom: 40px;
        }
    }

    .gallery-main-container.container {
        margin: auto;
        padding-left: 48px;
        padding-right: 48px;
    }

    .image-container img {
        aspect-ratio: 4/3;
    }


    .additional-text {
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        /* padding: 5px; */
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        outline: none;
        border: none;
        font-family: var(--font-primary);
        line-height: 54px;
        padding-top: 12px;
    }

    .additional-text .additional-test-number {
        font-size: 75px;
    }


    .image-container {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
        margin: 0.5rem;
    }

    .image-container.temp-hidden {
        opacity: 0;
        height: 0;
        margin: 0;
    }
}
