/* All news page */
.news-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px 88px;
	max-width: 1770px;
}
.news-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 481px;
	height: 637px;
	background: #EDF3F6;
	border-radius: 20px;
	padding: 0 31px 33px 31px;
	position: relative;
}
.news-item:hover{
		    box-shadow: 2px 2px 9px -3px #09B666;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.col-sm-8 {text-align: center;}

.product-item img {
	width: 481px;
	height: 308px;
	margin-bottom: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}
.news-date {
	font-family: 'Proxima Nova';
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 130%;
	text-align: center;
	color: #0D80C2;
	margin-bottom:20px;
}
.news-title {margin-top:10px;}
.post-name {
	font-family: 'Proxima Nova';
	font-weight: 600;
	font-size: 20px;
	color: #343434;
	margin-bottom: 18px;
	line-height: 130%;
	display: flex;
	align-items: center;
	text-align: center;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.post-p {
	font-family: 'Proxima Nova';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 130%;
	text-align: center;
	color: #343434;
}

.single-post-content h2, .single-post-content h3{margin-top:30px;}
.single-post-content ul li {margin-bottom:10px;}
.single-post-content ul li::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 20px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNS41IiBjeT0iNS41IiByPSI1LjUiIGZpbGw9IiMwRDgwQzIiLz4KPC9zdmc+Cg==);
    background-size: contain;
    vertical-align: middle;
}
.single-post-content p {margin-top:10px;}
.single-post-content table, tr, td {
    border: 1px solid;
}

.news-item .card-btn {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 192px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;

	background: #0D80C2;
	border-radius: 15px;
	font-family: 'TT Firs Neue';
	font-style: normal;
	font-weight: 600;
	font-size: 15px;
	line-height: 120%;
	text-align: center;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
	box-shadow: 0px 25px 18px -20px #0D80C2;
}
.news-item .card-btn:hover{
	transform: translateX(-50%) scale(0.98);
    box-shadow: 0px 25px 18px -22px #0D80C2;
}



/* Single post page */
.single-post-title {
	font-family: 'TT Firs Neue';
	font-style: normal;
	font-weight: 600;
	font-size: 42px;
	line-height: 130%;
	text-align: center;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 auto;
	width: 1120px;
	color: #343434;
	margin-bottom:50px;
}

.single-post-content {
	font-family: 'Proxima Nova';
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 150%;
	color: #343434;
}
.single-post-content iframe {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom:30px;
	width: 100%;
	height: auto;
	max-width: 1345px;
	aspect-ratio: 16 / 9;

}


/*doctor*/
.doctor-info {
	display: flex;
	justify-content: space-between;
	margin-top: 100px;
	position: relative;
	left: -120px;
	margin-bottom: 60px;
}

.doctor-photo {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: right;

}

.doctor-photo img {
	border-radius: 50%;
	max-width: 338px;
	max-height: 338px;
}

.doctor-details {
	flex: 1;
	padding-left: 30px;
	width:687px;
}
.doc-fio-h2 {
	font-family: 'TT Firs Neue';
	font-style: normal;
	font-weight: 600;
	font-size: 42px;
	line-height: 130%;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #343434;
}
.doc-opis-p {
	font-family: 'Proxima Nova';
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 150%;
	color: #343434;
}
.doctor-details > div > p > svg {margin-right:20px;}
.doctor-services {
	font-family: 'Proxima Nova';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 140%;
	color: #343434;
}
.doctor-details .doc-fio-h2 , .doctor-details .doc-opis-p, .doctor-details .doctor-services {
	margin-bottom: 30px;
}
.doctor-services p{
	margin-bottom:10px;
}
.single-post-btn-bott{
	flex-direction: row-reverse;
	width: 361px;
    height: 80px;
    padding: 20px;
}
.single-post-btn-bott span{
	font-size: 20px;
    line-height: 130%;
}

/*блок с линией*/
.merezha::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -100vw;
	width: 200vw;
	height: 1px; 
	background-color: #0D80C2; 
	z-index: -1;
}


