/* 2. CSS - Estilo y Disposición */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    padding: 30px;
}

/* Contenedor Principal */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Título Principal */
h2 {
    color: #333;
    font-size: 2em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f37b20; /* Línea de acento */
}

/* Disposición de Columnas (Flexbox) */
.main-content {
    display: flex;
    gap: 20px;
}

/* Columna Izquierda (Navegación - Subtítulos) */
.nav-column {
    flex-basis: 35%; /* Ocupa el 35% del ancho */
    padding-right: 15px;
}

/* Columna Derecha (Contenido - Documentos) */
.document-column {
    flex-basis: 65%; /* Ocupa el 65% del ancho */
    padding-left: 15px;
    border-left: 1px solid #eee;
    min-height: 250px; /* Asegura un área de visualización */
}

/* Estilo de los Subtítulos (Botones/Etiquetas) */
.acordeon-subtitle {
    background-color: transparent;
    color: #6a6a6a;
    cursor: pointer;
    padding: 12px 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s, border-left 0.3s;
    border-left: 5px solid transparent;
    margin-bottom: 5px;
}

/* Estilo para el subtítulo ACTIVO */
.acordeon-subtitle.active {
    color: #f37b20; /* Color de acento */
    border-left: 5px solid #f37b20;
    background-color: #f9f9f9;
    padding-left: 10px;
}

/* Estilo de la Lista de Documentos */
.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    padding: 8px 0;
}

.document-list a {
    color: #cc0066; /* Color de acento para los enlaces */
    text-decoration: none;
    display: block;
    font-size: 0.95em;
}

.document-list a:before {
    content: '\2022'; /* Punto como viñeta */
    margin-right: 10px;
    color: #cc0066;
    font-weight: bold;
}
/* ====== ENCABEZADO ====== */
.encabezado {
  text-align: center;
  background-color: #003366;
  color: white;
  padding: 40px 20px;
  border-radius: 0 0 25px 25px;
}

.encabezado h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.encabezado p {
  font-size: 18px;
  opacity: 0.9;
}

/* ====== CONTENEDOR DE TARJETAS ====== */
.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* ====== TARJETA ====== */
.tarjeta {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 6px solid #f37b20; /* color naranja Ocuilan */
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* ====== TEXTO DE LA TARJETA ====== */
.tarjeta h3 {
  color: #003366;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.tarjeta p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* ====== BOTÓN ====== */
.tarjeta a {
  display: inline-block;
  margin-top: 15px;
  background-color: #003366;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.tarjeta a:hover {
  background-color: #f37b20;
}

/* Contenedor principal del carrusel */
.carrusel {
  position: relative;
  width: 100%;
  max-width: 400px;        /* más pequeño, ideal para anuncio */
  height: 200px;           /* altura fija para que no se expanda demasiado */
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;  /* fondo para las franjas */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Contenedor de las imágenes */
.carrusel-imagenes {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
  height: 100%;
}

/* Cada imagen dentro del carrusel */
.carrusel-imagenes img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;     /* asegura que la imagen se vea completa */
  background-color: #000;  /* rellena los espacios vacíos */
}





