/* =========================================
   SECTION 03 — PROGRAM COVERFLOW
   ========================================= */

.mb-program {
  position: relative;
  overflow: hidden;

  padding: 88px 0 96px;

  color: #f7ead1;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(151, 51, 55, 0.28),
      transparent 38%
    ),
    radial-gradient(
      circle at 100% 30%,
      rgba(133, 77, 33, 0.16),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #3a090e 0%,
      #27070b 48%,
      #190508 100%
    );
}

.mb-program::before,
.mb-program::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mb-program::before {
  inset: 0;

  opacity: 0.14;

  background:
    radial-gradient(circle at 8% 20%, #e8c77f 0 1px, transparent 2px),
    radial-gradient(circle at 18% 72%, #fff0ca 0 1px, transparent 2px),
    radial-gradient(circle at 84% 18%, #e8c77f 0 1px, transparent 2px),
    radial-gradient(circle at 92% 66%, #fff0ca 0 1px, transparent 2px);

  background-size:
    180px 180px,
    240px 240px,
    210px 210px,
    270px 270px;
}

.mb-program__header {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 52px;

  text-align: center;
}

.mb-program__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  width: min(520px, 80%);
  margin: 0 auto 16px;

  color: #cfa95e;
}

.mb-program__ornament::before,
.mb-program__ornament::after {
  content: "";
  height: 1px;
  flex: 1;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(219, 181, 108, 0.75)
    );
}

.mb-program__ornament::after {
  background:
    linear-gradient(
      90deg,
      rgba(219, 181, 108, 0.75),
      transparent
    );
}

.mb-program__ornament span {
  font-size: 19px;
}

.mb-program__title {
  margin: 0;

  font-family: var(--mb-serif);
  font-size: clamp(44px, 5.1vw, 78px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;

  text-transform: uppercase;

  color: #f5e6c7;
}

.mb-program__subtitle {
  max-width: 760px;
  margin: 17px auto 0;

  font-family: var(--mb-serif);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.35;

  color: rgba(246, 231, 203, 0.72);
}


/* CAROUSEL */

.mb-program__stage {
  position: relative;
  z-index: 2;

  width: 100%;
}

.mb-program__swiper {
  width: 100%;
  padding:
    34px
    max(36px, calc((100vw - 1540px) / 2))
    56px;

  overflow: visible;
}

.mb-program__swiper .swiper-wrapper {
  align-items: center;
}

.mb-program__slide {
  width: clamp(188px, 14vw, 232px);
  height: clamp(410px, 36vw, 520px);

  transition:
    opacity 300ms ease,
    filter 300ms ease;
}

.mb-program__slide:not(.swiper-slide-active) {
  opacity: 0.70;
  filter: brightness(0.72) saturate(0.85);
}

.mb-program__slide.swiper-slide-active {
  opacity: 1;
  filter: none;
}


/* CARD */

.mb-program__card {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;

  border: 1px solid rgba(224, 190, 121, 0.68);
  border-radius: 2px;

  background: #180708;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.34);

  transform: translateZ(0);
}

.mb-program__card::before {
  content: "";

  position: absolute;
  inset: 7px;

  z-index: 3;
  pointer-events: none;

  border: 1px solid rgba(233, 205, 151, 0.18);
}

.mb-program__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 700ms cubic-bezier(.2,.7,.2,1),
    filter 400ms ease;
}

.mb-program__slide.swiper-slide-active .mb-program__image {
  transform: scale(1.055);
}

.mb-program__shade {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(12, 4, 5, 0.02) 28%,
      rgba(17, 4, 7, 0.22) 53%,
      rgba(20, 4, 7, 0.92) 100%
    );
}

.mb-program__caption {
  position: absolute;

  left: 17px;
  right: 17px;
  bottom: 20px;

  z-index: 2;

  text-align: center;
}

.mb-program__name {
  margin: 0;

  font-family: var(--mb-serif);
  font-size: clamp(21px, 1.55vw, 27px);
  font-weight: 400;
  line-height: 1.03;

  color: #f7e7c8;
}

.mb-program__note {
  margin: 7px 0 0;

  font-family: var(--mb-serif);
  font-size: 14px;
  line-height: 1.22;

  color: rgba(246, 231, 203, 0.72);
}


/* NAVIGATION */

.mb-program__nav {
  position: relative;
  z-index: 4;

  width: min(420px, calc(100% - 40px));
  margin: -5px auto 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
}

.mb-program__arrow {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(220, 181, 106, 0.42);
  border-radius: 50%;

  color: #e4c27e;
  background: rgba(255,255,255,0.025);

  font-size: 22px;

  cursor: pointer;

  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.mb-program__arrow:hover {
  transform: scale(1.07);

  border-color: rgba(229, 194, 125, 0.86);
  background: rgba(217, 172, 87, 0.09);
}

.mb-program__pagination {
  position: static !important;

  width: auto !important;

  display: flex;
  align-items: center;
  gap: 7px;
}

.mb-program__pagination .swiper-pagination-bullet {
  width: 5px;
  height: 5px;

  margin: 0 !important;

  opacity: 0.40;

  background: #d6ae64;

  transition:
    width 220ms ease,
    opacity 220ms ease,
    border-radius 220ms ease;
}

.mb-program__pagination .swiper-pagination-bullet-active {
  width: 25px;

  opacity: 1;
  border-radius: 999px;
}


/* TABLET */

@media (max-width: 1100px) {

  .mb-program {
    padding-top: 76px;
  }

  .mb-program__slide {
    width: clamp(210px, 28vw, 270px);
    height: clamp(430px, 52vw, 540px);
  }

}


/* MOBILE */

@media (max-width: 700px) {

  .mb-program {
    padding:
      68px
      0
      74px;
  }

  .mb-program__header {
    width: calc(100% - 34px);
    margin-bottom: 28px;
  }

  .mb-program__ornament {
    width: 82%;
    margin-bottom: 13px;
  }

  .mb-program__title {
    font-size: clamp(39px, 11vw, 50px);
  }

  .mb-program__subtitle {
    max-width: 360px;

    margin-top: 13px;

    font-size: 17px;
  }

  .mb-program__swiper {
    padding:
      25px
      0
      45px;
  }

  .mb-program__slide {
    width: min(77vw, 330px);
    height: min(118vw, 520px);
  }

  .mb-program__slide:not(.swiper-slide-active) {
    opacity: 0.52;
  }

  .mb-program__name {
    font-size: 27px;
  }

  .mb-program__note {
    font-size: 15px;
  }

  .mb-program__arrow {
    width: 42px;
    height: 42px;
  }

}
