

/* Start:/local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_slider/style.css?17610586273169*/
.mySwiper {
    width: 100%;
    height: 500px;
    position: relative;
}

.sl-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-item {
    position: relative;
    overflow: hidden;
}

.sl-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 79, 79, 0.35);
    z-index: 1;
}

/* Центрирование текста */
.container-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    z-index: 2;
}

.text-title {
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.text-title .slider-title-one {
    position: relative;
    display: inline-block;
    font-size: 26px;
    margin-bottom: 30px;
}

.text-title .slider-title-one::after {
    height: 3px;
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}

.text-title .slider-title-two {
    font-size: 50px;
    margin: 0;
    text-transform: uppercase;
}

/* Стрелки Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #f2ede9;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s;
}

.mySwiper:hover .swiper-button-next,
.mySwiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 46px;
}

@media (max-width: 576) {
    .mySwiper {
        height: 300px;
    }

    .text-title .slider-title-one {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .text-title .slider-title-two {
        font-size: 24px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
        /* прячем стрелки на очень маленьких экранах */
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .mySwiper {
        height: 400px;
    }

    .text-title .slider-title-one {
        font-size: 20px;
    }

    .text-title .slider-title-two {
        font-size: 32px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .mySwiper {
        height: 500px;
    }

    .text-title .slider-title-one {
        font-size: 30px;
    }

    .text-title .slider-title-two {
        font-size: 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .mySwiper {
        height: 550px;
    }

    .text-title .slider-title-one {
        font-size: 30px;
    }

    .text-title .slider-title-two {
        font-size: 60px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .mySwiper {
        height: 600px;
    }
}

@media (min-width: 1400px) {
    .mySwiper {
        height: 700px;
    }

    .text-title .slider-title-one {
        font-size: 40px;
    }

    .text-title .slider-title-two {
        font-size: 80px;
    }
}


/* End */


/* Start:/local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_news_list/style.css?17609701168200*/
.main-title{
    display: block;
	margin-bottom: 55px;
	padding-bottom: 10px;
    position: relative;
    font-size: 36px;
    line-height: 0.8889;
    text-align: center;
    font-weight: bold;
    color: #5a4f4f;
    font-family: 'El Messiri', sans-serif;
	font-size: 36px;
}

.main-title::before {
	content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}

/* Секция новостей */
#news-section {
    /*width: 100%;*/
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin: 0px;
	padding: 0;
    list-style: none;
}


/* Статья новости */
#news-section .news-article {
    margin: 20px auto 20px auto;
    max-width: 320px;
    height: auto;
    padding: 0px;
    display: block;
    width: 100%;
    background-color: #f2ede9; 
}


/* Ссылка на изображение */
#news-section .news-image-link {
    z-index: 0;
    display: block;
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Картинка */
#news-section .news-image {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Блок с заголовком описанием и кнопкой подробно */
#news-section .preview-description {
    padding: 25px 20px 30px 20px;
    position: relative;
    overflow: hidden;
    height: 274px;
    text-align: center;
    background-color: #ffffff;
    list-style: none;
}

/* Заголовок */
#news-section .news-title {
    height: 24px;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    color: #5a4f4f;
    margin: 0 -5px 8px -5px;
    display: block;
    position: relative;
    overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
    text-align: center;
}

#news-section .news-title-link {
    color: #222;
    text-decoration: none;
}

#news-section .news-title-link:hover {
    color: #007b55;
}


/* Дата */
#news-section .news-date {
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    color: #b8860b;
    text-align: center;
    margin-bottom: 18px;
}

/* Описание */
#news-section .news-description {
    display: block;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.4em;
    height: calc(1.4em * 6);
    position: relative;
    overflow: hidden;
	text-overflow: ellipsis;
    text-align: justify;
    font-family: 'Ubuntu', sans-serif;
}

