.posts-list{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:20px;
}

.posts-list img{
  border-radius:16px;
  height:220px;
  object-fit:cover;
}

.posts-list a{
  border-radius:16px;
  color:#502382;
  font-size:16px;
}

.tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 30px 0;
}

.tag-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tags-grid h2{
  font-size:22px;
  margin-bottom:12px;
}

.tags-grid h3{
  font-size:16px;
  margin-bottom:12px;
}

.tag-title-child:hover {
  text-decoration:underline
}

.tag-image-container {
    height: 220px;
    overflow: hidden;
}

.tag-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-title {
    margin: 15px;
    font-size: 16px;

}

.tag-count {
    display: block;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.wpcf7-text {
    width: 100%;}

table {
	width: 100%;
	border: none;
	margin-bottom: 20px;
}
table thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	padding: 10px 15px;
	background: #d8d8d8;
	font-size: 14px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
table tbody td {
	text-align: left;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 10px 15px;
	font-size: 13px;
	width:auto;
	min-width:140px;
	vertical-align: top;
}
table thead tr th:first-child, table tbody tr td:first-child {
	border-left: none;
}
table thead tr th:last-child, .table tbody tr td:last-child {
	border-right: none;
}
table tbody tr:nth-child(even){
	background: #f3f3f3;
}

@media(max-width: 767px){
  .tags-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}
	table {
	width: auto!important;
	border: none;
	margin-bottom: 20px;
}
	table tbody td {
	text-align: left;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 10px 15px;
	font-size: 12px;
	width:auto;
	min-width:100px;
	vertical-align: top;
}
	table thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	padding: 10px 15px;
	background: #d8d8d8;
	font-size: 12px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
}


.grecaptcha-badge{
	display:none;
}
.card-image-fixed-ratio {
 object-position: top;
}
.promagnifier{
	display:none!important;
}
.gpls-wpsctr-timer-title{
	color:#fff;
}
.bn-carousel-builder_icon_disabled{
opacity:0.3!important;	
}
.alignright{
	float:right;
	margin-left:15px!important
}
.alignleft{
	float:left;
	margin-right:15px!important
}

.wp-block-hotblocks-button.aligncenter{
margin: 0 auto;
	display:block;
	max-width:fit-content;
	height:auto!important;
	line-height:1.3;
}
.wp-block-hotblocks-button a{
    height: auto!important;
    line-height: 1.4!important;
    padding: 10px 15px;
}

.txt-act{
position:absolute!important;
	    display: flex!important;
    height: 100%!important;
    background: #00000099!important;
    text-align: left!important;
    padding: 20px!important;
    justify-content: center;
    align-items: center!important;
}

.white-text{
	color:#fff
}
.white-text .wp-block-column{
    display: flex;
align-items: center;
	
}
.doctor-slider .doctor-item{

	transition:0.2s
}
.rc-anchor{
	display:none;
}
.schema-faq-section{
	max-width:780px;
	margin:0 auto;
}

.service-content .schema-faq-answer{
	margin-top:8px;
}

.doctor-item p{
	font-size:12px;
	color:#444;
}

.doctor-item h3{
	font-size:18px;
	margin-top:8px;
}

.doctor-item:hover{
	box-shadow: 0 0 15px #50238233;
    border-radius: 25px;
}

.head-slider .head-slider-item{
	border-radius:25px;
	overflow:hidden;
	display:flex;
}
.card .card-title {
	font-size: 18px!important;
}

.addtoany_share_save_container{
	width:230px;
	background:#50238211;
	text-align:center;
	padding:8px 0;
	border-radius:5px;
}

.card:hover{
		box-shadow: 0 0 15px #50238233;
	border-radius:25px
}

.card{
	transition:0.3s;
}

.card .card-title:after{
	content:'⟶';
	margin-left:5px;
	transition:0.3s;
	position:absolute;
}

.card .card-title:hover:after{
	content:'⟶';
	color:#FFC800;
	margin-left:10px;
}

.wpcf7-response-output{
	font-size:12px;
	color:#fcc
}

#breadcrumbs a{
	color:#502382;
	text-decoration:underline;
}


s{
	font-size:13px;
	color:#888
}

