
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

body {
    font-family:Merriweather, serif !important;
}

.ImgDiv::before {
    padding-top: 75%; /* 4:3: широкие кадры обрезаются по центру слева и справа */
}
.card-body {
    padding: 0;
    margin: .8rem;
    border: 1px solid #aaa;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

	.insertions .card-title{
		font-family: Merriweather, serif !important;
		font-size: 15px;
		line-height: 1.35;
		font-weight: 400;
	}
	/*
	.insertions .card-text, .insertions .news_data{
    color: #828282;
    line-height: 1.25;
    font-weight: 400;
}
*/
	.insertions .makedt, .insertions .ViewCounter{
		font-size: 13px;
		line-height: 20px;
		color: #7D4927;
	}
	
	.insertions .news_data{
		font-size: 15px;
		line-height: 22px;
		overflow-wrap: break-word;
	}
	
/*===================================*/
.row {
  display: flex;
  flex-wrap: wrap;
}

/*============================================*/

	/* Чтобы левый блок (карточка) и ссылка внутри были одной высоты */
.insertions .ImgDiv {
  flex: 1;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius:0;
  border:none;
  border-bottom:1px solid #aaa;
}
.insertions .ImgDiv::after {
    height: 0;
}
.card-bottom{	
  padding:10px;
	/*border-top-left-radius: 0;
	border-top-right-radius: 0;
	box-shadow: 0 0 16px #00000014;
	border:1px solid #aaa;*/
	padding-top: .8rem;
	}
	
	/*======================================*/
	
	.insertions.news_style_1 .card {
		background: #fff;
		border-radius: 8px;
		box-shadow: 0 0 16px #00000014;
		color: #2d2d2d;
		border:1px solid #aaa;
	}
	
	.insertions .card-text, .insertions .news_data{
		font-size: 15px;
		line-height: 22px;
		overflow-wrap: break-word;
		color: #2d2d2d;
	}
	.insertions .makedt {
    float:left;
	}
	.insertions .ViewCounter {
    float:right;
	}
	.insertions .makedt, .insertions .ViewCounter {
    margin-top: 0;
	}
@media (min-width: 576px) {
	.insertions.news_style_1{
		margin-top: 1rem;
	}
	.insertions.news_style_1 .row{
		width: 100%;
		margin-left: 0;
		margin-bottom:2rem;
		border-bottom: none;
	}
	.insertions.news_style_1 .card{
		margin: 0;
	}
	.insertions.news_style_1 .card1{
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		border-right:none;
	}

	.insertions .card-title{
		margin:0;
		padding: 16px 0;
	}
	.insertions .makedt{
		margin-top:0;
	}
	.insertions .news_data{
		margin: 0;
		overflow-wrap: break-word;
	}
	.insertions.news_style_1 .ImgDiv {
		border-top-right-radius:0;
		border-bottom-right-radius:0;
		border-bottom-left-radius:8px;
		border-top-left-radius:8px;
	}
	.insertions.news_style_1 .card {
		background: #fff;
		border-radius: 8px;
		box-shadow: 0 0 16px #00000014;
		color: #2d2d2d;
	}
	.insertions.news_style_1 .card2 {
		margin-left: -15px;
		padding-left: 15px;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		padding-top: .8rem;
		border-left:none;
	}
}


.insertions.news_style_1 .card-title{
		font-family: Merriweather, serif !important;
		font-size: 18px;
		line-height: 1.4;
		font-weight: 400;
	}
	
.insertions.news_style_1 .card-text{
    color: #828282;
    line-height: 1.3;
    font-weight: 400;
}

.insertions.news_style_1 .card1,
.insertions.news_style_1 .card2 {
  display: flex;
  flex-direction: column;
}

/* Чтобы левый блок (карточка) и ссылка внутри были одной высоты */
.insertions.news_style_1 .ImgDiv {
  flex: 1;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.insertions.news_style_1 .ImgDiv::after {
    height: 0;
}
/* Опционально: для совсем маленьких экранов можно задать минимальную высоту */
@media (max-width: 575.98px) {
	
	.insertions.news_style_1 .row{
		width: 100%;
	}
  .ImgDiv {
    min-height: 200px;
  }
  .insertions.news_style_1{
	  overflow:hidden;
  }
  .insertions.news_style_1 .card {
	margin-left: 15px ;
	margin-right: 15px ;
	padding-right: 0;
    padding-left: 0;
	}
      
  .insertions.news_style_1 .card1 {
	margin-bottom:0;
  height: auto;
  border-bottom:none;
  }
  .insertions.news_style_1 .card2 {
	  padding:10px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		padding-top: .8rem;
		box-shadow: 0 0 16px #00000014;
		border:1px solid #aaa;
		border-top:none;
  }
  .insertions.news_style_1 .card1 .ImgDiv{
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
  }
  
	.main-news .makedt {
		margin-top: 0 !important;
	}
	  
}
.nextnews {
    border-top: 1px solid #aaa;
    color: #2d2d2d;
    font-size: 15px;
    line-height: 20px;
    padding: 16px;
}

ul.dopmenu{
	background-color: #fff;
}
.no_dop_block .more{
	display:none;
} 
.insertions .card{
	margin-bottom:0;
}
.right_side .card-body{
	margin:0 .75rem
}
h2.section_title {
    color: #7D4927;
}
.vidget{
	/*border-bottom: 5px solid #FDFDF4 !important;*/
}

/* Мобильное меню без ожидания JS: ClassyNav ставит .breakpoint-on только в конце страницы */
@media (max-width: 991px) {
	.classy-navbar-toggler,
	.classycloseIcon {
		display: block !important;
	}
	.classy-navbar .classy-menu {
		background-color: #fff;
		position: fixed;
		top: 0;
		left: -310px;
		z-index: 1000;
		width: 300px;
		height: 100%;
		-webkit-transition-duration: .5s;
		transition-duration: .5s;
		padding: 0;
		box-shadow: 0 5px 20px rgba(0,0,0,.1);
		display: block;
		overflow-x: hidden;
		overflow-y: scroll;
	}
	.classy-navbar .classy-menu.menu-on {
		left: 0;
	}
	.classynav {
		display: block !important;
		padding-top: 70px;
		padding-left: 10px;
	}
	.classynav ul li {
		display: block;
		position: relative;
		clear: both;
		z-index: 10;
	}
	.classynav ul li a {
		padding: 0 10px;
	}
	.classynav > ul > li > a {
		background-color: #f2f4f8;
		border-bottom: 1px solid rgba(255,255,255,.5);
		line-height: 26px;
	}
	.classynav ul li .dropdown,
	.classynav ul li .megamenu {
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
		box-shadow: none;
		display: none;
		opacity: 1;
		visibility: visible;
	}
	.dd-trigger {
		display: block;
		height: 38px;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
}

@media (max-width: 767px){
	.topImgDiv::before {
		padding-top: 26%;
	}
	/* 1-й ребёнок — заголовок, карточки 2–4 = три новости */
	article.mainpage div.news_style_9 > .card:nth-child(-n+4) {
		display: flex;
	}
	article.mainpage div.news_style_9 > .card:nth-child(n+5) {
		display: none;
	}

	article.mainpage div.news_style_4 .multimedia__item {
		display: none;
	}
	/* 1-я новость: большая слева */
	article.mainpage div.news_style_4 > .row:nth-of-type(2) > .col-sm-6.mmd:first-child .multimedia__item {
		display: block;
	}
	/* 2-я новость: первая вложенная */
	article.mainpage div.news_style_4 > .row:nth-of-type(2) > .col-sm-6:nth-child(2)
		> .row:first-child
		> .col-sm-6.mmd:first-child
		.multimedia__item {
		display: block;
	}
	/* 3-я новость: вторая вложенная */
	article.mainpage div.news_style_4 > .row:nth-of-type(2) > .col-sm-6:nth-child(2)
		> .row:first-child
		> .col-sm-6.mmd:nth-child(2)
		.multimedia__item {
		display: block;
	}
	.more{display:block}
}









