body {
  font-family: Helvetica, sans-serif;
  background-color: #202020;
  margin: 0;
  padding: 0;
  color: #dcdcdc;
  font-size: 18px; /* Aumentamos un poco el tamaño base */
  line-height: 1.6;
}
.descripcion, .descripcion b, .descripcion strong, .descripcion * {
  max-width: 100%;
  margin: auto;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  font-family: Arial, sans-serif !important;
}
.negrita-especial {
  font-weight: bold;
  color: inherit; /* heredará el color del padre */
}

.descripcion audio.audio-responsive {
  display: block;
  margin: 1rem auto;
}	
.responsive-iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: none;
}

.audio-responsive {
  width: 100%;
  max-width: 600px;
  height: 48px;
  outline: none;
  margin: 10px 0;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .audio-responsive {
    height: 64px;
  }
}

.botton-buscar {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0070d2;
  border-radius: 0.5rem;
  border: 3px solid #e9e9e9;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  min-width: 120px;
  transition: all 0.3s ease;
}

/* Hover opcional */
.botton-buscar:hover {
  background-color: #005fb2;
  border-color: #d43131;
}

/* 📱 Ajustes para móviles */
@media (max-width: 768px) {
  .botton-buscar {
    font-size: 16px;
    padding: 0.4rem 0.8rem;
    border-width: 2px;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .botton-buscar {
    font-size: 14px;
    padding: 0.3rem 0.6rem;
    border-width: 2px;
    min-width: 90px;
  }
}


.botton-buscar:hover {
  background-color: #005fb2;
  border-color: #d43131;
}

.img-limitada {
  width: 60%;
}

.img-pequena {
  width: 60%;
  max-width: 400px;
}

@media (max-width: 768px) {
  .img-limitada,
  .img-pequena {
    width: 100%;
    max-width: 100%;
  }
}

/* CAMBIO PRINCIPAL AQUÍ: eliminamos max-width para usar ancho total */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
  padding: 1.5rem;
  text-align: center;
}

#pie3 {
  position: relative; /* NO absolute */
  margin-top: 50px;
  width: 100%;
  z-index: 2;
  display: block;
}



.a2a_kit {
  margin: 1.5rem auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
	
	.iframe-pdf {
  width: 100%;
  border: none;
  height: 50px;
}

@media (max-width: 768px) {
  .iframe-pdf {
    height: 50px;
  }
}
	
.contenedor-slider {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
	margin-bottom: -40px !important;
}

.slider-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .contenedor-slider {
    max-width: 250px !important;
    width: 90% !important;
    margin-left: 30px !important;
    margin-right: 0px !important;
  }
}

.contenedor-compartir {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: -30px;

    /* Control preciso de desplazamiento horizontal */
    transform: translateX(-12px); /* 🔧 Ajustá este valor a tu gusto */
}

/* Opcional: reajuste suave en móviles */
@media (max-width: 768px) {
  .contenedor-compartir {
    transform: translateX(-5px); /* Menor desplazamiento en pantallas pequeñas */
  }
}

	
.botones-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px; /* Espacio uniforme entre todos los íconos */
    margin-top: 15px;
}

.boton-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-top: -4px;
    transition: all 0.3s ease;
}

.boton-pdf img {
    width: 90px;
    height: 90px;
    margin-top: -30px;
        margin-left: 90px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .boton-pdf {
        width: 55px;
        height: 55px;
    }

    .boton-pdf img {
        width: 90px;
        height: 90px;
     margin-top: -12px;
       margin-left: 75px;
    }
}




@media screen and (max-width: 767px) {
  .pdf-responsive {
    height: 200px !important;
    max-height: 200px !important;
  }
}
		
/* Contenedor con grilla */
.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 10px;
}

/* Cada obra */
.obra-box {
  background: #000;
  color: #fff;
  border: 1px solid #999;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

/* Imagen de la obra */
.obra-box img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}

.titulo-obra {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #000; /* negro */
  text-decoration: none;
}
.titulo-obra {
  display: -webkit-box;
  -webkit-line-clamp: 3;          /* 🔢 mostrar 3 líneas como máximo */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;             /* ajusta según tu diseño */
  max-height: 3.6em;              /* 3 líneas × line-height */
  color: #000;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
}
.obra-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Botón ver más */
.ver-mas {
  font-size: 11pt;
  font-weight: bold;
  color: #0cf;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .obras-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media screen and (min-width: 1200px) {
  .obras-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}