.wpcf7-not-valid-tip{
	font-size:12px;
	color:#f88;
	margin-top:-15px
}

figure {
    margin: 1em 0px;
}

figure.wp-block-table td{
	border:none;
}

figure.wp-block-table tr:nth-child(2n+1){
	background:#eef
}

figure.wp-block-table tr:nth-child(1){
	background:#ddf
}


.list-uslugi #menu-uslugi{
	display:grid;
grid-template-columns:1fr 1fr 1fr;
	gap:15px;
}

.list-uslugi #menu-uslugi li.menu-item-has-children{
	display:block!important;
	width:100%;

	border:1px solid #ddd;
	border-radius:15px;
	background:#fff;
	height:auto;
		padding:0px 15px 15px 15px;
}

.list-uslugi .sub-menu{
	display:flex!important;
	flex-direction:row!important;
	flex-wrap:wrap;
	gap:5px;
	position:relative!important;
	opacity:1!important;
	visibility:visible!important;
	left:0!important;
	font-size:12px;
background:transparent!important;
	justify-content:center;
}

.list-uslugi .sub-menu li{
	display:block!important;
		border: 1px solid #502382!important;
	border-radius:30px;
	text-align:center;
}

.list-uslugi .sub-menu li a{
	display:block;
		font-weight:600!important;
	white-space: normal;
	padding:0!important;
}




.inline h2{
	font-size:24px;
	margin-top:30px
}
picture{
	height:100%;
	width:100%;
	text-align:center;
}

.wpcf7-select{
	border-radius:50px;
	border:none;
	outline:none;
	background:#4B2A8111;
	height:46px;
		width:250px;
	padding-left:20px;
	padding-right:10px;
	font-weight:700;
	margin-bottom:20px;
	max-width:100%;
	font-family:montserrat;
}

.wpcf7-text{
	border-radius:50px;
	border:none;

	outline:none;
	height:46px;
	padding-left:20px;
	margin-bottom:20px;
	max-width:100%;
	font-family:montserrat;
}

.wpcf7-submit{
	font-family:montserrat;
		font-size:16px;
	background:#FFC800;
	color:#333;
	box-shadow: 0 10px 50px #FFC80033;
	transition:0.2s;
	width:230px;
	border:none;
	height:46px;
	border-radius:50px;
	font-weight:600;
}

.wpcf7-submit:hover{
	font-size:16px;
	background:#EFBB00;
	color:#333;
	box-shadow: 0 3px 30px #FFC80033;
}
.h-slider{
	position:relative;
}

.h-slider .tns-nav{
	position:absolute!important;
	bottom:15px;
	width:100%;
	text-align:center;
}

.h-slider .tns-nav button{
	background:#fff;
	height:16px;
	width:10px;
	border:2px solid #FFffff;
	border-radius:100%;
	margin: 0 8px;
}

.tns-nav button:hover{
	background:#502382aa;
}

.tns-nav button.tns-nav-active{
	background:#502382;
}

.head-slider-left{
	background-color:#FFC800;
	padding:60px;
	display:flex;
	width:50%;
	flex-direction:column;
	justify-content:space-between;
}

.head-slider-right{
	width:50%;
	display: flex;
}

.head-slider-right img{
	width:100%;
	object-fit:cover;
}

.head-slider-left h2{
	color:#fff;
	font-size:28px;
}

.head-slider-left p{
	font-size:20px;
}

.slide-button{
	width:260px;
	font-size:16px!important;
}

#caf-filter-layout2 {
    font-size: 20px!important;
}

.section #caf-filter-layout2 ul.dropdown {
    padding: 0!important;
}
.service-content h2 span,.service-content h3 span{
	font-weight:700!important;
}

.service-content  h3{
    max-width: 780px;
    margin: 30px auto;
    margin-bottom: 20px;
}

.service-content p{
	max-width:780px;
	margin:0 auto;
	font-weight:500;
	margin-bottom:20px;
}

.service-content ol{
		max-width:780px;
	margin:0 auto;
	font-weight:500;
	padding-left:20px;
}

.service-content li{
	margin-bottom:10px;	
}

.service-content ul{
		max-width:780px;
	margin:0 auto;
	font-weight:500;
	padding-left:20px;
}

.service-content, .bn-stock-content-styles{
	width:100%;	
}

