.hero{ position: relative; width: 100%; height: 34vh; min-height: 260px; }
.media-slot--hero .media-placeholder{ border: 1px dashed rgba(255,255,255,0.12); margin: 10px; border-radius: 12px; }
.hero-video{ z-index: 2; pointer-events: none; }

.hero-topbar{
  position: absolute;
  top: calc(14px + var(--safe-top));
  left: 16px; right: 16px;
  display:flex; justify-content: space-between; align-items:center;
  z-index: 6;
}
.hero-topbar-left{ display:flex; align-items:center; gap:8px; }
.close-btn{
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10,10,15,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text); display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0;
}
.close-btn svg{ width:15px; height:15px; }

.lang-pill{
  display:flex; align-items:center; gap:6px;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px; border-radius: 30px;
  font-family: var(--f-ui); font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.lang-pill svg{ width:14px; height:14px; opacity:0.8; }

.lang-dropdown{
  position:absolute; top: 44px; left: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 6px;
  display:none;
  flex-direction:column;
  min-width: 150px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  z-index: 10;
}
.lang-dropdown.open{ display:flex; }
.lang-item{
  padding: 8px 10px; border-radius: 8px;
  font-family: var(--f-ui); font-size: 13px;
  cursor: pointer;
}
.lang-item:hover, .lang-item:active{ background: var(--gold-soft); color: var(--gold); }
.lang-item.active{ color: var(--gold); font-weight: 600; cursor: default; }

.project-logo{
  font-family: var(--f-ui); font-weight: 700; font-size: 17px; letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.5));
}
.project-logo .brandmark{ font-size: 15px; margin: 0 1px; }
.project-logo-slot{ position: relative; height: 34px; display:flex; align-items:center; justify-content:flex-end; }
.project-logo-img{
  position: absolute; top:0; right:0; height: 100%; width: auto; max-width: 200px;
  object-fit: contain; object-position: right center;
  opacity: 0; transition: opacity .25s ease;
  /* необязательный оверрайд для выставок с готовым авторским лого (Лица Победы и т.п.) —
     кладите project.logo_img в конфиге объекта: PNG или SVG с прозрачным фоном, он не
     "мылится" ни на обычных экранах, ни на retina. Нет файла — остаётся стилизованный
     текст выше, это полноценный дизайн, а не заглушка. */
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.5));
}
