/* YAWNG v6.1 — three-slide hero; v5/v6 remain separate */
/* Style elements matching: .hero. */
.hero {
  /* Choose how this element is positioned. */
  position: relative;
  /* Control content that exceeds the box. */
  overflow: hidden;
  /* Set min height. */
  min-height: 560px;
}
/* Style elements matching: .hero-track. */
.hero-track {
  /* Choose how this element is positioned. */
  position: relative;
  /* Set the element height. */
  height: 100%;
  /* Set min height. */
  min-height: inherit;
}
/* Style elements matching: .hero-slide. */
.hero-slide {
  /* Choose how this element is positioned. */
  position: absolute;
  /* Set inset. */
  inset: 0;
  /* Set transparency. */
  opacity: 0;
  /* Set visibility. */
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s;
  /* Set pointer events. */
  pointer-events: none;
}
/* Style elements matching: .hero-slide.is-active. */
.hero-slide.is-active {
  /* Set transparency. */
  opacity: 1;
  /* Set visibility. */
  visibility: visible;
  /* Set pointer events. */
  pointer-events: auto;
  /* Set the stacking order. */
  z-index: 1;
}
/* Style elements matching: .hero-slide > img. */
.hero-slide > img {
  /* Set the element width. */
  width: 100%;
  /* Set the element height. */
  height: 100%;
  /* Control how the image fits its box. */
  object-fit: cover;
  /* Position the image within its box. */
  object-position: 72% center;
  /* Choose how this element is positioned. */
  position: absolute;
  /* Set inset. */
  inset: 0;
}
/* Style elements matching: .hero-slide .hero-cover. */
.hero-slide .hero-cover {
  background: linear-gradient(
    90deg,
    rgba(13, 14, 16, 0.92) 0%,
    rgba(13, 14, 16, 0.81) 32%,
    rgba(13, 14, 16, 0.17) 65%,
    rgba(13, 14, 16, 0.03) 100%
  );
}
/* Style elements matching: .hero-slide .hero-content. */
.hero-slide .hero-content {
  /* Set the stacking order. */
  z-index: 2;
  /* Limit the maximum width. */
  max-width: 550px;
  /* Set left. */
  left: 8%;
}
/* Style elements matching: .hero-slide h1. */
.hero-slide h1 {
  /* Set the text size. */
  font-size: clamp(46px, 6vw, 86px);
  /* Set the space occupied by each text line. */
  line-height: 1.07;
}
/* Style elements matching: .hero-nav. */
.hero-nav {
  /* Choose how this element is positioned. */
  position: absolute;
  /* Set the stacking order. */
  z-index: 5;
  /* Set top. */
  top: 50%;
  /* Transform the element visually. */
  transform: translateY(-50%);
  /* Set the background. */
  background: rgba(15, 15, 15, 0.38);
  /* Set the border. */
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* Round the corners. */
  border-radius: 100%;
  /* Set the element width. */
  width: 46px;
  /* Set the element height. */
  height: 46px;
  /* Set the text size. */
  font-size: 32px;
  /* Set the text color. */
  color: #fff;
  /* Choose the pointer appearance. */
  cursor: pointer;
}
/* Style elements matching: .hero-prev. */
.hero-prev {
  /* Set left. */
  left: 18px;
}
/* Style elements matching: .hero-next. */
.hero-next {
  /* Set right. */
  right: 18px;
}
/* Style elements matching: .hero-dots. */
.hero-dots {
  /* Choose how this element is positioned. */
  position: absolute;
  /* Set the stacking order. */
  z-index: 5;
  /* Set bottom. */
  bottom: 24px;
  /* Set left. */
  left: 50%;
  /* Transform the element visually. */
  transform: translateX(-50%);
  /* Choose the layout or visibility mode. */
  display: flex;
  /* Space adjacent grid or flex items. */
  gap: 10px;
}
/* Style elements matching: .hero-dots button. */
.hero-dots button {
  /* Set the element width. */
  width: 10px;
  /* Set the element height. */
  height: 10px;
  /* Round the corners. */
  border-radius: 50%;
  /* Set the border. */
  border: 1px solid white;
  /* Set the background. */
  background: transparent;
  /* Choose the pointer appearance. */
  cursor: pointer;
}
/* Style elements matching: .hero-dots button[aria-current="true"]. */
.hero-dots button[aria-current="true"] {
  /* Set the background. */
  background: white;
}
/* Apply these declarations to each selector in this group. */
.hero-nav:focus-visible,
.hero-dots button:focus-visible {
  /* Set outline. */
  outline: 3px solid #fff;
  /* Set outline offset. */
  outline-offset: 4px;
}
/* Apply these overrides only when this media condition matches. */
@media (max-width: 700px) {
  /* Apply these declarations to each selector in this group. */
  .hero,
  .hero-track {
    /* Set min height. */
    min-height: 570px;
  }
  /* Style elements matching: .hero-slide > img. */
  .hero-slide > img {
    /* Position the image within its box. */
    object-position: 73% center;
  }
  /* Style elements matching: .hero-slide .hero-cover. */
  .hero-slide .hero-cover {
    background: linear-gradient(
      90deg,
      rgba(12, 12, 13, 0.9) 0%,
      rgba(12, 12, 13, 0.74) 43%,
      rgba(12, 12, 13, 0.15) 100%
    );
  }
  /* Style elements matching: .hero-slide .hero-content. */
  .hero-slide .hero-content {
    /* Set left. */
    left: 10%;
    /* Set right. */
    right: 10%;
    /* Limit the maximum width. */
    max-width: 80%;
  }
  /* Style elements matching: .hero-slide h1. */
  .hero-slide h1 {
    /* Set the text size. */
    font-size: clamp(39px, 10vw, 65px);
  }
  /* Style elements matching: .hero-nav. */
  .hero-nav {
    /* Set the element width. */
    width: 34px;
    /* Set the element height. */
    height: 34px;
    /* Set the text size. */
    font-size: 23px;
  }
  /* Style elements matching: .hero-prev. */
  .hero-prev {
    /* Set left. */
    left: 5px;
  }
  /* Style elements matching: .hero-next. */
  .hero-next {
    /* Set right. */
    right: 5px;
  }
}
/* Apply these overrides only when this media condition matches. */
@media (prefers-reduced-motion: reduce) {
  /* Style elements matching: .hero-slide. */
  .hero-slide {
    /* Animate changes to these properties. */
    transition: none;
  }
}
