.header-v2{    
	
	.menu-main.wrap.nav{
		padding:0;
	}
	
    .menu-main > ul > li{
        display: flex;
        margin: 0;
        padding: 0;
        align-items: center;
        text-align: center;
        gap: 10px;
        align-items: stretch;
        justify-content: space-between;
       
    }
    
    .menu-main li a{
        color: #0D2C60;
        display: inline-block;   
        padding: 10px;
        line-height: 1.1;
        display: flex;   
        align-items: center;
        font-size: 0.8rem;
        
    }    

    .menu-main li.active > a,
    .menu-main a:hover,
    .menu-main > ul > li:hover > a {       
        background: #E2E419;
         display: flex; 
        color: black;
      
    }

	
	.contacts div {		
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	
    
}
.content a:link, 
.content a:visited {
 font-weight: 700;
 color: var(--u-blue-deep)
}

a.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: transform .12s ease, background .15s ease, color .15s ease;
    background: var(--u-blue);
    color: #fff;
}
a.button:hover {
    background: var(--u-yellow);
    color: var(--u-blue);
}

.navbar .nav a.nav__link{
	font-size: 0.6cqw;
}

.contact-map{
	grid-template-columns: 1fr 1fr;
}


@media screen and (max-width:768px){
	
	
	.navbar .nav a.nav__link {
			font-size: 0.8rem;
			height: auto;
	}
	.header-v2 {
		
		.contacts div {			
			align-items: flex-start;
			flex-direction: row;
			justify-content: flex-end;
			gap: 10px;
		}
		
		.contacts{
			
			font-size:2rem;
			
			.phone a >span,
			.email a >span{
				display:none
			}
		}
		
	}

	
}

.carousel{
    margin-top: 10px;
    box-shadow: 1px 1px 5px #615d5d;   
    border-radius: 5px;
}

/************* new ******* */


/* ════════════════════════════════════════════════════════════════
   ШАПКА КАФЕДРИ — ВАРІАНТ 1 «ІНВЕРСІЯ»
   Стилі під реальну розмітку сайту. Головний клас: .header-v2
   Самодостатній файл: топбар, бренд, контакти, меню + mega,
   пошук, мобільна версія. Усе скоповано під .header-v2.
   ════════════════════════════════════════════════════════════════ */
.hdr.header-v2{
  --hi-navy:#0D2C60;
  --hi-navy-deep:#08204A;
  --hi-navy-deeper:#061634;
  --hi-yellow:#E2E419;
  --hi-font:"Raleway",Arial,sans-serif;
  --hi-shell:1320px;
 
  font-family:var(--hi-font);
  -webkit-font-smoothing:antialiased;
  /* суцільний темний фон шапки (брендова смуга) */
  background:linear-gradient(100deg,#0a224b 0%,var(--hi-navy) 55%,#10336e 100%);
}
.header-v2 a{text-decoration:none;color:inherit;}
.header-v2 .clear{clear:both;}

/* контейнер: робимо .shell повноширинним, а вміст центруємо порядково,
   щоб кольорові смуги тяглися на всю ширину */
.header-v2 > .shell{width:100%;max-width:none;margin:0;padding:0;}

/* ───────── 1. Верхня утиліта-стрічка (.msite) ───────── */
.header-v2 .msite{background:var(--hi-navy-deeper);font-size:12px;}

.header-v2 .msite .justifyleft a,
.header-v2 .msite .justifyright a{
  color:rgba(255,255,255,.72);font-size:11px;letter-spacing:.06em;
}
.header-v2 .msite .justifyleft a.main{
  font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.82);
}
.header-v2 .msite .justifyright a{
  padding-left:14px;border-left:1px solid rgba(255,255,255,.16);
}
.header-v2 .msite a:hover{color:var(--hi-yellow);}

/* ───────── 2. Брендова смуга (.hdr__row) ───────── */
.header-v2 .hdr__row{
  max-width:var(--hi-shell);margin:0 auto;padding:0 30px;height:104px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  position:relative;
}
/* м’який жовтий відблиск у правому верхньому куті */
.header-v2 .hdr__row::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(120% 160% at 90% -30%,rgba(226,228,25,.10),transparent 55%);
}
.header-v2 .brand{position:relative;z-index:1;flex-shrink:0;}
.header-v2 .wrap-brand{display:flex;align-items:center;gap:20px;}
.header-v2 .wrap-brand > a{position:absolute;inset:0;z-index:2;} /* клікабельне лого */
/* підміна логотипа на білу версію лише в темній шапці — HTML не чіпаємо */

/* вертикальний роздільник між лого та назвою */
.header-v2 .brand__name{
  position:relative;padding-left:22px;
  font-weight:800;font-size:27px;line-height:1.04;color:#fff;
  letter-spacing:-.01em;text-transform:uppercase;
}
.header-v2 .brand__name::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:1px;height:50px;background:rgba(255,255,255,.24);
}
/* перший рядок «Кафедра» → жовтий надзаголовок */
.header-v2 .brand__name::first-line{
  font-size:13px;font-weight:800;letter-spacing:.32em;color:var(--hi-yellow);
}

