/*
    Theme Name: Sercotec
    Theme URI: 
    Author: Gerencia de Tecnología y Sistemas Sercotec - Cristina Rivera L.
    Author URI: https://www.sercotec.cl
    Description: Theme Diseñado para sitio web de Sercotec
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Sercotec
    Text Domain: Sercotec, mobile first, bootstrap,
*/

/*@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&family=Staatliches&display=swap');*/

@import url("./css/buttons.css");
@import url("./css/footer.css");
@import url("./css/header.css");
@import url("./css/news_modulos.css");
@import url("./css/tab_inicio.css");
@import url("./css/banner.css");
@import url("./css/cards.css");
@import url("./css/menu_main.css");
@import url("./css/programa-fichas.css");
@import url("./css/container.css");



html {
  margin: 0;
  /* Elimina márgenes */
  padding: 0;
  /* Elimina relleno */
  overflow-x: hidden;
  /* Oculta el scroll horizontal */
}
html, body {
  min-height: 100%;
}


body {
  margin: 0;
  background-color: #fff !important;
  font-family: "Roboto", sans-serif!important;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /*padding-top:144px;  */

}
main {
  padding-top: 144px;
}

body>footer {
  position: sticky;
  top: 100vh;
}

:root {
  --red-wp: 232, 56, 95;
}

/*GLIDE CAROUSEL INICIO*/

.glide-carousel-inicio {
  display: none;
}

@media (min-width: 768px) {
  .glide-carousel-inicio {
    display: block;
  }
}

.glide-carousel-inicio-mob {
  display: block;
}

@media (min-width: 768px) {
  .glide-carousel-inicio-mob {
    display: none;
  }
}

.glide-carousel-inicio h1,
.container-enlaces-inst h1,
.container-noticias-inicio h1,
.container-noticias-inicio-mob h1{
  color: rgba(var(--font-color), 1);
  font-size: var(--font-size-h1-mob);
  font-family: var(--font-family-sans-s);
  font-weight: 700;
}

@media (min-width: 800px) {

  .glide-carousel-inicio h1,
  .container-enlaces-inst h1,
  .container-noticias-inicio h1 {
    font-size: var(--font-size-h1);
  }
}

.glide__bullet {
  background-color: white;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 10px 5px;
  cursor: pointer;
  border: 1px solid #e3e3e3 !important;
}

.glide__bullet--active {
  background-color: #e3e3e3 !important;
  /* Cambia el color del botón activo si es necesario */
  border: none;
}

.glide__track {}

/*GLIDE CAROUSEL INICIO*/

/*GLIDE CAROUSEL INICIO VERSION MOBILE*/

.glide__bullet.mobile.left {
  width: 40px;
  height: 40px;
  margin: 10px 5px;
  cursor: pointer;
  background-image: url(img/glide_arrow_left.svg);
  background-repeat: no-repeat;
  background-color: #fff !important;
  border: 1px white solid !important;
}

.glide__bullet.mobile.right {
  width: 40px;
  height: 40px;
  margin: 10px 5px;
  cursor: pointer;
  background-image: url(img/glide_arrow_right.svg);
  background-repeat: no-repeat;
  background-color: #fff !important;
  border: 1px white solid !important;
}

/*GLIDE CAROUSEL INICIO VERSION MOBILE*/

/*ESTILOS ENLACES INSTUCIONALES*/
.enlaces-inst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 auto;
  padding: 40px;
  max-width: 1280px;
}

div.link-enlaces-mob p,
div.link-enlaces p {
  padding: 16px 12px;
  margin: 0 0 5px 0;
  font-size: 1.125rem;
  font-weight: normal;
  text-align: center;
  color: var(--font-color);
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

/* Altura más grande en móviles */
@media (max-width: 800px) {
  div.link-enlaces-mob p {
    font-size: 1rem;
  }
}

div.link-enlaces-mob a,
div.link-enlaces a {
  color: var(--font-color);
  text-decoration: none;
}



div.link-enlaces {
  border: 1px solid white;
  background-image: url(img/ei-line.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 170px 4px;
  height: fit-content;
  margin: 16px 8px;
  transition: .3s;
  border-radius: 10px;

}

div.link-enlaces-mob {
  background-color: white;
  border: 1px solid rgba(var(--grey-10), 1);
  border-radius: 10px;
  background-image: url(img/ei-line.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 120px 4px;
  height: 110px;
  margin: 16px 8px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  max-width: 190px;
  min-width: 140px;
}

/* Altura más grande en móviles */
@media (max-width: 448px) {
  div.link-enlaces-mob {
    background-size: 80px 4px;
  }
}

div.link-enlaces:hover {
  border: 1px solid rgba(var(--grey-20), 1);
  border-radius: 10px;
}

div.link-enlaces:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1)
}

/*ESTILOS ENLACES INSTUCIONALES*/

/*BANNER PRINCIPAL ESTILOS*/
#bannerCarousel {
  max-height: 370px;
  overflow: hidden;
}