/* Кнопка "Подробнее" */
#news-section .news-readmore {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    line-height: 30px;
    padding: 0 10px;
    /*height: 30px;*/
    min-width: 220px;
    font-weight: bold;
    font-size: 16px;
    font-family: “Segoe UI”, Tahoma, Geneva, Verdana, sans-serif;
    color: #5a4f4f;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
	transition: all ease 0.2s;
    border: 2px solid #b8860b;
    border-color: #5a4f4f;
}

/* Кнопка "Подробнее" подсветка при наведении */
#news-section .news-readmore:hover {
    background: #b8860b;
    border-color: #b8860b;
    color: #fff;
}

/* Кнопка ВСЕ НОВОСТИ под новостями */
#news-section .button-news-wrap{
	margin-top: 40px;
    line-height: 1;
    text-align: center;
}


#news-section .botton-news{
	display: inline-block;
	margin-bottom: 30px;
  	padding: 10px 18px;
	min-width: 300px;
  	background: none;       
  	color: #b8860b;
  	text-decoration: none;
 	font-weight: 700;
  	font-size: 14px;
  	border: 2px solid #b8860b;
  	transition: all ease 0.2s;
    font-family: “Segoe UI”, Tahoma, Geneva, Verdana, sans-serif;
}

#news-section .botton-news:hover{
	color: black;
	border-color: black;
}

@media (max-width: 480px) {
    #news-section {
        padding: 20px;
        gap: 10px;
    }

	.main-title {
        font-size: 30px;
        margin-bottom: 40px;
        padding-bottom: 9px;
    }

    .main-title::before {
        width: 80px;
        margin-left: -40px;
    }

    #news-section .news-article {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #news-section .news-description{
        display: block;
        margin-bottom: 25px;
        font-size: 14px;
        line-height: 1.4em;
        height: calc(1.4em * 3);
        position: relative;
        overflow: hidden;
        text-align: justify;
        font-family: 'Ubuntu', sans-serif;
    }

	#news-section .botton-news {
        min-width: 200px;
        font-size: 14px;
        padding: 8px 14px;
        line-height: 1.2;
    }


}

@media (min-width: 752px) {
    #news-section {
        padding: 30px;
        margin: 0px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        gap: 30px;
        box-sizing: border-box;
    }

    #news-section .news-image-link {
        height: 240px;
    }

    #news-section .news-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }

    #news-section .news-article {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin: 0;

    }

    #news-section .preview-description {
        height: auto;
    }

}

@media (min-width: 992px) {
    #news-section {
        padding-top: 30px;
        margin: 0px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-sizing: border-box;
    }

	.main-title {
        font-size: 34px;
        margin-bottom: 50px;
    }

    .main-title::before {
        width: 90px;
        margin-left: -45px;
    }

    #news-section .news-image-link {
        height: 135px;
    }

    #news-section .news-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }

    #news-section .news-article {
        flex: 0 0 calc(30% - 10px);
        max-width: calc(33.33% - 20px);
        margin: 0;

    }

    #news-section .news-title {
        font-size: 20px;

    }

    #news-section .news-description {
        font-size: 16px;
        line-height: 1.4em;
        height: calc(1.4em * 6);
    }

	#news-section .botton-news {
        min-width: 260px;
        font-size: 16px;
        padding: 10px 18px;
        line-height: 1.3;
    }

}

@media (min-width: 1232px) {
    #news-section {
        padding-top: 30px;
        margin: 0px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-sizing: border-box;
    }

	.main-title {
        font-size: 36px;
        margin-bottom: 55px;
    }

    .main-title::before {
        width: 100px;
        margin-left: -50px;
    }

    #news-section .news-image-link {
        height: 240px;
    }

    #news-section .news-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }

    #news-section .news-article {
        flex: 0 0 calc(30% - 10px);
		max-width: calc(30% - 20px);
        width: 570px;
        margin: 0;

    }

	#news-section .news-title {
        font-size: 24px;

    }

	#news-section .preview-description {
        height: auto;
    }

	#news-section .news-description {
        font-size: 16px;
        line-height: 1.4em;
        height: calc(1.4em * 6);
    }

	#news-section .botton-news {
        min-width: 320px;
        font-size: 16px;


	}
}

