/*PAGINAFOR NEWS*/
.eds_news_Friko.eds_subCollection_news .article_pager a.active {
  background: #001689;
  font-family: "Montserrat";
}

.eds_news_Friko.eds_subCollection_news .article_pager a {
  background: #cdcdcd;
}

.eds_news_Friko.eds_subCollection_news .article_pager a:hover {
  background: #ffa200;
  box-shadow: 0 0 2px #737373, inset 1px 1px 3px 0 #fad000;
}

/** PAGINADOR VISUALIZADORES **/

.ax-general-page .paginate_control {
  text-align: center;
}

.ax-general-page .paginate_control a {
  background: #ffa200;
  border-radius: 40px;
  color: #fff;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 1rem;
  text-decoration: none;
  vertical-align: middle;
  line-height: 1.3em;
  height: 35px;
  width: 35px;
}

.ax-general-page .paginate_control .current_page {
  font-size: 2.2rem;
  display: inline-block;
  vertical-align: top;
  line-height: normal;
  margin: -0.3rem 0.4rem 0px;
}

/*BLOG TODO SOBRE EL POLLO LISTA ARTICULOS*/
.ModEasyDNNnewsC .ax-category-ct {
  width: 46%;
  display: inline-block;
  padding: 0px 20px;
  position: relative;
  margin: 0 auto 39px;
  min-height: auto;
}

.fullPane-top .ModEasyDNNnewsC {
  margin-top: -130px;
}

.ModEasyDNNnewsC .ax-category-ct img {
  max-width: 100%;
}

.ModEasyDNNnewsC .ax-category-ct .ax-txt-img-90 {
  width: 80%;
}

.ModEasyDNNnewsC .ax-category-ct.ligera a h3 {
  color: rgb(1, 167, 255);
}

.ModEasyDNNnewsC .ax-category-ct.original a h3 {
  color: rgb(28, 81, 136);
}

.ModEasyDNNnewsC .ax-category-ct.practica a h3 {
  color: rgb(208, 10, 23);
}

.ModEasyDNNnewsC .ax-category-ct a {
  text-decoration: none;
}

.ModEasyDNNnewsC .ax-category-ct .ax-verMasBlog-btn {
  text-align: center;
}