#bannerCarousel img {
  height: auto;
  max-height: 370px;
  object-fit: cover;
  /* Asegura que la imagen se vea bien sin deformarse */
}

/* Altura más grande en móviles */
@media (max-width: 768px) {
  #bannerCarousel {
    max-height: 400px;
  }
}

/*BANNER PRINCIPAL ESTILOS*/

.glide__slides {
  gap: 16px;
  /* Ajusta el espacio entre los slides */
}

ul.glide__slides li img.calg-mob {
  min-width: 140px;
  margin: 8px 0;
}

/*Impulso módulo - Cuestionario*/

section div.modulo-cuestionario {
  margin: 2rem;
  background-color: rgba(var(--base-blue-light-4), 0.3);
  border: 1px solid rgba(var(--base-blue-light-4), 1);
  border-radius: var(--border-radius-cards);
  /* width: 100%;*/
  padding: var(--padding-cards);
}

/* desde 768px */
@media (min-width: 768px) {
  section div.modulo-cuestionario {
    width: 48%;
    margin: 4rem auto 3rem auto;
  }
}

section div.modulo-cuestionario p {
  font-size: var(--font-size-h4-mob);
  font-weight: 600;
  color: rgba(var(--font-color), 1);
}

/* desde 768px */
@media (min-width: 768px) {
  section div.modulo-cuestionario p {
    font-size: var(--font-size-h4);
  }
}

/* desde 768px */
@media (min-width: 768px) {
  section div.modulo-cuestionario .nave {
    position: absolute;
    top: -117px;
  }
}

/* desde 768px */
@media (min-width: 768px) {
  section div.modulo-cuestionario .red-btn-cuest {
    position: absolute;
    top: 34px;
  }
}




/*ROOT QUE SE VA A EL KIT-UI*/
:root {
  --heading-x-large: 2.62rem; /*un h1 de referencia 42px*/
  --heading-x-large-mob: 2rem; /*32px*/
  --heading-large: 2.25rem; /*un h1 de referencia 36px*/
  --heading-large-mob: 1.5rem; /*un h1 de referencia 24px*/
  --heading-medium: 1.5rem; /*un h2 de referencia 24px*/
  --heading-medium-mob:1.125rem;/*un h2 de referencia 20px*/
  --heading-small:1.18rem; /*un h3 de referencia 19px*/
  --heading-small-mob:1rem;  /*un h3 de referencia 16px*/ 
  --base-blue-dark-2: 0, 59, 141; /*Primario darken-2*/
  --spacing-xxl: 62px;
  --spacing-xl:  48px;
  --spacing-l: 36px;
  --spacing-m:  24px;
  --spacing-s: 16px;
  --spacing-xs: 8px;
  --spacing-xxs: 4px;
  --link-visited: 76, 44, 146; /*#4C2C92, es morado*/
  --link-hover-blue: 0, 48, 120; /*#003078, es el azul para hover del kit*/


}
/*ROOT QUE SE VA A EL KIT-UI*/

/*ACA VAN LOS ESTILOS DE LAS CAJA DE COLUMNA DERECHA + EL SIDEBAR*/
.content-wrapper {
  gap: 2rem; /* Espacio entre columnas */
}



.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-content,
.sidebar {
  width: 100%;
}
@media (min-width: 992px) {
  .content-wrapper {
    flex-direction: row;
  }

  .main-content {
    flex: 0 0 67%;
    max-width: 67%;
  }

  .sidebar {
    flex: 0 0 33%;
    max-width: 33%;
  }
}



/*TÍTULOS*/
.main-content h1, .main-content-oficinas h1, .content-wrapper h1, .container-programa-mobile h1, .main-preguntas h1, 
.main-content-cooperativas h1{
  font-size: var( --heading-x-large-mob);
  font-family: var( --font-family-sans-s);
  color: rgba(var(--font-color), 1)!important;
  line-height: normal;
  font-weight: 700;
  padding: 0;
  margin-bottom: calc(var(--heading-large-mob) * 0.8);
}

@media (min-width: 800px) {
 .main-content h1, .main-content-oficinas h1, .main-preguntas h1, .main-content-cooperativas h1 {
    font-size: var(  --heading-x-large);
    margin-bottom: calc(var(--heading-large) * 0.8);
  }
}



.main-content h2, .main-content-oficinas h2, .gray-box h2, .light-blue-box-oficinas h2, .container-programa-mobile h2, 
.main-content-cooperativas h2 {
  font-size: var(--heading-medium-mob);
  font-family: var( --font-family-sans-slab);
  color: rgba(var(--font-color), 1)!important;
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: calc(var(--heading-medium-mob) * 0.7);
}

@media (min-width: 800px) {
 .main-content h2, .main-content-oficinas h2, .gray-box h2, .light-blue-box-oficinas h2, .main-content-cooperativas h2  {
    font-size: var(--heading-medium);
    margin-bottom: calc(var(--heading-medium) * 0.7);
  }
}


 .gray-box h4{
  font-size: var(--heading-small-mob);
  font-family: var( --font-family-sans-slab);
  color: rgba(var(--font-color), 1)!important;
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: calc(var(--heading-small-mob) * 0.7);
}

