@font-face {
    font-family: 'RENE BIEDER - GALANO GROTESQUE EXTRABOLD';
    src: url('../fonts/RENE BIEDER - GALANO GROTESQUE EXTRABOLD.OTF');
}

@font-face {
    font-family: 'RENE BIEDER - GALANO GROTESQUE BOLD';
    src: url('../fonts/RENE BIEDER - GALANO GROTESQUE BOLD.OTF');
}

@font-face {
    font-family: 'RENE BIEDER - GALANO GROTESQUE MEDIUM';
    src: url('../fonts/RENE BIEDER - GALANO GROTESQUE MEDIUM.OTF');
}

@font-face {
    font-family: 'RENE BIEDER - GALANO GROTESQUE';
    src: url('../fonts/RENE BIEDER - GALANO GROTESQUE.OTF');
}

.container1 {
    background-image: url(../img/Banner_Beneficiarios.jpg);
    background-position: center;
    background-size: cover;
    min-height: 600px;
}

/* .tarjeta {
    background: white;
    border: 2px solid #CCDEC2;
    color: #3B9344;
    border-radius: 12px;
    margin-left: 125px;
    margin-right: 25px;
}

.tarjeta .img1 {
    position: absolute;
    margin-left: -165px;
    max-height: 200px;
}

.tarjeta .img2 {
    position: absolute;
    margin-left: -225px;
    max-height: 200px;
}

.tarjeta .img3 {
    position: absolute;
    margin-left: -110px;
    max-height: 200px;
} */

.tarjeta {
    position: relative;
    background: white;
    border: 2px solid #3B9344;
    color: #3B9344;
    border-radius: 12px;
    margin-left: 125px;
    margin-right: 25px;
}

.tarjeta-mapa {
    position: absolute;
}

.tarjeta .img1 {
    margin-left: -194px;
    max-height: 266px;
    top: 2px;
}

.tarjeta .img2 {
    margin-left: -208px;
    max-height: 178px;
    top: 50px;
}

.tarjeta .img3 {
    margin-left: -169px;
    top: -25px;
    max-height: 312px;
}

.textB {
    color: #3B9344;
}

.mySwiper4, .mySwiper5, .mySwiper6, .mySwiper7, .mySwiper8 {
    max-width: 1000px;
}

.mySwiper4 img, .mySwiper5 img, .mySwiper6 img, .mySwiper7 img, .mySwiper8 img {
    border-radius: 12px;
}

.mySwiper2, .mySwiper2A{
    /* max-width: 1000px; */
}

.mySwiper2 img, .mySwiper2A img, .mySwiper3A img, .mySwiper4A img, .mySwiper5A img, .mySwiper6A img, .mySwiper7A img,  .mySwiper8A img{
    border-radius: 12px;
}

.hoverForeground {
    position: absolute;
    z-index: 1;
    background: #3B9344;
    opacity: 0;
    width: 100%;
    height: 100%;
    color: white;
    cursor: pointer;
}

.hoverForeground:hover {
    opacity: 0.5;
}


.hoverName {
    /* background: url(../img/cortina.png); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 100%;
    height: 100%;
    color: white;
    position: absolute;
    text-align: center;
    opacity: 0;
    transition: .5s;
    cursor: pointer;
}

.hoverName:hover {
    opacity: 1;
}

.persona-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Puedes ajustar el ancho si lo necesitas */
}

.persona-img {
    border-radius: 20px 20px 0 0;
    width: 100%;
    object-fit: cover;
}