/* End */


/* Start:/local/templates/ksrk2025_v2/components/bitrix/main.include/ksrk2025_include_greetings/style.css?17609706416576*/
#greetings {
    padding: 80px 0;
    background: #000 url(/local/templates/ksrk2025_v2/components/bitrix/main.include/ksrk2025_include_greetings/images/about-back.jpg) center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

#greetings::before {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#d7d7d7), color-stop(0%, #f2ede9), to(#5a4f4f));
    background-image: -o-linear-gradient(bottom, #d7d7d7 0%, #f2ede9 0%, #5a4f4f 100%);
    background-image: linear-gradient(to top, #d7d7d7 0%, #f2ede9 0%, #5a4f4f 100%);
    opacity: 0.251;
    height: 50px;
}

#greetings::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background: rgba(90, 79, 79, 0.45);
    transform-origin: 50% 50%;
}

#greetings .greetings_inner_wrap {
    z-index: 2;
}

.greetings_inner_wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.greetings_wrap {
    display: block;
    padding: 0;
    border: 0;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    min-height: 500px;
}


.greetings_photo {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 0;
    overflow: hidden;
    line-height: 0;
    height: auto;
    position: relative;
}

.greetings_photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.greetings_box_wrap {
    flex: 1;
    text-align: justify;
    padding: 35px 10px 40px 10px;
    ;
}

.main_greet_title {
    font-size: 2.5rem;
    margin: 0;
    color: black;
    text-align: center;
}

.greet_text {
    color: #b8860b;
}

.director {
    color: #b8860b;
}


.greetings_box_wrap p {
    color: black;
    line-height: ;
    margin-bottom: 16px;
    font-size: 1.1rem;
}


.greetings_button_wrap {
    margin-top: 5%;
    text-align: center;
}

.greetings_button_wrap .ext_bottom {
    height: 40px;
    line-height: 40px;
    min-width: 250px;
    font-size: 18px;
    padding: 0;
    background-color: none;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #5a4f4f;
    color: black;
    transition: all ease 0.2s;
    text-align: center;
	color: #5a4f4f;
	border-color: #5a4f4f;
}

.greetings_button_wrap .ext_bottom:hover {
    border-color: #b8860b;
    color: #b8860b;
    transition: all ease 0.2s;
}

@media (min-width: 576px) {

    .greetings_wrap {
        display: block;
        min-height: 600px;
        padding: 20px 40px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .greetings_inner_wrap {
        padding: 0 20px;
    }

    .greetings_photo {
        display: none;
    }

    .greetings_box_wrap {
        flex: 1;
        text-align: center;
    }

    .main_greet_title {
        font-size: 3rem;
        text-align: center;
    }

    .greetings_box_wrap p {
        font-size: 1.2rem;
        line-height: 1.8;
        text-align: justify
    }

    .greetings_button_wrap {
        margin-top: 30px;
        text-align: center;
    }

    .greetings_button_wrap .ext_bottom {
        min-width: 200px;
        font-size: 18px;
        text-align: center;
    }

    #greetings::before {
        height: 70px;
    }
}

