/* ---------------------------------------------
   ESTILOS BASE PARA PUBLICACIONES

--------------------------------------------- */

.hz-publicaciones {
  padding: 5rem 0rem 0rem; /*altura con respecto ala barra de menu*/
  background: #fafafa;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #1c1c1c;
}

.hz-header h1 {
  font-size: 2rem;
  color: #003366;
  text-align: center;
  margin-bottom: 0.3rem;
}

.hz-subtitulo {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 760px;
  margin-inline: auto;
}

/* CONTENEDOR PRINCIPAL */
.hz-publicacion {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}


/* CUERPO PRINCIPAL */
.hz-publicacion-cuerpo {
  flex: 3;
}

.hz-noticia {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.hz-imagen-principal img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* TITULAR Y METADATA */
.hz-titulo-noticia {
  font-size: 1.6rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.8rem;
}

.hz-meta {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* CUERPO DEL ARTÍCULO */
.hz-contenido p {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: justify;
}

.hz-contenido h2,
.hz-contenido h3 {
  font-size: 1.2rem;
  color: #004080;
  margin-top: 2rem;
  border-left: 4px solid #cce0f5;
  padding-left: 0.8rem;
}

.hz-contenido ul,
.hz-contenido ol {
  margin-top: 1rem;
  margin-left: 2rem;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.hz-contenido ul li {
  list-style-type: disc;
}

.hz-contenido ol li {
  list-style-type: upper-roman;
}

.hz-contenido li::marker {
  color: #003366;
  font-weight: bold;
}

/* SIDEBAR LATERAL */
.hz-sidebar {
  flex: 1;
  background: #f5f7fa;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.hz-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 1rem;
}

/* BOTONES O LLAMADAS A LA ACCIÓN */
.hz-btn {
  background-color: #003366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hz-btn:hover {
  background-color: #00549c;
}

/* SEPARADOR */
.hz-divider {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 40px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hz-publicacion {
    flex-direction: column;
  }

  .hz-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hz-sidebar {
    position: static;
    margin-top: 2rem;
  }
}



/* 
 video se muestre igual que una imagen */
.hz-video-principal {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
}

.hz-video-principal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ver documento Asociado de ser una imagen*/
.hz-documento-oculto {
  display: none;
  margin-top: 20px;
  text-align: center;
}
.hz-documento-oculto img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.hz-ver-documento {
  text-align: center;
  margin: 20px 0;
}
.hz-ver-documento button {
  background-color: #002b5e;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hz-ver-documento button:hover {
  background-color: #003b85;
}


/*slider de navegacion de mas de dos imagenes*/
.hz-doc-preview {
  text-align: center;
  margin-top: 3rem;
}

.hz-btn-doc {
  background-color: #f0f4f8;
  color: #003366;
  border: 1px solid #cce0f5;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.hz-btn-doc:hover {
  background-color: #e2efff;
}

.hz-slider-container {
  margin: 2rem auto 0;
  max-width: 100%;
  width: 600px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
}

.hz-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: max-content;
}

.hz-slides img {
  width: 100%;
  max-width: 600px;
  flex-shrink: 0;
  object-fit: contain;
}

.hz-indicators {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 8px;
}

.hz-indicator {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.hz-indicator.active {
  background: #003366;
}

/* Estilo exclusivo para el header de la portada de Publicaciones */
.hz-header-publicaciones {
  padding: 10px 0 5px;
}

.hz-header-publicaciones-flex {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.hz-header-publicaciones-titulo {
  font-size: 1.9rem;
  font-weight: 700;
  color: #003366;
  text-align: left;
  margin-bottom: 5px;
}

.hz-header-publicaciones-subtitulo {
  font-size: 1.2rem;
  color: #666;
  text-align: left;
  margin-top: -15px;
  margin-bottom: 10px;
}

/*galeria inferir pagina 69*/

.hz-evidencia-documental {
  max-width: 500px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.hz-evidencia-documental h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hz-doc-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hz-doc-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hz-evidencia-documental {
    max-width: 100%;
  }
}
