/* ============ LAYOUT SECCIÓN NOTICIAS ================= */

/* 1. Contenedor principal → Flex */
.container.noticia-layout{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:30px !important;
}

/* 2. Neutralizar floats/anchos heredados en las columnas */
.container.noticia-layout > .gsc-column{
  float:none !important;
  width:auto !important;
  max-width:none !important;
}

/* 3. Columna izquierda = Noticia principal (≈45 %) */
.container.noticia-layout > .gsc-column:first-child{
  flex:1 1 45% !important;
}

/* 4. Columna derecha = Noticias secundarias (≈50 %) */
.container.noticia-layout > .gsc-column:nth-child(2){
  flex:1 1 50% !important;
  display:grid !important;
  grid-template-columns:repeat(2,1fr) !important;
  gap:20px !important;
}

/* 5. Vista móvil: apilar y cuadrícula 1×1 */
@media (max-width:768px){
  .container.noticia-layout{
    flex-direction:column !important;
  }
  .container.noticia-layout > .gsc-column:nth-child(2){
    grid-template-columns:1fr !important;
  }
}

/* ====== ESTILO VISUAL DE CADA TARJETA ====== */
.card-noticia{
  border:1px solid #ddd;
  border-radius:8px;
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
  background:#fff;
  transition:transform .2s ease;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}
.card-noticia:hover{transform:scale(1.015);}
.card-noticia img{width:100%;height:auto;display:block;}
.card-noticia .fecha{font-size:.75rem;color:#6c757d;margin:8px 0 4px;}
.card-noticia .titulo{font-size:1.1rem;font-weight:bold;color:#333;margin-bottom:6px;}
.card-noticia .resumen{font-size:.95rem;color:#555;flex-grow:1;}
.card-noticia a.btn{margin-top:12px;color:#007bff;text-decoration:underline;}

