

/* Start:/bitrix/templates/monop/components/bitrix/news.detail/imagetop/style.css?17755498421904*/
.ancor_ul {
    margin: 20px 0;
    counter-reset: num;
    margin-left: 55px;
}
.ancor_item{ 
    position: relative;
    padding-bottom: 0.9em;
    padding-top: .8em;
}
.ancor_item a{
    font-size: 20px;
    line-height: 1.6em;
    text-decoration: none;
    border-bottom: 1px solid;
}
.ancor_item:before {
	content: counter(num); 
    counter-increment: num;
    font-size: 40px;
    left: -52px;
    bottom: 4px;
    font-weight: 700;
    color: #a59b8f;
    position: absolute;
}
.ancor_item a:focus,
.ancor_item a:hover,
.ancor_item a:active {
    color: #7b655a;
    outline: none;
    text-decoration: none;
}

/* Галерея - сетка */
.news-gallery {
    clear: both;
    margin: 20px 0;
    width: 100%;
}

.news-gallery h3 {
    margin-bottom: 15px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.9;
}

/* Планшет (от 768px до 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .gallery-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    .gallery-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-item img {
        height: auto;
        max-height: 300px;
        width: 100%;
    }
}
/* End */
/* /bitrix/templates/monop/components/bitrix/news.detail/imagetop/style.css?17755498421904 */
