

/* Start:/local/templates/ksrk2025/components/bitrix/news.detail/news.detail.ksrk2025/style.css?176537664815767*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f2ede9;
    margin: 0;
    padding: 0;
}
#article_conteiner {
    display: block;
    max-width: 576px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 30px;
    border: 0;
    padding: 0;
    font-size: 14pt;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
#article_conteiner h1,
#article_conteiner p,
#article_conteiner a {
  	font-family: Tahoma, sans-serif;
}
#article_conteiner .header_article {
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    text-align: center;
}
#article_conteiner .header_title {
    display: block;
    position: relative;
    margin: 0 0 34px 0;
	padding: 0;
	padding-top: 30px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
    border: 0;
    padding: 0;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #5a4f4f;
	line-height: 1.4em;
}
#article_conteiner .header_title::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -50px;
}
#article_conteiner .header_time_link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    background: #f7f3ef;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}
#article_conteiner .header_article .header_time_link .date,
#article_conteiner .header_article .header_time_link .albumlist .header_link,
#article_conteiner .header_article .header_time_link .return .header_link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    gap: 10px;
}
#article_conteiner .header_article .header_time_link .date img,
#article_conteiner .header_article .header_time_link .albumlist img,
#article_conteiner .header_article .header_time_link .return img {
    height: 20px;
    width: 20px;
}
#article_conteiner .header_time {
    font-size: 16px;
    color: #b8860b;
    padding: 0;
}
#article_conteiner .header_link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #b8860b;
    padding: 0 20px 0 20px;
    text-decoration: none;
    transition: 
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}
#article_conteiner .albumlist .header_link:hover,
#article_conteiner .return .header_link:hover {
    transform: translateY(-3px);
}
#article_conteiner .header_image {
    display: block;
    max-width: 576px;
    width: 100%;
    height: auto;
    margin-top: 16px;
}

#article_conteiner .discription {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 0 20px 0 20px;
    font-size: 1em;
    color: #333;
    text-align: justify;
    text-indent: 27pt !important;
}
/*Фотографии внутри описания*/
#article_conteiner .discription img {
    display: block;       
    max-width: 100%;      
    height: auto;         
    margin: 20px auto;      
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}
#article_conteiner .discription figure,
#article_conteiner .discription .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
#article_conteiner .discription figure img,
#article_conteiner .discription .image-container img {
    flex: 1 1 calc(50% - 10px); 
}
/*Окончание блока "Фотографии внутри описания"*/
#article_conteiner .footer_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}
#article_conteiner .footer_link {
    display: flex;
    padding: 0px;
    font-size: 16px;
    color: #b8860b;
    text-align: left;
    text-decoration: none;
    background: #f7f3ef;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
#article_conteiner .footer_link:hover {
    background: #fff8e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (min-width: 576px) {
    #article_conteiner {
        max-width: 540px;

    }
    #article_conteiner .header_title {
        font-size: 32px;
        margin-bottom: 28px;
    }
    #article_conteiner .header_time_link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }
    #article_conteiner .header_time,
    #article_conteiner .header_link {
        font-size: 15px;
        padding: 0;
    }
    #article_conteiner .header_image {
        max-width: 540px;
        width: 100%;
        margin-top: 16px;
    }
    #article_conteiner .discription {
        font-size: 1em;
        text-indent: 25pt;
        padding: 0 25px 0 25px;
    }
    #article_conteiner .footer_link a {
        font-size: 14px;
        padding: 25px;
    }
}
@media (min-width: 768px) {
    #article_conteiner {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }
    #article_conteiner .header_title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    #article_conteiner .header_time_link {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    #article_conteiner .header_time,
    #article_conteiner .header_link {
        font-size: 14px;
        padding: 0;
    }
    #article_conteiner .header_image {
        max-width: 100%;
        margin-top: 12px;
    }
    #article_conteiner .discription {
        font-size: 0.95em;
        text-indent: 20pt;
        padding: 0 30px 0 30px;
    }
    #article_conteiner .footer_link a {
        font-size: 14px;
        padding: 30px;
    }
}
@media (min-width: 992px) {
    #article_conteiner {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        background: #ffffff;

    }
    #article_conteiner .header_title {
        font-size: 40px;
        margin-bottom: 40px;
    }
    #article_conteiner .header_time_link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding: 10px 30px;
    }
    #article_conteiner .header_time,
    #article_conteiner .header_link {
        font-size: 18px;
        padding: 0;
    }
    #article_conteiner .header_image {
        max-width: 760px;
        width: 100%;
        margin-top: 20px;
    }
    #article_conteiner .discription {
        font-size: 1.05em;
        text-indent: 28pt;
        padding: 0 35px 0 35px;
    }
    #article_conteiner .footer_link {
        padding: 10px 30px;
    }
    #article_conteiner .footer_link a {
        font-size: 18px;
        padding: 0 35px 0 35px;
    }
    #article_conteiner .header_article .header_time_link .date img,
    #article_conteiner .header_article .header_time_link .albumlist img,
    #article_conteiner .header_article .header_time_link .return img {
        height: 30px;
        width: 30px;
    }
}
@media (min-width: 1200px) {
    #article_conteiner {
        max-width: 900px;
        padding: 0;
        margin-bottom: 50px;
    }
    #article_conteiner .header_title {
        font-size: 48px;
        margin-bottom: 48px;
    }
    #article_conteiner .header_time_link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }
    #article_conteiner .header_time,
    #article_conteiner .header_link {
        font-size: 20px;
        padding: 0;
    }
    #article_conteiner .header_image {
        max-width: 900px;
        width: 100%;
        margin-top: 24px;
    }
    #article_conteiner .discription {
        font-size: 1.1em;
        text-indent: 32pt;
        padding: 0 40px 0 40px;
    }
    #article_conteiner .footer_link a {
        font-size: 20px;
        padding: 0 40px 0 40px;
    }
}
@media (min-width: 1400px) {
    #article_conteiner {
        max-width: 1140px;
        padding: 0;
    }
    #article_conteiner .header_title {
        font-size: 52px;
        margin-bottom: 52px;
    }
    #article_conteiner .header_time_link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 28px;
    }
    #article_conteiner .header_time,
    #article_conteiner .header_link {
        font-size: 22px;
        padding: 0;
    }
    #article_conteiner .header_image {
        max-width: 100%;
        width: 100%;
        margin-top: 28px;
    }
    #article_conteiner .discription {
        font-size: 1.15em;
        text-indent: 36pt;
        padding: 0 48px 0 48px;
    }
    #article_conteiner .footer_link {
        font-size: 22px;
    }
}
/*----Список альбомов----*/
#news-album-list {
    width: 100%;
    padding: 0;
	margin: 0px;
    margin-bottom: 30px;
}
#news-album-list h1,
#news-album-list h2,
#news-album-list p,
#news-album-list count-icon {
  	font-family: Tahoma, sans-serif;
}
#news-album-list >.infomation {
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
#news-album-list >.infomation > .title {
	display: flex;
	justify-content: center;
	position: relative;
	padding: 15px;
	margin: 0px;
}
#news-album-list .line {
    position: relative;
	margin-bottom: 30px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b8860b;
}
/*#news-album-list > .title::before {
	content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}*/
