/* The block owns layout spacing and the controls below the clipped image. */
.mr-home-feature-showcase-block {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.mr-home-feature-showcase__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: ltr;
}

.mr-home-feature-showcase__dot {
  appearance: none;
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  cursor: pointer;
}

.mr-home-feature-showcase__dot span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: transparent;
  transition: background-color .25s ease, transform .25s ease;
}

.mr-home-feature-showcase__dot.is-active span {
  background: #050505;
  transform: scale(1);
}

.mr-home-feature-showcase__dot.is-active {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
}

.mr-home-feature-showcase__dot:focus-visible {
  outline: 2px solid #d9c596;
  outline-offset: 3px;
}

.mr-home-feature-showcase__loader {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}

.mr-home-feature-showcase-block.is-loading .mr-home-feature-showcase__loader {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mr-home-feature-showcase__loader-ring {
  width: clamp(34px, 3vw, 48px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, .24);
  border-top-color: #fff;
  border-radius: 50%;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .42));
  animation: mr-feature-loader-spin .72s linear infinite;
}

.mr-home-feature-showcase__loader-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes mr-feature-loader-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 901px) {
  .mr-home-feature-showcase-block--after_top_duo {
    margin-top: clamp(72px, 6vw, 112px);
    margin-bottom: clamp(110px, 9vw, 170px);
  }

  .mr-home-feature-showcase-block--before_twelve {
    margin-top: clamp(110px, 9vw, 170px);
    margin-bottom: clamp(72px, 6vw, 112px);
  }

  .mr-home-feature-showcase {
    position: relative;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background: #030307;
    color: #f7f5ef;
  }

  .mr-home-feature-showcase__pagination {
    margin-top: clamp(18px, 1.5vw, 28px);
  }

  .mr-home-feature-showcase__media,
  .mr-home-feature-showcase__slide,
  .mr-home-feature-showcase__slide img,
  .mr-home-feature-showcase__shade,
  .mr-home-feature-showcase__overlay {
    position: absolute;
    inset: 0;
  }

  .mr-home-feature-showcase__media { z-index: 1; }

  .mr-home-feature-showcase__slide {
    display: block;
    opacity: 0;
    transform: scale(1.018);
    transition: opacity .72s cubic-bezier(.2,.72,.2,1), transform 1.1s cubic-bezier(.2,.72,.2,1);
    pointer-events: none;
  }

  .mr-home-feature-showcase__slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
  }

  .mr-home-feature-showcase__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.92) contrast(1.035) brightness(.9);
    transition: filter .65s ease, transform 1.2s cubic-bezier(.2,.72,.2,1);
  }

  .mr-home-feature-showcase__shade {
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(0,0,0,.44), rgba(0,0,0,.14) 44%, transparent 70%),
      linear-gradient(180deg, rgba(2,2,7,.10), transparent 45%, rgba(0,0,0,.52));
  }

  .mr-home-feature-showcase__overlay {
    z-index: 4;
    pointer-events: none;
  }

  .mr-home-feature-showcase__content {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .42s ease, visibility 0s linear .42s;
  }

  .mr-home-feature-showcase__content.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: .18s, 0s;
  }

  .mr-home-feature-showcase__title {
    position: absolute;
    top: clamp(38px, 5.4vw, 104px);
    left: clamp(54px, 8vw, 154px);
    width: min(72vw, 1350px);
    margin: 0;
    color: #f7f6f2;
    font: 400 clamp(58px, 7.2vw, 138px)/.88 "Goodspace", "Rostex", "Vazirmatn", sans-serif;
    letter-spacing: -.055em;
    word-spacing: .06em;
    text-align: left;
    white-space: normal;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
    text-shadow: 0 12px 42px rgba(0,0,0,.38);
    transition: color .4s ease, letter-spacing .7s cubic-bezier(.2,.72,.2,1), transform .7s cubic-bezier(.2,.72,.2,1);
  }

  .mr-home-feature-showcase__copy {
    position: absolute;
    z-index: 5;
    left: clamp(54px, 8vw, 154px);
    bottom: clamp(44px, 7.8vw, 150px);
    width: min(36vw, 680px);
    text-align: left;
    pointer-events: auto;
  }

  .mr-home-feature-showcase__copy p {
    margin: 0 0 clamp(18px, 2vw, 34px);
    color: rgba(249,247,241,.95);
    font: 500 clamp(20px, 2vw, 40px)/1.34 "Vazirmatn", "Goodspace", sans-serif;
    text-shadow: 0 7px 28px rgba(0,0,0,.58);
    white-space: normal;
  }

  .mr-home-feature-showcase__cta {
    width: min(100%, 330px);
    min-height: clamp(44px, 3.8vw, 64px);
    padding: 0 clamp(18px, 1.6vw, 28px);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 999px;
    background: rgba(249,249,247,.96);
    color: #09090d;
    -webkit-text-fill-color: #09090d;
    font: 600 clamp(14px, 1.05vw, 19px)/1 "Vazirmatn", "Goodspace", sans-serif;
    text-decoration: none;
    box-shadow: 0 14px 38px rgba(0,0,0,.25);
    transition: width .45s cubic-bezier(.2,.72,.2,1), background .28s ease, color .28s ease, transform .28s ease, box-shadow .28s ease;
  }

  .mr-home-feature-showcase__cta-arrow {
    font: 400 1.45em/1 Arial, sans-serif;
    transition: transform .35s cubic-bezier(.2,.72,.2,1);
  }

  .mr-home-feature-showcase__cta:hover,
  .mr-home-feature-showcase__cta:focus-visible {
    width: min(100%, 370px);
    background: #fff;
    color: #102c26;
    -webkit-text-fill-color: #102c26;
    box-shadow: 0 18px 54px rgba(0,0,0,.34), 0 0 0 1px rgba(224,210,182,.34);
    transform: translateY(-2px);
    outline: none;
  }

  .mr-home-feature-showcase__cta:hover .mr-home-feature-showcase__cta-arrow,
  .mr-home-feature-showcase__cta:focus-visible .mr-home-feature-showcase__cta-arrow {
    transform: translateX(6px);
  }

  .mr-home-feature-showcase:hover .mr-home-feature-showcase__slide.is-active img,
  .mr-home-feature-showcase:focus-within .mr-home-feature-showcase__slide.is-active img {
    filter: saturate(1) contrast(1.055) brightness(.96);
    transform: scale(1.012);
  }

  .mr-home-feature-showcase:hover .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__title,
  .mr-home-feature-showcase:focus-within .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__title {
    color: #fff;
    letter-spacing: -.045em;
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .mr-home-feature-showcase-block--after_top_duo {
    margin-top: 34px;
    margin-bottom: 84px;
  }

  .mr-home-feature-showcase-block--before_twelve {
    margin-top: 84px;
    margin-bottom: 84px;
  }

  .mr-home-feature-showcase-block--before_twelve .mr-home-feature-showcase {
    aspect-ratio: 16 / 9;
  }

  .mr-home-feature-showcase {
    position: relative;
    display: block !important;
    width: 100%;
    max-width: none;
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: clamp(20px, 6vw, 30px);
    background: #030307;
    color: #f7f5ef;
    box-shadow: 0 22px 64px rgba(0, 0, 0, .38);
    touch-action: pan-y;
  }

  .mr-home-feature-showcase__pagination {
    gap: 11px;
    margin-top: 16px;
  }

  .mr-home-feature-showcase__dot {
    width: 26px;
    height: 26px;
  }

  .mr-home-feature-showcase__dot span {
    width: 14px;
    height: 14px;
  }

  .mr-home-feature-showcase__loader-ring {
    width: 34px;
    border-width: 2.5px;
  }

  .mr-home-feature-showcase__media,
  .mr-home-feature-showcase__slide,
  .mr-home-feature-showcase__slide img,
  .mr-home-feature-showcase__shade,
  .mr-home-feature-showcase__overlay,
  .mr-home-feature-showcase__content {
    position: absolute;
    inset: 0;
  }

  .mr-home-feature-showcase__media { z-index: 1; }

  .mr-home-feature-showcase__slide {
    display: block;
    opacity: 0;
    transform: scale(1.012);
    pointer-events: none;
    transition: opacity .5s ease, transform .7s ease;
  }

  .mr-home-feature-showcase__slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
  }

  .mr-home-feature-showcase__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.98) contrast(1.015) brightness(.98);
    transform: scale(1.02);
  }

  .mr-home-feature-showcase__shade {
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(0,0,0,.24), rgba(0,0,0,.025) 68%),
      linear-gradient(180deg, rgba(0,0,0,.035), transparent 42%, rgba(0,0,0,.36));
  }

  .mr-home-feature-showcase__overlay {
    z-index: 4;
    pointer-events: none;
  }

  .mr-home-feature-showcase__content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mr-home-feature-showcase__content.is-active {
    opacity: 1;
    visibility: visible;
  }

  .mr-home-feature-showcase__title {
    position: absolute;
    top: clamp(18px, 5vw, 30px);
    right: auto;
    left: clamp(18px, 5vw, 30px);
    width: min(72%, 390px);
    margin: 0;
    color: #fff;
    font: 400 clamp(27px, 9vw, 52px)/.96 "Goodspace", "Rostex", "Vazirmatn", sans-serif;
    letter-spacing: -.045em;
    word-spacing: .06em;
    text-align: left;
    white-space: normal;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
    text-shadow: 0 8px 28px rgba(0,0,0,.52);
  }

  .mr-home-feature-showcase__copy {
    position: absolute;
    z-index: 5;
    right: auto;
    bottom: clamp(16px, 4.5vw, 26px);
    left: clamp(18px, 5vw, 30px);
    width: min(58%, 300px);
    text-align: left;
    pointer-events: auto;
  }

  .mr-home-feature-showcase__copy p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: rgba(249,247,241,.96);
    font: 500 clamp(11px, 3.1vw, 14px)/1.45 "Vazirmatn", "Goodspace", sans-serif;
    text-shadow: 0 5px 18px rgba(0,0,0,.7);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mr-home-feature-showcase__cta {
    width: min(100%, 128px);
    min-height: clamp(32px, 8.7vw, 36px);
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 999px;
    background: rgba(249,249,247,.96);
    color: #09090d;
    -webkit-text-fill-color: #09090d;
    font: 650 clamp(10px, 2.8vw, 12px)/1 "Vazirmatn", "Goodspace", sans-serif;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.3);
  }

  .mr-home-feature-showcase__cta-arrow {
    font: 400 1.2em/1 Arial, sans-serif;
  }

  .mr-home-feature-showcase-block.mr-feature-motion-ready:not(.is-in-view)
    .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__title,
  .mr-home-feature-showcase-block.mr-feature-motion-ready:not(.is-in-view)
    .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__copy {
    opacity: 0;
    transform: translateY(14px);
  }

  .mr-home-feature-showcase-block.is-content-entering
    .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__title {
    animation: mr-feature-mobile-reveal .62s cubic-bezier(.22, 1, .36, 1) both;
  }

  .mr-home-feature-showcase-block.is-content-entering
    .mr-home-feature-showcase__content.is-active .mr-home-feature-showcase__copy {
    animation: mr-feature-mobile-reveal .62s .11s cubic-bezier(.22, 1, .36, 1) both;
  }
}

@keyframes mr-feature-mobile-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mr-home-feature-showcase *,
  .mr-home-feature-showcase *::before,
  .mr-home-feature-showcase *::after {
    transition-duration: .01ms !important;
  }

  .mr-home-feature-showcase .mr-home-feature-showcase__title,
  .mr-home-feature-showcase .mr-home-feature-showcase__copy {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .mr-home-feature-showcase__loader-ring {
    animation: none !important;
    border-color: rgba(255, 255, 255, .28) !important;
    border-top-color: #fff !important;
  }
}