@media (min-width: 800px) {
 .gray-box h4 {
    font-size: var( --heading-small);
    margin-bottom: calc(var( --heading-small) * 0.7);
  }
}



.main-content h3, .main-content-oficinas h3 {
  font-size: var(--heading-small-mob);
  font-family: var( --font-family-sans-slab);
  color: rgba(var(--font-color), 1);
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: calc(var(--heading-medium-mob) * 0.7);
}

@media (min-width: 800px) {
 .main-content h3, .main-content-oficinas h3{
    font-size: var(--heading-small);
    margin-bottom: calc(var(--heading-small) * 0.7);
  }
}


.gray-box h3 {
  font-size: var(--heading-medium-mob);
font-family: var( --font-family-sans-slab);
  color:rgba(var(--base-blue-dark-1), 1);
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: calc(var(--heading-medium-mob) * 0.7);
}

@media (min-width: 800px) {
 .gray-box h3  {
    font-size: var(--heading-medium);
    margin-bottom: calc(var(--heading-medium) * 0.7);
  }
}


.main-content h4, .main-content-oficinas h4 {
  font-size: var(--heading-small);
  font-family: var( --font-family-sans-slab);
  color: rgba(var(--font-color), 1);
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: calc(var(--heading-small) * 1.2);
}

@media (min-width: 800px) {
 .main-content h4, .main-content-oficinas h4 {
    font-size: var(--heading-small);
    margin-bottom: calc(var(--heading-small) * 1.2);
  }
}



.main-content p, .main-content-oficinas p {
  font-size: var(--heading-small-mob);
  font-family: var( --font-family-sans-s);
  color: rgba(var(--font-color), 1);
  line-height: 1.5;
  font-weight: normal;
  padding: 0;
  margin-bottom: calc(var(--heading-medium-mob) * 0.8);
}

@media (min-width: 800px) {
.main-content p, .main-content-oficinas p {
  font-size: var(--heading-small-mob);
  margin-bottom: calc(var(--heading-small-mob) * 0.8);
  }
}

.content-block + .content-block {
  margin-top: 36px; /* separación entre bloques */
}


 
.main-content-error h1 {
  font-size: var( --heading-large);
  font-family: var(--font-family-sans-slab);
  line-height: normal;
  font-weight: 400;
  padding: 0;
  margin-bottom: calc(var(--heading-large-mob) * 0.8);
  color: rgba(var(--base-blue), 1);
}

@media (min-width: 800px) {
 .main-content-error h1 {
    font-size: 3rem;
    margin-bottom: calc(var(--heading-large) * 0.8);
  }
}

.main-content-error h2 {
  font-size: var(--heading-small-mob);
  font-family: var(--font-family-sans-s);
  line-height: normal;
  font-weight: 400;
  padding: 0;
  margin-bottom: calc(var(--heading-large-mob) * 0.8);
  color: rgba(var(--font-color), 1);
}

@media (min-width: 800px) {
 .main-content-error h2 {
    font-size: var(--heading-small);
    margin-bottom: calc(var(--heading-small) * 0.8);
  }
}


.inner-news .date  {
  font-size: var( --font-size-small);  
  color: rgba(var(--font-color), 1);
  font-weight: 500;
}


.inner-news a, main.container-programas .content-block a {
  color: rgba(var(--base-blue-dark-1),1)!important;
  text-decoration: underline;
  font-weight: 700;
}

.inner-news a:link,  main.container-programas .content-block a:link{
  color: rgba(var(--base-blue-dark-1),1)!important;
  text-decoration: underline;
  font-weight: 700;
}

.inner-news a:visited{
  color: rgba(var(--link-visited), 1);  
}

.inner-news a:hover{
  color: rgba(var(--base-blue-dark-4),1)!important;
  text-decoration: underline;
}


.inner-news a:active  {
  color: rgba(var(--base-blue-dark-3), 1)!important;
}

.inner-news a:focus  {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--yellow-focus),1)
}




.noticia-img {
  width: 100%;
  min-width: 320px; /* tamaño más bien cuadrado en móvil */
  aspect-ratio: 1 / 1; /* mantiene forma cuadrada */
  border-radius:var( --border-radius-cards-2); /* o el valor que prefieras */
  object-fit: cover;
  display: block;
  margin-bottom: var( --spacing-s);
}

/* A partir de 800px (desktop) */
@media (min-width: 800px) {
  .noticia-img {
    max-width:844px;
    height: 340px;
    aspect-ratio: auto; /* desactiva el cuadrado */
  }
}

.light-blue-box-news {
  background-color: rgba(var( --base-info-light-4), 0.6);
  padding: var(--padding-cards);
  border-radius: var( --border-radius-cards-2);
  margin-bottom: var(--spacing-m);
}


.light-blue-box-news p.bajada {
  font-size: var( --heading-small-mob);  
  color: rgba(var(--font-color), 1);
  font-family: var(--font-family-sans-slab);
  margin-bottom: calc(var(--heading-small-mob) * 0.8);
}

