*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
.contenido {
    margin-top: 5px; /* ajusta según la altura total de top-bar + menú */
    padding: 20px;
}
.content-donativos { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.portada_donativos{ 
    background-image: url('../img/becas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 900px;
    height: 450px;
    margin: 0 auto;
}
.contenedor_testimonio {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  /* border: 1px solid #ccc; */
  /* border-radius: 8px; */
  /* background-color: #f9f9f9; */

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}
.titulo_testimonio {
  text-align: center;
  font-size: 24px;
  color: #003752;
  margin-bottom: 20px;
  font-weight: 200;
}

.titulo_donativos {
    color: #003752;
    font-weight: 200;
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0 1.5rem;
  }
  
.descripcion_donativos { 
    text-align: justify;
    color:#858585;
    width:900px;
    line-height:1.8rem;
    margin-bottom: 30px;
}

.descripcion_testimonial {
  text-align: justify;
  font-size: 16px;
  color: #858585;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
}
/* Firma autor */
.firma_autor {
    text-align: right;
    font-style: italic;
    font-weight:300;
    margin-top: auto;
    color: #003752;
}

.container-testimonial{ 
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color:#858585;
    text-align:justify;
    margin-top:20px;
    padding:10px;
    width:900px;
 
}

.container-fluid { 
    background-color: #F9F9FA;
}


.fa-quote-left,
.fa-quote-actividad-right {
  color: #003752;
  font-size: 1rem;
  margin: 0 5px;
}

.container_premios {
    max-width: 950px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.thumb {
    flex: 1 1 calc(20% - 10px); /* 4 columnas en escritorio */
    max-width: calc(20% - 10px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    border-radius: 4px;
}
.thumb:hover {
    border-color: #007BFF;
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right:0; bottom: 0;
    /* background: rgba(0,0,0,0.85); */
    background-color: #333;;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 10px;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 70%;
    max-height: 80vh;
    /* border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7); */
}
.lightbox .close, 
.lightbox .prev, 
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  background: none;     /* ← elimina fondo */
  border: none;         /* ← elimina borde */
  border-radius: 50%;   /* opcional: puedes quitar esto también */
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}
.lightbox .close {
    top: 10%;
    right: 5%;
    transform: none;
}
    .lightbox .close:hover,
    .lightbox .prev:hover,
    .lightbox .next:hover,
    .lightbox .close:focus,
    .lightbox .prev:focus,
    .lightbox .next:focus {
        background: none;
        border: none;
        outline: none;
        color: #ECB409; /* cambia el color si deseas efecto visual al pasar el cursor */
    }
    .lightbox .prev {
        left: 5%;
    }
    .lightbox .next {
        right: 5%;
    }
    .lightbox .close:focus,
    .lightbox .prev:focus,
    .lightbox .next:focus {
      color: #ECB409;
      /* o algún otro estilo visual claro */
    }
    
@keyframes slideIn {
0% {
  transform: translate(-50%, -60%);
  opacity: 0;
}
100% {
  transform: translate(-50%, -50%);
  opacity: 1;
}
}


     /* Responsive text scaling */
     @media (max-width: 750px) {
        .contenido {
            margin-top:140px; /* ajusta según la altura total de top-bar + menú */
            padding: 20px;
        }
        .titulo_escucha{ 
            color:#003752;
            font-size: 30px;
            text-align: justify;
          
        }
        .portada_donativos{ 
            width: 100%;
            height: auto;
            aspect-ratio: 2/1; /* opcional para mantener proporción */
        }
        .titulo_donativos{
            font-size: 2rem;
            margin: 1.5rem 0 1rem;
          }
            
        .descripcion_donativos { 
            text-align: justify;
            color:#858585;
            width:350px;
            line-height:1.8rem;
            margin-bottom: 30px;
            padding: 10px;;
            font-size: 14px;
        }
        .fa-quote-left,
        .fa-quote-actividad-right {
            color: #003752;
            font-size: 1rem;
            margin: 0 4px;
        }
        .contenedor_testimonio {
            /* padding: 15px; */
          }
        
          .titulo_testimonio {
            font-size: 20px;
          }
        
          .descripcion_testimonial {
            font-size: 14px;
          }
        
          .firma_autor {
            font-size: 14px;
          }
       
    }


      /* Responsive */
  @media (max-width: 480px) {
    .thumb {
      flex: 1 1 calc(50% - 10px); /* 2 columnas */
      max-width: calc(50% - 10px);
    }
    .lightbox .close, 
    .lightbox .prev, 
    .lightbox .next {
      font-size: 2rem;
      padding: 8px;
    }
  }
  @media (max-width: 320px) {
    .thumb {
      flex: 1 1 100%;
      max-width: 100%;
    }
    .lightbox img {
      max-width: 100%;
      max-height: 70vh;
    }
  }

  @media screen and (max-width: 991px) and (min-width: 751px) {
    .portada_donativos{ 
      width: 100%;
      height: auto;
      aspect-ratio: 2/1;
  }

  .descripcion_donativos {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
  }
  .descripcion_testimonial{ 
      text-align: justify;
      color:#858585;
      font-size: 16px;
      width: 100%;

      line-height: 2.5rem;
      font-family: italic;
      padding: 15px;
  }
  
  
  }
 
  @media (max-width: 600px) {
  
  }