/*MEDIA*/
/*  PC  1600 -- 1440  */
@media (max-width: 1800px) {
	/* Single post page */
.single-post {
		max-width: 1420px;
	}
}
@media (max-width: 1600px) {
.news-wrap {    
    gap: 40px;  
    max-width: 1590px;
}
	/* Single post page */
	.single-post {
		max-width: 1420px;
	}
}
/*  PC  1441 -- 1371  */
@media (max-width: 1441px) {
.news-item {
    width: 430px;
    height: 595px;
	}
	.product-item img {
    width: 430px;
    height: 275px;
	}
		.news-date {   
    font-size: 18px;   
    margin-bottom: 20px;
}
	.post-name {
    font-size: 18px;
	}	
	
	.news-title {
    margin-top: 18px;
}
	.post-p {    
    font-size: 18px;    
}
	/* Single post page */
.single-post {
    max-width: 1220px;
}
}
/*  PC  1370 -- 992  */
@media (max-width: 1370px) {
	.single-post-content iframe {
		height: 652px;
	}
	.news-item {
    width: 400px;
    height: 535px;
}
	.product-item img {
    width: 400px;
    height: 256px;
}
	.news-date {   
    font-size: 15px;   
    margin-bottom: 20px;
}
	.post-name {
    font-weight: 600;
		font-size: 16px;
	}	
	.news-title {margin-top: 15px;}
	.post-p {font-size: 16px;}
	.news-wrap {gap: 30px;}
	
}

@media (max-width: 1280px){
	.single-post {max-width: 1180px;}
}

@media (max-width: 1280px){
	.single-post {max-width: 1120px;}
}

@media (max-width: 1025px){
	.news-content .news .news-item {width: 310px;height: unset;aspect-ratio: 0.73;padding: 0 15px 15px 15px;}
	.product-item img {width: 310px;height: unset;aspect-ratio: 1.5625;}
	.news-wrap {gap: 20px;}
	.post-name {font-size: 14px;margin-bottom: 10px;}
	.post-p {font-size: 14px;}
	.news-date {font-size: 14px;}
	.single-post, .single-post-title {max-width: 924px;font-size: 34px;}
	
}

/*  TABLET 991.98 -- 800  */
@media (max-width: 991.98px) {
	.news-wrap {
    max-width: 940px;
}
.news-item {
    width: 300px;
    height: 425px;
}	
.product-item img {width: 292px;}
.news-date {
    font-size: 12px;
	}
.news-title {
    margin-top: 8px;
}	
.post-name {   
    font-size: 12px;
	margin-bottom: 8px;
}
.post-p {
    font-size: 13px;
}	
	.news-item .card-btn {
		width: 150px;
    height: 40px;
		font-size: 12px;
		letter-spacing: 0.10em;
	}
	/* Single post page */
.single-post {
    max-width: 790px;
}
	.single-post-title {
		font-size: 27px;
   		max-width: 790px;
	}
	.single-post-content {
    font-size: 20px;
	}
	.merezha {
    margin-top: 80px !important;
   
}
	.doc-fio-h2 {
    font-size: 27px;
	}
	.doc-opis-p {
    font-size: 20px;
	}
	.doctor-services {font-size: 18px;}
	.news-content .news .news-item {width: 292px;padding: 0 10px 10px 10px;}
	.news-wrap {grid-template-columns: repeat(2, 1fr);}
}
/*  TABLET 800 -- 768  */
@media (max-width: 799.98px) {
.news-wrap {
    gap: 15px;
    max-width: 720px;
}
.news-item {
    width: 230px;
    height: 365px;
}
	.product-item img {	margin-bottom: 13px;}
	.news-date {font-size: 11px;}
.news-title {
    margin-top: 6px;
}
	.post-name {
    font-size: 10px;
    margin-bottom: 5px;
}
	.post-p {
    font-size: 11px;
}
	.news-item .card-btn {
    width: 130px;
    height: 30px;
    font-size: 10px;
    border-radius: 8px;
}
	.posl_pagination {
    margin-top: 50px;
		gap: 18px;
}
	.posl_pagination .emoji {width: 32.13px!important;height: 32.13px!importantorder-radius: 7px;}
	.posl_pagination li {margin-right: 11px;width: 33px;height: 33px}
	.single-post {max-width: 730px;}
	.single-post-title {font-size: 27px;width: 730px;}
	.doctor-photo > img	 width: 238px height:}

}	