@media (min-width: 800px) {
 .light-blue-box-news p.bajada  {
  font-size: var(--heading-small);
  margin-bottom: calc(var( --heading-small) * 0.8);
  color: rgba(var(--font-color), 1);
  font-family: var(--font-family-sans-slab);
  }
}



a img.icon-link{
  filter: brightness(0) saturate(100%) invert(14%) sepia(65%) saturate(5568%) hue-rotate(199deg) brightness(93%) contrast(105%);
}

a:hover img.icon-link{
filter: brightness(0) saturate(100%) invert(11%) sepia(83%) saturate(2779%) hue-rotate(214deg) brightness(91%) contrast(107%);
}

a img.icon-link:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
}

a:active img.icon-link{
filter: brightness(0) saturate(100%) invert(8%) sepia(46%) saturate(4437%) hue-rotate(224deg) brightness(89%) contrast(107%);
}

a:visited img.icon-link{
filter: brightness(0) saturate(100%) invert(8%) sepia(46%) saturate(4437%) hue-rotate(224deg) brightness(89%) contrast(107%);

}

/* Focus accesible */
.social-link:focus,
.social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
}

.social-link {
  margin: 0 4px 0 0;
  padding: 0;
  line-height: 0; /* clave */
  width: 24px;
  height: 24px;
}


/*ACA VAN LOS ESTILOS DE LAS CAJA DE COLUMNA DERECHA + EL SIDEBAR*/



/*ACA VA EL RESTO DE ATOMOS*/

/* ==========  LIST ESTILO ========== */
.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}

.check-list li::before {
  content: "";
  background-image: url(img/check-list.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 1rem;
  height: 1rem;
  left: 0;
  top: 0.4rem;
}


.check-list-white {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list-white li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}

.check-list-white li::before {
  content: "";
  background-image: url(img/check-list-white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 1rem;
  height: 1rem;
  left: 0;
  top: 0.4rem;
}



.square-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.square-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}
 

ul.square-list li a:link, ul.square-list-2 li a:link {
  color: rgba(var(--font-color), 1);
  text-decoration: none;
}

ul.square-list li a:visited {
  color: rgba(var(--link-visited), 1);
}

ul.square-list li a:hover, ul.square-list-2 li a:hover {
  color: rgba(var(--base-blue-dark-1), 1);
  text-decoration: underline;
}

ul.square-list li a:active, ul.square-list-2 li a:active {
  color: rgba(var(--base-blue-dark-3), 1);
}

ul.square-list li a:focus, ul.square-list-2 li a:focus, ul.square-list-sust li a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
}



.square-list li::before, ul.square-list-2 li::before {
  content: "";
  background-image: url(img/square-list.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0.6rem;
}

.square-list li.is-active a {
  color: rgba(var(--base-blue-dark-3), 1);
  font-weight: 600;
  text-decoration: underline;
}

.square-list li.is-active a:hover {
  text-decoration: underline;
}


.square-list-2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.square-list-2 li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}
 

ul.square-list-2 li a {
color:var(--font-color);
text-decoration: underline;
font-weight: 500;
}


/* ==========  LIST ESTILO ========== */


.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;   /* Evita que se salga del contenedor */
  aspect-ratio: 16 / 9; /* Mantiene la proporción 16:9 sin usar padding hack */
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}




/*
.gray-box h3 {
  font-size: var(--font-size-h4-mob);
  font-family: var( --font-family-sans-slab);
  color: rgba(var(--font-color), 1);
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: 1rem;
}

@media (min-width: 800px) {
 .gray-box  h3 {
    font-size: var(--font-size-h4);
  }
}
*/

.gray-box p {
  color: rgba(var(--font-color), 1);
  font-size: var( --font-size-p);
  line-height: 1.5;
  margin-bottom: calc(var(--heading-medium) * 0.8);
}


.map-oficina-wrap iframe {
  width: 100%;       /* ocupa todo el ancho del div */
  height: 242px;     /* alto fijo */
  border: 0;         /* opcional, elimina borde gris */
  display: block;    /* evita espacios en blanco */
  border-radius: 8px;
  margin: 0 0 1rem 0;
}





/*
.light-blue-box-oficinas h3 {
  font-size: var(--font-size-h4-mob);
  font-family: var( --font-family-sans-s);
  color: rgba(var(--font-color), 1);
  line-height: normal;
  font-weight: 500;
  padding: 0;
  margin-bottom: 1rem;
}

@media (min-width: 800px) {
 .light-blue-box-oficinas  h3 {
    font-size: var(--font-size-h4);
  }
}
*/


/*OTROS*/
h2.color-blue-dark-1 {
    color: rgba(var(--base-blue-dark-1), 1)!important;
}

.color-blue-dark-2 {
  color: rgba(var(--base-blue-dark-2), 1)!important;
  /*filter: invert(18%) sepia(91%) saturate(1681%) hue-rotate(200deg) brightness(91%) contrast(109%);*/
}

/*OTROS*/


.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 34 !important;
}

