.banner-destacado {
  display: grid;
  grid-template-columns: 41% 59%;
  grid-template-areas: "content media";
  min-height: 495px;
  background: white;
}

.banner-destacado__media {
  grid-area: media;
  width: 100%;
  min-width: 0;
}

.banner-destacado__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 495px;
  object-fit: cover;
  object-position: center;
}

/* Contenido */

.banner-destacado__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: flex-end;
  padding: 48px 48px 108px;
  text-align: center;
  box-sizing: border-box;
}

.banner-destacado__title {
  margin: 0;
  color: var(--purple);
  font-size: 36px;
  font-weight: 700;
  text-align: right;
  line-height: 1.2;
}

.banner-destacado__description {
  max-width: 410px;
  margin: 0;
  color: var(--violet);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
}

/* CTA */

.banner-destacado__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 30px;
  padding: 12px 20px;
  border: 1px solid var(--violet);
  border-radius: 100px;
  color: var(--violet);
  background: white;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.banner-destacado__cta-arrow {
  display: inline-flex;
  align-items: center;
}

.banner-destacado__cta:hover,
.banner-destacado__cta:focus-visible {
  background: var(--purple);
  color: white;
}

.banner-destacado__cta:hover img,
.banner-destacado__cta:focus-visible img {
  filter: brightness(500%);
}

.banner-destacado__cta:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* Mobile */

@media (max-width: 767px) {

  .banner-destacado {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
    min-height: 0;
  }

  .banner-destacado__media {
    width: 100%;
    aspect-ratio: 395 / 280;
  }

  .banner-destacado__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .banner-destacado__content {
    justify-content: flex-start;
    padding: 25px 30px 32px;
  }

  .banner-destacado__title {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.15;
  }

  .banner-destacado__description {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.45;
  }

  .banner-destacado__cta {
    min-height: 40px;
    padding: 8px 18px;
    gap: 13px;
    font-size: 13px;
  }

  .banner-destacado__cta-arrow {
    width: 11px;
    height: 11px;
  }

  .banner-destacado__cta-arrow img {
    width: 9px;
    height: 9px;
  }
}