.content > section.mel-offer {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  scroll-margin-top: calc(var(--mel-header-height) + 16px);
  border: 1px solid #403724;
  border-radius: 10px;
  background: #111;
  color: #fff;
}

.mel-offer__art {
  position: relative;
  display: block;
  height: clamp(155px, 43cqw, 220px);
  background: #111;
}

.mel-offer__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.mel-offer__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #111, transparent 44%);
  content: "";
  pointer-events: none;
}

.mel-offer__content {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 0 18px 22px;
  color: #fff;
  font-family: Roboto, sans-serif;
}

.mel-offer__content h2 {
  margin: 0;
  color: #ffc53b;
  font: 700 clamp(15px, 2cqw, 20px)/1.2 Roboto, sans-serif;
}

.mel-offer__content .mel-offer__headline {
  color: #fff;
  font: 700 clamp(24px, 3.3cqw, 38px)/1.12 Roboto, sans-serif;
  text-wrap: balance;
}

.mel-offer__content .mel-offer__detail {
  color: #e1e1e1;
  font: 400 14px/1.45 Roboto, sans-serif;
}

.mel-offer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 17px;
  border-radius: 7px;
  background: #ffb600;
  color: #212121;
  font: 700 14px/1.2 Roboto, sans-serif;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.mel-cta-icon {
  flex: none;
  object-fit: contain;
}

.mel-article-cta {
  margin-top: 20px;
}

.mel-offer__cta:hover {
  background: #ffd263;
}

.mel-offer__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@container (min-width: 670px) {
  .mel-offer__art {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .mel-offer__art::after {
    background: linear-gradient(90deg, #111 0%, #111f 29%, #111a 46%, transparent 68%);
  }

  .mel-offer__content {
    width: 60%;
    min-height: 246px;
    padding: 25px clamp(26px, 4cqw, 56px);
  }
}

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

.hero.mel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  padding: 0;
  background: #111;
  font-family: var(--font-family-base);
}

.mel-hero > * {
  margin-top: 0;
}

.mel-hero__slide {
  position: relative;
  grid-area: 1 / 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 34vw, 442px);
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px) 67px;
}

.mel-hero__slide[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.mel-hero__controls[hidden] {
  display: none;
}

.mel-hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
}

.mel-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.mel-hero__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111 5%, #111e 25%, #111b 48%, #1112 86%);
  content: "";
}

.mel-hero__mark {
  position: absolute;
  top: clamp(16px, 2.5vw, 34px);
  right: clamp(16px, 2.5vw, 34px);
  width: clamp(92px, 10vw, 150px);
  height: auto;
  filter: drop-shadow(0 1px 2px #000) drop-shadow(0 2px 12px #000b);
  pointer-events: none;
}

.mel-hero__copy {
  max-width: 670px;
  pointer-events: none;
}

.mel-hero__copy a {
  pointer-events: auto;
}

.mel-hero__copy :is(h1, h2) {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
}

.mel-hero__copy p {
  max-width: 59ch;
  color: #e1e1e1;
}

.mel-hero__copy .mel-hero__label {
  margin-bottom: 6px;
  color: #ffc53b;
  font-size: 14px;
  font-weight: 700;
}

.mel-hero__controls {
  position: absolute;
  inset-inline: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

.mel-hero__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.mel-hero__dot::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .65;
  content: "";
}

.mel-hero__dot[aria-current="true"]::before,
.mel-hero__dot:hover::before {
  background: var(--color-yellow);
  opacity: 1;
}

.mel-hero__dot:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: -2px;
}

@media (max-width: 620px) {
  .mel-hero__slide {
    min-height: 340px;
    align-items: end;
  }

  .mel-hero__art::after {
    background: linear-gradient(0deg, #111 18%, #111e 41%, #1116 75%, #1113);
  }
}
