/* DVOJKA v4.5.3 — consistent header ribbon, banner controls and compact successes. */

/* The light ribbon is deliberately uniform from left to right.  Its only fade
   is vertical, so it behaves identically on phones, notebooks and wide TVs. */
body:not([data-detail]):not([data-public]) .site-header::before{
  background:rgba(255,253,247,.68)!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.92) 42%,rgba(0,0,0,.64) 68%,rgba(0,0,0,.24) 88%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.92) 42%,rgba(0,0,0,.64) 68%,rgba(0,0,0,.24) 88%,transparent 100%)!important;
}

/* Keep only the slide dots at the very bottom.  Arrows retain their original
   accessible position and the copy no longer competes with the indicators. */
.promo-slider .promo-dots{
  position:absolute!important;
  left:0!important;
  bottom:-11px!important;
}
@media(max-width:800px){.promo-slider .promo-dots{bottom:-9px!important}}

/* Hidden slides must not reserve the height of a different, longer result. */
#uspechy .recent-ach449-slide[hidden]{display:none!important;visibility:hidden!important}
#uspechy .recent-ach449-slide.is-compact453{
  grid-template-columns:1fr!important;
  justify-items:center;
  text-align:center;
  min-height:310px;
  align-content:center;
}
#uspechy .recent-ach449-slide.is-compact453>div{width:100%;max-width:960px}
#uspechy .recent-ach449-slide.is-compact453 h4{
  margin:8px auto 12px;
  font-size:clamp(30px,3.4vw,48px);
  line-height:1.08;
}
#uspechy .recent-ach453-medal{display:block;font-size:38px;line-height:1;margin:0 0 8px}
#uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results{
  width:100%;
  max-width:880px;
  margin:22px auto;
  grid-template-columns:repeat(var(--result-columns453,1),minmax(0,1fr));
  justify-content:center;
}
#uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results>div{
  min-height:112px;
  justify-content:center;
  padding:20px 24px;
  border:1px solid rgba(181,113,40,.16);
  box-shadow:0 10px 24px rgba(34,73,90,.08);
}
#uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results b{font-size:clamp(19px,2.1vw,27px)}
#uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results strong{font-size:clamp(21px,2.4vw,31px);line-height:1.22}
#uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results span{font-size:clamp(14px,1.35vw,17px)}
@media(max-width:760px){
  #uspechy .recent-ach449-slide.is-compact453{min-height:0;padding:10px 0}
  #uspechy .recent-ach449-slide.is-compact453 .recent-ach449-results{grid-template-columns:1fr!important}
  #uspechy .recent-ach449-slide.is-compact453 h4{font-size:clamp(27px,8vw,38px)}
}