/* Cambiar color global de todos los tooltips */
.tooltip-inner {
  background-color: rgba(var(--base-blue-dark-3), 1)!important; /* tu color de fondo */
  color: #fff !important; /* color del texto */
}

/* Cambiar la flechita (arrow) también */
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color:rgba(var(--base-blue-dark-3), 1)!important; 
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: rgba(var(--base-blue-dark-3), 1)!important; 
}

.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: rgba(var(--base-blue-dark-3), 1)!important; 
}

.tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: rgba(var(--base-blue-dark-3), 1)!important; 
}


.bluedark-3 {
  filter: brightness(0) saturate(100%) invert(11%) sepia(64%) saturate(3690%) hue-rotate(215deg) brightness(96%) contrast(105%);
}


/*
  --spacing-xxl: 62px;
  --spacing-xl:  48px;
  --spacing-l: 36px;
  --spacing-m:   24px;
  --spacing-s: 16px;
  --spacing-xs: 8px;
  --spacing-xxs: 4px;
*/

/* ESTILOS DE MARGIN Y PADDING */
.mt-xxl { margin-top: var(--spacing-xxl); }
.mb-xxl { margin-bottom: var(--spacing-xxl); }
.my-xxl { margin-top: var(--spacing-xxl); margin-bottom: var(--spacing-xxl); }

.mt-xl { margin-top: var(--spacing-xl); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.my-xl { margin-top: var(--spacing-xl); margin-bottom: var(--spacing-xl); }

.mt-l { margin-top: var(--spacing-l); }
.mb-l { margin-bottom: var(--spacing-l); }
.my-l { margin-top: var(--spacing-l); margin-bottom: var(--spacing-l); }

.mt-m { margin-top: var(--spacing-m); }
.mb-m { margin-bottom: var(--spacing-m); }
.my-m { margin-top: var(--spacing-m); margin-bottom: var(--spacing-m); }

.mt-s { margin-top: var(--spacing-s); }
.mb-s { margin-bottom: var(--spacing-s); }
.my-s { margin-top: var(--spacing-s); margin-bottom: var(--spacing-s); }

.mt-xs { margin-top: var(--spacing-xs); }
.mb-xs { margin-bottom: var(--spacing-xs); }
.my-xs { margin-top: var(--spacing-xs); margin-bottom: var(--spacing-xs); }

.mt-xxs { margin-top: var(--spacing-xxs); }
.mb-xxs { margin-bottom: var(--spacing-xxs); }
.my-xxs { margin-top: var(--spacing-xxs); margin-bottom: var(--spacing-xxs); }

.py-xxl { padding-top: var(--spacing-xxl); padding-bottom: var(--spacing-xxl); }

/* ESTILOS DE MARGIN Y PADDING */



.sidebar-news {

    margin-bottom: calc(var(--heading-medium-mob) * 0.7);
}

@media only screen and (min-width: 768px) {
.sidebar-news {
  margin-top: calc(var(--heading-medium-mob) * 1);
    margin-bottom: calc(var(--heading-medium-mob) * 0.7);

    }
}



.sidebar-news h3 {
    color: rgba(var(--font-color), 1);
    font-size: var( --heading-medium-mob);
    font-family:var(--font-family-sans-s);
    font-weight: 700;
    margin-bottom: calc(var(--heading-medium-mob) * 0.7);
}

@media only screen and (min-width: 768px) {
.sidebar-news h3{
    font-size: var( --heading-medium);

    }
}





/*CONTAINERS DE ACORDEON MOBILE y CONTAINER DESKTOP PROGRAMAS*/

.container-programa-mobile {
  display: block;
}

.container-programas-desktop {
  display: none;
}

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  .container-programas-desktop {
    display: block;
  }

  .container-programa-mobile {
    display: none;
  }
}

/*CONTAINERS DE ACORDEON MOBILE y CONTAINER DESKTOP PROGRAMAS*/



/*CONTAINERS DE ENLACES INSTITUCIONALES MOBILE y  DESKTOP*/
.container-ei-mobile {
  display: block;
}

.container-ei-desktop {
  display: none;
}

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  .container-ei-desktop {
    display: block;
  }

  .container-ei-mobile {
    display: none;
  }
}
/*CONTAINERS DE ENLACES INSTITUCIONALES MOBILE y  DESKTOP*/



/*IFRAME MODULO 3 PESTAÑAS*/
.modulo-iframe-inicio {
  margin-block: 3rem;
}

.iframe-wrapper {
  width: 100%;
}

.iframe-wrapper iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 600px; /* fallback mientras carga */
}
/*IFRAME MODULO 3 PESTAÑAS*/


/*ACORDEON PREGUNTAS FRECUENTES*/

.accordion-button.preguntas:not(.collapsed) {
  background-color: #F2F2F2;
}
/* quitar sombra azul solo en este acordeón */
.accordion-button.preguntas:focus {
  box-shadow: none;
}

