/* Вечёрка УИНДО: первый экран компактно помещается по высоте окна компьютера.
   Подключается после styles.css и после остальных файлов макета. */
@media (min-width: 1024px) {
  /* Header + hero + ticker = viewport height, without hiding content. */
  .site-header { height: clamp(58px, 8.3vh, 76px); }
  .hero {
    box-sizing: border-box;
    height: calc(100vh - clamp(58px, 8.3vh, 76px) - 46px);
    height: calc(100svh - clamp(58px, 8.3svh, 76px) - 46px);
    min-height: 0;
    align-items: center;
  }
  .ticker {height:46px;}
  .hero-inner {
    width: 70%;
    box-sizing: border-box;
    padding: clamp(12px, 2.4vh, 24px) 3.8%;
  }
  .eyebrow {padding: 7px 12px;font-size:10px;}
  .uindo-hero-title-row {margin:clamp(10px,2vh,19px) 0 clamp(8px,1.2vh,14px);gap:clamp(10px,1.5vw,20px);}
  .hero h1 {font-size:clamp(62px,7.1vw,112px);line-height:.87;}
  .hero h1 em {font-size:clamp(37px,4.3vw,64px);margin:clamp(7px,1.2vh,14px) 0 0 8px;}
  .uindo-hero-title-row > .uindo-magic-entry {
    flex:0 0 clamp(150px,15vw,210px);width:clamp(150px,15vw,210px);
    min-height:clamp(112px,19vh,155px);padding:10px 9px;gap:4px;
  }
  .uindo-hero-title-row .uindo-magic-orb-wrap {width:clamp(59px,9vh,80px);height:clamp(59px,9vh,80px);}
  .uindo-hero-title-row .uindo-magic-copy strong {font-size:clamp(14px,1.3vw,18px);}
  .uindo-hero-title-row .uindo-magic-eyebrow {font-size:8px;}
  .uindo-hero-title-row .uindo-magic-action {font-size:10px;}
  .hero-description {font-size:clamp(12px,1.25vw,14px);line-height:1.48;margin-bottom:0;max-width:540px;}
  .hero-actions {gap:8px;margin:clamp(10px,1.8vh,18px) 0 clamp(11px,2vh,20px);}
  .hero-actions .btn {padding:clamp(9px,1.35vh,13px) clamp(12px,1.5vw,18px);font-size:clamp(11px,.92vw,13px);}
  .hero-meta {gap:clamp(12px,1.8vw,24px);}
  .hero-meta > div {padding-right:clamp(12px,1.8vw,24px);}
  .meta-label {font-size:9px;margin-bottom:5px;}
  .hero-meta strong {font-size:clamp(10px,.9vw,12px);}
  .attendance-banner {margin-top:clamp(10px,1.8vh,18px);gap:12px;flex-wrap:nowrap;max-width:650px;}
  .attendance-banner .attendance-badge {min-width:clamp(145px,15vw,195px);padding:clamp(9px,1.3vh,14px) 16px;}
  .attendance-banner .attendance-kicker {font-size:9px;margin-bottom:3px;}
  .attendance-banner #attendance-count {font-size:clamp(25px,3.3vw,44px);line-height:1.05;}
  .attendance-banner #attendance-label {font-size:11px;}
  .attendance-banner #attendance-note {font-size:clamp(11px,1vw,13px);line-height:1.4;margin:0;}
  .hero-side {width:35%;right:1.5%;}
  .hero-poster {width:min(100%,clamp(220px,26vw,352px));max-height:calc(100% - 36px);}
  .hero-poster img {max-height:calc(100svh - 170px);width:100%;object-fit:contain;}
  .hero-bottom-tag {bottom:9px;right:3%;font-size:8px;}
}
/* Short desktops and browser windows: prioritize the meaningful content. */
@media (min-width:1024px) and (max-height:740px) {
  .site-header {height:56px;}
  .hero {height:calc(100svh - 56px - 36px);}
  .ticker {height:36px;}
  .hero-inner {padding:8px 3.8%;}
  .eyebrow {padding:5px 10px;}
  .uindo-hero-title-row {margin:7px 0 7px;}
  .hero h1 {font-size:clamp(58px,6.35vw,94px);}
  .hero h1 em {font-size:clamp(34px,3.9vw,56px);margin-top:7px;}
  .uindo-hero-title-row > .uindo-magic-entry {min-height:106px;padding:7px;}
  .uindo-hero-title-row .uindo-magic-orb-wrap {width:57px;height:57px;}
  .hero-description {font-size:12px;line-height:1.4;}
  .hero-actions {margin:8px 0 9px;gap:6px;}
  .hero-actions .btn {padding:8px 11px;}
  .attendance-banner {margin-top:8px;}
  .attendance-banner .attendance-badge {padding:8px 13px;}
  .hero-poster img {max-height:calc(100svh - 125px);}
}
/* At intermediate widths the long heading must stay beside the orb rather than wrap. */
@media (min-width:1024px) and (max-width:1190px) {
  .uindo-hero-title-row {flex-wrap:nowrap;align-items:center;}
  .uindo-hero-title-row > h1 {flex:1 1 auto;min-width:0;}
  .uindo-hero-title-row > .uindo-magic-entry {
    flex:0 0 150px;width:150px;min-height:116px;
    flex-direction:column;text-align:center;justify-content:center;
  }
  .uindo-hero-title-row .uindo-magic-copy {align-items:center;}
  .hero h1 {font-size:clamp(55px,6.3vw,75px);}
  .hero h1 em {font-size:clamp(32px,3.9vw,46px);}
  .hero-side {width:30%;}
}
/* Mobile and tablets keep natural vertical scrolling; never crop information. */
@media (max-width:1023px) {
  .hero {height:auto;min-height:0;overflow:hidden;}
  .hero-inner {height:auto;}
}
