.lp-header-subtitle {
    color: var(--text-color-base);
    font-weight: normal;
    margin: 0 auto 16px;
    font-size: 16px;
    line-height: 24px;
}

@media all and (min-width: 600px) {
    .lp-header-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
}

@media all and (min-width: 1380px) {
    .lp-header-subtitle {
        font-size: 20px;
    }
}

.inverse .lp-header-subtitle {
    color: #fff;
}

.lp-header-subtitle span {
    font-weight: bold;
    display: block;
}

.lp-gallery-9-wrap {
    padding: 48px 0;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-wrap {
        padding: 64px 0;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-9-wrap {
        padding: 80px 0;
    }
}

.lp-gallery-9-header {
    text-align: center;
    max-width: 848px;
    margin: 0 auto;
}

.lp-gallery-9-header__title {
    padding: 0;
    margin-bottom: 8px;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-header__title {
        margin-bottom: 16px;
    }
}

.lp-gallery-9-header__subtitle {
    padding: 0;
    margin-bottom: 32px;
}

.lp-gallery-9-content {
    margin: -4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-content {
        margin: -8px;
    }
}

.lp-gallery-9-content__item {
    margin: 4px;
    width: 100%;
    height: calc(100vw - 40px);
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-content__item {
        -ms-flex-negative: 0;
        flex-shrink: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        margin: 8px;
        height: 176px;
        width: 384px;
    }

    .lp-gallery-9-content__item:nth-child(4n + 3), .lp-gallery-9-content__item:nth-child(4n + 2) {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        width: 176px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-9-content__item {
        height: 272px;
        width: 624px;
    }

    .lp-gallery-9-content__item:nth-child(4n + 3), .lp-gallery-9-content__item:nth-child(4n + 2) {
        width: 272px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-9-content__item {
        height: 368px;
        width: 768px;
    }

    .lp-gallery-9-content__item:nth-child(4n + 3), .lp-gallery-9-content__item:nth-child(4n + 2) {
        width: 368px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-9-content__item {
        height: 408px;
        width: 864px;
    }

    .lp-gallery-9-content__item:nth-child(4n + 3), .lp-gallery-9-content__item:nth-child(4n + 2) {
        width: 408px;
    }
}

body .lp-gallery-9-content__item-pic {
    height: 100%;
    width: 100%;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    object-fit: cover;
}

.lp-gallery-9-content__item-pic:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}

.lp-gallery-9-buttons {
    margin-top: 32px;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-buttons {
        margin-top: 48px;
        text-align: center;
    }
}

.lp-gallery-9-buttons__item {
    width: 100%;
    margin: 0 0 16px;
}

@media all and (min-width: 600px) {
    .lp-gallery-9-buttons__item {
        width: auto;
    	margin: 0 8px 16px;
    }
}