/**
 * Theme Name: welldon
 * Template: twentytwentyfive
 * Version: 1.0.0
 */
@import url("../twentytwentyfive/style.css");
:root {
    --welldon-color: #a11a04;
	--welldon--min--spacing: 10px;
	--wp--preset--spacing--60: 10px;
	--wp--preset--spacing--50: 10px;
	
	--welldon--mobile--version: 1111px;
	--welldon--full--version: 1112px;
}

body {display: flex; flex-direction: column; min-height: 100vh; margin: 0; min-width:370px;}
.wp-site-blocks { flex: 1; display: flex; flex-direction: column;}
.wp-block-template-part:last-child { margin-top: auto;}

.logo{max-width:30%}
.logo figure{    background-color: var(--welldon-color);}
.logo img{    padding:0 10px;}

.wa-header{padding: 0 var(--welldon--min--spacing) !important; }
.wp-block-group .wa-header>img{height: 90%; z-index: -2;}

.wpforms-submit-container .wpforms-submit{background-color:var(--welldon-color) !important;}

.wp-block-navigation-item::before {content: "•";    color: var(--welldon-color);    position: absolute;	left: -35px;    top: 40%;    transform: translateY(-50%);    font-size: 50px;}
.wa-header .wp-block-navigation__container{justify-content: space-evenly;}
.wa-header .wa-header-phone {position: relative; padding-left: 30px; margin-right: var(--welldon--min--spacing);display: inline-flex; align-items: center;}
.wa-header-phone::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px;
    background-image: url('/wp-content/themes/welldon/phone.svg'); background-size: contain; background-repeat: no-repeat; background-position: center;}

.wp-block-cover .wa-header-main-extra {position: relative;left:38%;	width: 54%; top: 0%;z-index:-1;margin-top: -9%;}


.wa-header-main-extra, body .wa-features,body .wa-header-main-slogan{display:none;}
.page-id-2 .wa-header-main-extra, .page-id-2 .wa-features, .page-id-2 .wa-header-main-slogan{display:flex;}
.wa-features{color: black;    padding: 20px 0;   background: white;    border-radius: 25px;}
.wa-features figure{min-width: 60px; height: 60px;   background: var(--welldon-color);  border-radius: 10px; margin-top: -43px;}
.wa-features img{width: 40px;    margin: 10px;}
.wa-features .is-vertical11{width: 24%;}

.news-main .wp-block-latest-posts.is-grid { justify-content: space-around; }
.news-main li {border: 1px solid var(--welldon-color); border-radius: 10px; padding:20px;}
.news li{padding-bottom:30px; padding-top:10px;}

.wp-block-group .wa-cat-menu { border: 1px solid var(--welldon-color); border-radius: 10px; padding: 0; list-style: none;max-width: 1000px;margin: 50px;display: flex;; overflow: hidden; margin-block-start:50px;}
.wa-cat-menu .wp-block-pages-list__item {border-right: 1px solid var(--welldon-color); padding: 0; margin: 0; flex: 1;}
.wa-cat-menu .wp-block-pages-list__item:last-child { border-right: none;}
.wa-cat-menu .wp-block-pages-list__item__link {text-decoration: none; color: #333; display: block; padding: 12px 5px; transition: all 0.3s ease; text-align: center;}
.wa-cat-menu .wp-block-pages-list__item__link:hover {  cursor: pointer;   background-color: var(--welldon-color);    color: white;}
.wa-cat-menu .wp-block-navigation__submenu-container {  display: none !important;}

.wa-item-list li{width: 250px;padding: 10px; background: #DCDCDC;border-radius: 15px;}

.wa-footer a :not(.promote-link){text-decoration: none; line-height: 70px;}
.wa-footer img{height: 70px;}
.wa-footer-menu{max-width:960px; margin: auto; justify-content: space-evenly;}

.wa-mobile .wa-header-top{justify-content: flex-start;}
.wa-mobile-nav{padding:30px 10px; justify-content: flex-end;}
.wa-mobile-nav button{max-width:100px;}
.wa-mobile-nav span{padding:40px 0;}




svg a{text-shadow: 0 0 5px var(--welldon-color);}


@media (min-width: 1111px) {
  .wa-mobile {display: none !important;}
  .wa-full {  display: unset !important;}
	.wa-full-menu {display: flex !important;}
	.wa-mobile-nav{display: none !important; }
}

/* Мобильная: скрываем полную, показываем мобильную */
@media (max-width: 1112px) {
	
 	.wa-mobile {display: unset !important;}
 	.wa-full {  display: none !important; }
	.wa-mobile-nav{display: flex !important; }
	.wa-full-menu {display: none !important;}
	.wa-features .is-vertical{width: 100%; padding-left: 20px;}
	.wa-features figure{margin-top: auto;}
	.wp-block-group .mobile-discs{        max-width: 58%; margin: -12% 0 0 40%;}
	.wp-block-navigation-item::before{margin-left:0;width:10px;}
	.wp-block-navigation__responsive-container-content{padding-left:15px;}
	
	.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg{    height: 43px; width: 43px;}
	.wa-header-phone::before {display:none;}
	.wa-header-phone{padding-left:0;}
	
	.wp-block-group .wa-cat-menu {display: block;}
	.wa-cat-menu .wp-block-pages-list__item {border-bottom: 1px solid var(--welldon-color); padding: 0; margin: 0; flex: 1;}
	.wa-cat-menu .wp-block-pages-list__item:last-child { border-bottom: none;}
	.wa-cat-menu .wp-block-pages-list__item {border-right: none;}
	
	.cat-query .wp-block-query .wp-block-group{display: block;}
	.cat-query .wp-block-query .wp-block-group li{margin: auto;}
}

/* ВАЖНО: Редактор WordPress всегда показывает десктопную версию */
.block-editor-page .wa-mobile,
.editor-styles-wrapper .wa-mobile { display: none !important;}

.block-editor-page .wa-full,
.editor-styles-wrapper .wa-full {  display: unset !important;}

@media (max-width: 500px) {
	.wa-header .wa-header-phone { padding-left: 5px;}
	.logo img{height: 55px !important;}
	.wa-mobile-nav{padding:5px;}
	}
