/* ============================================================
   RESET CSS (Estilos por defecto removidos)
   Basado en normalize + simplificación
   ============================================================ */

   *,
   *::before,
   *::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   html, body {
     height: 100%;
     font-family: "Public Sans", sans-serif;
     line-height: 1.5;
     background-color: #fff;
     color: #000;
     scroll-behavior: smooth;
   }
   
   img, picture, video, canvas, svg {
     display: block;
     max-width: 100%;
   }
   
   input, button, textarea, select {
     font: inherit;
   }
   
   a {
     text-decoration: none;
     color: inherit;
   }
   
   ul, ol {
     list-style: none;
   }

   h2{
    font-weight: 700;
    font-size: 1.5rem;
   }

   img{
    height: auto;
   }
   table {
     border-collapse: collapse;
     width: 100%;
   }
   .hero {
    padding: 0;
  }
  
  .icon-card {
    text-align: center;
    padding: 1rem;
  }
  .section-purple {
    background-color: #8358ce;
    color: white;
    padding: 0;
    position: relative;
  }
  .bg-primary{
    background-color: #004EAA !important;
  }
  .font-400{
    font-weight: 400;
  }
  .font-600{
    font-weight: 600;
  }
  .color-orange{
    color: #CE1800;
  }
  .color-blue{
    color: #004EAA;
  }
  .color-lightblue{
    color: #C0D0FF;
  }
  .color-gray{
    color: #ccc;
  }
  .color-white{
    color: #FFFFFF;
  }
  .color-purple{
    color: #BD8BF2;
  }
  .translateY-30{
    transform: translateY(-30%);
  }
  /* =========== FONTS ========== */
  @font-face {
    font-family: 'gothamblack';
    src: url('../fonts/gotham-black-webfont.woff2') format('woff2'),
         url('../fonts/gotham-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gothambold';
    src: url('../fonts/gotham-bold-webfont.woff2') format('woff2'),
         url('../fonts/gotham-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gothambook';
    src: url('../fonts/gotham-book-webfont.woff2') format('woff2'),
         url('../fonts/gotham-book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gothammedium';
    src: url('../fonts/gotham-medium-webfont.woff2') format('woff2'),
         url('../fonts/gotham-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'korolev_compressedbold';
    src: url('../fonts/korolev_compressed_bold-webfont.woff2') format('woff2'),
         url('../fonts/korolev_compressed_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'korolev_compressedheavy';
    src: url('../fonts/korolev_compressed_heavy-webfont.woff2') format('woff2'),
         url('../fonts/korolev_compressed_heavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'korolev_compressedlight';
    src: url('../fonts/korolev_compressed_light-webfont.woff2') format('woff2'),
         url('../fonts/korolev_compressed_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'korolev_compressedmedium';
    src: url('../fonts/korolev_compressed_medium-webfont.woff2') format('woff2'),
         url('../fonts/korolev_compressed_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
.font-gothamblack{
  font-family: 'gothamblack';
}
.font-gothambold{
  font-family: 'gothambold';
}
.font-gothambook{
  font-family: 'gothambook';
}
.font-gothammedium{
  font-family: 'gothammedium';
}
.font-korolev_compressedbold{
  font-family: 'korolev_compressedbold';
}
.font-korolev_compressedheavy{
  font-family: 'korolev_compressedheavy';
}
.font-korolev_compressedlight{
  font-family: 'korolev_compressedlight';
}
.font-korolev_compressedmedium{
  font-family: 'korolev_compressedmedium';
}
   /* ============================================================
      ESTRUCTURA PRINCIPAL DEL CSS
      ============================================================ */
   
   /* ========== HEADER ========== */
   /* Aquí puedes poner estilos personalizados para el header */
   
   /*
   header {
     background-color: #f8f9fa;
   }
   */
   .topbar{
    background-color: #004EAA;
    color: #FFFFFF;
    padding: 10px;
   }
   .topbar i{
    color: #ffffff;
   }
   .topbar span{
    color: #85A3FF;
   }
   .topbar span:hover{
    text-decoration: underline;
   }
   .topbar .topLink{
    font-size: 13px;
   }
   .logo-bar{
    padding: 25px 0;
   }
   .navbar{
    box-shadow: -1px 4px 10px 1px rgba(0,0,0,0.1);
-webkit-box-shadow: -1px 4px 10px 1px rgba(0,0,0,0.1);
-moz-box-shadow: -1px 4px 10px 1px rgba(0,0,0,0.1);
   }

   /* ========== SEARCH EFFECTS ========= */
   .search-item{
    position: relative;
    width: 300px;
    height: 30px;
    max-width: 100%;
   }
   .searchcontainer {
    position: relative;
    margin: 10px auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 30px;
    max-width: 100%;
  }
  .searchcontainer .search {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 1s;
    z-index: 4;
  }
  .searchcontainer .search:hover {
    cursor: pointer;
  }
  .searchcontainer .search::before {
    content: "";
    position: absolute;
    margin: auto;
    top: 13px;
    right: 0;
    bottom: 0;
    left: 13px;
    width: 8px;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(45deg);
    transition: all 0.5s;
  }
  .searchcontainer .search::after {
    content: "";
    position: absolute;
    margin: auto;
    top: -5px;
    right: 0;
    bottom: 0;
    left: -5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
  }
  .searchcontainer input {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 30px;
    outline: none;
    border: none;
    background: rgb(20, 73, 220);
    color: white;
    padding: 0 10px 0 10px;
    border-radius: 10px;
    transition: all 1s;
    opacity: 0;
    z-index: 5;
  }
  .searchcontainer input:hover {
    cursor: pointer;
  }
  .searchcontainer input:focus {
    width: 300px;
    opacity: 1;
    cursor: text;
    
  }
  .searchcontainer input:focus ~ .search {
    
    background: #fff;
    z-index: 6;
  }
  .searchcontainer input:focus ~ .search::before {
    top: 0;
    left: 0;
    width: 25px;
  }
  .searchcontainer input:focus ~ .search::after {
    top: 0;
    left: 0;
    width: 25px;
    height: 2px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0%;
    transform: rotate(-45deg);
  }
  .searchcontainer input::placeholder {
    color: white;
    opacity: 0.5;
  }
  .social-links i{
    color: rgba(0, 78, 170, 1);
    font-size: 20px;
  }

  .navbar-nav .nav-item{
    color: #7f7f7f;
  }
  #navbar-scrolled{
    display: none;
    transition: all 0.5s;
  }
  #sticky-navbar{
    transition: all 0.5s;
  }
  #sticky-navbar.scrolled{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.5s;
  }
  #sticky-navbar.scrolled #navbarScroll{
    justify-content: right !important;
  }
  #sticky-navbar.scrolled #navbar-scrolled{
    display: block;
    width: 200px;
    transition: all 0.5s;
  }
   /* ========== SLIDER / HERO ========== */
   /* Estilos del slider, carrusel o sección principal visual */
   .slider {
      margin: 10px auto;
  }

  .slick-slide {
    margin: 0px 5px;
  }

  .slick-slide img {
    width: 100%;
  }

  .slick-prev:before,
  .slick-next:before {
    color: black;
  }

  .slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
  }

  .slick-active {
    opacity: 1;
  }

  .slick-current {
    opacity: 1;
  }
  .slider-img{
    width: 100%;
    height: 70vh;
  }
  .home-slider h1{
    font-size: 4.5vw;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
  }
  .home-slider{
    padding: 0;
  }
  .home-slider:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 100%;
    background: #004EAA;
    background: linear-gradient(0deg, rgba(0, 78, 170, 1) 0%, rgba(0, 78, 170, 1) 50%, rgba(149, 104, 198, 1) 50%, rgba(149, 104, 198, 1) 100%);
  }
  .home-slider .section-text{
    padding: 20px;
  }
   
   /* ========== MAIN CONTENT ========== */
   /* Estilos para secciones, tarjetas, contenido principal */
   .cards-section{
    transform: translateY(-30%);
    margin-bottom: -100px;
   }
   .cards-section .container,
   section.iniciativas .container{
    background-color: #ffffff;
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    padding: 20px;
    position: relative;
   }
   .cards-section .container:before,
   section.iniciativas .container:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 2rem;
    background-color: rgba(217, 217, 217, 1);
    left: 0;
    top: 80px;
   }
   .cuu-directo-container{
    margin: 10px;
    background: url('../img/escudo.svg') no-repeat top right;
    background-size: 25px;
   }
   .cuu-directo-container h2,
   section.iniciativas h2,
   .unidades-slider h2{
    margin-bottom: 30px;
   }

   /* ========== INICIATIVAS ============ */
   section.iniciativas .container{
    border: solid 1px #ccc;
    padding-top: 20px;
    padding-bottom: 20px;
   }
  .card,
   .unidades-slider .card{
    width: 300px;
    max-width: 100%;
    margin: 20px auto !important;
    display: block;
    position: relative;
   }
   section.iniciativas .card,
   .card,
   .unidades-slider .card{
    border: none;
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.2);
    margin: 20px 0;
    border-radius: 0;
   }
   .integrantes-slider .card{
        width: 200px;
    height: 200px;
    padding: 15px 10px;
   }
   .integrantes-slider img{
    margin: auto;
   }
    .integrantes-slider h3{
      font-size: 1.2rem;
    }
    .integrantes-slider p{
      font-size: .9rem;
    }
   section.iniciativas h2{
    position: relative;
   }
   section.iniciativas h2 i, 
   section.iniciativas .card h4 i,
   section.transparencia-single .card h4 i,
   .card h4 i{
    position: absolute;
    right: 15px;
    top: 30%;
   }
   section.iniciativas .card h4,
   section.transparencia-single .card h4,
   .card h4{
    font-size: 1rem;
    position: relative;
    padding: 1rem;
    background-color: #FFFFFF;
   }
   .card-body{
    padding: 0;
   }
   .memorias .card{
    width: 280px;
   }
   .bg-ac{
    background-image: url('../img/FondoAC.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
   }
   .bg-ac h3{
    text-transform: uppercase;
    font-size: 2.2rem;
   }
   .bg-ac .btn{
    position: absolute;
    bottom: 20px;
    left: 10%;
    width: 80%;
    background-color: #8358ce;
    border-radius: 0;
    text-align: left;
   }
   .bg-ac .btn i{
    position: absolute;
    right: 10px;
    top: 10px;
   }
   .bg-ac:after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    right: 0;
    top: 0;
    background: #004EAA;
    background: linear-gradient(0deg, #9568C6 0%, #9568C6 50%, rgba(192, 208, 255, 1) 50%, rgba(192, 208, 255, 1) 100%);
   }
   .banner-mitch{
    background-image: url('../img/FondoMiTCh.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
   }
   .banner-mitch .mitch-text{
    position: absolute;
    bottom: 20px;
    width: 80%;
   }
   .banner-mitch h4{
    letter-spacing: 4px;
    font-size: 1.2rem;
   }
   .banner-mitch h2{
    font-size: 3.5rem;
    line-height: 3rem;
   }
   /* ============ PRENSA ================ */
   .prensa-btn{
    padding: 0;
    position: relative;
   }
   .prensa-btn:hover, .prensa-btn:hover i{
    color: #004EAA;
   }
   .prensa-btn i{
    color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 3px;
    right: 0;
   }
   .home-posts-container{
    max-height: 500px;
    overflow-y: scroll;
   }
   .post {
    padding-bottom: 1em;
    border-bottom: solid 1px rgba(0, 0, 0, 0.4);
  }
  .post img {
    max-width: 100%;
    height: auto;
  }
  .post a{
    border: none;
  }
  .recentpost-imgthumb{
    max-width: 120px;
  }
  .list-group .post img {
    margin-right: 1em;
    max-width: 100px;
  }
  .date {
    font-size: 0.9em;
    color: gray;
  }
  
  .gallery {
    display: flex;
    gap: 10px;
    margin-top: 1em;
  }
  
  .gallery img {
    
    height: auto;
  }
  .posts-container .card-text{
    font-size: 16px;
  }
  .pagination .page-link{
    color: #004EAA;
  }
  .thumbnail-post{
    float: left;
    margin-right: 15px;
  }
  .verdoc{
    color: #8358ce;
    font-weight: bold;
    display: block;
  }
  #nav-posts{
    height: 30px;
  }
.pagination .page-item.active .page-link {
  background-color: #004EAA;
  border-color: #004EAA;
  color: white; 
}

.pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:focus {
  background-color: #004EAA;
  border-color: #004EAA;
  color: white;
}

   /*
   .section-title {
     font-size: 2rem;
     font-weight: bold;
   }
   */
/* ======== DIRECTORIO =========*/
.accordion-container {
  max-width: 800px;
  margin: 2rem auto;
}
.accordion-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
#accordionsearch.form-control {
  background-color: #eef1f4;
  border: none;
  margin-bottom: 1rem;
}
.accordion-button::after {
  transform: scale(1.2);
}
.accordion-button:not(.collapsed) {
  color: #004aad;
  background-color: #ffffff;
  box-shadow: none;
}
.accordion-button {
  font-weight: bold;
  color: #666;
}
.accordion-subcontent{
    padding: 0 1.5rem 1rem;
    word-break: break-all;
}
.accordion-subcontent p {
  margin: 0;
}
.email-link {
  color: #004aad;
  text-decoration: none;
}
.email-link:hover {
  text-decoration: underline;
}
.text-muted {
  font-size: 0.9rem;
}
.ul-dotted{
  list-style: disc;
}
ul.list-files {
  padding-left: 0;
}
ul.list-files li{
  padding-left: 90px;
  position: relative;
  min-height: 100px;
  padding-top: 0;
}
ul.list-files li:before{
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  position: absolute;
  background: url(../img/escudo-icono-chih.png) #004EAA no-repeat center center;
  background-size: 60% auto;
  left: 0;
  top: 0;
}
ul.purple-list-files li:before{
  background: url(../img/escudo-icono-chih.png) #9568C6 no-repeat center center;
  background-size: 60% auto;
}
ul.list-files .weight{
  font-size: 13px;
}
/* ================  PBR ========================*/
.pbr-title{
  background: url(../img/bg-header-pbr.png) #fff no-repeat center center;
  background-size: cover;
}
.pbr-title img{
  margin: 11vh auto;
    width: 60%;
    max-width: 100%;
}
#pbr-tabContent{
  transform: translateY(-48px);
}
.pbr-tabs{
  transform: translateY(-48px);
}
.pbr-tabs .nav-tabs .nav-link{
  margin: 0 5px;
  padding: 10px 25px;
  font-weight: 600;
  position: relative;
  border-radius: 15px 15px 2px 2px;
-webkit-border-radius: 15px 15px 2px 2px;
-moz-border-radius: 15px 15px 2px 2px;
}
.pbr-tabs .nav-tabs .nav-link:last-child{
  margin-right: 0;
}
.pbr-tabs .nav-tabs .nav-link.active:after{
  content: '';
  width: 100%;
  height: 5px;
  background-color: #004EAA;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.pbr-tabs .nav-tabs .nav-link.disabled{
  background-color: rgba(207, 207, 207, 0.25);
  border-radius: 0;
  -webkit-border-radius: 0;
-moz-border-radius: 0;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
}
.pbr-tabs .tab-content{
  width: 100%;
}
#pbr-tabContent{
  border-bottom: solid 1px #CFCFCF;
}
#pbr-tabContent .nav-pills .nav-link{
  border-radius: 0;
  position: relative;
  border-left: solid 8px rgba(0, 0, 0, 0);
  width: 250px;
  text-align: left;
  padding: 12px 20px;
  border-bottom: solid 1px #CFCFCF;
  color: #000000;
  
}
#pbr-tabContent .nav-pills .nav-link.active{
  background-color: #004EAA;
  border-left: solid 8px #9568C6;
  color: #ffffff;
}
#pbr-tabContent .nav-pills .nav-link.disabled{
  color: rgba(207, 207, 207, 0.5);
}
#pbr-tabContent .nav-pills .nav-link:last-child{
  border-bottom: none;
}
#pbr-tabContent .nav-pills .nav-link i{
  color: rgba(207, 207, 207, 0.5);
  position: absolute;
  top: 33%;
  right: 15px;
}
#pbr-tabContent .nav-pills .nav-link.active i{
  color: #ffffff;
}
#pbr-tabContent .tab-content{
  padding: 20px;
  width: 100%;
  border-left: solid 1px #CFCFCF;
}
.anchor-container{
  padding: 10px 20px;
  border: solid 1px #D9D9D9;
  border-radius: 10px;
      margin: 10px 0 25px;
}
.anchor-container a{
  color: #004EAA;
  text-decoration: underline;
}
#pbr-disclaimer{
  border: solid 1px #004EAA;
  border-radius: 30px;
  padding: 25px;
}
/* ============= UNIDADES Y COMITES =============*/
.bg-imageuyc{
  background: url("../img/bg-uyc.png") no-repeat top right;
  min-height: 350px;
}
.bg-imageuyc .mask{
  padding: 130px 0;
}
.unidades-slider{
  margin: -10px 100px 0;
  transform: translateY(-30%);
}
.unidades-text{
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10% 30px;
}
.denuncias-block{
  box-shadow: 1px 1px 17px 1px rgba(0,0,0,0.19);
-webkit-box-shadow: 1px 1px 17px 1px rgba(0,0,0,0.19);
-moz-box-shadow: 1px 1px 17px 1px rgba(0,0,0,0.19);
padding: 0;
}
.denuncias-block h2{
  font-size: 3rem;
}
.denuncias-block-title{
  color: #fff;
  background-color: #004EAA;
  position: relative;
  padding: 10px 20px;
}
.denuncias-block-title .fa-chevron-right{
  position: absolute; 
  top: 25%;
  right: 15px;
}
.denuncias-block-text{
  padding: 0;
  max-width: 100%;
}
.memorias{
  background-image: url('../img/bg-memorias.png');
  background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    position: relative;
  
}
.directorio-integrantes{
  padding-top: 20px;
  border: solid 1px #D9D9D9;
}
.integrantes-slider .card-body img{
  width: 50%;
  margin-bottom: 20px;
}
.actas-sesion .accordion-body{
  border: solid 1px #CFCFCF;
  margin-bottom: 25px;
}
.actas-sesion .accordion-body .accordion-subcontent{
  border: solid 1px #CFCFCF;
  margin: 20px;
  padding: 15px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.actas-sesion .accordion-body .accordion-subcontent .fa-file{
    float: left;
    width: 30px;
    height: 54px;
    font-size: 30px;
    line-height: 1.3;
    margin-right: 10px;
}
.sub-denuncias-block{
  border: solid 1px #CFCFCF;
  padding: 30px;
}
   /* ========== FOOTER ========== */
   /* Estilos para el footer */
   
   .footer {
        background-color: #ffffff;
        padding: 2rem 0;
    }
    .footer .social-links{
      margin-top: 1.5rem;
    }
   .footer .social-links i{
    font-size: 18px;
   }
   footer hr{
    border: 0;
   }
   .enlaces-footer{
    position: relative;
   }
   .enlaces-footer:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: 2rem;
    background-color: rgba(217, 217, 217, 1);
   }
   .footer h3{
    color: rgba(0, 78, 170, 1);
    font-weight: 800;
    font-size: 1.1rem;
   }
   .footer ul{
    padding: 0;
   }
   .footer ul li{
    font-weight: 400;
    font-size: .8rem;
    margin: 6px auto;
   }
   .enlaces-footer ul li a:hover{
    color: rgba(0, 78, 170, 1);
    text-decoration: underline;
   }
   .footer .copy{
    font-size: .8rem;
    color: #5D5A57;
   }
   .footer .decoration-bar{
    width: 100%;
    height: 6px;
    margin-top: 6px;
    background: #004EAA;
    background: linear-gradient(90deg, rgba(0, 78, 170, 1) 0%, rgba(0, 78, 170, 1) 70%, rgba(149, 104, 198, 1) 70%, rgba(149, 104, 198, 1) 100%);
   }
   /* ============================================================
      MEDIA QUERIES
      ============================================================ */
   
   /* Dispositivos pequeños (teléfonos) */
   @media (max-width: 576px) {
     /* Estilos específicos para móviles */
     .logo-bar{
      padding: 25px;
     }
     .slider-img{
      width: 100%;
      height: 40vh;
    }
    .home-slider h1{
      font-size: 32px;
      letter-spacing: 0px;
    }
   }
   
   /* Dispositivos medianos (tablets) */
   @media (min-width: 577px) and (max-width: 768px) {
     /* Estilos para tablets o pantallas pequeñas */
   }
   
   /* Dispositivos grandes (escritorio) */
   @media (min-width: 769px) {
     /* Estilos para pantallas de escritorio */
   }
   @media (max-width: 991px) {
    .navbar-toggler{
      position: absolute;
    right: 25px;
    top: -60px;
    }
    #header-social{
      display: none;
    }
   }
   