

/* Start:/local/templates/general/components/bitrix/news/cases_template/bitrix/news.detail/detailblog/style.css?175069226216175*/
.banner{
    display: none;
}
#header-cases h1 {
    letter-spacing: 2px;
}
.h-black h2{
    font-family: 'Oranienbaum', sans-serif;
    font-size: 80px;
    line-height: normal;
    color: #383639!important;
    text-transform: uppercase;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
    font-weight: 300;
    margin-top: 0;
}
ul {
    margin-left: 20px;
}
.sub-title {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 9.5px;
    margin-bottom: 3px;
}


.page_1 {
    padding: 160px 0 0 0!important;
}
@media (max-width: 768px){
.h-black h2 {
    font-size: 30px;
}
}

.news-detail{padding-top: 90px;}
/*h1 {font-weight: 300;}*/

.news-detail 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-cases{
    position: relative;
    /*height: 1280px;*/
}
#header-cases:before{
    content: '';
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.15) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.15) 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-cases .banner{
    position: relative;
    display: block;
}
#header-cases .banner:before {
    content: '';
    background: -moz-linear-gradient(top, rgba(0 0 0 / 2%) 0%, rgba(0 0 0 / 10%) 100%);
    background: -webkit-linear-gradient(top, rgba(0 0 0 / 2%) 0%,rgba(0 0 0 / 10%) 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 / 2%) 0%,rgb(0 0 0 / 10%) 100%);
    width: 100%;
    height: 100%;
}

#header-cases .banner .img{
    width: 100%;
    height: 100%;
}
#header-cases .banner .img img{
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    height: 700px;
}

#header-cases .banner .img:after {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 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-cases .banner .container {
    top: auto;
    bottom: 64px;
    max-width: 1607px;
    left: 0;
    right: 0;
    padding: 0 30px;
    position: absolute;
    z-index: 1;
}
#header-cases .banner .sub-title{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 9.5px;
    margin-bottom: 2px;
}
#header-cases .banner .title{
    font-family: 'Oranienbaum', sans-serif;
    color: #fff;
    font-size: 120px;
    text-transform: uppercase;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}
#header-cases .banner .text{
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4.3px;
}
@media (min-width: 2400px){
#header-cases{
    /*height: 1706.66px;*/
}
}

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



/* Стили */
.case-detail {
/*    padding: 60px 0;*/
    margin: 132px auto 0 auto;
}

.detail-slider {
    position: relative;
    background-color: #BEA592;
}

.slick {
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    min-height: 600px;
}

.slide-bg {
    width: 100%;
    height: 100%;
/*    height: 960px;*/
    object-fit: cover;
}

.content-logo {
position: absolute;
    right: 0;
    bottom: -100px;
    z-index: 2;
}
@media (max-width: 1441px){
/*.content-logo {top: 5%;}*/

}
@media (max-width: 1361px){
/*.content-logo {top: 0;}*/

}
.logo {
/*    text-align: center;
    margin-bottom: 80px;*/
}

.content-logo img {
    max-width: 200px;
    background-color: white;
}
.content {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 40px;
    z-index: 2;
}
.text-content {
    /*max-width: 600px;
    padding: 50px 90px;*/
    max-width: 650px;
    padding: 0 90px;
}
.cases-section .slick-arrow {border-radius: 5%;}


@media (max-width: 768px) {
.content-logo {
    bottom: -50px;
}    
.content-logo img {
    width: 100px;
}
}



.info-blocks {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
}
.info-item span{
    padding-right: 20px;
    font-weight: 700;
}

.info-item img {
    width: 50px;
    height: 50px;
    margin-right: 30px;
}

.dual-images {
    height: 100%;
    display: flex;
}