/* mantener color en hover cuando está abierto */
.accordion-button.preguntas:not(.collapsed):hover {
  background-color: #F2F2F2;
}
.accordion .accordion-item:last-child {
  border-bottom: 1px solid #dee2e6!important; /* o el color que uses */
  border-radius: 0 0 8px 8px!important;
}

.accordion-button.preguntas:not(.collapsed) {
  background-color: #F2F2F2;
  border-bottom: 1px solid #dee2e6;
}

.accordion-button.preguntas:not(.collapsed):last-child {
  border-bottom: none!important;
}

.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
    border-bottom: 1px solid #dee2e6!important; /* o el color que uses */
}

.accordion-item:last-of-type>.accordion-collapse {
      border-bottom: 1px solid #dee2e6!important; /* o el color que uses */
      border-radius: 0 0 8px 8px!important;
}

.accordion.preguntas a {
  color: rgba(var(--base-blue-dark-2), 1);
  font-weight: 700;
}


.accordion.preguntas a:hover {
  color: rgba(var(--base-blue-dark-3),1);
}

.accordion.preguntas a:active  {
    color: rgba(var(--font-color),1);
}

.accordion.preguntas a:focus  {
   outline: none;
   background-color: rgba(var(--yellow-focus), 1);
   box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
   color: rgba(var(--font-color),1);
}

.accordion.preguntas a:visited   {
    color: rgba(var(--link-visited),1);
}


button.accordion-button.preguntas {
  font-weight:500;
  font-size: var(--heading-small);
}

/*ACORDEON PREGUNTAS FRECUENTES*/



/**/



/*ESTILOS DE COOPERATIVAS*/
.main-content-cooperativas{

}



 .main-content-cooperativas h2{
    color: rgba(var(--font-color), 1);
    font-size: var( --heading-large-mob);
    font-family: var(--font-family-sans-slab);
    line-height: 1.5;
    margin-bottom: calc(var(--heading-medium-mob) * 0.7);
    font-weight: 500;
  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  .main-content-cooperativas h2{
     font-size: var( --heading-large);
     margin-bottom: calc(var(--heading-large) * 0.7);
  }
}

 .main-content-cooperativas p{
    color: rgba(var(--font-color), 1);
    font-size: var(--heading-small-mob);
    font-family: var(--font-family-sans-slab);
    line-height: 1.5;
    margin-bottom: calc(var(--heading-medium-mob) * 0.8);
    font-weight: 500;
  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  .main-content-cooperativas p{
     font-size: var(--heading-small);
  }
}


 .main-content-cooperativas p.p-small{
    color: rgba(var(--font-color), 1);
    font-size: var(--heading-small-mob);
    line-height: 1.5;
    font-weight: normal;
    font-family: var(--font-family-sans-s);
     margin-bottom: calc(var(--heading-small-mob) * 1);

  }


 .main-content-cooperativas p span.celeste{
    background-color: rgba(var( --base-info-light-4), 0.7);
  }


  img.img-class-coop {
  border-radius: 40px 40px 0 0;
  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  img.img-class-coop {
  
  }
}


  img.img-class-coop-2 {
  border-radius: 0 40px 40px 0;
  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  img.img-class-coop-2 {
  
  }
}



 .card-coop {
  padding: var(--padding-cards);
  border-radius: var(--border-radius-cards);
  border: 1px solid rgba(var(--base-blue), 1);
  background-color: white;
  margin: 0 0 1rem 0;
  }

 .card-coop p,  .card-qs p{
    color: rgba(var(--font-color), 1);
    font-size: var(--heading-small-mob);
    line-height: 1.5;
    font-weight: normal;
    font-family: var(--font-family-sans-s);
     margin-bottom: calc(var(--heading-small-mob) * 1);

  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
  .card-coop p{
     font-size: var(--heading-small);
     margin-bottom: calc(var(--heading-small) * 1);

  }
}


 .card-coop h3{
    font-size: var(--heading-medium-mob);
    line-height: 1.5;
    margin-bottom: calc(var(--heading-medium-mob) * 0.8);
    font-weight: 500;
    font-family: var(--font-family-sans-slab);

  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 768px) {
 .card-coop h3{
     font-size: var(--heading-medium);
  }
}

.bg-grey-5 {
  background-color: rgba(var(--grey-5), 1);

}

.container-noticias-inicio.bg-grey-5.color-grey-5::before {
  filter: grayscale(100%) contrast(1.1) brightness(0.95)!important;

}


img.sombrilla {
  display: none;
}
/* A partir de 768px (tablet/desktop) */
@media (min-width: 1096px) {
img.sombrilla {
  display: block;
  position: absolute;
  top:-160px;
  right: 0;
  }
}


img.sombrilla-hidden {
  display: none;
}

/* A partir de 768px (tablet/desktop) */
@media (min-width: 1096px) {
img.sombrilla-hidden {
  display: block;
  position: absolute;
  top:-160px;
  right: 0;
  }
}

/*ESTILOS DE COOPERATIVAS*/

