.momentos-destacados {
  padding: 0 0 70px;
  background: #f6f7f4;
  border-bottom: 1px solid rgba(32, 35, 31, 0.08);
  border-top: 1px solid rgba(32, 35, 31, 0.08);
  position: relative;
  overflow: hidden;
}

.momentos-destacados .titulo {
  margin-bottom: 14px !important;
}

.momentos-destacados .container {
  position: relative;
  z-index: 1;
}

.modulo-nosotros {
  margin-top: 0;
}

.momentos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  max-width: 1390px;
  margin: 0 auto;
}

.momento-card {
  --momento-accent: #1f1f1f;
  --momento-frame-inset: 3.6%;
  --momento-frame-width: 92.8%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 262px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #202020;
  transition: transform .26s ease;
}

.momento-card:hover,
.momento-card:focus {
  color: #202020;
  transform: translateY(-6px);
}

.momento-card:focus-visible {
  outline: 3px solid rgba(253, 196, 37, .75);
  outline-offset: 4px;
}

.momento-media {
  position: relative;
  display: block;
  aspect-ratio: 1.88;
  background: transparent;
  overflow: hidden;
}

.momento-media::after {
  content: none;
}

.momento-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.momento-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transition: transform .36s ease, filter .36s ease;
}

.momento-card:hover .momento-media img,
.momento-card:focus .momento-media img {
  filter: saturate(1.06);
}

.momento-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: var(--momento-frame-width);
  margin: 0 auto;
  padding: 10px 14px 11px;
  background: #fff;
  border: 1px solid rgba(31, 31, 31, .08);
  border-top: 3px solid var(--momento-accent);
  border-radius: 0 0 8px 8px;
}

.momento-title {
  display: block;
  width: auto;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  color: #202020;
  font-family: "Manrope", sans-serif;
  font-size: 18.5px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
}

.momento-text {
  display: block;
  margin-top: 4px;
  color: #5f5a53;
  font-size: 12.3px;
  line-height: 1.32;
  font-weight: 400;
}

.momento-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 7px;
  color: var(--momento-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.momento-action span {
  font-size: 18.5px;
  line-height: 1;
  transition: transform .22s ease;
}

.momento-card:hover .momento-action span,
.momento-card:focus .momento-action span {
  transform: translateX(4px);
}

.momento-navidad {
  --momento-accent: #b42e2e;
}

.momento-navidad .momento-media {
  background: #fff;
}

.momento-cole {
  --momento-accent: #276f9d;
}

.momento-cole .momento-media {
  background: transparent;
}

.momento-cole .momento-media img {
  object-fit: contain;
  object-position: center top;
  padding: 0;
}

.momento-cole:hover .momento-media img,
.momento-cole:focus .momento-media img {
  transform: none;
}

.momento-pascuas {
  --momento-accent: #9b6a38;
}

.momento-atemporal {
  --momento-accent: #2e7467;
}

.momento-atemporal .momento-title {
  background: transparent;
  border-color: transparent;
  color: #202020;
}

@media (max-width: 1199px) {
  .momentos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .momento-media {
    aspect-ratio: 1.88;
  }
}

@media (max-width: 640px) {
  .momentos-destacados {
    padding: 0 0 52px;
  }

  .momentos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .momento-card {
    min-height: 0;
  }

  .momento-media {
    aspect-ratio: 1.88;
  }

  .momento-content {
    padding: 10px 14px 11px;
  }

  .momento-title {
    font-size: 18px;
  }
}
