/* ==========================================================================
   Sección “Lo último” – Slider 3x5 con flechas
   ========================================================================== */
.latest-posts {
  padding: 2rem 0;
}
.latest-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Slider wrapper */
.latest-slider {
  position: relative;
  overflow: hidden;
}

/* Track: flex sin wrap */
.latest-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Cada slide: 1/3 del ancho, altura máxima */
.latest-slide {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 0 0.5rem 1.5rem;
  max-height: 450px;            /* no más alto que 450px */
}
.latest-slide .latest-link {
  display: block;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Thumb con ratio, restringiendo altura */
.latest-thumb {
  width: 100%;
  padding-top: 56.25%;           /* 16:9 */
  background-size: cover;
  background-position: center;
  max-height: 200px;             /* si quieres un tope */
}

/* Texto */
.latest-text {
  padding: 0.75rem;
}
.latest-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.latest-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Flechas */
.latest-prev,
.latest-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}
.latest-prev { left: 0.5rem; }
.latest-next { right: 0.5rem; }

/* Oculta flecha en los extremos */
.latest-prev.hidden,
.latest-next.hidden {
  display: none;
}

/* Responsive: en móvil muestras 1 sola */
@media (max-width: 768px) {
  .latest-slide { flex: 0 0 100%; }
}

/* ==========================================================================
   Ajuste flechas “Lo último”: quitar esfera y mover 10px fuera
   ========================================================================== */
/* 1) Quitar fondo y círculo */
.latest-prev,
.latest-next {
  background: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* 2) Mantener vertical centrado */
.latest-prev,
.latest-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* 3) Sacar 10px fuera a izquierda/derecha */
.latest-prev {
  left: -15px !important;
}
.latest-next {
  right: -15px !important;
}

/* 4) (Opcional) Ajustar tamaño/color de la flecha */
.latest-prev,
.latest-next {
  font-size: 2.5rem;               /* o el tamaño que prefieras */
  color: var(--color-secundario);    /* o el color que prefieras */
}