

/* Start:/town/gallery/ofnv86/gallery.css?17617308682370*/

.h2-add{    font-size: x-large;    font-weight: bold;    color: #3d5d6f;    text-transform: uppercase;    margin-bottom: 15px;}

.gospublic img {
        float: left;
        margin-right: 10px;
        margin-bottom: 5px;
        width: 50px;
        height: 50px;
        object-fit: cover;
    }

 .gospublic {        overflow: hidden;        line-height: 1.4;    }





    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;

    }

    .pagination .page-item {
        display: inline-block;
        padding: 8px 12px;
        margin: 0 2px;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #333;
        border-radius: 4px;
        transition: all 0.3s;
    }

    .pagination .page-item:hover:not(.active):not(.disabled) {
        background-color: #f5f5f5;
    }

    .pagination .page-item.active {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    .pagination .page-item.disabled {
        color: #aaa;
        cursor: not-allowed;
    }

    .pagination .page-item.dots {
        border: none;
        padding: 8px 5px;
    }


        .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .image-container {
        position: relative;
        width: 75%;
        padding-bottom: 56.25%;
        /* 16:9 соотношение (9/16 = 0.5625) */
        overflow: hidden;
        background: #000;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-container a:focus img {
        border: 5px solid #00ff22d5;
    }


    .image-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
        color: white;
        padding: 15px 10px 10px;
        font-size: 1.2em;

    }

    @media (max-width: 600px) {
        .gallery {
            grid-template-columns: 1fr;
        }
    }
/* End */
/* /town/gallery/ofnv86/gallery.css?17617308682370 */
