.news-detail .top-block .right {
  float: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-left: 20px;
}
.news-detail .top-block .right .age {
  font: normal normal 18px/23px "Candara", sans-serif;
  color: #fff;
  background: var(--main-color);
  padding: 10px;
}
.news-detail .top-block .right .age.district, .news-detail .top-block .right .age.category {
  background: #DFDFDF;
  color: var(--main-d-grey);
}

.feedback_container > .form_title {
  display: block;
  font: normal normal 44px/42px "Candara", sans-serif;
  margin: 80px 0 35px;
}
.news-detail .news-detail_title {
        font: normal normal 34px / 32px "Candara", sans-serif;
}
/*# sourceMappingURL=style.css.map */

    .news-detail {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .detail_picture {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    
    /* Стили для галереи-плитки */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .gallery-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .gallery-image {
        position: relative;
        overflow: hidden;
        background: #f5f5f5;
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-image img {
        width: auto;
    	height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-image img {
        transform: scale(1.05);
    }
    
    .gallery-caption {
        padding: 15px;
        background: #fff;
        border-top: 1px solid #eee;
    }
    
    .gallery-caption p {
        margin: 0;
        color: #333;
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .gallery-image {
            height: 200px;
        }
        
        .gallery-caption {
            padding: 12px;
        }
        
        .gallery-caption p {
            font-size: 13px;
        }
    }
    
    @media (max-width: 480px) {
        .gallery-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .gallery-image {
            height: 250px;
        }
    }
    
    /* Стили для модального окна (опционально) */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        cursor: pointer;
    }
    
    .modal-content {
        position: relative;
        margin: auto;
        padding: 20px;
        width: 90%;
        max-width: 1200px;
        height: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .modal-content img {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
    }
    
    .modal-caption {
        color: #fff;
        text-align: center;
        margin-top: 20px;
        font-size: 16px;
    }
    
    .close {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }
    
    .close:hover {
        color: #bbb;
        cursor: pointer;
    }
