.ram-headlamps,
.ram-christmas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ram-headlamps { opacity: 0; mix-blend-mode: screen; }
.ram-headlamps.is-lit { animation: ram-headlamp-flashes 720ms ease-in-out; }
@keyframes ram-headlamp-flashes {
  0%, 38%, 48%, 100% { opacity: 0; }
  10%, 25%, 58%, 74% { opacity: 1; }
}

#uvod { min-height: max(560px, 38vw) !important; }
#uvod .hero-visual {
  background-image: url('/assets/hero-ram-vanoce.20261129.webp');
  background-position: right 58% !important;
}
#uvod .hero-shade { background: linear-gradient(90deg, #061923d9, #06192391 32%, #0619230d 48%, transparent 56%) !important; }
#uvod .hero-content {
  width: min(40%, 690px) !important;
  max-width: none !important;
  margin-left: clamp(24px, 4.15vw, 60px);
  margin-right: 0;
  padding: 160px 0 40px !important;
}
#uvod .eyebrow { display: block; min-height: 0; max-width: none; margin: 0 0 12px; font-size: 14px; font-style: normal; letter-spacing: .2em; }
#uvod h1 {
  max-width: none !important;
  margin: 0 0 18px !important;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(30px, 3.1vw, 52px) !important;
  font-style: normal;
  font-weight: 800;
  line-height: 1.12 !important;
  letter-spacing: -.04em;
}
#uvod h1 span {
  margin: 7px 0 0 !important;
  font-family: 'Open Sans', sans-serif;
  font-size: inherit !important;
  font-style: normal;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.04em;
  color: #ff3c48;
}
#uvod .hero-content > p { max-width: none; margin: 0; font-size: 16px; line-height: 1.65; }
#uvod .hero-actions { margin-top: 22px; gap: 10px; }
#uvod .hero-actions .btn { padding: 12px 17px; font-size: 12px; min-height: 47px; }

@media (max-width: 1300px) {
  #uvod {
    --ram-photo-height: clamp(253px, 50vw, 500px);
    min-height: 0 !important;
    padding-top: var(--ram-photo-height);
    background: #061923;
  }
  #uvod .hero-visual,
  #uvod .ram-headlamps,
  #uvod .ram-christmas {
    inset: 0 0 auto !important;
    height: var(--ram-photo-height);
  }
  #uvod .hero-visual { background-position: right center !important; }
  #uvod .hero-shade { display: none; }
  #uvod .hero-content {
    width: calc(100% - 48px) !important;
    margin-inline: auto;
    padding: 28px 0 34px !important;
  }
  #uvod h1 { font-size: clamp(29px, 4.5vw, 44px) !important; }
  #uvod .hero-content > p { max-width: 800px; font-size: 15px; }
}

@media (max-width: 380px) {
  #uvod .hero-content { width: calc(100% - 36px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ram-headlamps.is-lit { animation: none; opacity: .85; }
}

#uvod .ram-controls {
  position: absolute;
  right: clamp(18px, 4.15vw, 60px);
  bottom: 18px;
  z-index: 3;
  max-width: min(360px, calc(100% - 36px));
}
#uvod .ram-horn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid #fff1d6;
  border-radius: 999px;
  background: #fae8c9;
  color: #0b2431;
  box-shadow: 0 2px 14px #06131c66;
  font: 600 14px/1.35 'Open Sans', sans-serif;
  cursor: pointer;
}
#uvod .ram-horn:hover { background: #fff5e1; }
#uvod .ram-horn:focus-visible { outline: 3px solid #ff3c48; outline-offset: 4px; }
#uvod .ram-horn[aria-busy="true"] { cursor: wait; opacity: .8; }
#uvod .ram-horn svg { flex: 0 0 auto; }
#uvod .ram-horn-status:not(:empty) {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #061923;
  color: #fff1d6;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 1300px) {
  #uvod .ram-controls {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 18px 24px 0;
  }
  #uvod .hero-content { padding-top: 22px !important; }
}
@media (max-width: 380px) {
  #uvod .ram-controls { padding-inline: 18px; }
}
