/* BUBUBU – sezónny pás na titulke
   Izolované štýly: menia iba prvky s triedou .bb-seasonal. */

body.type-index .bb-seasonal,
body.type-index .bb-seasonal * {
  box-sizing: border-box;
}

body.type-index .bb-seasonal {
  width: 100%;
  margin: 0;
  padding: clamp(52px, 6vw, 88px) clamp(16px, 3.4vw, 64px);
  overflow: hidden;
  background: #ffffff;
  color: #282624;
}

body.type-index .bb-seasonal__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto clamp(28px, 3vw, 42px);
}

body.type-index .bb-seasonal__eyebrow {
  display: block;
  margin: 0 0 10px;
  color: #c63c36;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.type-index .bb-seasonal__title {
  max-width: 720px;
  margin: 0;
  color: inherit;
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
}

body.type-index .bb-seasonal__hint {
  flex: 0 0 auto;
  margin: 0 0 4px;
  color: #706b65;
  font-size: 14px;
  line-height: 1.4;
}

body.type-index .bb-seasonal__track {
  display: flex;
  width: 100%;
  max-width: 1480px;
  gap: 16px;
  margin: 0 auto;
  padding: 0 0 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #a7a39e #efeeec;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}

body.type-index .bb-seasonal__track::-webkit-scrollbar {
  height: 7px;
}

body.type-index .bb-seasonal__track::-webkit-scrollbar-track {
  background: #efeeec;
}

body.type-index .bb-seasonal__track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #a7a39e;
}

body.type-index .bb-seasonal__card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 48px) / 4.5);
  min-width: 0;
  aspect-ratio: .76;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 14px;
  background: #292725;
  color: #fff;
  isolation: isolate;
  scroll-snap-align: start;
  text-decoration: none;
}

body.type-index .bb-seasonal__image,
body.type-index .bb-seasonal__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.type-index .bb-seasonal__image {
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

body.type-index .bb-seasonal__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 28%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.77) 100%);
  pointer-events: none;
}

body.type-index .bb-seasonal__card--article .bb-seasonal__shade {
  background: linear-gradient(180deg, rgba(0,0,0,.07) 20%, rgba(0,0,0,.2) 48%, rgba(0,0,0,.82) 100%);
}

body.type-index .bb-seasonal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px;
}

body.type-index .bb-seasonal__label {
  display: block;
  margin: 0 0 9px;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.type-index .bb-seasonal__card-title {
  display: block;
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(21px, 1.65vw, 28px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.07;
}

body.type-index .bb-seasonal__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

body.type-index .bb-seasonal__cta::after {
  content: "→";
  font-size: 17px;
  line-height: .8;
}

@media (hover: hover) and (pointer: fine) {
  body.type-index .bb-seasonal__card:hover .bb-seasonal__image {
    transform: scale(1.055);
  }

  body.type-index .bb-seasonal__card:hover .bb-seasonal__cta {
    border-bottom-color: #c63c36;
    color: #fff;
  }
}

body.type-index .bb-seasonal__card:focus-visible {
  outline: 3px solid #c63c36;
  outline-offset: 3px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.type-index .bb-seasonal__card {
    flex-basis: calc((100% - 32px) / 3.5);
  }
}

@media (max-width: 767px) {
  body.type-index .bb-seasonal {
    padding: 48px 16px 52px;
  }

  body.type-index .bb-seasonal__head {
    display: block;
    margin-bottom: 25px;
  }

  body.type-index .bb-seasonal__eyebrow {
    margin-bottom: 9px;
    font-size: 11px;
  }

  body.type-index .bb-seasonal__title {
    font-size: 32px;
  }

  body.type-index .bb-seasonal__hint {
    margin-top: 10px;
    font-size: 13px;
  }

  body.type-index .bb-seasonal__track {
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  body.type-index .bb-seasonal__track::-webkit-scrollbar {
    display: none;
  }

  body.type-index .bb-seasonal__card {
    flex-basis: 82%;
    aspect-ratio: .79;
    border-radius: 12px;
  }

  body.type-index .bb-seasonal__content {
    padding: 20px;
  }

  body.type-index .bb-seasonal__card-title {
    font-size: 25px;
  }
}