/* ───────── 3. Контакти + бургер (.contacts) ───────── */
.header-v2 .contacts {
    position: relative;
    z-index: 1;  
    padding: 10px;
    border-radius: 5px;
}
.header-v2 .contacts > div{display:flex;flex-direction:column;align-items:flex-end;gap:5px;}
.header-v2 .contacts .phone a,
.header-v2 .contacts .email a{
  display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.9);font-size:13.5px;
}
.header-v2 .contacts .phone a{font-weight:700;color:#fff;}
.header-v2 .contacts a:hover{color:var(--hi-yellow);}
.header-v2 .contacts .fa{color:var(--hi-yellow);font-size:14px;width:16px;text-align:center;}
.header-v2 .contacts .other_langs:empty{display:none;}

/* бургер — прихований на десктопі */
.header-v2 .menu-toggle{
  width:42px;height:42px;border:0;background:white;
  border-radius:9px;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;padding:0 9px;
}
.header-v2 .menu-toggle span{
  display:block;height:2.5px;width:100%;border-radius:2px;background:var(--hi-yellow);
  transition:transform .25s ease,opacity .2s ease;
}

.header-v2 .contacts > div {
    display: flex;
    gap: 5px;
    align-items: center;
}
.header-v2.nav-open .menu-toggle span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.header-v2.nav-open .menu-toggle span:nth-child(2){opacity:0;}
.header-v2.nav-open .menu-toggle span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

/* ───────── 4. Рядок меню (.navbar / .nav) ───────── */
.header-v2 .navbar{
  position:relative;background:var(--hi-navy);border-top:3px solid var(--hi-yellow);
}
.header-v2 .nav{
  max-width:var(--hi-shell);margin:0 auto;padding:0 30px;
  display:flex;align-items:stretch;list-style:none;
}

.header-v2 .nav__link{
  display:flex;align-items:center;gap:7px;padding:0 14px;
  color:rgba(255,255,255,.9);font-size:12px;font-weight:700;
  letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;cursor:pointer;
  background:transparent;border:0;font-family:inherit;position:relative;
}
.header-v2 .nav__link .caret{
  width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);opacity:.55;
}
.header-v2 .nav__link::after{
  content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;
  background:var(--hi-yellow);transform:scaleX(0);transform-origin:left;transition:transform .18s ease;
}
.header-v2 .nav__item:hover > .nav__link,
.header-v2 .nav__link:focus-visible{color:#fff;background:var(--hi-navy-deep);}
.header-v2 .nav__item:hover > .nav__link::after{transform:scaleX(1);}
.header-v2 .nav__search{margin-left:auto;}
.header-v2 .nav__search-btn{padding:0 18px;}
.header-v2 .nav__search-btn svg{width:16px;height:16px;}

.hdr.header-v2 .wrap-brand .brand__name {
    display: flex;
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.hdr.header-v2 .wrap-brand .brand__name .yelow{
    background: var(--u-yellow);
    color: var(--u-blue);
    padding: 2px 2px;
     font-size: 1rem;
    border-radius: 5px
}



/* ───────── 6. Пошук (.search-panel) ───────── */
.header-v2 .search-panel{
  background:var(--hi-navy-deep);
  border-top:3px solid var(--hi-yellow);
  overflow:hidden;
  transition:max-height .26s ease;
}
.header-v2 .search-panel.is-open{max-height:120px;}
.header-v2 .search-panel__inner{max-width:var(--hi-shell);margin:0 auto;padding:0 30px;}
.header-v2 .search-box{display:flex;align-items:center;gap:12px;height:72px;}
.header-v2 .search-box__icon{width:20px;height:20px;color:var(--hi-yellow);flex:0 0 auto;}
.header-v2 .search-box__input{
  flex:1;
	border:0;
	outline:0;
	background:transparent;
	
	font-family:inherit;
  font-size:18px;
	font-weight:600;
}
.header-v2 .search-box__input::placeholder{color:rgba(255,255,255,.5);}
.header-v2 .search-box__submit{
  border:0;background:var(--hi-yellow);color:var(--hi-navy);font-family:inherit;font-weight:800;
  text-transform:uppercase;letter-spacing:.06em;font-size:12px;padding:11px 22px;border-radius:8px;cursor:pointer;
}
.header-v2 .search-box__close{
  border:0;background:transparent;color:rgba(255,255,255,.6);font-size:18px;cursor:pointer;padding:6px 10px;
}
.header-v2 .search-box__close:hover{color:#fff;}
.header-v2 .search-panel__hint{display:none;}

.hdr.header-v2.fixed{
    .wrap-brand img,
    .contacts .phone,
    .contacts .email	 
    {
        opacity: 0;
        height: 0;
        transition: .3s height;
		overflow: hidden;
    }
	 .brand__name::before{
		display:none;
	}
    
    .contacts{
        height: auto;       
    }
    .hdr__row{
        height: auto;
        margin: 5px auto;
    }
    .wrap-brand{
        column-gap: 0
    }
    
    .wrap-brand .brand__name {   
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    border: none;
    }
    .navbar .nav > li >a {
      height: 20px;
    }
    
    .nav__item{
        height: auto
    }
    
   
}

@media screen and (max-width:768px){
	
	.feed__item{
		grid-template-columns: 1fr;
	}
	
	.hdr.header-v2 .contacts > div {
		display: flex;
		gap: 5px;
		align-items: center;
		flex-direction: row;
	}
	
	.hdr.header-v2 .brand{
		width:60%!important;
	}
	.hdr.header-v2 .contacts{
		width:20%;
	}
	
	.hdr.header-v2 .wrap-brand img {
    	display: none;
	}
	.hdr.header-v2 .brand__name{
		border-left:none;
	}
	.hdr.header-v2 .brand__name::before{
		display: none;
	}
	.hdr.header-v2 .hdr__row{
		padding: 0 10px;
	}
	
	.hdr.header-v2 .contacts .fa {
		color: var(--u-blue);
	}
	.hdr.header-v2 .menu-toggle span {
   
   	background:  var(--u-blue);
   
	}
	
}


