.miorapet-hero {
	  --mp-green: #0057a8;
	  --mp-green-dark: #003f7d;
	  --mp-cream: #fff8d9;
	  --mp-panel: #fff;
	  --mp-line: #d8e5f1;
	  --mp-yellow: #ffd400;
  --mp-brown: #8a633c;
  --mp-text: #22302c;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
	  background: #fff;
  border-bottom: 1px solid var(--mp-line);
}

@supports (width: 100dvw) {
  .miorapet-hero {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
  }
}

.miorapet-hero * {
  box-sizing: border-box;
}

.miorapet-hero__frame {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.miorapet-hero__viewport {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 34vw, 500px);
  border: 0;
  border-radius: 0;
	  background: #dfefff;
  box-shadow: none;
}

.miorapet-hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.miorapet-hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.miorapet-hero__media,
.miorapet-hero__media img,
.miorapet-hero__shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.miorapet-hero__media {
  overflow: hidden;
	  background: #dfefff;
}

.miorapet-hero__media img {
  object-fit: cover;
}

.miorapet-hero__shade {
  z-index: 1;
  background:
	    linear-gradient(90deg, rgba(255, 248, 217, 0.96) 0%, rgba(255, 248, 217, 0.86) 34%, rgba(255, 248, 217, 0.28) 58%, rgba(255, 248, 217, 0.02) 100%),
	    linear-gradient(0deg, rgba(0, 87, 168, 0.08), rgba(0, 87, 168, 0.08));
}

.miorapet-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(520px, 44%);
  min-width: 360px;
  min-height: 100%;
  margin-left: max(32px, calc((100% - 1240px) / 2));
  padding: 56px 0 68px;
  color: var(--mp-text);
}

.miorapet-hero__eyebrow {
  max-width: 100%;
  margin: 0 0 12px;
	  color: var(--mp-green);
  font-size: 14px;
  font-weight: 700;
}

.miorapet-hero h1,
.miorapet-hero h2 {
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--mp-text);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.miorapet-hero__description {
  max-width: 100%;
  margin: 0 0 24px;
  color: #52635e;
  font-size: 16px;
  line-height: 1.7;
}

.miorapet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.miorapet-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
	  border: 1px solid var(--mp-green);
  border-radius: 6px;
  color: var(--mp-green);
  background: rgba(255, 253, 248, 0.9);
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  text-align: center;
}

.miorapet-hero__button:hover,
.miorapet-hero__button:focus {
  color: var(--mp-green-dark);
  border-color: var(--mp-green-dark);
  text-decoration: none;
}

.miorapet-hero__button--primary {
	  color: var(--mp-green-dark);
	  background: var(--mp-yellow);
	  border-color: var(--mp-yellow);
}

.miorapet-hero__button--primary:hover,
.miorapet-hero__button--primary:focus {
	  color: var(--mp-green-dark);
	  background: #ffe25a;
}

.miorapet-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 93, 78, 0.22);
  border-radius: 999px;
  color: var(--mp-green);
  background: rgba(255, 253, 248, 0.94);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.miorapet-hero__nav span {
  display: block;
  transform: translateY(-1px);
}

.miorapet-hero__nav:hover,
.miorapet-hero__nav:focus {
  color: #fff;
  background: var(--mp-green);
}

.miorapet-hero__nav--prev {
  left: 14px;
}

.miorapet-hero__nav--next {
  right: 14px;
}

.miorapet-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.miorapet-hero__dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 93, 78, 0.28);
  cursor: pointer;
}

.miorapet-hero__dots button.is-active {
  background: var(--mp-green);
}

@media (max-width: 900px) {
  .miorapet-hero__frame {
    width: 100%;
    padding: 0;
  }

  .miorapet-hero__viewport {
    height: auto;
    border-bottom: 1px solid var(--mp-line);
  }

  .miorapet-hero__slide {
    height: auto;
    min-height: 0;
    background: var(--mp-panel);
  }

  .miorapet-hero__media {
    position: relative;
    height: 270px;
  }

  .miorapet-hero__media img {
    position: static;
    height: 100%;
  }

  .miorapet-hero__shade {
    display: none;
  }

  .miorapet-hero__copy {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin-left: 0;
    padding: 24px 20px 58px;
    background: var(--mp-panel);
  }

  .miorapet-hero__nav {
    top: 142px;
  }

  .miorapet-hero h1,
  .miorapet-hero h2 {
    font-size: 30px;
    line-height: 1.22;
  }

  .miorapet-hero__description {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .miorapet-hero__slide {
    transition: none;
  }
}

@media (max-width: 420px) {
  .miorapet-hero__media {
    height: 230px;
  }

  .miorapet-hero__nav {
    top: 122px;
  }

  .miorapet-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .miorapet-hero__button {
    width: 100%;
  }
}
