.gl-page {
    padding: 150px 0 80px;
    background: #fff;
}

.gl-header {
    max-width: 520px;
    margin: 0 auto 40px;
    text-align: center;
}

.gl-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.gl-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
}

.gl-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    white-space: pre-line;
    margin: 0 0 25px;
}

.gl-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.gl-tab {
    width: 130px;
    padding: 6px 0;
    text-align: center;
    border: 1px solid #00ae42;
    border-radius: 3px;
    background: #fff;
    color: #00ae42;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.gl-tab.active {
    background: #00ae42;
    color: #fff;
}

.gl-tab:focus {
    outline: none;
}

.gl-tab:focus-visible {
    outline: 2px solid #0d4a2c;
    outline-offset: 2px;
}

.gl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.gl-item {
    position: relative;
    display: block;
    aspect-ratio: 7 / 5;
    overflow: hidden;
    background: #eeeeee;
}

.gl-item img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gl-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 32px;
    opacity: 0;
    transition: opacity .2s ease;
}

.gl-item:hover .gl-zoom {
    opacity: 1;
}

.gl-item:hover img {
    transform: scale(1.04);
}

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

.gl-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.gl-more {
    width: 180px;
    padding: 10px 0;
    text-align: center;
    border: none;
    border-radius: 3px;
    background: #00ae42;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.gl-more:hover {
    opacity: .85;
}

#blueimp-gallery > .slides > .slide > .slide-content {
    max-width: calc(100% - 100px);
    max-height: calc(100% - 100px);
}

.gl-item.gl-video {
    aspect-ratio: 16 / 9;
}

.gl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 174, 66, .9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    transition: transform .2s ease;
}

.gl-video:hover .gl-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.gl-video-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 10px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.gl-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(0, 0, 0, .85);
}

.gl-video-modal.open {
    display: flex;
}

.gl-video-modal-box {
    position: relative;
    width: 100%;
    max-width: min(960px, calc((100vh - 100px) * 16 / 9));
}

.gl-video-frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.gl-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.gl-video-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.gl-panel {
    display: none;
}

.gl-panel.active {
    display: block;
}

.gl-empty {
    text-align: center;
    color: #646464;
    font-size: 14px;
}

@media (max-width: 767px) {
    .gl-page {
        padding-top: 110px;
    }
    
    .gl-video-modal {
        padding: 15px;
    }
}
        
@media (max-width: 991px) {
    .gl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .gl-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 20px;
    }
}