.vk-inline-gallery-1 {
                            color: #6c757d;
                            font-size: 14px;
                            line-height: 1.8;
                            margin: 0;
                        }
.vk-inline-gallery-2 {
                            color: #222;
                            font-size: 21px;
                            font-weight: 700;
                            margin-bottom: 10px;
                        }
.vk-inline-gallery-3 {
                            width: 52px;
                            height: 52px;
                            margin: 0 auto 15px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            background: #ffffff;
                            color: #0d6efd;
                            border-radius: 10px;
                            border: 1px solid #e9ecef;
                            font-size: 20px;
                        }
.vk-inline-gallery-4 {
                        background: #f8faff;
                        border: 1px solid #e9ecef;
                        border-radius: 14px;
                        padding: 30px;
                        text-align: center;
                    }
.vk-inline-gallery-5 {
                            color: #6c757d;
                            font-size: 15px;
                            line-height: 1.8;
                            max-width: 550px;
                            margin: 0 auto;
                        }
.vk-inline-gallery-6 {
                            color: #222;
                            font-size: 24px;
                            font-weight: 700;
                            margin-bottom: 10px;
                        }
.vk-inline-gallery-7 {
                            width: 70px;
                            height: 70px;
                            margin: 0 auto 20px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            background: #f0f6ff;
                            color: #0d6efd;
                            border-radius: 50%;
                            font-size: 27px;
                        }
.vk-inline-gallery-8 {
                        padding: 70px 25px;
                        background: #f8f9fa;
                        border-radius: 14px;
                        border: 1px solid #e9ecef;
                    }
.vk-inline-gallery-9 {
                                margin: 0;
                                color: #6c757d;
                                font-size: 13px;
                                line-height: 1.7;
                            }
.vk-inline-gallery-10 {
                                margin: 0 0 7px;
                                color: #222;
                                font-size: 17px;
                                font-weight: 700;
                            }
.vk-inline-gallery-11 {
                            padding: 18px 20px;
                            background: #ffffff;
                        }
.vk-inline-gallery-12 {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                    display: block;
                                    transition: transform 0.4s ease;
                                }
.vk-inline-gallery-13 {
                                width: 100%;
                                height: 280px;
                                overflow: hidden;
                            }
.vk-inline-gallery-14 {
                            display: block;
                            text-decoration: none;
                        }
.vk-inline-gallery-15 {
                        position: relative;
                        overflow: hidden;
                        background: #f8f9fa;
                        border-radius: 14px;
                        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
                    }
.vk-inline-gallery-16 {
                    color: #6c757d;
                    font-size: 16px;
                    line-height: 1.8;
                }
.vk-inline-gallery-17 {font-weight: 700;}
.vk-inline-gallery-18 {
                    letter-spacing: 2px;
                    font-size: 13px;
                    font-weight: 700;
                }
.vk-inline-gallery-19 {max-width: 750px;}
.vk-inline-gallery-20 {
                max-width: 700px;
                margin-left: auto;
                margin-right: auto;
                font-size: 16px;
                line-height: 1.8;
            }
.vk-inline-gallery-21 {font-weight: 700;}
.vk-inline-gallery-22 {
        background: linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.55)
        ),
        url('/static/img/hero-1.jpg') center center / cover no-repeat;
     }

.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 18px 20px;
    background: #f8faff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.gallery-count {
    margin: 0;
    color: #6c757d;
}

.gallery-count strong {
    color: #222;
}

.gallery-category-section {
    margin-bottom: 36px;
}

.gallery-category-heading {
    margin-bottom: 18px;
}

.gallery-category-heading h2 {
    margin: 0 0 6px;
    color: #222;
    font-size: 1.35rem;
    font-weight: 700;
}

.gallery-category-heading p {
    margin: 0;
    color: #6c757d;
}

.gallery-category-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-category-card:hover,
.gallery-category-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
    color: inherit;
}

.gallery-category-card > img,
.gallery-category-placeholder {
    display: flex;
    width: 100%;
    height: 130px;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    background: #f0f6ff;
    color: #0d6efd;
    font-size: 2rem;
}

.gallery-category-card-body {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
}

.gallery-category-card-title {
    margin-bottom: 6px;
    color: #222;
    font-size: 1.05rem;
    font-weight: 700;
}

.gallery-category-card-description {
    margin-bottom: 14px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.55;
}

.gallery-category-card-count {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 700;
}

.gallery-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.gallery-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    background: #fff;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-category-chip:hover,
.gallery-category-chip.active {
    border-color: #0d6efd;
    background: #0d6efd;
    color: #fff;
}

.gallery-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-filter-form label {
    margin: 0;
    color: #343a40;
    font-weight: 600;
}

.gallery-filter-form select {
    min-width: 210px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
}

.gallery-clear-filter {
    color: #6c757d;
    font-weight: 600;
    text-decoration: none;
}

.gallery-clear-filter:hover {
    color: #0d6efd;
}

.gallery-photo-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.gallery-photo-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-photo-link img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-photo-link:hover img,
.gallery-photo-link:focus-visible img {
    transform: scale(1.04);
}

.gallery-photo-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 7px;
    background: rgba(33, 37, 41, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-photo-link:hover .gallery-photo-action,
.gallery-photo-link:focus-visible .gallery-photo-action {
    opacity: 1;
}

.gallery-photo-details {
    padding: 16px 18px;
}

.gallery-photo-caption {
    min-height: 42px;
    margin: 0 0 12px;
    color: #343a40;
    font-weight: 600;
    line-height: 1.5;
}

.gallery-photo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #6c757d;
    font-size: 12px;
}

.gallery-photo-meta a {
    overflow: hidden;
    color: #0d6efd;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-photo-meta time {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .gallery-toolbar {
        align-items: stretch;
    }

    .gallery-filter-form {
        align-items: stretch;
    }

    .gallery-filter-form select {
        width: 100%;
    }

    .gallery-photo-link img {
        height: 230px;
    }
}
