@import url("./ssp-bannery-start-cz-v1.css?v=2");

/* Shoptet homepage carousel captions, independent of image and banner ID. */
#carousel .item > a:not(.ssp-bf-card):has(> .extended-banner-texts) {
  position: relative !important;
  overflow: hidden !important;
  container-type: inline-size;
  text-decoration: none !important;
}

#carousel .item > a:not(.ssp-bf-card):has(> .extended-banner-texts)::before {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, rgba(30, 24, 17, .58));
  pointer-events: none;
}

#carousel .item > a:not(.ssp-bf-card) > .extended-banner-texts {
  position: absolute !important;
  inset: auto 7% 7% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
  background: none !important;
  transform: none !important;
  z-index: 2;
  pointer-events: none;
  text-align: left !important;
  color: #fff !important;
}

#carousel .item > a:not(.ssp-bf-card) > .extended-banner-texts > :is(.extended-banner-title, .extended-banner-text) {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  transform: none !important;
  background: none !important;
  text-align: left !important;
  display: block !important;
  color: #fff !important;
  font-family: Nunito, sans-serif !important;
  text-shadow: 0 1px 5px #0003;
}

#carousel .item > a:not(.ssp-bf-card) > .extended-banner-texts > .extended-banner-title {
  margin: 0 !important;
  font-size: clamp(20px, 8.5cqw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
}

#carousel .item > a:not(.ssp-bf-card) > .extended-banner-texts > .extended-banner-text {
  margin: 8px 0 0 !important;
  font-size: clamp(13px, 4.5cqw, 21px) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

#carousel .item > a:not(.ssp-bf-card) > .extended-banner-texts > :empty {
  display: none !important;
}
