.elementor-15156 .elementor-element.elementor-element-928e5a2{--display:flex;}.elementor-15156 .elementor-element.elementor-element-c4d0ee9{--e-filter-direction:row;--e-filter-white-space:nowrap;--e-filter-wrap:wrap;--e-filter-overflow-x:initial;}.elementor-15156 .elementor-element.elementor-element-f194994{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );color:var( --e-global-color-primary );}.elementor-15156 .elementor-element.elementor-element-4426265 .elementor-heading-title{font-family:var( --e-global-typography-accent-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-15156 .elementor-element.elementor-element-4fb1912 .elementor-heading-title{font-family:var( --e-global-typography-accent-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-15156 .elementor-element.elementor-element-5ebc21d{--grid-columns:3;--grid-row-gap:24px;--load-more-button-align:center;--grid-column-gap:24px;}@media(max-width:1366px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-15156 .elementor-element.elementor-element-4426265 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-15156 .elementor-element.elementor-element-4fb1912 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-15156 .elementor-element.elementor-element-4426265 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-15156 .elementor-element.elementor-element-4fb1912 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-15156 .elementor-element.elementor-element-5ebc21d{--grid-columns:2;}}@media(max-width:767px){.elementor-15156 .elementor-element.elementor-element-928e5a2{--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-15156 .elementor-element.elementor-element-c4d0ee9{--e-filter-direction:row;--e-filter-white-space:nowrap;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-15156 .elementor-element.elementor-element-4426265 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-15156 .elementor-element.elementor-element-4fb1912 .elementor-heading-title{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-15156 .elementor-element.elementor-element-5ebc21d{--grid-columns:1;}}/* Start custom CSS *//* =========================================================
   CODHEM · HISTORIA DE LOS DERECHOS HUMANOS
   Elementor Pro: Taxonomy Filter + Loop Grid
   ========================================================= */

:root {
  --historia-azul: #153659;
  --historia-azul-2: #214d77;
  --historia-turquesa: #69c2bf;
  --historia-turquesa-oscuro: #287f83;
  --historia-amarillo: #d6bd34;
  --historia-texto: #425466;
  --historia-suave: #f4f8fa;
  --historia-borde: #dce7ec;
  --historia-blanco: #ffffff;
  --historia-sombra: 0 12px 32px rgba(21, 54, 89, 0.10);
}

.historia-filtros,
.historia-resultados,
.historia-grid,
.historia-card,
.historia-card * {
  box-sizing: border-box;
}

/* =========================================================
   FILTRO CRONOLÓGICO / LÍNEA DEL TIEMPO
   ========================================================= */

.historia-filtros {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
}

.historia-filtros .e-filter {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  width: 100%;
  padding: 0 0 30px;
  overflow: visible;
}

.historia-filtros .e-filter::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: #bdcbd4;
  z-index: 0;
}

.historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0;
  min-height: 104px !important;
  margin: 0 !important;
  padding: 48px 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #60768a !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.historia-filtros .e-filter-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #8ca2b2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px #fff;
  transform: translateX(-50%);
  transition: width 0.2s ease, height 0.2s ease,
              top 0.2s ease, border-color 0.2s ease,
              background 0.2s ease, box-shadow 0.2s ease;
}

.historia-filtros .e-filter-item::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  margin-top: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: #425d74;
  background: #e8eff3;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.historia-filtros .e-filter-item[data-filter="__all"] {
  order: 1;
}

.historia-filtros .e-filter-item[data-filter="edad-antigua"] {
  order: 2;
}

.historia-filtros .e-filter-item[data-filter="edad-media"] {
  order: 3;
}

.historia-filtros .e-filter-item[data-filter="edad-moderna"] {
  order: 4;
}

.historia-filtros .e-filter-item[data-filter="edad-contemporanea"] {
  order: 5;
}

.historia-filtros .e-filter-item[data-filter="otros"] {
  order: 6;
}

.historia-filtros .e-filter-item[data-filter="__all"]::after {
  content: "32";
}

.historia-filtros .e-filter-item[data-filter="edad-antigua"]::after {
  content: "13";
}

.historia-filtros .e-filter-item[data-filter="edad-media"]::after {
  content: "6";
}

.historia-filtros .e-filter-item[data-filter="edad-moderna"]::after {
  content: "5";
}

.historia-filtros .e-filter-item[data-filter="edad-contemporanea"]::after {
  content: "4";
}

.historia-filtros .e-filter-item[data-filter="otros"]::after {
  content: "4";
}

.historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item:hover {
  color: var(--historia-azul) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item[aria-pressed="true"] {
  color: var(--historia-azul) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 900;
}

.historia-filtros .e-filter-item[aria-pressed="true"]::before {
  top: 4px;
  width: 28px;
  height: 28px;
  border: 7px solid #d9f1f0;
  background: var(--historia-turquesa-oscuro);
  box-shadow: 0 0 0 4px #fff,
              0 5px 14px rgba(40, 127, 131, 0.25);
}

.historia-filtros .e-filter-item[aria-pressed="true"]::after {
  color: #fff;
  background: var(--historia-azul);
}

.historia-filtros .e-filter-item:focus-visible,
.historia-grid a:focus-visible {
  outline: 3px solid var(--historia-amarillo);
  outline-offset: 4px;
}

/* =========================================================
   ENCABEZADO DE RESULTADOS
   ========================================================= */

.historia-resultados {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--historia-borde);
}

.historia-resultados::before {
  content: "";
  flex: 0 0 38px;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--historia-amarillo);
}

.historia-resultados .elementor-widget-heading:first-of-type {
  margin-right: auto;
}

.historia-resultados .elementor-heading-title {
  margin: 0;
  color: var(--historia-azul) !important;
}

.historia-resultados .elementor-widget-heading:first-of-type .elementor-heading-title {
  font-size: clamp(27px, 3vw, 40px) !important;
  font-weight: 850 !important;
  line-height: 1.12 !important;
}

.historia-resultados .elementor-widget-heading:last-of-type .elementor-heading-title {
  color: #5e7285 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

/* =========================================================
   LOOP GRID Y TARJETAS
   ========================================================= */

.historia-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.historia-grid .elementor-loop-container {
  align-items: stretch;
}

.historia-grid .e-loop-item,
.historia-grid .historia-card,
.historia-grid .historia-card > .e-con-inner {
  height: 100%;
  min-height: 100%;
}

.historia-card {
  overflow: hidden !important;
  border: 1px solid rgba(21, 54, 89, 0.10);
  border-radius: 14px 38px 14px 38px;
  background: var(--historia-blanco);
  box-shadow: var(--historia-sombra);
  transition: transform 0.24s ease, box-shadow 0.24s ease,
              border-color 0.24s ease;
}

.historia-card:hover {
  border-color: rgba(40, 127, 131, 0.36);
  box-shadow: 0 18px 40px rgba(21, 54, 89, 0.16);
  transform: translateY(-5px);
}

.historia-card > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
}

.historia-card__imagen {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  background: #e9f0f3;
}

.historia-card__imagen img {
  display: block;
  width: 100% !important;
  height: 235px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.4s ease;
}

.historia-card:hover .historia-card__imagen img {
  transform: scale(1.035);
}

/* La etiqueta está escrita como BIOGRAFÍA en todos los contenidos;
   se oculta para no clasificar incorrectamente documentos o hechos. */
.historia-card__tipo {
  display: none !important;
}

.historia-card__titulo {
  margin: 0 !important;
  padding: 22px 22px 0;
}

/* Resultados del buscador local */
.historia-grid .elementor-loop-container > .e-loop-item[hidden] {
  display: none !important;
}

.historia-grid.sin-resultados .elementor-loop-container::after {
  content: "No encontramos contenidos con esas palabras. Intenta con otro término o selecciona Ver todo.";
  grid-column: 1 / -1;
  display: block;
  padding: 34px 24px;
  border: 1px dashed #b9cbd4;
  border-radius: 18px;
  color: var(--historia-texto);
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.historia-card__titulo .elementor-heading-title {
  display: -webkit-box;
  min-height: 2.65em;
  margin: 0;
  overflow: hidden;
  color: var(--historia-azul) !important;
  font-size: clamp(19px, 1.6vw, 24px) !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.historia-card__titulo a {
  color: inherit !important;
  text-decoration: none !important;
}

.historia-card .elementor-widget-post-info {
  margin: 14px 0 0 !important;
  padding: 0 22px;
}

.historia-card .elementor-post-info,
.historia-card .elementor-icon-list-items {
  margin: 0 !important;
  padding: 0 !important;
}

.historia-card .elementor-icon-list-item {
  margin: 0 !important;
  padding: 0 !important;
}

.historia-card .elementor-post-info__terms-list-item {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #176d72;
  background: #dff3f2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.historia-card__extracto {
  flex: 1 1 auto;
  margin: 14px 0 0 !important;
  padding: 0 22px;
  color: var(--historia-texto) !important;
  font-size: 15px;
  line-height: 1.55;
}

.historia-card__enlace {
  margin: 20px 0 0 !important;
  padding: 0 22px 24px;
}

.historia-card__enlace .elementor-button {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--historia-turquesa-oscuro) !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 850 !important;
  text-align: left;
  box-shadow: none !important;
}

.historia-card__enlace .elementor-button-content-wrapper {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 9px;
}

.historia-card__enlace .elementor-button-icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.historia-card__enlace .elementor-button-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.historia-card__enlace .elementor-button:hover {
  color: var(--historia-azul) !important;
}

.historia-card__enlace .elementor-button:hover .elementor-button-icon {
  transform: translateX(4px);
}

/* =========================================================
   CARGAR MÁS Y ESTADO
   ========================================================= */

.historia-mostrando {
  margin: 26px auto 10px;
  color: #6d7f8f;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.historia-grid .e-loop__load-more {
  margin: 12px auto 0;
  text-align: center;
}

.historia-grid .e-loop__load-more .elementor-button {
  min-width: 210px;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--historia-turquesa-oscuro);
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 9px 22px rgba(40, 127, 131, 0.22);
  transition: transform 0.2s ease, background 0.2s ease,
              box-shadow 0.2s ease;
}

.historia-grid .e-loop__load-more .elementor-button:hover {
  background: var(--historia-azul);
  box-shadow: 0 12px 26px rgba(21, 54, 89, 0.24);
  transform: translateY(-2px);
}

.historia-grid.is-filtering {
  opacity: 0.58;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

/* =========================================================
   TABLETA
   ========================================================= */

@media (max-width: 1024px) {
  .historia-filtros,
  .historia-resultados,
  .historia-grid {
    width: min(100% - 36px, 900px);
  }

  .historia-filtros {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #9fb2c0 transparent;
  }

  .historia-filtros .e-filter {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .historia-filtros .e-filter::before {
    left: 78px;
    right: 78px;
  }

  .historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item {
    flex: 0 0 164px;
  }

  .historia-card__imagen img {
    height: 225px !important;
  }
}

/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 767px) {
  .historia-filtros,
  .historia-resultados,
  .historia-grid {
    width: calc(100% - 28px);
  }

  .historia-filtros {
    overflow: visible;
    margin-bottom: 30px;
    padding-bottom: 0;
  }

  /* Elementor declara este contenedor como flex después del CSS personalizado.
     Los !important son necesarios para conservar la retícula móvil 3 x 2. */
  .historia-filtros .e-filter,
  .elementor-widget-taxonomy-filter.historia-filtros .e-filter {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .historia-filtros .e-filter::before {
    display: none;
  }

  .historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 64px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 5px !important;
    border: 1px solid var(--historia-borde) !important;
    border-top: 3px solid var(--historia-turquesa) !important;
    border-radius: 9px !important;
    color: var(--historia-azul) !important;
    background: #f8fbfc !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  .historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item:hover {
    border-color: #bfd2db !important;
    border-top-color: var(--historia-turquesa-oscuro) !important;
    background: #f1f8f8 !important;
    box-shadow: none !important;
    transform: none;
  }

  .historia-filtros.elementor-widget-taxonomy-filter button.e-filter-item[aria-pressed="true"] {
    color: #fff !important;
    border-color: var(--historia-azul) !important;
    border-top-color: var(--historia-amarillo) !important;
    background: var(--historia-azul) !important;
    box-shadow: 0 7px 16px rgba(21, 54, 89, 0.16) !important;
  }

  .historia-filtros .e-filter-item::before {
    display: none;
  }

  .historia-filtros .e-filter-item::after {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 17px;
    margin: 0;
    padding-inline: 6px;
    border-radius: 5px;
    color: var(--historia-azul);
    background: #e6f1f2;
    font-size: 9px;
    font-weight: 850;
  }

  .historia-filtros .e-filter-item[aria-pressed="true"] {
    color: #fff;
    border-color: var(--historia-azul);
    background: var(--historia-azul);
  }

  .historia-filtros .e-filter-item[aria-pressed="true"]::after {
    color: var(--historia-azul);
    background: #fff;
  }

  .historia-resultados {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    margin-bottom: 22px;
    padding-bottom: 15px;
  }

  .historia-resultados::before {
    content: "";
    display: block !important;
    flex: 0 0 4px !important;
    width: 32px;
    height: 4px;
    margin: 0 0 3px !important;
  }

  .historia-resultados > .elementor-element,
  .historia-resultados .elementor-widget-heading {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .historia-resultados .elementor-widget-heading:last-of-type {
    width: 100% !important;
  }

  .historia-resultados .elementor-widget-heading:first-of-type .elementor-heading-title {
    width: 100% !important;
    font-size: 27px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .historia-resultados .elementor-widget-heading:last-of-type .elementor-heading-title {
    width: 100% !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .historia-card {
    border-radius: 12px 32px 12px 32px;
  }

  .historia-card__imagen img {
    height: 220px !important;
  }

  .historia-card__titulo {
    padding: 19px 18px 0;
  }

  .historia-card .elementor-widget-post-info,
  .historia-card__extracto {
    padding-inline: 18px;
  }

  .historia-card__enlace {
    padding: 0 18px 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .historia-card,
  .historia-card__imagen img,
  .historia-card__enlace .elementor-button-icon,
  .historia-filtros .e-filter-item,
  .historia-grid .e-loop__load-more .elementor-button {
    transition: none !important;
  }
}/* End custom CSS */