/* ════════════════════════════════════════════════════════════════
   vedy-bannery / bannery.css
   Všetky selektory sú scoped pod .ypb-wrap → bez konfliktov s témou.
   ════════════════════════════════════════════════════════════════ */

/* ── Ochranné marginy voči okolitému obsahu ─────────────────────── */
.ypb-wrap {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ── Mobile / Desktop switching ─────────────────────────────────── */
.ypb-wrap .ypb-mobile  { display: block; }
.ypb-wrap .ypb-desktop { display: none;  }

@media (min-width: 860px) {
  .ypb-wrap .ypb-mobile  { display: none;  }
  .ypb-wrap .ypb-desktop { display: block; }
}

/* ── Box sizing ──────────────────────────────────────────────────── */
.ypb-wrap *,
.ypb-wrap *::before,
.ypb-wrap *::after { box-sizing: border-box; }

/* ── Téma reset – prebitie !important štýlov yogapit témy ───────── */
/* Téma: h1 { font-family/size/weight/line-height: !important }     */
/*        p  { font-size: 1em !important }                          */
/*        h1…h6 { clear: both }                                     */
/*        a:visited { color: purple } / a:hover { color: midnightblue } */
.ypb-wrap h1 { clear: none !important; }
.ypb-wrap p  { margin-bottom: 0 !important; }
.ypb-wrap a.banner,
.ypb-wrap a.banner:visited,
.ypb-wrap a.banner:hover,
.ypb-wrap a.banner:focus,
.ypb-wrap a.banner:active {
  color: #fff !important;
  text-decoration: none !important;
  background-color: transparent !important;
}

/* ── Wrapper ─────────────────────────────────────────────────────── */
.ypb-wrap .banner-wrapper {
  width: 100%;
  position: relative;
}
.ypb-wrap .banner-wrapper--square {
  max-width: 835px;
  container-type: inline-size;
  --ypb-square-ref: 835;
  --ypb-u: calc(100cqi / var(--ypb-square-ref));
}
.ypb-wrap .banner-wrapper--wide   { max-width: 835px; }

/* ── Wide banner – max 835 × 220, responzívne ────────────────────── */
.ypb-wrap .banner-wrapper--wide .banner {
  width: 100% !important;
  max-width: 835px;
  height: 220px !important;
  min-height: 0 !important;
  max-height: 220px !important;
}
@media (max-width: 835px) {
  .ypb-wrap .banner-wrapper--wide .banner {
    height: auto !important;
    max-height: none !important;
    min-height: 180px !important;
    aspect-ratio: 835 / 220;
  }
}

/* ── Square banner – always 1:1 on mobile downscale ────────────── */
.ypb-wrap .banner-wrapper--square .banner {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  max-height: none !important;
}

/* ── Common banner ───────────────────────────────────────────────── */
/* reset link styles when banner is <a> */
.ypb-wrap a.banner {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
.ypb-wrap .banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  /* reset WP theme margins - bez !important, netýka sa nášho .banner */
  margin: 0;
  padding: 0;
}
.ypb-wrap .banner > * { position: relative; z-index: 1; }

/* ── Tag pill ────────────────────────────────────────────────────── */
.ypb-wrap .tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(4px, 0.95vw, 8px);
}
.ypb-wrap .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: clamp(5px, 0.71vw, 7px) clamp(10px, 1.43vw, 13px);
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 1.67vw, 14px);
  font-weight: 600;
  line-height: 150%;
  color: #fff;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 2px 8px rgba(0,0,0,0.30);
  border: 1px solid rgba(255, 255, 255, 0.22);
  /* reset WP */
  margin: 0;
}
.ypb-wrap .tag-break {
  flex-basis: 100%;
  height: 0;
}