@media (min-width: 768px) {

    .greetings_wrap {
        display: block;
        min-height: 500px;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .greetings_inner_wrap {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 50px;
        box-sizing: border-box;
    }

    .greetings_photo {
        display: none;
    }

    .greetings_box_wrap {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .main_greet_title {
        font-size: 3.5rem;
        text-align: center;
        margin-bottom: 40px;
    }

    .greetings_box_wrap p {
        font-size: 1.25rem;
        line-height: 1;
        text-align: justify;
        margin: 20px 0;
    }

    .greetings_button_wrap {
        margin-top: 40px;
        text-align: center;
    }

    .greetings_button_wrap .ext_bottom {
        min-width: 300px;
        font-size: 18px;
        margin-top: 20px;
    }

    #greetings::before {
        height: 70px;
    }
}

@media (min-width: 992px) {

    .greetings_wrap {
        display: block;
        min-height: 600px;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .greetings_inner_wrap {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 50px;
        box-sizing: border-box;
    }

    .greetings_photo {
        display: none;
    }

    .greetings_box_wrap {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .main_greet_title {
        font-size: 4rem;
        text-align: center;
        margin-bottom: 30px;
        padding-top: 20px;
    }

    .greetings_box_wrap p {
        font-size: 1.3rem;
        line-height: 1.4;
        text-align: justify;
        padding: 0 30px;
        margin: 20px 0;
    }

    .greetings_button_wrap {
        margin-top: 40px;
        text-align: center;
    }

    .greetings_button_wrap .ext_bottom {
        min-width: 340px;
        font-size: 18px;
        margin-top: 20px;
    }

    #greetings::before {
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .greetings_inner_wrap {
        max-width: none;
        padding: 0 40px;
        width: 100%;
        margin: 0 auto;
    }

    .greetings_wrap {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
        min-height: 500px;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 0;
    }

    .greetings_photo {
        flex: 0 0 40%;
        max-width: 40%;
        display: block; 
    }

    .greetings_box_wrap {
        flex: 1;
        padding: 0 40px 60px; 
    }

    .main_greet_title {
        font-size: 46px;
        text-align: left;
        margin-bottom: 30px;
        text-align: center;
    }

    .greetings_box_wrap p {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 16px;
        text-align: justify;
    }

    .greetings_button_wrap {
        text-align: left;
        margin-top: 20px;
        text-align: center;
    }

    .greetings_button_wrap .ext_bottom {
        min-width: 320px;
        font-size: 18px;
        padding: 0 25px;
		line-height: 35px;
    }
}


/* End */


/* Start:/local/templates/ksrk2025_v2/components/bitrix/catalog.sections.top/ksrk2025_events/style.css?17604490727086*/
#event-list,
#event-list * {
  box-sizing: border-box;
}

.main-title{
	display: block;
    position: relative;
	font-size: 40px;
    line-height: 0.8750;
    margin-bottom: 55px;
	color: #5a4f4f;
	font-family: “Segoe UI”, Tahoma, Geneva, Verdana, sans-serif;
}

.main-title::before {
	content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}

#event-list {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	gap: 30px;
	padding-bottom: 40px;
	font-family: “Segoe UI”, Tahoma, Geneva, Verdana, sans-serif;
}

#event-list .event-container {
	width: 300px;
	height: auto;
	text-align: center;
	background-color: white;
}

#event-list .event-container > .image-block{
	display: block;
	margin: 0;
	border: none;
	padding: 0;
	width: 100%;
	height: auto;
}

#event-list .image-block .event-image {
	width: 100%;   
	height: auto;  
	display: block;
}

#event-list .event-content {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	margin: 10px;
	text-align: center;
}

#event-list .event-title {
	font-size: 24px;
	text-align: center;
	color: #5a4f4f;
}

#event-list .event-description {
	text-align: center;
}

#event-list .event-date {
	color: #b8860b;
	text-align: left;
}
#event-list .event-btn {
	display: block;
	margin: 10px auto 0;
	padding: 0;
	min-width: 260px;
	border: 2px solid #5a4f4f; 
	color: #5a4f4f;
    border-width: 2px;
	line-height: 40px;
	font-weight: bold;
    font-size: 16px;
	font-family: 'El Messiri', sans-serif;
	text-decoration: none;
	transition: all ease 0.5s;
    border: 2px solid #b8860b;
    border-color: #5a4f4f;
}

#event-list .event-btn:hover {
	border: 2px solid #b8860b; 
	color: #b8860b;
}

