.gallery-page {
    margin: 0;
    color: #202a36;
    font-family: 'Poppins', Arial, sans-serif;
    min-height: 100vh
}

.gallery-page .hc-main-header {
    position: relative;
    z-index: 2
}

.gallery-page .hc-navbar>ul>li>a[aria-current=page] {
    color: #1370b5
}

.gallery-main {
    padding: 64px 0 88px;
    background: #fff
}

.gallery-heading {
    margin-bottom: 32px
}

.gallery-heading h1 {
    margin: 0 0 8px;
    color: #202a36;
    font-size: 36px;
    line-height: 1.2
}

.gallery-heading>p {
    margin: 0;
    color: #66737c;
    font-size: 15px
}

.gallery-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #dfe8e5;
    margin-bottom: 28px
}

.gallery-tab {
    position: relative;
    border: 0;
    background: transparent;
    padding: 0 0 14px;
    color: #65727a;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer
}

.gallery-tab span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf2f0;
    color: #66737c;
    font-size: 12px
}

.gallery-tab.is-active {
    color: #1370b5
}

.gallery-tab.is-active:after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: #1370b5;
    content: ''
}

.gallery-tab:focus-visible {
    outline: 2px solid #1370b5;
    outline-offset: 4px
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.photo-item {
    overflow: hidden;
    margin: 0;
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 6px
}

.photo-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #e8efec
}

.photo-item figcaption {
    padding: 12px 14px;
    color: #35434b;
    font-size: 14px
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.video-item {
    overflow: hidden;
    margin: 0;
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 6px
}

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

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

.video-item h2 {
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600
}

.gallery-empty {
    margin: 0;
    padding: 40px 24px;
    border: 1px dashed #cbd8d3;
    border-radius: 6px;
    color: #66737c;
    text-align: center;
    background: #fff
}

@media(max-width:760px) {
    .gallery-main {
        padding: 44px 0 64px
    }

    .gallery-heading h1 {
        font-size: 30px
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

@media(max-width:480px) {
    .photo-grid {
        grid-template-columns: 1fr
    }

    .gallery-main {
        padding: 36px 0 52px
    }
}
