

/* Start:/local/templates/general/components/bitrix/news/blog/bitrix/news.detail/detailblog/style.css?17510417257609*/
.news-detail{padding-top: 90px;}
h1 {font-weight: 300;}
.news-detail h2, .gallery-section h2 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 70px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: -1.2px;
    padding-top: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.news-detail h3 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 60px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: normal;
    padding-top: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}
.news-detail h4 {
font-family: 'Oranienbaum', sans-serif;
    font-size: 30px;
    color: #383639;
    letter-spacing: normal;
    padding-top: 5px;
    margin-bottom: 10px;
    font-weight: 300;
}
.news-detail ul li, .news-detail ol li, p, .news-date-time {
    color: #383639;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    letter-spacing: 0.4px;
    margin-bottom: 30px;
}
.news-detail ol, .news-detail ul {padding-left: 20px;}
.news-date-time{display: block;}
.b24-form-header-title {
    font-family: 'Oranienbaum', sans-serif!important;
    font-size: 60px!important;
    color: #383639!important;
    text-transform: uppercase;
    letter-spacing: normal!important;
    padding-top: 20px;
    margin-bottom: 30px!important;
}
.b24-form-header-description {
    color: #383639!important;
    font-size: 20px!important;
    line-height: 30px!important;
    position: relative!important;
    letter-spacing: 0.4px!important;
    margin-bottom: 30px!important;
}
.b24-form-btn {
font-family: 'Oranienbaum', sans-serif!important;
    font-size: 26px!important;
    letter-spacing: normal!important;
    font-weight: 300!important;
    text-transform: uppercase;
}
#header-blog{
    position: relative;
    /*height: 1280px;*/
}
#header-blog:before{
    content: '';
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    width: 100%;
    height: 247px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#header-blog .banner{
    position: relative;
}
#header-blog .banner:before {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    width: 100%;
    height: 340px;
    position: absolute;
    bottom: 0;
    left: 0;

background: linear-gradient(to bottom, rgb(0 0 0 / 32%) 0%,rgb(0 0 0 / 70%) 100%);
    width: 100%;
    height: 100%;
}

#header-blog .banner .img{
    width: 100%;
    height: 100%;
}
#header-blog .banner .img img{
    width: 100%;
    display: block;
    object-fit: cover;
    height: 900px;
}

#header-blog .banner .img:after {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
#header-blog .banner .container {
    top: auto;
    bottom: 94px;
    max-width: 1607px;
    left: 0;
    right: 0;
    padding: 0 30px;
    position: absolute;
    z-index: 1;
}
#header-blog .banner .sub-title{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 9.5px;
    margin-bottom: 2px;
}
#header-blog .banner .title{
    font-family: 'Oranienbaum', sans-serif;
    color: #fff;
    font-size: 120px;
    text-transform: uppercase;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}
#header-blog .banner .text{
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4.3px;
}
@media (min-width: 2400px){
#header-blog{
    /*height: 1706.66px;*/
}
}

@media (max-width: 1500px){
#header-blog{
    /*height: 960px;*/
}
}
@media (max-width: 1440px){
.news-detail .container {
		max-width: 1140px;}
}
@media (max-width: 1380px){
#header-blog{
    /*height: 906px;*/
}
}
@media (max-width: 1199px){
#header-blog{
    height: 100%;
}
    #header-blog .banner .img {
        height: 100%;
    }
    #header-blog .banner .img img {
        height: 500px;
    }
    #header-blog .banner .sub-title {
        font-size: 18px;
    }
    #header-blog .banner .title {
        font-size: 80px;
    }
    #header-blog .banner .text {
        font-size: 18px;
    }
}
@media(max-width: 767px){
    #header-blog .banner .title{
        font-size: 60px;
        margin-bottom: 0;
    }
    #header-blog .banner .text {
        letter-spacing: 0;
    }
}
@media (max-width: 530px){
    .b24-form-header-title {
            line-height: normal!important;
    }
}
@media (max-width: 450px){
    #header-blog .banner .img img {
        height: 600px;
    }
.news-detail ul li, .news-detail ol li, p, .news-date-time {
    font-size: 16px;
}
.news-detail {
    padding: 90px 10px 10px;
}
#header-blog h1 {
    font-size: 40px;
}
.news-detail h2 {
    font-size: 30px;
	}
.news-detail h3 {
    font-size: 26px;
	}
#header-blog .banner .container {
		bottom: 50px;}
}

/* Стили для галереи */
.gallery-section {
    padding: 30px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #2c2c2c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .overlay-content {
    opacity: 1;
}

.overlay span {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c2c2c;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.overlay span:hover {
    background: #bea592;
    color: white;
}

.no-gallery {
    text-align: center;
    color: #7a7a7a;
    font-size: 18px;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .overlay span {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* End */
/* /local/templates/general/components/bitrix/news/blog/bitrix/news.detail/detailblog/style.css?17510417257609 */
