/*
Theme Name: Neve Child
Template: neve
Author: Evgeniy
Description: Дочерняя тема для Neve с кастомной шапкой
Version: 1.0
*/

   .container {
    padding: 0px;
    max-width: -webkit-fill-available;
}

/* Ссылки внутри списка иконок — чёрные по умолчанию */
.wp-block-themeisle-blocks-icon-list-item a {
  color: black;
  text-decoration: none;
}

/* При наведении — зелёные и подчёркнутые */
.wp-block-themeisle-blocks-icon-list-item a:hover {
  color: #4caf50;
  text-decoration: underline;
}




.site-header {
       display: none;
}

/* Основной стиль шапки */
.custom-header {
    position: relative;
    width: 100%;
}

.custom-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.custom-logo img {
    border-radius: 30px; 
	box-shadow: 0 4px 20px rgba(0, 0, 0, .3); 
	background: var(--nv-light-bg);
	height: 150px;
	
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Меню */
.custom-nav .menu-items {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-nav .menu-items a {
    text-decoration: none;
    color: #000;
 }

.menu-items a:hover{
	text-shadow: 0 4px 20px rgb(0 0 0);
}


.phone-link {
    background-color: var(--nv-light-bg);
    color: #000;
    padding: 0.5em 1em;
    border-radius: 30px;
    transition: background 0.3s;
    box-shadow: 0px 3px 5px 1px rgba(44, 44, 44, .25);  
}
.phone-link:hover {
    background-color: var(--nv-primary-accent);
	color: var(--nv-light-bg);
}

.btn-appointment {
    background-color: var(--nv-primary-accent);
	color:var(--nv-light-bg);
    padding: 0.5em 1em;
    border-radius: 30px;
    transition: background 0.3s;
    box-shadow: 0px 3px 5px 1px rgba(44, 44, 44, .25);
}

.btn-appointment:hover {
    background-color: var(--nv-light-bg);
	color: #000;
 }

.nv-title-meta-wrap .nv-meta-list{
	display: none;
}

.nv-post-cover {
    background-position: left;
	background-size: contain;
}

.nv-overlay {
	--bgcolor: none;
	--opacity: none;
	--blendmode: none;
}


.single h1.entry-title {

	border-radius: 30px;
	background: var(--nv-light-bg);
	margin: 1em;
	padding: 0.5em;
	max-width: calc(100% - 2rem);
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
	font-size: xxx-large;
        color: black;
}

.wp-block-button .wp-block-button__link {
min-width: 15.24em;}





/* --- Мобильная версия --- */
@media only screen and (max-width: 1024px) {
    .custom-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

 /* показываем бургер */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 22px;
    cursor: pointer;
    margin-left: auto;
  }

  .burger span {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s;
  }



    .header-contacts {
        flex-direction: row;
        align-items: flex-start;
        gap: 5px;
    }
    

 /* скрываем меню по умолчанию */
  .custom-nav .menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 300px; /* ограничиваем ширину меню */
    background: var(--nv-light-bg);
    padding: 15px;
    position: absolute;
    top: 112%;
    left: 55%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    border-radius: 1em; /* скругление углов */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* чтобы нельзя было кликнуть пока скрыто */
  }

  /* показываем меню, если активно */
  .custom-nav .menu-items.active {
     transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: auto;  }

 
  /* анимация крестика */
  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
	.nv-meta-list {
	display: none;
}


.single h1.entry-title {
	font-size: x-large;       
	position: absolute;
	top: 75%;
    left: 0%;
}
.nv-single-post-wrap{
	padding: 0 2em;
}

}



