/* Estilos para la noticia individual - Diseño Moderno de Dos Columnas */

.noticia-container {
  max-width: 1400px; /* Contenedor mucho más ancho */
  margin: 60px auto 0 auto;
  padding: 0 40px;
  position: relative;
}

.noticia-header {
  margin-bottom: 50px;
  text-align: left; /* Alineado a la izquierda para un look más moderno */
  border-left: 5px solid #2563eb;
  padding-left: 30px;
}

.noticia-meta {
  color: #666;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.noticia-header h2 {
  font-size: 3.5rem;
  color: #0b1c3d;
  margin-bottom: 0;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
}

/* Contenedor de dos columnas */
.noticia-content-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.noticia-side-img {
  flex: 0 0 65%; /* Foto mucho más ancha (65%) */
  max-width: 65%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  aspect-ratio: 3/2; /* Cambiado a un formato más apaisado y menos alto */
}

.noticia-body {
  flex: 1;
  line-height: 1.8;
  font-size: 1.25rem;
  color: #1f2937;
}

.noticia-body p {
  margin-bottom: 25px;
}

.noticia-body strong {
  color: #2563eb;
}

.btn-volver {
  position: absolute;
  top: 0;
  right: 15px; /* Más pegado al borde derecho */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  background-color: #0b1c3d;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 10;
}

.btn-volver:hover {
  background-color: #2563eb;
  transform: translateX(-5px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .noticia-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .noticia-side-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9;
  }
  .noticia-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .noticia-container {
    padding: 0 20px;
    margin: 30px auto;
  }
  .noticia-header {
    padding-left: 20px;
  }
  .noticia-header h2 {
    font-size: 2rem;
  }
}