@media (min-width: 576px) {
    #event-list .event-container {
        width: 320px; 
    }

    #event-list .event-title {
        font-size: 25px; 
    }

    #event-list .event-content {
        margin: 15px;
    }

    #event-list .event-btn {
        min-width: 240px;
        line-height: 42px;
    }

    #event-list .image-block .event-image {
        width: 100%;
        height: auto;
        max-height: 280px; 
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    #event-list .event-content {
        flex-direction: row;      
        flex-wrap: wrap;        
        justify-content: center;   
        gap: 20px;
    }

    #event-list .event-container {
        width: 90%;              
        max-width: 720px;
        text-align: center;
    }

    #event-list .event-content {
        margin: 15px;
    }

    #event-list .event-title {
        font-size: 26px;          
    }

    #event-list .event-btn {
        min-width: 260px;
        line-height: 42px;
    }

    #event-list .image-block .event-image {
        width: 100%;
        height: auto;
        max-height: 300px;      
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    #event-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    #event-list .event-container {
        display: flex;
        flex-direction: row; 
        align-items: stretch;
        gap: 20px;
        width: 90%;
        max-width: 1100px;
        height: 340px; 
        margin: 0 auto;
        background-color: white;
    }


    #event-list .event-container:nth-child(even) {
        flex-direction: row-reverse; 
    }


    #event-list .event-container > .image-block {
        width: 50%;
        height: 100%; 
        align-items: stretch; 
    }

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


    #event-list .event-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
        padding: 0;
        height: 100%;
        box-sizing: border-box;
		gap: 0;
    }

    #event-list .event-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    #event-list .event-date {
        color: #b8860b;
        margin-bottom: 10px;
    }

    #event-list .event-description {
        flex: 1; 
        overflow: hidden; 
        margin: 0 0 10px 0;
    }

    #event-list .event-btn {
        align-self: center;
        flex-shrink: 0; 
        margin: 0 0 30px 0;
		min-width: 240px;

    }
}

@media (min-width: 1200px) {
    #event-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 40px;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 40px;
        box-sizing: border-box;
    }

    #event-list .event-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between; 
        width: 90%;
        max-width: 1300px;
        height: 440px;
        background-color: white;
        margin: 0 auto;
        box-sizing: border-box;
        border: none;
        position: relative;
    }


    #event-list .event-container:nth-child(even) {
        flex-direction: row-reverse;
        justify-content: space-between;
        margin: 0 auto; 
    }


    #event-list .event-container > .image-block {
        flex: 0 0 50%;
        width: 50%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: stretch;
        box-sizing: border-box;
    }

    #event-list .image-block .event-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }


    #event-list .event-content {
        display: flex;
    	flex-direction: column;      
    	align-items: center;        
    	text-align: center;         
    	padding: 20px 40px 0 40px; 
		margin: 0;            
    	height: 100%;                
    	box-sizing: border-box;
    	gap: 15px;
    }

	#event-list .title_discription{
		display: flex;             
    	flex-direction: column;
    	align-items: center;       
    	justify-content: flex-start;
    	gap: 10px;                 
    	width: 100%;
    	text-align: center;
	}

    #event-list .event-title {
        font-size: 30px;
        margin: 0;
		padding: 20px 0;
    }

    #event-list .event-date {
        font-size: 18px;
        color: #b8860b;
        margin: 0;
    }

    #event-list .event-description {
        font-size: 20px;
    	line-height: 1.4em;
    	height: 150px;
    	overflow: hidden;
    	margin: 0;
    }

    #event-list .event-btn {
        min-width: 260px;
        line-height: 30px;
        font-size: 18px;
        font-weight: bold;
        border: 2px solid #5a4f4f;
        color: #5a4f4f;
        background: transparent;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    #event-list .event-btn:hover {
        border-color: #b8860b;
        color: #b8860b;
    }
}

/* End */


/* Start:/local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_departments_main/style.css?176062332611720*/
#departments-main-title {
    display: block;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
    font-size: 36px;
    line-height: 0.8889;
    text-align: center;
    font-weight: bold;
    color: #5a4f4f;
    font-family: 'El Messiri', sans-serif;
    font-size: 36px;
}

