.elementor-5682 .elementor-element.elementor-element-c1235f7{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-396cdbd{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-55f7bb0{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-206d148 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-5682 .elementor-element.elementor-element-53c8b30 .elementor-icon-list-icon{width:14px;}.elementor-5682 .elementor-element.elementor-element-53c8b30 .elementor-icon-list-icon i{font-size:14px;}.elementor-5682 .elementor-element.elementor-element-53c8b30 .elementor-icon-list-icon svg{--e-icon-list-icon-size:14px;}.elementor-5682 .elementor-element.elementor-element-4eead79{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-de39d20{--display:flex;}.elementor-5682 .elementor-element.elementor-element-8cee0e8{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-964c0b2{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5682 .elementor-element.elementor-element-18f73a8{--grid-columns:4;}@media(max-width:1024px){.elementor-5682 .elementor-element.elementor-element-18f73a8{--grid-columns:2;}}@media(max-width:767px){.elementor-5682 .elementor-element.elementor-element-18f73a8{--grid-columns:1;}}/* Start custom CSS *//* ==========================================================
   MEMMIX - SINGLE POST / PREMSA
   CSS limpio para la plantilla Noticia
   ========================================================== */

.memmix-post-grid {
  --post-top: clamp(2.75rem, 5vw, 5rem);
  --post-bottom: clamp(4rem, 7vw, 7rem);
  --post-copy: clamp(.95rem, .88rem + .16vw, 1.08rem);
  --related-title-offset: clamp(5.5rem, 5.5vw, 6.5rem);
  --related-x: clamp(1.5rem, 3vw, 3.5rem);
  --related-panel-bg: #fff;
  --related-card-bg: #fff3c8;
  --related-button-bg: #fffe95;

  display: grid !important;
  grid-template-columns: minmax(0, 1.618fr) minmax(16rem, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--mmix-primary);
  background: transparent !important;
  overflow: visible;
  box-sizing: border-box;
}

.memmix-post-grid *,
.memmix-post-grid *::before,
.memmix-post-grid *::after {
  box-sizing: border-box;
}

/* ==========================================================
   COLUMNA PRINCIPAL
   ========================================================== */

.memmix-post-grid > .memmix-post-article {
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.memmix-post-grid .memmix-post-article > .e-con-inner {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.memmix-post-grid .memmix-post-article__inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;

  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding:
    var(--post-top)
    var(--mmix-page-x)
    var(--post-bottom) !important;
}

.memmix-post-grid .memmix-post-header,
.memmix-post-grid .memmix-post-layout,
.memmix-post-grid .memmix-post-media {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Oculta el título duplicado de Elementor. */
.memmix-post-grid .memmix-post-title {
  display: none !important;
}

/* Categoría. */
.memmix-post-grid .memmix-post-category {
  width: fit-content !important;
  margin: 0 0 clamp(.7rem, 1vw, 1rem) !important;
}

.memmix-post-grid .memmix-post-category .elementor-heading-title {
  display: inline-flex;
  margin: 0;
  padding: .28rem .65rem;
  background: var(--mmix-accent);
  color: var(--mmix-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* Título. */
.memmix-post-grid .memmix-post-title-alt {
  width: min(100%, 65rem) !important;
  margin: 0 0 clamp(.9rem, 1.4vw, 1.35rem) !important;
}

.memmix-post-grid .memmix-post-title-alt .ha-post-title,
.memmix-post-grid .memmix-post-title-alt .elementor-heading-title,
.memmix-post-grid .memmix-post-title-alt h1,
.memmix-post-grid .memmix-post-title-alt h2 {
  margin: 0;
  color: var(--mmix-primary);
  font-size: var(--fs-xxl);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Fecha. */
.memmix-post-grid .memmix-post-date {
  margin: 0 0 clamp(2rem, 3vw, 3.5rem) !important;
  color: var(--mmix-primary);
}

.memmix-post-grid .memmix-post-date .elementor-icon-list-items,
.memmix-post-grid .memmix-post-date .elementor-icon-list-item,
.memmix-post-grid .memmix-post-date .elementor-icon-list-text {
  margin: 0 !important;
  padding: 0 !important;
}

.memmix-post-grid .memmix-post-date .elementor-icon-list-icon {
  display: none !important;
}

.memmix-post-grid .memmix-post-date,
.memmix-post-grid .memmix-post-date a,
.memmix-post-grid .memmix-post-date span {
  color: inherit;
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

/* Imagen principal. */
.memmix-post-grid .memmix-post-image,
.memmix-post-grid .memmix-post-image .elementor-widget-container,
.memmix-post-grid .memmix-post-image a,
.memmix-post-grid .memmix-post-image picture {
  display: block;
  width: 100% !important;
  margin: 0;
}

.memmix-post-grid .memmix-post-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0;
  object-fit: cover;
}

/* Cuerpo: el margen de lectura procede del contenedor interior. */
.memmix-post-grid .memmix-post-content {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(2rem, 3.5vw, 3.5rem) 0 0 !important;

  color: var(--mmix-primary);
  font-size: var(--post-copy);
  font-weight: 400;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.memmix-post-grid .memmix-post-content p {
  margin: 0 0 1em;
}

.memmix-post-grid .memmix-post-content > *:first-child {
  margin-top: 0;
}

.memmix-post-grid .memmix-post-content > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   NOTICIAS RELACIONADAS
   ========================================================== */

.memmix-post-grid > .memmix-post-related {
  align-self: stretch !important;
  justify-self: stretch !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: var(--related-panel-bg) !important;
}

.memmix-post-grid .memmix-post-related__inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;

  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding:
    calc(var(--post-top) + var(--related-title-offset))
    var(--related-x)
    var(--post-bottom) !important;
  background: var(--related-panel-bg) !important;
}

.memmix-post-grid .memmix-post-related__inner > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--related-panel-bg) !important;
}

.memmix-post-grid .memmix-post-related__heading {
  width: 100% !important;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.5rem) !important;
  text-align: left;
}

.memmix-post-grid .memmix-post-related__heading .elementor-heading-title {
  margin: 0;
  color: var(--mmix-primary);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Una tarjeta por fila. */
.memmix-post-grid .memmix-post-related__grid {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.memmix-post-grid .memmix-post-related__grid .elementor-loop-container {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(.9rem, 1.5vw, 1.25rem) !important;
}

/* Tarjetas. */
.memmix-post-grid .memmix-post-related .memmix-press-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--related-card-bg) !important;
  overflow: hidden;
}

/* Imágenes laterales más bajas. */
.memmix-post-grid .memmix-post-related .memmix-press-card__media {
  width: 100% !important;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__image,
.memmix-post-grid .memmix-post-related .memmix-press-card__image .elementor-widget-container,
.memmix-post-grid .memmix-post-related .memmix-press-card__image a,
.memmix-post-grid .memmix-post-related .memmix-press-card__image picture {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(.75rem, 1.2vw, 1rem) !important;
  background: var(--related-card-bg) !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__title {
  width: 100% !important;
  margin: 0 0 .25rem !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__title,
.memmix-post-grid .memmix-post-related .memmix-press-card__title a,
.memmix-post-grid .memmix-post-related .memmix-press-card__title .elementor-heading-title {
  color: var(--mmix-primary) !important;
  font-weight: 700 !important;
  line-height: .94 !important;
  letter-spacing: -.035em !important;
  text-transform: uppercase;
  text-decoration: none !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__excerpt {
  width: 100% !important;
  margin: 0 0 .8rem !important;
  color: var(--mmix-primary);
  font-size: var(--fs-sm);
  font-weight: 400 !important;
  line-height: 1.28;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__excerpt,
.memmix-post-grid .memmix-post-related .memmix-press-card__excerpt *,
.memmix-post-grid .memmix-post-related .memmix-press-card__excerpt p {
  font-weight: 400 !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__excerpt p {
  margin: 0;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__footer {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: .75rem;
  width: 100% !important;
  margin-top: auto !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__date,
.memmix-post-grid .memmix-post-related .memmix-press-card__read {
  width: auto !important;
  margin: 0 !important;
}

.memmix-post-grid .memmix-post-related .memmix-press-card__read .elementor-button,
.memmix-post-grid .memmix-post-related .memmix-press-card__read a {
  background-color: var(--related-button-bg) !important;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 64rem) {
  .memmix-post-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 1fr) !important;
  }

  .memmix-post-grid .memmix-post-title-alt .ha-post-title,
  .memmix-post-grid .memmix-post-title-alt .elementor-heading-title,
  .memmix-post-grid .memmix-post-title-alt h1,
  .memmix-post-grid .memmix-post-title-alt h2 {
    font-size: var(--fs-xl);
  }

  .memmix-post-grid .memmix-post-related__inner {
    padding-right: clamp(1.25rem, 3vw, 2rem) !important;
    padding-left: clamp(1.25rem, 3vw, 2rem) !important;
  }
}

/* ==========================================================
   MOVIL
   ========================================================== */

@media (max-width: 47.9375rem) {
  .memmix-post-grid {
    grid-template-columns: 1fr !important;
  }

  .memmix-post-grid .memmix-post-article__inner {
    padding: 2.75rem var(--mmix-page-x) 4rem !important;
  }

  .memmix-post-grid .memmix-post-title-alt .ha-post-title,
  .memmix-post-grid .memmix-post-title-alt .elementor-heading-title,
  .memmix-post-grid .memmix-post-title-alt h1,
  .memmix-post-grid .memmix-post-title-alt h2 {
    font-size: clamp(1.8rem, 7.2vw, 2.5rem);
    line-height: .93;
    text-wrap: pretty;
  }

  .memmix-post-grid .memmix-post-content {
    padding-top: 2rem !important;
  }

  .memmix-post-grid .memmix-post-related__inner {
    padding: 3rem var(--mmix-page-x) 4rem !important;
  }

  .memmix-post-grid .memmix-post-related__heading {
    margin-bottom: 1.5rem !important;
  }

  .memmix-post-grid .memmix-post-related .memmix-press-card__media {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================
   COMPATIBILIDAD CON LA ENTRADA PUBLICADA
   Neutraliza el antiguo padding lateral a 0 de .single-post.
   Puede eliminarse cuando desaparezca esa regla del CSS global.
   ========================================================== */

.single-post .memmix-post-grid .memmix-post-article__inner {
  padding-right: var(--mmix-page-x) !important;
  padding-left: var(--mmix-page-x) !important;
}

.single-post .memmix-post-grid .memmix-post-related__inner {
  padding-right: var(--related-x) !important;
  padding-left: var(--related-x) !important;
}

@media (max-width: 64rem) {
  .single-post .memmix-post-grid .memmix-post-related__inner {
    padding-right: clamp(1.25rem, 3vw, 2rem) !important;
    padding-left: clamp(1.25rem, 3vw, 2rem) !important;
  }
}

@media (max-width: 47.9375rem) {
  .single-post .memmix-post-grid .memmix-post-article__inner,
  .single-post .memmix-post-grid .memmix-post-related__inner {
    padding-right: var(--mmix-page-x) !important;
    padding-left: var(--mmix-page-x) !important;
  }
}/* End custom CSS */