/* Aviso destacado del inicio, entre el hero y los accesos principales. */
.cpm-home-notice {
  position: relative;
  z-index: 3;
  padding: 28px 0 66px;
  background: #fff6d8;
  color: var(--cpm-ink);
}

.cpm-home-notice__card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(216, 180, 4, 0.28);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cpm-shadow-float);
}

.cpm-home-notice__card--text {
  grid-template-columns: minmax(0, 1fr);
  padding: 28px 32px;
}

.cpm-home-notice__media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: #fdf1c4;
}

.cpm-home-notice__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.cpm-home-notice__media:hover img {
  transform: scale(1.02);
}

.cpm-home-notice__body {
  display: grid;
  gap: 12px;
  justify-items: start;
  text-align: left;
}

.cpm-home-notice__eyebrow {
  margin: 0;
  color: var(--cpm-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cpm-home-notice__body h2 {
  margin: 0;
  color: var(--cpm-purple);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cpm-home-notice__facts {
  display: grid;
  gap: 10px;
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.4;
}

.cpm-home-notice__facts li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.cpm-home-notice__facts strong {
  font-weight: 700;
}

.cpm-home-notice__facts small {
  display: block;
  color: var(--cpm-muted);
  font-size: 14px;
}

.cpm-home-notice__icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--cpm-purple);
}

.cpm-home-notice__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cpm-home-notice__cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--cpm-purple);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}

.cpm-home-notice__cta:hover,
.cpm-home-notice__cta:focus-visible {
  background: #2f1450;
  color: #fff;
  transform: translateX(3px);
}

.cpm-home-notice__cta:focus-visible {
  outline: 3px solid var(--cpm-yellow);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .cpm-home-notice__card {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .cpm-home-notice {
    padding: 20px 0 58px;
  }

  .cpm-home-notice__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 14px 14px 18px;
  }

  .cpm-home-notice__body {
    gap: 10px;
    padding-inline: 4px;
  }

  .cpm-home-notice__body h2 {
    font-size: 26px;
  }

  .cpm-home-notice__facts {
    font-size: 15px;
  }

  .cpm-home-notice__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpm-home-notice__media img,
  .cpm-home-notice__cta {
    transition: none;
  }
}
