/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
.gallery-block-mobile {
    display: none;
}
.gallery-block {
    background: linear-gradient(180deg, rgba(72, 74, 81, 1) 0%, rgba(23, 29, 36, 1) 100%);
    padding-top: 140px;
    margin-bottom: -80px;
}
.gallery-block-container-inner {
    position: relative;
    width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 340px) 460px;
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.gallery-block img {
    width: 100%;
}
.gallery-block img:nth-child(1) {
    clip-path: polygon(30% 10%, 30% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
    grid-area: 1 / 1 / 2 / 3;
}
.gallery-block img:nth-child(2) {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 85%, 50% 100%, 0 100%);
    grid-area: 3 / 1 / 4 / 2;
    height: 100%;
    object-fit: cover;
}
.gallery-block img:nth-child(3) {
    grid-area: 2 / 2 / 4 / 3;
    height: 100%;
    object-fit: cover;
}
.gallery-block img:nth-child(4) {
    clip-path: polygon(60% 0, 60% 15%, 100% 15%, 100% 100%, 0 100%, 0 0);
    grid-area: 3 / 3 / 4 / 4;
    height: 100%;
    object-fit: cover;
    max-height: 235px;
}
.gallery-content{
    grid-area: 1 / 3 / 3 / 4;
    border: 1px solid #ffffff20;
    padding: 55px;
}
.gallery-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4.8px;
    margin-top: 0;
    color: white;
}
.gallery-title {
    font-size: 60px;
    line-height: 66px;
    color: white;
    margin: 40px 0;
}
.gallery-button {
    font-size: 22px;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 40px;
    background: #F6CE47;
    border-radius: 40px;
}
@media (max-width: 1180px) {
    .gallery-block {
        display: none;
    }
    .gallery-block-mobile {
        display: block;
        background: linear-gradient(180deg, rgba(72, 74, 81, 1) 0%, rgba(23, 29, 36, 1) 100%);
        padding: 80px 20px;
        margin: 0;
    }
    .gallery-block-mobile .gallery-block-container-inner {
        width: auto;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .gallery-block-mobile .gallery-content {
        border: none;
        padding: 0 15px;
    }
    .gallery-block-mobile .gallery-label {
        font-size: 11px;
        letter-spacing: 3.3px;
    }
    .gallery-block-mobile .gallery-title {
        font-size: 30px;
        line-height: 35px;
        margin: 10px 0 34px;
    }
    .gallery-block-mobile .gallery-button {
        font-size: 14px;
        padding: 9px 24px;
    }

    .gallery-block-mobile img:nth-child(1) {
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        clip-path: polygon(28% 11%, 28% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
    }
    .gallery-block-mobile img:nth-child(2) {
        position: absolute;
        top: 10%;
        height: auto;
        width: calc(50% - 10px);
        right: 0;
        clip-path: polygon(100% 0, 100% 88%, 61% 89%, 61% 100%, 0 100%, 0 0);
    }
    .gallery-block-mobile img:nth-child(3) {
        position: absolute;
        width: calc(50% - 10px);
        top: 29%;
        height: auto;
    }
    .gallery-block-mobile img:nth-child(4) {
        width: 60%;
        right: 0;
        position: absolute;
        top: 33%;
        height: auto;
        clip-path: polygon(68% 0, 68% 14%, 100% 14%, 100% 100%, 0 100%, 0 0);
    }
    .gallery-img {
        width: 100%;
        height: 600px;
        overflow: hidden;
        position: relative;
    }
}