.wp-block-columns{
	margin:50px 0;	
}

.service-content .wp-block-columns figure{
	margin:0;
}

.service-content .wp-block-columns h3{
	padding:20px 0 10px 0;
}

.service-content li::marker{
	font-weight:800;
	color:#502382
}

.service-content h2{
	font-size: 26px;
	max-width:780px;
	margin:50px auto 25px auto;
}

.service-content .wp-block-group{
	padding:50px 0;
	color:#fff;
	background:#502382;
	border-radius:25px;
	margin:50px 0;
}

.service-content .wp-block-group h3{
	color:#fff;
	margin-bottom:30px;
	font-size:28px
}

.service-content .wp-block-group .wp-block-button__link{
	font-size:16px;
	background:#FFC800;
	color:#333;
	box-shadow: 0 10px 50px #FFC80033;
	transition:0.2s
}

.service-content .wp-block-group .wp-block-button__link:hover{
	font-size:16px;
	background:#EFBB00;
	color:#333;
	box-shadow: 0 3px 30px #FFC80033;
}

body .wp-block-image img{
	max-height:400px;
	object-fit:cover;
	width:100%;
	object-position:top center;
	border-radius:25px
}

.text-card{
	padding:30px;
	background:#FFC800;
	border-radius:12px;
	max-width:460px;
	position:absolute;
	font-weight:500;
	bottom:55px;
	right:-90px;
	box-shadow:0 10px 80px -30px #aa9fb7;
}

@media (max-width:768px){
  .posts-list{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}

	.list-uslugi #menu-uslugi{
	display:grid;
grid-template-columns:1fr;
	gap:15px;
}
	.card:hover{
		box-shadow: none;
}
	.head-slider .head-slider-item{
	flex-direction:column-reverse;
		border-radius:0;
}
	.head-slider-left{
		width:100%;
		padding:30px 30px 50px 30px;
		margin-top:-30px
	}
	
	.head-slider-left h2{
	font-size:21px;
}
	.head-slider-left p{
	font-size:16px;
}
	.head-slider-right{
		width:100%;
	}
}
.card-image-fixed-ratio{
	height:190px!important;
	padding-bottom:0!important;
	border-radius:25px
}
.slide-button{
	transition-duration: 0.3s;
    box-shadow: 0px 20px 20px 0px rgb(80 35 130 / 19%)!important;
	background-color: #502382!important;
    border: 1px solid #502382!important;
}

.slide-button:hover {
    padding-left: 30px;
    padding-right: 30px;
    background-color: #5b3784;
    box-shadow: 0px 8px 8px rgb(80 35 130 / 15%);
}

.card-image{
	background:none!important;
}

.post-slider .tns-ovh {
    overflow: visible;
}

.spec-slider .tns-ovh {
    overflow: visible;
}

.tns-outer [aria-controls], .tns-outer [data-action] {
    background:#50238214;
	border:none;
	border-radius:50%;
	font-size:32px;
	line-height:1;
	height:50px;
	width:50px;
	color:#502382;
	margin:0px 0px 10px 15px;
	transition:0.2s;
	padding-bottom:5px
	
}

.tns-outer [disabled]{
	opacity:0.3
}

.tns-controls button:hover{
	color:#FFC800;
	background:#502382;
}

/* pulse wave */
.play-btn{
	animation: puls 5s;
	  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes puls{
	0%{
		transform:scale(0.85) rotate(-10deg);
	}
	25%{
		transform:scale(0.9) rotate(0deg);
	}
	50%{
		transform: rotate(10deg);
	}
	75%{
		transform: rotate(-5deg);
	}
	100%{
		transform:scale(0.85) rotate(-10deg);;
	}
}

.play-btn:before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate1 2s;
  animation: pulsate1 4s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(80,35,130, .3);
  top: -30%;
  left: -30%;
  background: rgba(198, 16, 0, 0);
}

@-webkit-keyframes pulsate1 {
  0% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 1;
    box-shadow: inset 0px 0px 25px 3px rgba(80,35,130, 0.75), 0px 0px 25px 10px rgba(80,35,130, 0.75);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
    box-shadow: none;

  }
}