/* ── SVG underline ───────────────────────────────────────────────── */
.ypb-wrap .underline-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.ypb-wrap .svg-underline {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: auto;
  pointer-events: none;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   BANNER 1 – fluid mobile · Om + kniha (Marcellus / Inter)
   ══════════════════════════════════════════════════════════════════ */
.ypb-wrap .banner-1 {
  padding: calc(40 * var(--ypb-u)) calc(40 * var(--ypb-u)) calc(50 * var(--ypb-u)) !important;
  justify-content: flex-start;
  background-position: center;
}
.ypb-wrap .banner-1 .title {
  font-family: 'Marcellus', serif !important;
  font-size: calc(67 * var(--ypb-u)) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0;
  white-space: nowrap;
  margin-bottom: calc(16 * var(--ypb-u)) !important;
  margin-top: 0 !important;
  padding: 0 !important;
  color: #fff !important;
}
.ypb-wrap .banner-1 .title sup {
  font-family: 'Metrophobic', sans-serif;
  font-size: calc(30 * var(--ypb-u));
  font-weight: 400;
  vertical-align: super;
  margin-left: calc(6 * var(--ypb-u));
  line-height: 0;
}
.ypb-wrap .banner-1 .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: calc(37 * var(--ypb-u)) !important;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.80) !important;
  margin-bottom: calc(32 * var(--ypb-u)) !important;
  margin-top: calc(1 * var(--ypb-u)) !important;
  max-width: 100%;
}
.ypb-wrap .banner-1 .tags {
  max-width: 100%;
  gap: calc(4 * var(--ypb-u)) calc(5 * var(--ypb-u));
}
.ypb-wrap .banner-1 .tag {
  font-size: calc(32 * var(--ypb-u));
  padding: calc(16 * var(--ypb-u)) calc(24 * var(--ypb-u));
  border-radius: calc(10 * var(--ypb-u));
  letter-spacing: -0.02em;
}
@container (max-width: 564px) {
  .ypb-wrap .banner-1 .tags {
    gap: calc(3 * var(--ypb-u)) calc(4 * var(--ypb-u));
  }
  .ypb-wrap .banner-1 .tag {
    font-size: calc(30 * var(--ypb-u));
    padding: calc(14 * var(--ypb-u)) calc(20 * var(--ypb-u));
  }
}
.ypb-wrap .banner-1 .cta {
  margin-top: auto;
  margin-bottom: auto;
  transform: translateY(calc(25 * var(--ypb-u)));
  display: inline-flex;
  align-items: center;
  gap: calc(16 * var(--ypb-u));
  padding: 0 calc(24 * var(--ypb-u)) 0 calc(64 * var(--ypb-u));
  font-family: 'Marcellus', serif;
  font-size: calc(32 * var(--ypb-u));
  font-weight: 400;
  line-height: normal;
  color: #fff;
  text-decoration: none;
}
.ypb-wrap .banner-1 .cta-text {
  text-decoration: underline;
  text-underline-offset: calc(3 * var(--ypb-u));
  text-decoration-color: rgba(255,255,255,0.85);
}
.ypb-wrap .banner-1 .cta-arrow {
  display: inline-block;
  width: calc(44 * var(--ypb-u));
  height: auto;
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}

/* ══════════════════════════════════════════════════════════════════
   BANNER 2 – fluid mobile · Flower of Life (Basier Circle / Inter)
   ══════════════════════════════════════════════════════════════════ */
.ypb-wrap .banner-2 {
  padding: calc(40 * var(--ypb-u)) calc(40 * var(--ypb-u)) calc(64 * var(--ypb-u)) !important;
  justify-content: flex-start;
  background-position: center;
}
.ypb-wrap .banner-2 .title {
  font-family: 'Basier Circle', 'Inter', sans-serif !important;
  font-size: calc(64 * var(--ypb-u)) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding-bottom: calc(4 * var(--ypb-u)) !important;
  margin-bottom: calc(32 * var(--ypb-u)) !important;
  margin-top: 0 !important;
  color: #fff !important;
}
.ypb-wrap .banner-2 .svg-underline { bottom: calc(-18 * var(--ypb-u)); }
.ypb-wrap .banner-2 .subtitle {
  font-family: 'Basier Circle', 'Inter', sans-serif;
  font-size: calc(38 * var(--ypb-u)) !important;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: calc(37 * var(--ypb-u)) !important;
  margin-top: 0 !important;
  max-width: 100%;
}
.ypb-wrap .banner-2 .tags {
  max-width: 100%;
  gap: calc(4 * var(--ypb-u));
  padding-bottom: calc(6 * var(--ypb-u));
  margin-bottom: calc(37 * var(--ypb-u));
}
.ypb-wrap .banner-2 .tag {
  font-size: calc(32 * var(--ypb-u));
  padding: calc(16 * var(--ypb-u)) calc(24 * var(--ypb-u));
  border-radius: calc(10 * var(--ypb-u));
  letter-spacing: -0.01em;
}
.ypb-wrap .banner-2 .cta {
  display: inline-block;
  position: relative;
  padding: 0 calc(24 * var(--ypb-u)) calc(18 * var(--ypb-u));
  font-family: 'Basier Circle', 'Inter', sans-serif;
  font-size: calc(32 * var(--ypb-u));
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(4.5 * var(--ypb-u));
  text-transform: uppercase;
  color: #8224E3;
  text-decoration: none;
  width: fit-content;
}
.ypb-wrap .banner-2 .cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(24 * var(--ypb-u));
  width: calc(45 * var(--ypb-u));
  height: calc(6 * var(--ypb-u));
  background: #8224E3;
}
/* ══════════════════════════════════════════════════════════════════
   BANNER 3 – desktop 835×220 · Flower of Life (Basier Circle)
   ══════════════════════════════════════════════════════════════════ */
