

/* Start:/local/templates/general/components/bitrix/news/blog/bitrix/news.detail/detailblog/style.css?177961358211056*/
.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;
}




video{width: 100%;}
@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;}


video {
    width: 100%;
    height: 450px;
    object-fit: cover;
}        
}

/* Стили для галереи */
.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;
    }
}



.related-events-section {
    padding: 60px 0 30px;
}

.related-events-section .container {
    max-width: 1780px;
}

.related-events-section h2 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 80px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 38px;
}

.related-events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.related-event-card {
    width: calc(25% - 15px);
    box-sizing: border-box;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.related-event-card__image {
    width: 100%;
}

.related-event-card__image img {
    width: 100%;
    display: block;
    margin-bottom: 15px;
    height: 600px;
    object-fit: cover;
    background-size: cover;
}

.related-event-card__content {
    width: 100%;
}

.related-event-card__content h3 {
    margin-bottom: 15px;
    text-decoration: none;
    font-family: 'Oranienbaum', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
    color: #383639;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.related-event-card__content p {
    font-size: 16px;
    color: #383639;
    margin-bottom: 20px;
    line-height: 22px;
    padding-top: 15px;
}

.related-event-card:hover .related-event-card__content h3 {
    color: #535c69;
}

.related-event-card__more {
    font-size: 18px;
    text-decoration: none;
    align-self: flex-start;
    font-weight: 700;
    color: #383639;
    transition: all 0.3s ease;
    display: inline-block;
}

.related-event-card:hover .related-event-card__more {
    color: #535c69;
    transform: translateX(20px);
}

@media (max-width: 1440px) {
    .related-events-section .container {
        max-width: 1440px;
    }

    .related-event-card__image img {
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .related-event-card {
        width: calc(50% - 10px);
    }

    .related-events-section h2 {
        font-size: 54px;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .related-event-card {
        width: 100%;
    }

    .related-events-section h2 {
        font-size: 38px;
        letter-spacing: -1px;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .related-events-section .container {
        padding: 0 15px;
    }

    .related-event-card__image img {
        height: 320px;
    }

    .related-event-card__content h3 {
        font-size: 24px;
        line-height: 32px;
    }
}


.related-event-card__image--empty {
    width: 100%;
    height: 600px;
    background: #795548;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.related-event-card__logo {
    width: 180px!important;
    max-width: 60%;
    max-height: 38%;
    height: auto;
    opacity: 0.9;
    object-fit: contain!important;
    background-size: contain!important;
}

@media (max-width: 1440px) {
    .related-event-card__image--empty {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .related-event-card__image--empty {
        height: 320px;
    }

    .related-event-card__logo {
/*        width: 140px;*/
    }
}
/* End */
/* /local/templates/general/components/bitrix/news/blog/bitrix/news.detail/detailblog/style.css?177961358211056 */
