.entidad_fondo{
    background-image: url('/static/img/grafica_cifras_2.png'); 
    background-repeat: no-repeat; 
    background-position: center;
}
.entidad_capa{
    margin: 10px auto; 
    padding: 30px; 
    border-radius: 12px;
     background-color: #ffffff79; 
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.46); 
     font-family: 'Segoe UI', sans-serif;
}

.entidad_color{
    color: #006233
}

.entidad_description{
    color: #333; 
    font-size: 16px; 
    line-height: 1.6; 
    text-align: justify;
}

.entidad_item{
    min-width: 300px; 
    background-color: #bcbcbc33; 
    transition: transform 0.3s ease;
    position: relative;
}

.entidad_item:hover {
    transform: translateY(-5px);
}

.encabezadoh2{
    color: #333333cd;
}

.entidad_item_descrip{
    color: #4d5154; line-height: 1.5; text-align: justify
}

.entidad_item_fondo{
    position: absolute; z-index: 1; right: 0; bottom: 0; left: 0
}

.entidad_img_fondo{
    width: 100%; height: 15px;
}

.historia_fondo{
    padding: 20px; 
    text-align: center; 
    font-family: sans-serif;
    background-color: transparent;
    background-image: url('/static/img/fondo_historia.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: top;
}

.historia_titulo{
    color: black
}

.historia_info{
    color: white; 
    font-size: 1em; 
    margin-top: 8px; 
    max-width: 1000px;
}

.historia_description{
    text-align: justify;
}

.historia_carrusel_div{
    position: relative;
}

.contenedorhistoria {
    display: grid;
    grid-template-columns: repeat(var(--cols, 1), 1fr);
    gap: 10px;
    place-items: center;
}

.infraestructura_div{
    padding: 30px 20px; 
    text-align: center;
}
.infraestructura_titulo{
    color: #E62F27; 
    text-align: center;
}
 
.infraestructura_info{
    color: #333333cd; margin-top: 8px;
}

.infraestructura_div_img{
    padding: 10px; text-align: center;
}

.infraestructura_img{
  max-width: 100%; 
  max-height: 600px
}

.directivo_titulo{
    color: #006233; text-align: center;
}

.carrusel_directivo_info{
    font-size: 15px; 
    background-color: #006233; 
    border-radius: 10px; 
    color: white; 
    max-width: 250px; 
    height: 80px
}

.carrusel_directivo_btn{
    width: 50px;
}

.carrusel_historia_item{
    padding: 130px;
}

.contenedordirectivo{
    display: grid;
    grid-template-columns: repeat(var(--cols, 1), 1fr);
    gap: 10px;
    place-items: center;
}

.carrusel_historia_anno{
    color: black; margin-bottom: 10px;
}

.figura_modal{
    max-height: 800px; overflow-y: auto;
}

.figura_modal_titulo{
    color: black; text-align: center; color: #006233;
}

.figura_modal_name{
    color: #333333cd; text-align: justify; font-size: 20px; line-height: 2;
}

.figura_modal_img{
    height:250px; 
    width: 80%;
    border-radius: 10px;
}

.figura_modal_header{
    background-color: #006233;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 2px solid #e5e5e5;
  }
}

/* Columna izquierda: evita que el verde “invada” la derecha */
.figura_left_col {
  padding-bottom: 1rem;
}

/* Columna derecha: fondo suave para separar del verde */
.figura_right_col {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

/* Texto descriptivo más legible */
.descr_figura {
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Badges más compactas y con mejor separación */
.figura_modal_header.badge {
  display: inline-block;
  white-space: normal;
  text-align: center;
}



.figura_modal_icons{
    width: 20px; height: 20px; margin-right: 0.5rem
}

.descr_figura{
    text-align: justify;
    font-weight: bold;
}

.figura_modal_icons_text{
    text-decoration: none; font-size: 13px;
}

.figura_modal_link{
    color: #006233; font-size: 13px;
}

.figura_modal_directivo{
    color: #333333cd; text-align: justify; font-size: 15px; line-height: 2;
}

.figura_modal_info_titulo{
    color: #333333cd; text-align: start;
}

.btn.carrusel_directivo_info:hover span {
  transition: color 0.3s ease;
}

.carousel-control-prev-historia-icon {
  background-image: url('/static/icons/izquierda.png'); 
}

.carousel-control-next-historia-icon {
  background-image: url('/static/icons/derecha.png'); 
}

.sombra-superior {
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.10);
}

.sombra-inferior {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
}



@media (min-width: 1100px) {
    .figura_img{
        width: 100%;
        height: 400px
    }

}
@media (max-width: 1100px) {
    .figura_img{
        width: 70%;
        height: 400px
    }
      
}

@media (min-width: 800px) {
    .carrusel_historia_div{
        width: 150px;
        background-color: transparent; 
        max-height: 200px 
    }

}
@media (max-width: 800px) {
    .carrusel_historia_div{
        width: 110px;
        background-color: transparent; 
        max-height: 200px 
    }
      
}
 