#news-album-list ul li {
	padding: 0px;
	margin: 0px;
}
#news-album-list .album-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 20px;
    padding: 0 20px;
	transition: opacity 0.5s ease, transform 0.5s ease;
    list-style: none;
}
#news-album-list .album {
    width: 100%;
}
#news-album-list .album-list.hidden {
	display: none;
}
#news-album-list .album-list.show {
	display: flex;
    opacity: 1;
    transform: translateY(0);
	width: 100%;
    height: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#news-album-list .album .link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#news-album-list .album .link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
#news-album-list .album .link .cover {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}
#news-album-list .album .link .cover .picture {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#news-album-list .album .link .metadate {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#news-album-list .album .link .metadate .title {
	margin: 0px;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    display: -webkit-box;
    line-height: 1.5;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 120px;
    max-height: 120px;
    text-align: center;
}
/*#news-album-list .album .link .metadate .description {
    display: -webkit-box;
    line-height: 1.5;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    min-height: 63px;
    height: 63px;
    max-height: 63px;
	margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #333;
}*/
#news-album-list .album .link .metadate .inner-metadate {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon .count-date {
	color: #b8860b;
	font-weight: bold;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon .count-photo {
	color: #000000;
	font-weight: bold;
}
#next-album-list.button {
    display: block;
    margin: 0px auto;
    padding: 12px 24px;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 6px;
	background-color: transparent;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#next-album-list.button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

#next-album-list.button:active {
    transform: scale(0.98);
}
@media (min-width: 576px) {
    #news-album-list .album-list {
        gap: 25px;
    }
    #news-album-list .album .link .cover {
        height: 280px;
    }
}
@media (min-width: 768px) {
    #news-album-list .album-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
	#news-album-list > .title > h1 {
		font-size: 36px;
	}
    #news-album-list .album {
        flex: 0 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
    #news-album-list .album .link {
        height: 380px; 
    }
    #news-album-list .album .link .metadate .inner-metadate{
        flex-wrap: nowrap;    
    }
}
@media (min-width: 992px) {
    #news-album-list .album {
        flex: 0 0 calc(33.33% - 20px); 
        max-width: calc(33.33% - 20px);
    }
	#news-album-list >.infomation {
		padding: 0;
		margin: 0 auto;
	}
	#news-album-list >.infomation> .title {
		font-size: 48px;
	}
    #news-album-list .album .link {
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 220px;
    }
    #news-album-list .album .link .metadate .inner-metadate {
        flex-wrap: nowrap; 
    }
    #news-album-list .album .link .metadate .title {
        font-size: 22px;
    }
    #news-album-list .album .link .metadate .description {
        min-height: 68px;
        height: 68px;
        max-height: 68px;
        font-size: 15px;
    }
}
@media (min-width: 1200px) {
	#news-album-list >.infomation {
		max-width: 900px;
		margin: 0 auto;
	}
    #news-album-list .album-list {
        display: flex;
        flex-wrap: wrap;           
        justify-content: center;   
        gap: 40px; 
    }
    #news-album-list .album {
        flex: 0 0 auto;
        width: 350px;
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 200px; 
    }
    #news-album-list .album .link .metadate .title {
        font-size: 18px;
		height: 132px;
		max-height: 132px; 
    }
    #news-album-list .album .link .metadate .description {
        font-size: 14px; 
    }
}
@media (min-width: 1400px) {
	#news-album-list >.infomation {
		max-width: 1140px;
		margin: 0 auto;
	}
    #news-album-list .album-list {
        justify-content: center;
        gap: 65px;
        padding: 0 30px;
    }
    #news-album-list .album {
        width: 350px;
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 220px; 
    }
        #news-album-list .album .link .metadate .title {
        font-size: 18px;
    }
    #news-album-list .album .link .metadate .description {
        font-size: 15px;
    }
}
@media (min-width: 1700px) {
	#news-album-list {
		width: 1250px;
		margin: 0 auto;
	}
}
/* End */
/* /local/templates/ksrk2025/components/bitrix/news.detail/news.detail.ksrk2025/style.css?176537664815767 */