#departments-main-title::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}

#section-departments {
	display: block;
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
}

#section-departments .container {
	display: flex;
    flex-direction: row;
    align-items: stretch; 
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 20px;
    min-height: 450px; 
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
}

.departments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.department-item {
	flex: 0 0 100%; 
    scroll-snap-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.dept-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-star;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #5a4f4f;
    position: relative;
    flex: none; 
    width: 100%;
    height: 100%; 
    box-sizing: border-box;
}

.dept-link::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity ease 0.2s;
}

.dept-link::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 6;
    opacity: 0;
    border: 2px solid #b8860b;
    transition: opacity ease 0.2s;
}

.dept-link:hover::before,
.dept-link:hover::after {
    opacity: 1;
}

.dept-link .photo {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 1;
    height: 320px;
	width: 100%;
}

.dept-link .photo img {
	display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*background-color: transparent;*/
}

.dept-link .description-wrap-full {
	flex: 1;
	min-height: 200px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #ffffff;
    list-style: none;
    
}

.title-wrap-title {
    line-height: 1.4em;
    height: calc(1.4em * 2);
    font-weight: bold;
    color: #5a4f4f;
    margin: 0 -5px 8px -5px;
    display: block;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    text-align: center;
}

.text-wrap-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.4em;
    max-height: calc(1.4em * 5); 
    box-sizing: border-box;      
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    padding: 0;                 
    margin: 0;
}

@media (min-width: 576px) {
    .department-item {
        flex: 0 0 100%;   
        max-width: 85%;
        padding: 45px;
    }

    .dept-link .photo {
        height: 320px; 
    }

    .dept-link .description-wrap-full {
        min-height: 200px;
        padding: 15px;
    }

    .text-wrap-text {
        -webkit-line-clamp: 6;
        max-height: calc(1.4em * 6);
    }
}


@media (min-width: 768px) {
    #section-departments .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap; 
        gap: 16px; 
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 0; 
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .department-item {
        flex: 0 0 calc(50% - 8px); 
        max-width: calc(50% - 8px);
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        margin: 0;
        box-sizing: border-box;
    }

    .dept-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    .dept-link .photo {
        height: 360px; 
        width: 100%;
    }

    .dept-link .description-wrap-full {
        min-height: 240px;
        padding: 20px;
    }

    .title-wrap-title {
        font-size: 20px;
    }

    .text-wrap-text {
        font-size: 16px;
        -webkit-line-clamp: 7;
        max-height: calc(1.6em * 7);
    }
}

@media (min-width: 992px) {
    #section-departments .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px; 
        margin: 40px auto;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .department-item {
        /*flex: 0 0 calc((100% - 40px) / 2); */
        max-width: 400px;
        display: flex;
        flex-direction: column;
        margin: 20px;
        padding: 0;
        box-sizing: border-box;
        min-height: 180px;
    }

    .dept-link {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
        position: relative;
        text-decoration: none;
        color: inherit;
        background-color: #fff;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .dept-link .photo {
        flex: 0 0 50%;
        min-height: 130px;
        height: auto;
        overflow: hidden;
    }

    .dept-link .photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .dept-link .description-wrap-full {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 6px 10px 10px 10px;
        text-align: justify;
    }

    .title-wrap-title {
        font-size: 18px;
        margin: 0 0 6px 0;
        text-align: center;
    }

    .text-wrap-text {
        font-size: 16px;
        line-height: 1.3em;
        -webkit-line-clamp: 3;
        max-height: calc(1.3em * 3);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: justify;
    }

    #section-departments .department-item:nth-child(4n+1) .dept-link,
    #section-departments .department-item:nth-child(4n+2) .dept-link {
        flex-direction: row;
    }


    #section-departments .department-item:nth-child(4n+3) .dept-link,
    #section-departments .department-item:nth-child(4n+4) .dept-link {
        flex-direction: row-reverse;
    }

    #section-departments .department-item .description-wrap-full {
        align-items: center;
        text-align: center;
    }
}