.image-left, .image-right {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.image-left {
    background-position: left;
}

.image-right {
    background-position: right;
}

.reversed .image-left {
    order: 2;
}

.reversed .image-right {
    order: 1;
}


.rezult{
    align-items: flex-start;
    padding-top: 10px;
}


@media (max-width: 768px) {
    .slide {
        min-height: 400px;
    }
    
    .text-content {
        max-width: 100%;
    }
}


/* Стили для третьего слайда */
.slide-3 {
    position: relative;
}
.dual3, .dual4 {
    position: relative;
/*    height: 960px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dual3 .image-right {
position: absolute;
    top: 25%;
    right: -40px;
    width: 40%;
    height: auto;
    border-radius: 25px;
}

.dual3 .image-left {
position: absolute;
    bottom: -40px;
    left: -40px;
    width: 60%;
    height: auto;
    border-radius: 25px;
}

.dual3 .logo-wrapper {
    position: absolute;
    bottom: 58%;
    left: 20%;
    z-index: 2;
}

.dual3 .case-logo {
    max-width: 200px;
    height: auto;
    /* background: white; */
    padding: 15px;
/*    border-radius: 25px;*/
}

@media (max-width: 768px) {
    .dual3 .image-right {
        width: 200px;
        top: 30px;
        right: 20px;
    }
    
    .dual3 .image-left {
        width: 300px;
        bottom: 30px;
        left: 20px;
    }
    
    .dual3 .case-logo {
        max-width: 150px;
    }
}

/* Стили для четвертого слайда */
.slide-4 {
    position: relative;
}

.dual4 {
    position: relative;
/*    height: 960px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Темный прямоугольник в правой верхней части */
.slide-2 .dark-overlay2{
/*    position: absolute;
    top: 0;
    left: -20px;
    width: 100%;
    height: 80%;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
    background-color: #BEA592;*/
}
.slide-2 .text-block {z-index: 10000;
    position: relative;
    width: 100%;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
    background-color: #BEA592;
    padding: 60px 120px;
    left: -120px;}
.dark-overlay3 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 35%;
    height: 300px;
    background: #383639;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
}
.dark-overlay4 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 35%;
    height: 300px;
    background: #383639;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
}

.dual4 .image-left {
    z-index: 2;
    position: absolute;
    top: 25%;
    left: -40px;
    width: 50%;
    height: auto;
    border-radius: 25px;
}

.dual4 .image-right {
z-index: 1;
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 70%;
    height: auto;
    border-radius: 25px;
}

@media (max-width: 768px) {
/*    .slide-3, .slide-4 {display: none!important;}*/
    .slide-bg {
/*        height: 750px!important;*/
    }
    .slide-2 .dark-overlay2 {height: 95%;}
    .content .logo img {
    max-width: 200px;
    max-height: 200px;
}
.info-item img {
/*    width: 24px;
    height: 24px!important;
    margin-right: 10px;*/
}
    .dual4 .image-left {
        width: 200px;
        top: 30px;
        left: 20px;
    }
    
    .dual4 .image-right {
        width: 300px;
        bottom: 30px;
        right: 20px;
    }
    
    .dark-overlay {
        width: 150px;
        height: 100px;
        top: 30px;
        right: 30px;
    }
}



/* Стили для кнопок prev/next */
.detail-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.detail-slider .slick-arrow:hover {
    background: rgba(255,255,255,1);
}

.detail-slider .slick-prev {
    left: 15px;
}

.detail-slider .slick-next {
    right: 15px;
}

/* Стрелки с использованием псевдоэлементов */
.detail-slider .slick-prev::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}

.detail-slider .slick-next::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}
.detail-slider .slick-dots .slick-active button {
    background: #ff3366; /* Активный цвет точек */
}

.detail-slider .slick-arrow {
    background: rgba(0,0,0,0.5); /* Темные кнопки */
}

.detail-slider .slick-arrow::before {
    border-color: #bf94a0; /* Белые стрелки */
}

.detail-slider .slick-arrow {
    transition: all 0.3s ease;
}

.detail-slider .slick-dots button {
    transition: transform 0.2s, background 0.3s;
}

.detail-slider .slick-dots button:hover {
    transform: scale(1.2);
}
.cases .btn {border-radius: 8px;
    padding: 10px 30px;}

@media (max-width: 768px) {
    .detail-slider .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .detail-slider .slick-prev::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .detail-slider .slick-next::before {
        right: 10px;
        width: 10px;
        height: 10px;
    }
}


/* Стили для галереи */
.gallery-section {
    padding: 60px 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;
    }
}


.case-detail-mobile .info-blocks {
    padding: 40px 20px;
    background-color: #bea592;
    color: white;
    border-radius: 18px;
}
}
.case-detail-mobile .text-content{
    width: 100%;
    padding: 0;
}
.case-detail-mobile .info-item {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
}

.case-detail-mobile .info-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.case-detail-mobile .rezult {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
/* End */
/* /local/templates/general/components/bitrix/news/cases_template/bitrix/news.detail/detailblog/style.css?175069226216175 */