/*ESTILOS DE QUIENES SOMOS*/

 .main-content-cooperativas h2.white, .main-content-cooperativas p.white { 
    color: white!important;
  }



  .bg-blue-qs {
    min-height: 100vh;
    background-color: #003B8D;

    background-image:
        /* capa de color (transparente para ver la textura) */
         linear-gradient(rgb(0, 19, 90, 0.9), rgb(0, 59, 141, 0.9)),
        /* textura */
        url('img/icons-menu-main/bg_texture_menu.png'),
        /* degradado */
        linear-gradient(to bottom, #0913da, #002673);
    background-repeat: no-repeat, repeat, no-repeat;
    background-size: cover, auto, 100% 100%;  
  
  }



  p.ff-sans-s {
    font-family: var(--font-family-sans-s);
  }  


  img.img-class-qs {
    border-radius: 0 40px 40px 0;
  }

   img.img-class-qs-02 {
    border-radius: 40px 0 0 40px;
  }

  .card-qs {
    border: 1px solid rgba(var( --base-info-light-4), 1);
    background-color: transparent;
    padding: var(--padding-cards);
    border-radius: 16px;
    margin: 0 0 1rem 0;
  ;
  }

  span.number-qs {
    font-size: 3rem; 
    color:white; 
    margin:0 8px 0 0;
    font-weight: 700;
    font-family: var(--font-family-sans-slab);
  }

.card-coop.bg-pm {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.card-coop.bg-pm::after {
  content: "";
  position: absolute;
  bottom: 14px;
  right: 13px;
  width: 90px;
  height: 91px;
  background-image: url("img/punto_mipe-1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  opacity: 0.2;
  pointer-events: none; /* no interfiere con clicks */
}

.card-coop.bg-cdn {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.card-coop.bg-cdn::after {
  content: "";
  position: absolute;
  bottom: 14px;
  right: 13px;
  width: 90px;
  height: 91px;
  background-image: url("img/icon-isotipo-cdn.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  opacity: 0.1;
  filter: grayscale(100%);
  pointer-events: none; /* no interfiere con clicks */
}


.bg-organigrama {
  background-image: url("img/bg-organigrama.png");
  background-repeat: no-repeat;
  background-size:contain;
  background-position: right bottom;
}

.bg-newsletter {
  background-image: url("img/bg-newsleter.png");
  background-repeat: no-repeat;
  background-size: 100px 258px;
  background-position: 941px 43px;
  padding-bottom: 3rem;
  font-family: var(--font-family-sans-s);
}

/*ESTILO SLIDER DEL Q.S*/
.slider-puntos {
  background-color: transparent;
  color: #fff;
  padding: 16px 0 36px 0;
}

.slider-puntos h2{
   color: white!important;
}

.slider-puntos p{
   color: white!important;
   font-size: var(--heading-small);
   line-height: 1.5;
   font-weight: normal;
   font-family: var(--font-family-sans-s);
}

.slide-number {
  color:white;
  font-size: 5rem;
  font-weight: 500;
  font-family: var(--font-family-sans-slab);
}

.divider {
  width: 120px;
  border: 1px solid #fff;
  opacity: 1;
  margin: 0.5rem 0 1rem;
}

.slider-controls {
  margin-top: 2rem;
}

.counter {
  color: white;
  font-size: var(--heading-medium);
  font-family: var(--font-family-sans-slab);
  font-weight: 200;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow .material-symbols-outlined {
  font-size: 50px;
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bg-sombrilla {
  background-image:none;

}








/* A partir de 768px (tablet/desktop) */
@media (min-width: 1096px) {
.bg-sombrilla {
  background-image: url("img/cooperativas_imagen_03.png");
  background-repeat: no-repeat;
  background-position: 2px 12px;
  background-size:150px 153px;

  }
}



/* Quitar foco y fondo raro en flechas disabled */
.slider-arrow {
  background-color: transparent;
}

.slider-arrow:disabled,
.slider-arrow:disabled:hover,
.slider-arrow:disabled:focus,
.slider-arrow:disabled:focus-visible {
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
}
.slider-arrow:focus,
.slider-arrow:focus-visible {
  outline: 2px solid rgba(255,255,255,.4);
  outline-offset: 4px;
}


/*ESTILO CARRUSEL DEL Q.S*/


/*ESTILOS DE QUIENES SOMOS*/

h3.color-blue-dark-1 {
    color: rgba(var(--base-blue-dark-1), 1) !important;
}



/*ESTILO Sustentabilidad*/

  .bg-green-sustentabilidad {
    min-height: 100vh;
    background-image:
        /* capa de color (transparente para ver la textura) */
        /* textura */
        url('img/bg-sustentabilidad.webp'),
        /* degradado */
        linear-gradient(to bottom, #010b0e, #072442);

    background-repeat: no-repeat, repeat, no-repeat;
    background-size: cover, auto, 100% 100%;
  
  }

  h2.color-turquesa {
    color: #014643;
  }

.square-list-sust {
  list-style: none;
  padding: 0;
  margin: 0;
}

.square-list-sust li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}

.square-list-sust li a {
  text-decoration: none;
  font-size: var(--heading-small);
  color: #055753;
  font-family: var(--font-family-sans-s);
}
 

.square-list-sust li::before{
  content: "";
  background-image: url(img/square-list-sust.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0.6rem;
}

ul.square-list-sust li a:link {
  color: rgba(var(--font-color), 1);
  text-decoration:none;
}

ul.square-list-sust li a:visited {
  color: rgba(var(--link-visited), 1);
}

ul.square-list-sust li a:hover{
  color: black;
  text-decoration: underline;
  font-weight: 400;
}

.card-sustentabilidad {
  border: 1px solid #1D868A;
  border-radius: var(--border-radius-cards);
  padding: var(--padding-cards);
  background-color: white;
 /* width: 320px;*/
  box-shadow: 1px 7px 37px -8px rgba(32,102,116,0.87);
  -webkit-box-shadow: 1px 7px 37px -8px rgba(32,102,116,0.87);
  -moz-box-shadow: 1px 7px 37px -8px rgba(32,102,116,0.87);
  margin-bottom:16px;
  height: fit-content;
}

/* A partir de 768px (tablet/desktop) */
@media (min-width: 1200px) {
.card-sustentabilidad{
  height: 184px;
  }
}




.card-sustentabilidad h3 {
  font-family: var(--font-family-sans-slab);
  color: #055753;
  font-size: var(--font-size-p);
  font-weight: 500;
  line-height: 1.5;
}

.card-sustentabilidad  h3 a {
  text-decoration: none;
  color: #055753;
}

.card-sustentabilidad  h3 a:hover {
  text-decoration: underline;
  color: #022221;
}

.card-sustentabilidad  h3 a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
}

.card-sustentabilidad  h3  a:active {
  color: #022221;
}

.card-sustentabilidad  h3  a:visited {
  color: #7a1f3d;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}


 a.btn-turquesa-sustentabilidad{
  width: 100%;
  margin: 2px;
  border: none;
  font-size: 1rem;
  padding: var(--btn-padding-sm);
  color: rgba(var(--white), 1);
  background-color: #10847c;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
  display:block;
}

 a.btn-turquesa-sustentabilidad:hover {
  background-color: #055753;
}

 a.btn-turquesa-sustentabilidad:active {
  background-color: #023432;
}

 a.btn-turquesa-sustentabilidad:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--yellow-focus), 1);
}

@media only screen and (min-width: 576px) {
  /* Desde tablets: */
  a.btn-turquesa-sustentabilidad {
    width: fit-content;
  }
}


  .bg-green-dark-sustentabilidad {

    background-color:#18817A;
  
  }

  img.img-class-sust-bd {
  border-radius: 0 40px 40px 0;

  }

/* A partir de 768px (tablet/desktop) */
@media (min-width: 960px) {
  img.img-class-sust-bd {
    border-radius: 40px 0 0 40px;

  }
}



/*ESTILO Sustentabilidad*/


a:has(img):focus-visible,
button:has(img):focus-visible {
  outline: 3px solid rgba(var(--yellow-focus), 1);
  outline-offset: 4px;
}


/*iframe de postulaciones abiertas*/

.iframe-postulaciones {
  height: 100vh;
}

.iframe-postulaciones iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*iframe de postulaciones abiertas*/



/*IFRAME CUESTIONARIO HOME*/
.iframe-wrapper-cuestionario {
  position: relative;
  height: calc(100vh - 140px); /* header del modal */
}

.modal-fullscreen-md-down .iframe-wrapper-cuestionario {
  height: calc(100vh - 120px);
}

.iframe-wrapper-cuestionario iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/*IFRAME CUESTIONARIO HOME*/

div.breadcrumbs a {
  color: rgba(var(--font-color), 1)!important;
  text-decoration: none;
  font-weight: 400;  
}
div.breadcrumbs a:link {
  color: rgba(var(--font-color), 1)!important;
  text-decoration: none;
  font-weight: 400;  
}

div.breadcrumbs a:hover {
  color: rgba(var(--font-color), 1);
  text-decoration:underline;  
}

div.breadcrumbs a:active{
  color: black;
}

div.breadcrumbs a:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--yellow-focus),1)
}

div.breadcrumbs a.active{
  font-weight: 700;  
}


/*galeria imagenes para entradas/noticias*/

/* Galería de WordPress */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas como indica gallery-columns-4 */
    gap: 10px; /* Espacio entre imágenes */
    margin: 20px 0;
}

.gallery-item {
    margin: 0;
}

.gallery-icon {
    display: block;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}


.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }

/*galeria imagenes para entradas/noticias*/


/*ESTILO DE PAGINACION FIXED*/
/* Focus visible para navegación por teclado */
.page-link.kit-gob:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    z-index: 3;
}

/* Opcional: remover outline en click de mouse */
.page-link.kit-gob:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Asegurar que los enlaces activos y deshabilitados no reciban focus */
.page-item.kit-gob.disabled .page-link.kit-gob,
.page-item.kit-gob.active .page-link.kit-gob {
    pointer-events: none;
}

/*ESTILO DE PAGINACION FIXED*/