/* ==============================
   ESTILOS BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* ==============================
   HEADER
============================== */
header {
  background: #34526a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5rem;
}

/* ==============================
   CONTENEDOR PRINCIPAL
============================== */
.contenedor {
  padding: 2rem;
}

.grid-dos-columnas {
  display: grid;
  grid-template-columns: 1fr; /* siempre 1 columna */
  gap: 2rem;
  max-width: 900px; /* ancho máximo para pantallas grandes */
  margin: 0 auto; /* centra el contenido */
}

.columna h2 {
  margin-bottom: 1rem;
  color: #34526a;
  border-bottom: 2px solid #34526a;
  padding-bottom: 0.5rem;
  font-size: 1.8rem;
}

/* ==============================
   TARJETAS NOTICIAS/EVENTOS
============================== */
.noticia {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.noticia:hover {
  transform: scale(1.02);
}

.noticia img {
  width: 100%;
  height: auto;
  display: block;
}
/* ==============================
   RESPONSIVE
============================== */

/* ==============================
   FOOTER
============================== */
footer {
  background: #b9bbdd;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer p {
  color: #000;
}
/* ==============================
   MALLA CURRICULAR
============================== */
#malla-curricular {
  display: flex;
  justify-content: flex-start; /* alineado a la izquierda */
  padding: 0 1rem 2rem;
  background: #ffffff; /* mantiene el fondo azul */
}

.malla-caja a {
  display: inline-block;
  background: #b2e4e4;
  color: #002147;
  font-weight: bold;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.malla-caja a:hover {
  background: #f4c542; /* amarillo al pasar el mouse */
  color: #000;
}

/* Estilos para el enlace de Grado de Bachiller */
.bachiller-enlace-container {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.bachiller-enlace {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.bachiller-enlace:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mano-señaladora {
  font-size: 1.2rem;
  animation: señalar 1.5s infinite;
}

/* Animación para la mano señaladora */
@keyframes señalar {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .bachiller-enlace-container {
    padding: 8px 15px;
  }

  .bachiller-enlace {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .mano-señaladora {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .bachiller-enlace-container {
    justify-content: center;
  }

  .bachiller-enlace {
    font-size: 0.9rem;
  }
}
.banner-explora {
  display: inline-block;
  background-color: #f4d03f;
  color: #000;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 18px;
  margin: 12px 0 22px;
  text-decoration: none;
  border-radius: 6px;
  width: fit-content;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.banner-explora-container {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .banner-explora {
    width: 100%;
    max-width: 500px;
    font-size: 0.95rem;
  }
}