.ModEasyDNNnewsC .ax-category-ct.ligera .ax-verMasBlog-btn a {
  background: rgb(1, 167, 255);
  background: -moz-linear-gradient(
    top,
    rgba(1, 167, 255, 1) 0%,
    rgba(57, 124, 199, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(1, 167, 255, 1) 0%,
    rgba(57, 124, 199, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(1, 167, 255, 1) 0%,
    rgba(57, 124, 199, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#01a7ff', endColorstr='#397cc7', GradientType=0);
}

.ModEasyDNNnewsC .ax-category-ct.original .ax-verMasBlog-btn a {
  background: rgb(28, 81, 136);
  /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(28, 81, 136, 1) 0%,
    rgba(0, 21, 136, 1) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(28, 81, 136, 1) 0%,
    rgba(0, 21, 136, 1) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(28, 81, 136, 1) 0%,
    rgba(0, 21, 136, 1) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c5188', endColorstr='#001588', GradientType=0);
  /* IE6-9 */
}

.ModEasyDNNnewsC .ax-category-ct.practica .ax-verMasBlog-btn a {
  background: rgb(208, 10, 23);
  /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(208, 10, 23, 1) 0%,
    rgba(203, 14, 28, 1) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(208, 10, 23, 1) 0%,
    rgba(203, 14, 28, 1) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(208, 10, 23, 1) 0%,
    rgba(203, 14, 28, 1) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d00a17', endColorstr='#cb0e1c', GradientType=0);
  /* IE6-9 */
}

.ModEasyDNNnewsC .ax-category-ct .ax-sellos-linea {
  position: relative;
  display: block;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  width: 14%;
  height: 22%;
  left: 43px;
  top: 0%;
}

.ModEasyDNNnewsC .ax-category-ct.ligera .ax-sellos-linea {
  background-image: url(/Portals/MomentosFriko/Images/sello-ligera.png);
}

.ModEasyDNNnewsC .ax-category-ct.practica .ax-sellos-linea {
  background-image: url(/Portals/MomentosFriko/Images/sello-practica.png);
}

.ModEasyDNNnewsC .ax-category-ct.original .ax-sellos-linea {
  background-image: url(/Portals/MomentosFriko/Images/sello-original.png);
}

/*BLOG TODO SOBRE EL POLLO DETALLE ARTICULO*/
.ax-grid-detalle-articulo ul li {
  list-style: none;
  position: relative;
  padding: 0 0 0 15px;
}

.ax-grid-detalle-articulo ul li:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #656565cc;
  left: 0px;
  top: 6px;
  border-radius: 6px;
}

.ModEasyDNNnewsC .ax-contenedor_blog_detalles {
  display: flex;
}

.ModEasyDNNnewsC .ax-detalle-blog.ligera h1 {
  font-size: 27px;
  line-height: 2.9em;
  color: rgb(16, 16, 16);
  font-weight: 900;
}

.ModEasyDNNnewsC .ax-detalle-blog.ligera h1 {
  color: rgb(38, 169, 224);
}

.ModEasyDNNnewsC .ax-detalle-blog.original h1 {
  color: rgb(28, 81, 136);
}

.ModEasyDNNnewsC .ax-detalle-blog.practica h1 {
  color: rgb(208, 10, 23);
}

.ModEasyDNNnewsC .ax-detalle-blog.ligera a {
  color: rgb(38, 169, 224);
}

.ModEasyDNNnewsC .ax-detalle-blog.original a {
  color: rgb(28, 81, 136);
}

.ModEasyDNNnewsC .ax-detalle-blog.practica a {
  color: rgb(208, 10, 23);
}

.ModEasyDNNnewsC .ax-detalle-blog {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.ModEasyDNNnewsC .ax-redes-blog {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.ModEasyDNNnewsC .ax-redes-blog .at-resp-share-element .at-share-btn {
  display: block;
  width: 31px;
  height: 31px;
  background: #ffa200 !important;
  margin: 6px auto;
}

.ModEasyDNNnewsC .ax-img_Blog img {
  border-radius: 40px;
}

.ax-product-seal {
  background-color: #01a6ff;
  margin: 3rem auto;
  padding: 4.1rem 0 1.4rem;
  position: relative;
  text-align: center;
}

.ax-product-seal::after {
  background: #fff;
  border-top-left-radius: 160rem 10rem;
  border-top-right-radius: 160rem 10rem;
  bottom: -0.2rem;
  content: "";
  display: block;
  height: 1.7rem;
  position: absolute;
  width: 100%;
}

/* ====== GRID: 3 columnas ====== */
.ax-news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* espacio entre tarjetas */
}

/* Anula el width:46% del CSS original y el inline-block */
.ModEasyDNNnewsC .ax-category-ct {
  width: auto !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
}

/* 3 columnas desktop */
.ax-news-grid .ax-category-ct {
  flex: 0 1 calc(33.333% - 13.4px); /* compensa el gap */
  max-width: calc(33.333% - 13.4px);
}

/* 2 columnas tablet */
@media (max-width: 991px) {
  .ax-news-grid .ax-category-ct {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

/* 1 columna móvil */
@media (max-width: 575px) {
  .ax-news-grid {
    gap: 16px;
  }
  .ax-news-grid .ax-category-ct {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

/* ====== CARD ====== */
.ax-news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* imagen superior */
.ax-news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* mantiene proporción */
  background: #f2f4f8;
}
.ax-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* cuerpo */
.ax-news-body {
  padding: 18px 20px 22px;
}
.ax-news-title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 1.05rem; /* ajusta si quieres más grande */
  line-height: 1.25;
  color: #062f6b; /* azul oscuro similar al mock */
}
.ax-news-title a {
  text-decoration: none;
  color: inherit;
}

/* resumen con 3 líneas máximo */
.ax-news-summary {
  color: #5d6875;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA rojo */
.ax-news-cta {
  text-align: left;
}
.ax-btn-red {
  display: inline-block;
  background: #dc2f28; /* rojo del botón del diseño */
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ax-btn-red:hover {
  background: #c3251f;
  box-shadow: 0 6px 14px rgba(220, 47, 40, 0.3);
  transform: translateY(-1px);
}

/* “sello” posicionado sobre la imagen si lo usas */
.ax-news-card .ax-sellos-linea {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 64px; /* ajusta según tus assets */
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

/* compat: algunos estilos anteriores que empujaban el texto */
.ax-txt-img-90 {
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}
.ax-product-title,
.ax-verMasBlog-btn {
  all: unset;
}