/*  MOBILE 768 - 467 */
@media (max-width: 767.98px) {
.news-wrap {
    gap: 15px;
    max-width: 720px;
}
.news-item {
    width: 230px;
    height: 365px;
}
.product-item img {margin-bottom: 13px;}
	.news-date {
    font-size: 11px;
}
.news-title {
    margin-top: 6px;
}
	.post-name {
    font-size: 10px;
    margin-bottom: 5px;
}
	.post-p {
    font-size: 11px;
}
	.news-item .card-btn {
    width: 130px;
    height: 30px;
    font-size: 10px;
    border-radius: 8px;
}
	.posl_pagination {
    margin-top: 50px;
		gap: 18px;
}
	.posl_pagination .emoji {
    width: 32.13px!important;
    height: 32.13px!important;
    border-radius: 7px;
}
.posl_pagination li {   
    margin-right: 11px;
    width: 33px;
    height: 33px;	
	}
	/* Single post page */
	.single-post {max-width: 630px;}
	.single-post-title {margin-bottom: 20px;width: 630px;}
	.doc-fio-h2 {font-size: 24px;}
	.doctor-photo > img {width: 208px !height: 208px !important;}
	
	
	.single_post-page .merezha::before{display: none!important;height:0!important;}
	/*.single-post {max-width: 710px;}*/
	.single_post-page .merezha-block {width: 700px;}
	.single_post-page .doctor-photo img{width: 220px!important;height: 220px!important;}
}		

@media (max-width: 600px){
	.news-wrap {grid-template-columns: repeat(1, 1fr);max-width: 440px;}
}

/*  MOBILE 468 - 320 */
@media (max-width: 468px) {
.all_page .posl_title {
   max-width: 468px;
}
	.news-content .news .news-item {width: 360px;}
	.product-item img {width: 360px;}
	.news-date {font-size: 12px;}
	.news-title {margin-top: 11px;}
	.post-name {font-size: 16px;margin-bottom: 11px;}
	/* Single post page */
	.single-post {max-width: 360px;}
	.post-p {font-size: 14px;}
	.news-item .card-btn {height: 34px;font-size: 12px;border-radius: 9px;}
	.merezha::before{height:0;}
	.single_post-page .merezha-block {width: 360px;height: 190px;}
	.single_post-page .merezha-bl2 img{display:none;}
	.single_post-page .mission .mbl p, .mission .mbl span {font-size: 16px;margin-top: 7px;}
	

.single-post-title {
    margin-bottom: 20px;
    width: 360px;
	font-size: 20px;
}
.single-post-content iframe {
    height: 240px;
    max-width: 460px;
}
	.single-post-content {
    font-size: 14px;
}
	
	
	.doctor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 55px;
		left:0;
}

.doctor-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.doctor-photo img {
    border-radius: 50%;
    max-width: 338px;
    max-height: 338px;
}

.doctor-details {
    width: 84%;
    text-align: center;
    padding-top: 7px;
}

.doctor-details .doc-fio-h2 {
    font-family: 'TT Firs Neue';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #343434;
}

.doc-opis-p,
.doctor-services {
    text-align: left;
    width: 100%;
}

.doc-opis-p {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #343434;
}

.doctor-details > div > p > svg {
    margin-right: 5px;
}

.doctor-services {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 400;
   font-size: 14px;
    line-height: 140%;
    color: #343434;}
	.doctor-services p {margin-bottom:8px;}
.doctor-details .doc-fio-h2,
.doctor-details .doc-opis-p,
.doctor-details .doctor-services {margin-bottom: 30px;}

}
@media (max-width: 360.98px){
	.all_page {max-width: none;padding:0 15px;}
	.single-post {max-width: 290px;}
	.single-post-title {width: 290px;font-size: 18px;text-align: left;}
	.single_post-page .merezha {margin-top: 30px!important;}
	.single_post-page .mbl{height:unset;}
	.single_post-page .mbl img{display:none;}
	.single_post-page .mission .mbl p, 
	.single_post-page .mission .mbl span {font-size: 14px;margin-top: unset;width: 253px;}
	.single_post-page .mission .merezha-block{padding:unset;}
	.single_post-page .doctor-info{margin-top: 45px;margin-bottom:30px;}
	.single_post-page .doctor-details{padding-left:unset;}
	.single_post-page .doc-fio-h2,
	.single_post-page .doc-opis-p{margin-bottom:20px;}
	.single-post-btn-bott {width: 207px;height: 35px;border-radius: 9px;}
	.single-post-btn-bott span {font-size: 12px;line-height: 120%;}
	.single-post-btn-bott img{display:none;}
	.single-post .doc-opis-p{font-size:14px;}
	.single-post .doctor-services p {font-size:12px;}
	.news-wrap{max-width: 330px;}
	.news-content .news .news-item, .product-item img {width: 320px;}
	.single_post-page .merezha-block {width: 290px;height:unset;}

}

@media (max-width: 320px){
	.news-content .news .news-item {width: 290px;}
	.product-item img {width: 290px;}
	.post-name {font-size: 15px;line-height: 110%;}
	.news-item .card-btn{position: relative;top: 12px;}
	.news-item .card-btn {bottom: 15px;}
}