.elementor-798 .elementor-element.elementor-element-bcad22c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-798 .elementor-element.elementor-element-bcad22c{--content-width:1501px;}}/* Start custom CSS for shortcode, class: .elementor-element-1d5d776 *//* ========= CARRUSEL DE NOTICIAS MANEIRO (AISLADO) ========= */

/* Contenedor general */
.mn-noticias-carousel {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  box-sizing: border-box;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563; /* gris texto */
  /* flex para que las flechas queden a los lados */
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Track horizontal (carrusel) */
.mn-noticias-carousel .mn-noticias-track {
  flex: 1 1 auto;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0;
  scroll-behavior: smooth;
}

/* Ocultar scrollbars feos */
.mn-noticias-carousel .mn-noticias-track::-webkit-scrollbar {
  display: none;
}
.mn-noticias-carousel .mn-noticias-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tarjetas */
.mn-noticias-card {
  scroll-snap-align: start;
  background: #f1f1f1; /* gris tarjetas institucional */
  border-radius: 17px;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.11),
    0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  /* 3 tarjetas visibles en desktop */
  flex: 0 0 calc(33.333% - 1.5rem);
  min-width: 280px;
  max-width: 420px;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.mn-noticias-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Imagen del post */
.mn-noticias-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Cuerpo de la tarjeta */
.mn-noticias-body {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Título del post */
.mn-noticias-title {
  font-size: 1.15rem;
  color: #01224b; /* azul principal */
  margin: 0 0 0.45rem;
  line-height: 1.35;

  /* Para que todos los títulos ocupen el mismo bloque de altura */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;  /* máximo 3 líneas visibles */
  overflow: hidden;
  min-height: 4.2em;      /* reserva espacio para esas 3 líneas */
}

/* Meta (fecha) */
.mn-noticias-meta {
  font-size: 0.8125rem;
  color: #6b7280; /* gris meta */
  margin: 0 0 0.75rem;
}

/* Extracto: clamp para evitar desajustes grandes */
.mn-noticias-excerpt {
  font-size: 0.9375rem;
  margin: 0 0 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enlace "Leer más" */
.mn-noticias-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #003878; /* azul holder */
  margin-top: auto;
}

/* Hover de tarjeta */
.mn-noticias-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.16),
    0 0 0 1px rgba(0,0,0,0.06);
}

/* Botones prev/next (a los lados, en azul institucional) */
.mn-noticias-btn {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: none;
  background: #003878; /* azul holder */
  box-shadow:
    0 6px 18px rgba(0,0,0,0.15),
    0 0 0 1px rgba(0,0,0,0.08);
  color: #ffffff;       /* icono blanco */
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mn-noticias-btn:hover {
  background: #013064;  /* azul activo */
  color: #ffffff;
}

/* ========= RESPONSIVE ========= */

/* Tablet */
@media (max-width: 1024px) {
  .mn-noticias-card {
    flex: 0 0 calc(50% - 1.25rem); /* 2 tarjetas visibles */
  }
}

/* Móvil */
@media (max-width: 640px) {
  .mn-noticias-carousel {
    padding: 2rem 0.75rem 2.5rem;
  }

  .mn-noticias-card {
    flex: 0 0 100%; /* 1 tarjeta */
    max-width: none;
  }

  .mn-noticias-btn {
    display: none; /* en móvil, flechas ocultas y scroll táctil */
  }
}/* End custom CSS */