

/* 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 */
/* /local/templates/ksrk2025_v2/components/bitrix/news.list/ksrk2025_news_list/style.css?17609701168200 */