@keyframes pulsate1 {
  0% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 1;
    box-shadow: inset 0px 0px 25px 3px rgba(255,200,0, 0.75), 0px 0px 25px 10px rgba(255,200,0, 0.55);
  }
  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1);
    opacity: 0;
    box-shadow: none;

  }
}
#manage-post-area{
	position:relative!important
}
#manage-post-area .caf-meta-content-cats{ display:none
}
#manage-post-area .caf-meta-content{
	 display:none
}
#manage-post-area {
*	background-color:#f5f5ff;
	background-image:none!important;
	height:90px;
}
#manage-post-area .caf-post-title h2 a{
	color:#502382!important;
	font-size:14px;
}

#manage-post-area .caf-post-title h2 a:hover{
	color:#FFCA3E!important;
	font-size:14px;
}

#manage-post-area .caf-post-title h2{
	line-height:0.7
}

.caf-post-layout3 .caf-featured-img-box {
    display: block;
    width: 100%;
	border-radius:15px;
	height: 180px!important;
}

.caf-post-layout3{

	box-shadow: 0px 0px 0px #50238233!important;
	transition:0.3s
}

.caf-post-layout3:hover{

}

@media(max-width:768px){
.slide-button{
	width:240px;
	font-size:14px!important;
}
	
#section-73-7 > div	{
	margin-left:0px!important;}
	
	
	.service-content .wp-block-group {
		padding: 20px;
	}
	.text-card{
		position:relative;
		top:0;
		left:0;
		max-width:100%;
	}
	.head-slider-left h2{
	color:#fff;
	font-size:18px;
		margin-bottom:15px;
}
	.head-slider-left p{
	font-size:14px;
}

	.head-slider{
		background:#FFC800
	}
	.wp-block-table{
		font-size:14px;
	}
}

.doc picture{
	max-height:300px
}

.doc2 picture{
	max-height:250px
}

@media (max-width: 479px){
	.alignright{
	float:none
}
	.quiz-column-left{
		display:none!important;
	}
.alignleft{
	float:none
}
.n-code_block-345-12 {
    max-height: 510px!important;
}
	.h-slider .tns-nav {
    display: flex;
    justify-content: center;
}
	.h-slider .tns-nav button {
    height: 16px;
    max-width: 16px;
    display: inline;
		font-size:6px;
}
	.alignright{
	margin-left:0px!important
}
.alignleft{
	margin-right:0px!important
}
}

.wpcf7-form .fieldset-cf7mls .cf7mls-btns {
    margin-top: -45px!important;
}

.quiz-check .wpcf7-submit{
	margin: 0px 0px 0px!important;}
/* Полоса с куками */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #502382;
    color: white;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 14px;
}

.cookie-link {
    color: #FFC800;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-btn {
    background: #FFC800;
    color: #502382;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
	text-transform:uppercase;
    font-weight: 700;
    transition: background 0.2s;
}

.cookie-btn:hover {
    background: #FFC800aa;
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
.wpcf7-form .wpcf7-acceptance input[type="checkbox"], .wpcf7-form .wpcf7-checkbox input[type="checkbox"]{
display:none
}

/* Базовые стили */
.wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0px 0;
	max-width:400px;
}

/* Лейбл */
.wpcf7-acceptance .wpcf7-list-item label, .wpcf7-checkbox .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
  min-height: 24px;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* Кастомный чекбокс */
.wpcf7-acceptance .wpcf7-list-item-label:before, .wpcf7-checkbox .wpcf7-list-item-label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Галочка */
.wpcf7-acceptance .wpcf7-list-item-label:after, .wpcf7-checkbox .wpcf7-list-item-label:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #502382;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label:before, .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
  background: #FFC800;
  border-color: #FFC800;
}

.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label:after, .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
  opacity: 1;
}

/* Эффекты взаимодействия */
.wpcf7-acceptance .wpcf7-list-item:hover .wpcf7-list-item-label:before {
  border-color: #aaa;
}

.wpcf7-acceptance input[type="checkbox"]:focus + .wpcf7-list-item-label:before {
  box-shadow: 0 0 0 3px rgba(233, 0, 3, 0.2);
}

.wpcf7-list-item{
	margin-left:0;
}

.wpcf7-list-item-label a{
  color:#FFE173;
}
