/* Front page: Avatud Kodude Nädal as the first hero slide (shortcode [um-akn-slaid]). */
.elementor .um-hero .um-hero-slide--akn { position: relative; background-position: center center; }
.elementor .um-hero .um-hero-slide--akn::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, rgba(14,17,24,.74) 0%, rgba(14,17,24,.50) 34%, rgba(14,17,24,0) 62%); }
.um-akn-slide { position: relative; z-index: 1; max-width: 620px; color: #fff; }
.um-hero .um-akn-slide .um-akn-slide__title { margin: 0 0 22px; font: 700 70px/1.05 "Inter Tight", Inter, sans-serif; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.um-akn-slide p.um-akn-slide__date { margin: 0 0 12px; font: 600 24px/1.3 Inter, sans-serif; color: #fff; }
.um-akn-slide p.um-akn-slide__text { margin: 0 0 30px; max-width: 500px; font: 400 19px/1.55 Inter, sans-serif; color: #E4E5E7; }
.elementor .um-akn-slide a.um-akn-slide__btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border-radius: 6px; background: #fff; color: #012169; font: 600 16px/1 "Inter Tight", Inter, sans-serif; text-decoration: none; transition: background .2s; }
.elementor .um-akn-slide a.um-akn-slide__btn:hover { background: #FFD100; color: #012169; }

/* Desktop: the valuation form floats over the slides; it steps aside while the campaign or search slide is showing.
   It stays once someone has typed in it or while it has focus. */
@media (min-width: 1025px) {
  .elementor .um-hero .um-hero-form { transition: opacity .35s ease, visibility .35s ease; }
  body:not(.elementor-editor-active) .um-hero:not(.um-form-used):has(.swiper-slide-active :is(.um-akn-slide, .um-search-slide)) .um-hero-form:not(:focus-within),
  body:not(.elementor-editor-active) .um-hero:not(.um-form-used):has(.um-akn-slide, .um-search-slide):not(:has(.swiper-slide-active)) .um-hero-form { opacity: 0; visibility: hidden; }
}
@media (max-width: 1024px) {
  .um-hero .um-akn-slide .um-akn-slide__title { font-size: 56px; }
}
@media (max-width: 767px) {
  .elementor .um-hero .um-hero-slide--akn { background-position: 94% center !important; } /* keeps the tree in view */
  .elementor .um-hero .um-hero-slide--akn, .elementor .um-hero .um-hero-slide--akn > .e-con-inner { --justify-content: flex-end; justify-content: flex-end; } /* text at the bottom, picture above it */
  .elementor .um-hero .um-hero-slide--akn::before { background: linear-gradient(0deg, rgba(14,17,24,.82) 0%, rgba(14,17,24,.55) 46%, rgba(14,17,24,0) 74%); }
  .um-hero .um-akn-slide .um-akn-slide__title { font-size: 40px; margin-bottom: 16px; }
  .um-akn-slide p.um-akn-slide__date { font-size: 20px; }
  .um-akn-slide p.um-akn-slide__text { font-size: 16px; margin-bottom: 22px; }
}