@media (min-width: 1200px) {
    #section-departments .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 40px auto;
        padding: 0 20px;
        width: 100%;
    }

    .department-item {
        flex: 0 0 calc((100% - 3 * 40px - 2 * 20px) / 3);
        max-width: calc((100% - 3 * 40px - 2 * 20px) / 3);
        display: flex;
        flex-direction: column;
        margin: 20px;
        padding: 0;
        box-sizing: border-box;
        min-height: 180px;
    }

    .dept-link {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
        position: relative;
        text-decoration: none;
        color: inherit;
        background-color: #fff;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .dept-link .photo {
        flex: 0 0 50%;
        min-height: 130px;
        height: auto;
        overflow: hidden;
    }

    .dept-link .description-wrap-full {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 6px 10px 10px 10px;
        text-align: justify;
    }

    .title-wrap-title {
        font-size: 18px;
        margin: 0 0 10px 0;
        text-align: center;
        line-height: 1.3em;
        height: calc(1.3em * 4);
    }

    .text-wrap-text {
        font-size: 16px;
        line-height: 1.3em;
        -webkit-line-clamp: 5;
        max-height: calc(1.3em * 5);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: justify;
    }


    #section-departments .department-item:nth-child(6n+1) .dept-link,
    #section-departments .department-item:nth-child(6n+2) .dept-link,
    #section-departments .department-item:nth-child(6n+3) .dept-link {
        flex-direction: row;
    }

    #section-departments .department-item:nth-child(6n+4) .dept-link,
    #section-departments .department-item:nth-child(6n+5) .dept-link,
    #section-departments .department-item:nth-child(6n+6) .dept-link {
        flex-direction: row-reverse;
    }
}

@media (min-width: 1400px) {
    #section-departments .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin: 40px auto;
        padding: 0 20px;
        width: 100%;
    }

    .department-item {
        flex: 0 0 calc((100% - 3*40px - 2*25px)/3);
        max-width: calc((100% - 3*40px - 2*25px)/3);
        display: flex;
        flex-direction: column;
        margin: 20px;
        padding: 0;
        box-sizing: border-box;
        min-height: 190px;
    }

    .dept-link {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
        position: relative;
        text-decoration: none;
        color: inherit;
        background-color: #fff;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .dept-link .photo {
        flex: 0 0 50%;
        min-height: 150px;
        height: auto;
        overflow: hidden;
    }

    .dept-link .description-wrap-full {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 12px 12px 12px;
        text-align: justify;
    }

    .title-wrap-title {
        font-size: 18px;
        margin: 0 0 6px 0;
        text-align: center;
    }

    .text-wrap-text {
        font-size: 16px;
        line-height: 1.35em;
        -webkit-line-clamp: 5;
        max-height: calc(1.35em * 5);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: justify;
    }


    #section-departments .department-item:nth-child(6n+1) .dept-link,
    #section-departments .department-item:nth-child(6n+2) .dept-link,
    #section-departments .department-item:nth-child(6n+3) .dept-link {
        flex-direction: row;
    }

    #section-departments .department-item:nth-child(6n+4) .dept-link,
    #section-departments .department-item:nth-child(6n+5) .dept-link,
    #section-departments .department-item:nth-child(6n+6) .dept-link {
        flex-direction: row-reverse;
    }
}
/* End */
/* /local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_slider/style.css?17610586273169 */
/* /local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_news_list/style.css?17609701168200 */
/* /local/templates/ksrk2025_v2/components/bitrix/main.include/ksrk2025_include_greetings/style.css?17609706416576 */
/* /local/templates/ksrk2025_v2/components/bitrix/catalog.sections.top/ksrk2025_events/style.css?17604490727086 */
/* /local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_departments_main/style.css?176062332611720 */
