#base-container{
	max-width: 80%;
	margin: 0 auto;
}

/* --- ESTILOS GENERALES Y ESCRITORIO --- */
.base-art {
  margin: 0 auto;  
  display: flex;
  flex-wrap: wrap; 
  align-items: center; 
  gap: 20px; 
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(7, 68, 67, 0.8), rgba(0,0,0,0.09));
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.base-art .base-title {
  flex: 0 0 100%; /* Ocupa el 100% siempre */
  margin: 0 0 10px 0; 
  padding-bottom: 8px;
  border-bottom: 1px solid #6b7b77;
  color: #aaccb7;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

/* ARTICULO SINGLE */

.base-art-txt {
  flex: 0 0 calc(60% - 10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinea el botón a la izquierda */ 
}

.base-art-txt p {
  margin: 0;
  font-family: 'Montserrat', sans-serif; 
  font-size: 1.3rem;
  line-height: 1.4;
  color: #c3c3c3;
  font-weight: 600;
}

.base-art-img {
  flex: 0 0 calc(40% - 10px);
}

.base-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.base-art-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: transparent;
    color: #aaccb7; /* Color similar al título */
    border: 1px solid #728b7c;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.8s ease;
}

/* Efecto al pasar el mouse */
.base-art-link:hover {
    background-color: rgba(8, 137, 69, 0.3);
	color: #acc7be; /* Invierte colores */
    /*color: #074443; /* Invierte colores */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


@media (max-width: 768px) {
  
  .base-art {
   width: 99%;
}

    
  .base-art-txt, 
  .base-art-img {
    flex: 0 0 100%;
  }

  .base-art-txt {
    order: 1;
  }

  .base-art-img {
    order: 2;
  }
  
  .base-art .article-title {
	font-size: 26px;
    text-align: left;
  }
}

/* ARTICULO NOTA */

.base-02-art {
  margin: 0 auto;
  width: 94%;
  display: flex;
  flex-wrap: wrap; 
  align-items: center; 
  gap: 20px; 
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(7, 68, 67, 0.8), rgba(0,0,0,0.09));
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.base-02-title {
  flex: 0 0 100%; /* Ocupa el 100% siempre */
  margin: 0 0 10px 0; 
  padding-bottom: 8px;
  border-bottom: 1px solid #6b7b77;
  color: #aaccb7;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.base-02-art-txt {
  flex: 0 0 100%; /* Ocupa el 100% del ancho del artículo */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px; /* Espacio antes de las fotos */
}

.base-02-art-txt p {
  width: 98%; /* Asegura que el párrafo se expanda */
  margin: 0;
  font-family: 'Montserrat', sans-serif; 
  font-size: 1.1rem; /* Ajustado para mejor lectura */
  line-height: 1.2;
  font-weight: 400;
  color: #c3c3c3;
}

.base-02-galery {
  display: flex;
  flex-wrap: wrap; /* Permite que los elementos bajen en móvil */
  gap: 15px;       /* Espacio entre las imágenes */
  width: 100%;
  margin-top: 20px;
}

.base-02-art-img {
  flex: 0 0 calc(33.33% - 10px); 
  box-sizing: border-box;
}

.base-img {
  margin: 0;
  padding: 0;
}

.base-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* Opcional: bordes redondeados */
  aspect-ratio: 16 / 9; /* Fuerza una proporción de aspecto */
  object-fit: cover;    /* Corta la imagen para que llene el espacio sin deformarse */
  transition: transform 0.3s ease;
}

.base-img img:hover {
  transform: scale(1);
}

.lightbox-link {
    cursor: zoom-in;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Indica que se puede cerrar haciendo clic fuera */
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: default; /* Evita el cursor de clic sobre la foto */
}

.prev-btn, .next-btn {
    display: none !important;
}

@keyframes zoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}


@media (max-width: 768px) {
  .base-02-art {
  width: 99%;
}

  .base-02-art-img {
    flex: 0 0 100%; /* Una imagen debajo de la otra */
  }
  
  .base-02-galery {
    gap: 20px; /* Un poco más de espacio vertical en móvil */
  }
}