/* Подсайт на университет */
.uh{margin:0 0 2.2rem;border-radius:20px;overflow:hidden;background:#fff;border:1px solid #E3E8F1;box-shadow:0 10px 30px rgba(11,42,91,.08)}

/* Горна лента */
.uh__band{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem 1.6rem;padding:clamp(1.3rem,3vw,2.2rem);background:linear-gradient(120deg,#F3F8FF 0%,#E3EEFC 100%);color:#0B2A5B;border-top:6px solid #FDB515;position:relative}
.uh__logo{flex:0 0 104px;width:104px;height:104px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:20px;padding:.7rem;text-decoration:none;border:1px solid #E3E8F1;box-shadow:0 8px 22px rgba(11,42,91,.1)}
.uh__logo img{max-width:100%;max-height:100%;object-fit:contain}
.uh__logo b{font-size:2.4rem;color:#0B2A5B;font-family:var(--tbx-font-heading,inherit)}
.uh__text{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}
.uh__eyebrow{display:inline-block;padding:.35rem .85rem;border-radius:999px;background:#0B2A5B;color:#FDB515;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;line-height:1.3}
.uh__name{font-family:var(--tbx-font-heading,inherit);font-size:clamp(1.3rem,2.6vw,1.9rem);line-height:1.15;letter-spacing:-.02em;color:#0B2A5B}
.single-university .uh__name{display:none}
.uh__lead{max-width:62ch;color:#243659;font-size:1.05rem;line-height:1.55}
.uh__band .uh__site{background:#0B2A5B;border-color:#0B2A5B;color:#fff;margin:0}
.uh__band .uh__site:hover{background:#FDB515;border-color:#FDB515;color:#0B2A5B}

/* Табове (десктоп: един ред) */
.uh__tabs{background:#fff;border-top:1px solid #E3E8F1;overflow-x:auto;scrollbar-width:none}
.uh__tabs::-webkit-scrollbar{display:none}
.uh__tabs ul{display:flex;margin:0;padding:0 .6rem;list-style:none;gap:.1rem;min-width:max-content}
.uh__tabs a{display:flex;align-items:center;gap:.45rem;padding:1rem 1.15rem;font-weight:800;color:#0B2A5B;text-decoration:none;border-bottom:4px solid transparent;margin-bottom:-1px}
.uh__tabs a:hover{background:#FFF3CF}
.uh__tabs a.is-active{border-bottom-color:#FDB515}
.uh__tabs i{font-style:normal;font-size:.72rem;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#FDB515;color:#0B2A5B}

/* Бърз достъп в „Общо“ */
.uh-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;margin:0 0 2.6rem}
@media (max-width:1000px){.uh-tiles{grid-template-columns:repeat(2,1fr)}}
.uh-tile{position:relative;display:flex;flex-direction:column;gap:.3rem;padding:1.1rem 2.4rem 1.1rem 1.1rem;background:#fff;border:1px solid #D5DEEC;border-radius:16px;text-decoration:none;color:#0B2A5B;box-shadow:0 4px 14px rgba(11,42,91,.06);transition:transform .15s,box-shadow .15s,border-color .15s,background .15s}
.uh-tile::after{content:"→";position:absolute;right:1rem;top:1.15rem;font-weight:800;opacity:.45;transition:transform .15s,opacity .15s}
.uh-tile:hover{transform:translateY(-2px);border-color:#0B2A5B;box-shadow:0 12px 26px rgba(11,42,91,.14);background:#F7FAFF}
.uh-tile:hover::after{opacity:1;transform:translateX(3px)}
.uh-tile i{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#E6EFFB;color:#0B2A5B;margin-bottom:.35rem}
.uh-tile i svg{width:24px;height:24px}
.uh-tile b{font-size:1.05rem;line-height:1.2}
.uh-tile span{font-size:.85rem;color:#55607A;line-height:1.35}
.uh-tile--events i{background:#FDB515}
.uh-tile--faculties i{background:#ECE8F7;color:#4E3F94}
.uh-tile--programs i{background:#0B2A5B;color:#FDB515}
.uh-tile--admission i{background:#E2F0E8;color:#1D6A4C}
.uh-tile--news i{background:#F7E6DE;color:#9E4527}

/* Панели */
.uh-panel h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 1.2rem}
.uh-panel>h2:first-child{margin-top:0}
.uh-panel--overview .tbx-section:first-of-type{margin-top:0}
.uh-ov-events .tbx-events+p{margin-top:1.2rem}
.uh-block{margin:0 0 2.6rem}
.uh-block>h2,.uh-h{position:relative;padding-bottom:.7rem}
.uh-block>h2::after,.uh-h::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:5px;background:#FDB515;border-radius:3px}
.uh-h a{color:#0B2A5B;text-decoration:none}
.uh-h a:hover{text-decoration:underline;text-decoration-color:#FDB515;text-decoration-thickness:3px}
.uh-prose{max-width:none;columns:2 420px;column-gap:3rem}
.uh-prose h2{margin-top:0;break-after:avoid;font-size:1.3rem}
.uh-prose h2:not(:first-child){margin-top:1.6rem}
.uh-prose p{break-inside:avoid-column}

/* Накратко: компактни цифри */
.uh-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin:0 0 1.4rem}
.uh-stats div{display:flex;flex-direction:column;gap:.15rem;padding:.75rem .9rem;background:#fff;border:1px solid #E3E8F1;border-left:4px solid #FDB515;border-radius:10px}
.uh-stats b{font-size:1.25rem;line-height:1.1;color:#0B2A5B;font-family:var(--tbx-font-heading,inherit);letter-spacing:-.02em}
.uh-stats span{font-size:.8rem;color:#55607A;font-weight:600;line-height:1.3}

/* Карти на факултети */
.uh-faculties{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.2rem}
.uh-fac{display:flex;flex-direction:column;align-items:flex-start;gap:.7rem;padding:1.3rem;background:#fff;border:1px solid #D5DEEC;border-top:6px solid #FDB515;border-radius:16px;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(11,42,91,.07);transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;cursor:pointer}
.uh-fac:hover,.uh-fac:focus-visible{transform:translateY(-3px);box-shadow:0 16px 34px rgba(11,42,91,.16);border-color:#0B2A5B;border-top-color:#FDB515;background:#F7FAFF}
.uh-fac strong{color:#0B2A5B;font-size:1.15rem;line-height:1.25}
.uh-fac span{color:#55607A;font-size:.95rem}
.uh-fac em{font-style:normal;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0B2A5B;background:#E6EFFB;padding:.35rem .75rem;border-radius:999px}
.uh-fac::after{content:"Виж факултета  →";margin-top:auto;display:inline-flex;align-items:center;min-height:44px;padding:0 1.2rem;border-radius:999px;background:#0B2A5B;color:#fff;font-weight:700;font-size:.93rem;transition:background .15s,color .15s}
.uh-fac:hover::after,.uh-fac:focus-visible::after{background:#FDB515;color:#0B2A5B}

.uh-group{font-size:1.02rem;margin:1.4rem 0 .6rem;color:#0B2A5B}
.uh-chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0 0 1rem;padding:0}
.uh-chips li{margin:0;padding:.5rem 1rem;border:2px solid #0B2A5B;border-radius:999px;font-weight:700;font-size:.92rem;color:#0B2A5B;background:#fff}
.uh-chips li:nth-child(3n+1){background:#FFF3CF;border-color:#FDB515}
.uh-chips--lg li{font-size:1rem;padding:.65rem 1.2rem}
.uh-jump{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem}
.uh-jump a{padding:.45rem .95rem;border-radius:999px;background:#E6EFFB;color:#0B2A5B;font-weight:700;font-size:.88rem;text-decoration:none}
.uh-jump a:hover{background:#FDB515}
.uh-crumb{margin:0 0 1rem;font-weight:800}
.uh-crumb a{color:#0B2A5B;text-decoration:none;border-bottom:3px solid #FDB515}
.uh-sub{position:sticky;top:90px;z-index:5;display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem;padding:.7rem 0;background:#fff}
.uh-sub a{padding:.5rem 1.1rem;border-radius:999px;background:#0B2A5B;color:#fff;font-weight:700;font-size:.9rem;text-decoration:none}
.uh-sub a:hover{background:#FDB515;color:#0B2A5B}
.uh-contacts{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem}
.uh-contact{display:flex;flex-direction:column;gap:.25rem;padding:1.1rem 1.2rem;background:#FBF6E9;border-radius:14px;border-left:5px solid #FDB515}
.uh-contact strong{color:#0B2A5B}
.uh-contact a{color:#0B2A5B;font-weight:700}
.uh-place{font-size:.88rem;color:#55607A}
.uh-note{font-size:.88rem;color:#55607A;margin-top:1rem}

@media (max-width:700px){
	.uh__band{gap:1rem}
	.uh__logo{flex-basis:76px;width:76px;height:76px;border-radius:16px}
	.uh__text{flex-basis:100%}
	.uh__lead{font-size:1rem}
	.single-university .entry-title{font-size:clamp(1.7rem,7.5vw,2.2rem)}
	.uh-prose{columns:1}

	/* Табовете стават видима мрежа от бутони — без скрол настрани */
	.uh__tabs{overflow:visible;background:#F7FAFF}
	.uh__tabs ul{display:grid;grid-template-columns:repeat(2,1fr);gap:.45rem;min-width:0;padding:.8rem var(--tbx-gutter,1.25rem) 1rem}
	.uh__tabs li:first-child{grid-column:1/-1}
	.uh__tabs a{justify-content:center;min-height:46px;padding:.5rem .6rem;margin:0;border:1.5px solid #D5DEEC;border-radius:12px;background:#fff;font-size:.95rem}
	.uh__tabs a.is-active{background:#0B2A5B;border-color:#0B2A5B;color:#fff}
	.uh__tabs a.is-active i{background:#FDB515}
	/* В „Общо“ навигацията е плочките по-долу, затова мрежата с табове се скрива */
	.uh--overview .uh__tabs{display:none}

	.uh-tiles{grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:2rem}
	.uh-tile{padding:.9rem .9rem 1rem;border-radius:14px}
	.uh-tile::after{right:.8rem;top:.9rem}
	.uh-tile i{width:40px;height:40px}
	.uh-tile b{font-size:1rem}
	.uh-tile span{font-size:.8rem}
	.uh-stats{grid-template-columns:1fr 1fr;gap:.5rem}
}