.ypb-wrap .banner-3 {
  background-position: center;
  padding: 20px 24px 24px 24px !important;
  flex-direction: column;
  justify-content: flex-start;
}
.ypb-wrap .banner-3 .title {
  font-family: 'Basier Circle', 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  padding-bottom: 7px !important;
  color: #fff !important;
}
.ypb-wrap .banner-3 .svg-underline { bottom: -8px; }
.ypb-wrap .banner-3 .subtitle {
  font-family: 'Basier Circle', 'Inter', sans-serif;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 140%;
  color: rgba(255,255,255,0.85) !important;
  max-width: 390px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.ypb-wrap .banner-3 .banner-footer {
  margin-top: 16px;
  display: grid !important;
  overflow: hidden;
  flex-shrink: 0;
}
.ypb-wrap .banner-3 .tags {
  grid-area: 1 / 1;
  max-width: 820px;
  row-gap: 2px;
  column-gap: 6px;
}
.ypb-wrap .banner-3 .tag {
  font-size: 14px;
  padding: 5px 8.5px;
  line-height: 150%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.ypb-wrap .banner-3 .cta {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  display: inline-block;
  position: relative;
  font-family: 'Basier Circle', 'Inter', sans-serif;
  font-size: 18px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: #8224E3 !important;
  text-decoration: none !important;
  cursor: pointer;
}
.ypb-wrap .banner-3 .cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22%;
  height: 2.5px;
  background: #8224E3;
  transition: width 100ms ease-out;
}
.ypb-wrap .banner-3 .cta:hover::before { width: 100%; }

/* ══════════════════════════════════════════════════════════════════
   BANNER 4 – desktop 835×220 · Om + kniha (Marcellus / Inter)
   ══════════════════════════════════════════════════════════════════ */
.ypb-wrap .banner-4 {
  background-position: center right;
  padding: 24px !important;
  flex-direction: column;
  justify-content: space-between;
}
.ypb-wrap .banner-4 .title {
  font-family: 'Marcellus', serif !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
  color: #fff !important;
}
.ypb-wrap .banner-4 .title sup {
  font-family: 'Metrophobic', sans-serif;
  font-size: 18px;
  font-weight: 400;
  vertical-align: super;
  margin-left: 5px;
  line-height: 1;
}
.ypb-wrap .banner-4 .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.80) !important;
  max-width: 580px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.ypb-wrap .banner-4 .banner-footer {
  margin-top: 24px;
  display: grid !important;
  overflow: hidden;
  flex-shrink: 0;
}
.ypb-wrap .banner-4 .tags {
  grid-area: 1 / 1;
  max-width: 820px;
  line-height: 150%;
  row-gap: 2px;
  column-gap: 4px;
}
.ypb-wrap .banner-4 .tag {
  font-size: 14px;
  padding: 6px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.ypb-wrap .banner-4 .cta {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  display: inline-flex !important;
  align-items: center;
  gap: 17px;
  font-family: 'Marcellus', serif !important;
  font-size: 16px;
  font-weight: 400;
  color: #E0005A !important;
  text-decoration: none !important;
  cursor: pointer;
  padding-left: 33px;
  padding-right: 24px;
  transition: color 100ms ease-out;
}
.ypb-wrap .banner-4:hover .cta {
  color: #fff !important;
}
.ypb-wrap .banner-4 .cta:hover { color: #E0005A !important; }
.ypb-wrap .banner-4 .cta-text {
  text-decoration: underline;
  text-underline-offset: 1px;
  text-decoration-color: rgba(255,255,255,0.85);
  transition: text-decoration-color 100ms ease-out;
}
.ypb-wrap .banner-4 .cta:hover .cta-text { text-decoration-color: #E0005A; }
.ypb-wrap .banner-4 .cta-arrow {
  display: inline-block;
  width: 44px;
  height: 23px;
  margin: 0 !important;
  transition: filter 100ms ease-out;
}
.ypb-wrap .banner-4:hover .cta-arrow {
  filter: brightness(0) invert(1);
}
.ypb-wrap .banner-4 .cta:hover .cta-arrow { filter: none; }
footer .ypb-wrap .banner-1 .subtitle{
  text-align: left;
}