/* Mráz léčí – banner půjčovny lokální kryoterapie (kryoterapiebrno.cz)
   Připraveno 17. 11. 2026. Nenasazovat bez souhlasu.
   !important je tu schválně: téma Twenty Twenty / Elementor jinak přepisuje h2, p i obrázky. */
.ml-pujc-wrap {
  --ml-red: #F41C28;
  --ml-orange: #FF6729;
  --ml-ink: #1d1d1f;
  --ml-muted: #3d4852;
  --ml-cyan: #006C9B;
  --ml-line: #CFE9EF;
  --ml-grad: linear-gradient(135deg, #F41C28 0%, #FF6729 100%);
  width: 100vw;
  max-width: 100vw;
  margin: 28px 0 36px;
  margin-left: calc(50% - 50vw);
  padding: 0 40px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
.ml-pujc-wrap > .ml-pujc {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.ml-pujc-wrap--compact {
  width: 100%;
  max-width: none;
  margin: 12px 0 28px;
  margin-left: 0;
  padding: 0;
}

.ml-pujc {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  font-family: Roboto, system-ui, sans-serif !important;
  color: var(--ml-ink);
  background:
    radial-gradient(120% 140% at 0% 0%, #ffffff 0%, #F2FAFC 45%, #DDF3F8 100%);
  border: 1px solid #d7eef3;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 108, 155, 0.08);
  text-decoration: none;
}
.ml-pujc *,
.ml-pujc *::before,
.ml-pujc *::after { box-sizing: border-box; }
.ml-pujc::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 85%, rgba(1, 172, 202, 0.10) 0 90px, transparent 91px),
    radial-gradient(circle at 48% 8%, rgba(1, 172, 202, 0.08) 0 60px, transparent 61px);
}

/* Reset theme typography inside the banner */
.ml-pujc h1,
.ml-pujc h2,
.ml-pujc h3,
.ml-pujc p,
.ml-pujc span,
.ml-pujc div,
.ml-pujc a:not(.ml-pujc__cta) {
  max-width: none !important;
  width: auto;
  float: none !important;
  text-align: left !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: manual !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  position: static;
  left: auto;
  right: auto;
}

.ml-pujc__body,
.ml-pujc__media { position: relative; z-index: 1; }

/* ----- full: text left, photo right ----- */
.ml-pujc--full {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  align-items: stretch;
  min-height: 250px;
}
.ml-pujc--full .ml-pujc__body {
  padding: 32px 24px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ml-pujc__eyebrow {
  font-family: Barlow, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #E01020 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}
.ml-pujc__title {
  font-family: "Barlow Condensed", Barlow, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  font-size: clamp(28px, 3.1vw, 42px) !important;
  margin: 0 0 10px !important;
  color: var(--ml-ink) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.ml-pujc__title-accent {
  background: var(--ml-grad) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
}
.ml-pujc__lead {
  color: var(--ml-muted) !important;
  font-family: Roboto, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  margin: 0 0 18px !important;
  max-width: 42rem !important;
}
.ml-pujc__row {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  width: 100%;
}
.ml-pujc__facts {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}
.ml-pujc__chip {
  font-family: Barlow, sans-serif !important;
  font-weight: 600 !important;
  background: #fff !important;
  border: 1px solid var(--ml-line) !important;
  color: var(--ml-cyan) !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  padding: 6px 13px !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important;
  margin: 0 !important;
}
.ml-pujc__chip--live[hidden] { display: none !important; }
.ml-pujc__chip--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12a35a;
  box-shadow: 0 0 0 3px rgba(18, 163, 90, 0.18);
  flex: 0 0 auto;
}
.ml-pujc__chip--live.is-zero::before { background: #c9a227; box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2); }
.ml-pujc-wrap a.ml-pujc__cta,
.ml-pujc a.ml-pujc__cta,
a.ml-pujc__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Barlow, sans-serif !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 999px !important;
  background-color: #F41C28 !important;
  background-image: linear-gradient(135deg, #F41C28 0%, #FF6729 100%) !important;
  background-repeat: no-repeat !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  box-shadow: 0 10px 24px rgba(244, 28, 40, 0.28) !important;
  padding: 12px 24px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  width: auto !important;
  position: relative !important;
  z-index: 3 !important;
  isolation: isolate;
}
.ml-pujc-wrap a.ml-pujc__cta::before,
.ml-pujc-wrap a.ml-pujc__cta::after,
a.ml-pujc__cta::before,
a.ml-pujc__cta::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.ml-pujc__cta:hover,
.ml-pujc__cta:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(244, 28, 40, 0.36) !important;
  transform: translateY(-1px);
  color: #fff !important;
}
.ml-pujc__cta:focus-visible {
  outline: 3px solid rgba(1, 172, 202, 0.55);
  outline-offset: 3px;
}
.ml-pujc__cta-arrow { font-weight: 700 !important; line-height: 1; color: #fff !important; }

.ml-pujc__media {
  overflow: hidden;
  min-height: 100%;
}
.ml-pujc__media picture,
.ml-pujc__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 40% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ml-pujc--full .ml-pujc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 55%, #EAF7FA 100%);
  pointer-events: none;
}

/* ----- compact: photo | text | CTA ----- */
.ml-pujc--compact {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 118px;
}
.ml-pujc--compact .ml-pujc__media {
  height: 100%;
  min-height: 118px;
  align-self: stretch;
}
.ml-pujc--compact .ml-pujc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, #EAF7FA 100%);
  pointer-events: none;
}
.ml-pujc--compact .ml-pujc__body {
  padding: 16px 18px 16px 22px;
}
.ml-pujc--compact .ml-pujc__title {
  font-size: clamp(22px, 2.1vw, 30px) !important;
  margin: 0 0 8px !important;
}
.ml-pujc--compact .ml-pujc__lead { display: none !important; }
.ml-pujc--compact .ml-pujc__eyebrow {
  font-size: 11px !important;
  margin: 0 0 4px !important;
}
.ml-pujc--compact .ml-pujc__cta {
  margin: 18px 24px 18px 8px !important;
  font-size: 16px !important;
  padding: 11px 22px !important;
  justify-self: end;
}

@media (max-width: 900px) {
  .ml-pujc-wrap:not(.ml-pujc-wrap--compact) { padding: 0 16px; margin-top: 24px; margin-bottom: 32px; }
  .ml-pujc-wrap--compact { width: 100%; margin-left: 0; padding: 0; }
  .ml-pujc--full {
    grid-template-columns: 1fr !important;
  }
  .ml-pujc--full .ml-pujc__media {
    order: -1;
    height: 200px;
    min-height: 200px;
  }
  .ml-pujc--full .ml-pujc__media::after {
    background: linear-gradient(180deg, transparent 40%, #EAF7FA 100%);
  }
  .ml-pujc--full .ml-pujc__media img,
  .ml-pujc--full .ml-pujc__media picture img {
    object-position: 50% 48% !important;
  }
  .ml-pujc--full .ml-pujc__body { padding: 20px 22px 24px; }
  .ml-pujc--full .ml-pujc__title { font-size: 30px !important; }
  .ml-pujc--full .ml-pujc__lead { font-size: 16px !important; margin-bottom: 14px !important; }

  .ml-pujc--compact {
    grid-template-columns: 1fr !important;
  }
  .ml-pujc--compact .ml-pujc__media {
    order: -1;
    height: 150px;
    min-height: 150px;
  }
  .ml-pujc--compact .ml-pujc__media::after {
    background: linear-gradient(180deg, transparent 35%, #EAF7FA 100%);
  }
  .ml-pujc--compact .ml-pujc__media img,
  .ml-pujc--compact .ml-pujc__media picture img {
    object-position: 50% 48% !important;
  }
  .ml-pujc--compact .ml-pujc__body { padding: 16px 20px 8px; }
  .ml-pujc--compact .ml-pujc__cta {
    margin: 0 20px 18px !important;
    width: calc(100% - 40px) !important;
    justify-self: stretch;
  }
}
@media (max-width: 600px) {
  .ml-pujc { border-radius: 16px; }
  .ml-pujc-wrap:not(.ml-pujc-wrap--compact) { padding: 0 12px; }
  .ml-pujc--full .ml-pujc__media { height: 180px; min-height: 180px; }
  .ml-pujc--full .ml-pujc__title { font-size: 26px !important; }
  .ml-pujc--compact .ml-pujc__title { font-size: 24px !important; }
  .ml-pujc--full .ml-pujc__cta { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ml-pujc__cta { transition: none; }
  .ml-pujc__cta:hover,
  .ml-pujc__cta:focus-visible { transform: none; }
}