.nombre-box {
    background: #fff;
    border: 3px solid #3B9344;
    border-radius: 12px 12px 12px 12px;
    margin-top: 10px;
    padding: 16px 18px;
    /* font-weight: 500;
    font-size: 1.1rem;
    color: #3B9344; */
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* .container2 {
    background: #CCDEC2;
    border-radius: 12px;
} */

.container2 {
    /* Usa rgba() para definir el color y la opacidad del fondo */
    /* Aquí, convertimos #CCDEC2 a RGB (204, 222, 194) y le damos una opacidad de 0.8 (80%) */
    background: rgba(204, 222, 194, 0.5); /* Ajusta el 0.8 para más o menos transparencia */

    border-radius: 12px;
    /* Asegúrate de que no haya otras propiedades background que lo sobrescriban */
}

.mySwiper3 {
    max-width: 1000px;
}


.t1 {
    font-family: 'RENE BIEDER - GALANO GROTESQUE BOLD';
    font-size: 42px;
}

.t2B {
    font-family: 'RENE BIEDER - GALANO GROTESQUE MEDIUM';
    font-size: 22px;
}


.t2 {
    font-family: 'RENE BIEDER - GALANO GROTESQUE MEDIUM';
    font-size: 22px;
    text-align: justify;
}


.t3 {
    font-family: 'RENE BIEDER - GALANO GROTESQUE BOLD';
    font-size: 32px;
}

.t4 {
    font-family: 'RENE BIEDER - GALANO GROTESQUE MEDIUM';
    font-size: 18px;
}

.t5 {
    font-family: 'RENE BIEDER - GALANO GROTESQUE EXTRABOLD';
    font-size: 22px;
}



/* `sm` applies to x-small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {
    .tarjeta {
        margin-left: 0px;
        margin-right: 0px;
    }
    .tarjeta > .img1{
        position: absolute;
        margin-left: -50px;
        max-height: 150px;
    }
    .tarjeta > div{
        margin-left: 50px;
    }
    .tarjeta > .img2{   
        position: absolute;
        margin-left: -50px;
        margin-top: 35px;
        max-height: 100px;
    }
} */

/* `md` applies to small devices (landscape phones, less than 768px) */
/* @media (max-width: 767.98px) { ... } */

/* `lg` applies to medium devices (tablets, less than 992px) */
/* @media (max-width: 991.98px) { ... } */

/* `xl` applies to large devices (desktops, less than 1200px) */
/* @media (max-width: 1199.98px) { ... } */

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
/* @media (max-width: 1399.98px) { ... } */


.imgA {
    /* width: auto;
    max-height: 393px; */
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.departamentos-btns {
  display: flex;
  justify-content: space-between;
  gap: 3vw;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 8px 0;
}

.btn-dep {
  flex: 1 1 0;
  background: #fff;
  color: #3B9344;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 2vw 0;         
  font-size: 4vw;          
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: 'RENE BIEDER - GALANO GROTESQUE BOLD', sans-serif;
  margin: 0;
  min-width: 0;           
}

.btn-dep.seleccionado,
.btn-dep:active {
  background: #3B9344;
  color: #fff;
}

.btn-dep:focus {
  outline: 2px solid #3B9344;
}
.btn-link {
  flex: 1 1 0;
  background: #fff;
  color: #3B9344;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 2vw 0;                   
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: 'RENE BIEDER - GALANO GROTESQUE BOLD', sans-serif;
  margin: 0;
  min-width: 0;
}

.btn-link:hover,
.btn-link:focus {
  background: #3B9344;
  color: #fff;
  outline: 2px solid #3B9344;
}

/* Opcional: Limita el tamaño de fuente para escritorio */
@media (min-width: 600px) {
  .btn-dep {
    font-size: 20px;
    padding: 10px 0;
  }
}

@media (max-width: 980px) {
    .text-center-movil{
        text-align: center;
    }
    .tarjeta {
        padding: 1rem !important;
    }
    .tarjeta .img1{
        margin-left: -133px;
        max-height: 195px;
    }
    .tarjeta .img2 {
        margin-left: -135px;
        max-height: 129px;
        top: 27px;
    }
    .tarjeta .img3 {
        margin-left: -132px;
        top: -40px;
        max-height: 305px;
    }
    .t2{
        text-align: center!important;
    }
    .t4 {
        padding: 5px 0px;
        font-size: 14px !important;
    }
    .nombre-box {
        border: 1.5px solid #3B9344;
    }
    .swiper {
        width: 95%;
    }
    
    #separador{
        padding-top: 20px;
    }
    #container-comunidad{
        padding-top: 0 !important;
    }
    #sin-pading-movil{
        padding-bottom: 0 !important;
    }
}

.yt-thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.yt-thumb img {
  position: absolute;
  top:0; left:0; width:100%; height:100%; object-fit:cover;
  border-radius: 16px;
}

.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  background: rgba(0,0,0,0.50);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.yt-play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 26px solid #fff;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 7px;
}
.video-container1 iframe {
  position: absolute; top:0; left:0; width:100%; height:100%;
  border-radius: 16px;
  z-index: 5;
}

.video-container1 {
  position: relative;
  width: 100%;
  max-width: 680px;    /* Limita el ancho máximo del video */
  margin-left: auto!important;   /* Centra horizontalmente */
  margin-right: auto!important;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  background: #000;    /* Opcional, para fondo negro */
  border-radius: 16px; /* Opcional, bordes redondeados */
  overflow: hidden;    /* Oculta overflow */
}

.video-container1 iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 16px; /* Opcional, igual que el contenedor */
  display: block;
}
