/* Paleta de colores */
:root {
  --azul-50: #f1f7fe;
  --azul-100: #e3edfb;
  --azul-200: #c0dbf7;
  --azul-300: #89bef0;
  --azul-400: #4a9ce6;
  --azul-500: #2380d4;
  --azul-600: #1565b7;
  --azul-700: #125092;
  --azul-800: #134479;
  --azul-900: #153b65;
  --azul-950: #0e2543;
  --rojo-destacado: #ff3131;
}

/* Global */
body {
  font-family: Arial, sans-serif;
  background-color: var(--azul-50);
  color: var(--azul-900);
  margin: 0;
  padding: 0;
}

header {
  height: 50px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 1px;
}

.secciones {
  display: flex;
  justify-content: space-around;
  background-image: url(../images/banner_secciones.png);
  height: 100%;
}

.item {
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: bold;
  color: var(--azul-950);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.item.active {
  background-color: var(--azul-900);
  color: white;
  border-radius: 5px;
}

.banner {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

#main-title {
  text-align: center;
  margin: 40px 0;
  font-size: 2em;
  color: var(--azul-950);
}

/* Contenido y Columnas */
.contenido {
  padding: 0 80px;
}

.columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.column {
  width: 48%;
  margin-bottom: 60px;
}

.column .sub-menu {
  color: var(--azul-950);
  font-size: 1.6em;
  font-weight: 700;
  position: relative;
  padding-bottom: 5px;
  display: inline-block;
}

.column .sub-menu::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--rojo-destacado);
  margin-top: 8px;
}

.lista {
  font-size: 18px;
  list-style-type: none;
  padding-left: 20px;
}

.lista li::before {
  content: "- ";
  color: var(--azul-600);
}

/* Estilo para Menú Activo */
.sidebar .active h2 {
  color: var(--rojo-destacado);
  font-weight: bold;
}

.sidebar .active i {
  color: var(--rojo-destacado);
}

/* Hover en enlaces y sombras en imágenes */
a:hover, .item:hover {
  color: var(--rojo-destacado);
}

img {
  max-width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 700px) {
  .column {
    width: 100%;
  }

  .contenido {
    padding-left: 20px;
    padding-right: 20px;
  }

 .banner {
  width: auto;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  }
}