.efemerides-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.efemerides-card {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border: 1px solid #888; /* borde gris oscuro */
  border-radius: 10px;
  padding: 6px 10px;
  width: 280px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.efemerides-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
  border: 2px solid #ccc;
}

.efemerides-card a {
  font-size: 13px;
  font-weight: bold;
  color: #0044cc;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2em;
  margin-bottom: 4px;
}

.efemerides-card small {
  font-size: 12px;
  color: #333;
  display: block;
  line-height: 1.2em;
}

@media (max-width: 600px) {
  .efemerides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔄 2 columnas */
    gap: 10px;
    justify-items: center;
  }

  .efemerides-card {
    flex-direction: row;     /* volvemos al diseño horizontal */
    align-items: center;
    text-align: left;
    width: 100%;             /* ocupa su celda completa */
  }

  .efemerides-card img {
    margin: 0 10px 0 0;
  }
}


	


.busqueda-wrapper {
  max-width: 1200px; /* 🔄 más ancho en PC */
  margin: 30px auto;
  padding: 0;
  background-color: transparent; /* ❌ sin fondo negro */
  border-radius: 0;
}

.busqueda-titulo {
  text-align: left; /* 👈 alineado a la izquierda */
  font-size: 17pt;
  font-weight: bold;
  color: #111;
  margin: 0 0 20px 0;
  font-family: Arial, sans-serif;
  padding-left: 15px;
}

.busqueda-resultados {
  padding: 0 15px;
  background-color: #fff;
  border-radius: 6px;
}

/* Espaciado visual */
.busqueda-espacio {
  height: 20px;
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .busqueda-wrapper {
    padding: 0 10px;
  }

  .busqueda-titulo {
    font-size: 15pt;
    padding-left: 10px;
  }

  .busqueda-resultados {
    padding: 0 10px;
  }
}
/* Contenedor de cada resultado */
.gsc-webResult.gsc-result {
  padding: 10px 0 !important;
  border-bottom: 1px solid #ddd !important;
}

/* Imagen en miniatura */
.gsc-thumbnail-inside,
.gsc-url-top {
  display: block !important;
  text-align: left !important;
}

.gsc-imageResult-thumbnail,
.gsc-thumbnail {
  width: 70px !important;
  height: 70px !important;
  border-radius: 6px !important; /* esquinas redondeadas */
  object-fit: cover;
  margin-right: 10px;
}

/* Contenedor que envuelve imagen + texto */
.gsc-table-result {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
}

/* Título */
.gsc-webResult .gs-title {
  font-size: 16px !important;
  font-weight: bold;
  text-align: left !important;
  line-height: 1.4em;
}

/* Snippet (descripción) */
.gsc-webResult .gs-snippet {
  font-size: 13px;
  color: #333;
  text-align: left !important;
  line-height: 1.4em;
  margin-top: 4px;
}

/* URL */
.gsc-webResult .gsc-url {
  font-size: 12px;
  color: #1a7f37 !important;
  text-align: left !important;
  display: block;
  margin-top: 4px;
}




.descripcion, .descripcion b, .descripcion strong, .descripcion * {
  max-width: 100%;
  margin: auto;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  font-family: Arial, sans-serif !important;
}
.negrita-especial {
  font-weight: bold;
  color: inherit; /* heredará el color del padre */
}

.descripcion audio.audio-responsive {
  display: block;
  margin: 1rem auto;
}	
.responsive-iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: none;
}

.audio-responsive {
  width: 100%;
  max-width: 600px;
  height: 48px;
  outline: none;
  margin: 10px 0;
  box-sizing: border-box;
}





/* 📱 Ajustes para móviles */
@media (max-width: 768px) {
  .botton-buscar {
    font-size: 16px;
    padding: 0.4rem 0.8rem;
    border-width: 2px;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .botton-buscar {
    font-size: 14px;
    padding: 0.3rem 0.6rem;
    border-width: 2px;
    min-width: 90px;
  }
}



.img-limitada {
  width: 60%;
}

.img-pequena {
  width: 60%;
  max-width: 400px;
}

@media (max-width: 768px) {
  .img-limitada,
  .img-pequena {
    width: 100%;
    max-width: 100%;
  }
}

/* CAMBIO PRINCIPAL AQUÍ: eliminamos max-width para usar ancho total */
.container {
  width: 100%;
  max-width: none;
  margin: auto;
  padding: 1.5rem;
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.a2a_kit {
  margin: 1.5rem auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
	
	.iframe-pdf {
  width: 100%;
  border: none;
  height: 50px;
}

@media (max-width: 768px) {
  .iframe-pdf {
    height: 50px;
  }
}



		