	
.perfil-autor-grid {
    display: flex; 
    flex-direction: row; 
    gap: 20px;
    margin-top: -50px; 
}

.datos-principales {
    flex-grow: 1; 
    order: 2; 
    min-width: 0; 
    padding-top: 5px; 
}

.infobox-autor {
    width: 300px; 
    flex-shrink: 0; 
    order: 1; 
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.container h1 {
    text-align: left; 
    margin-bottom: 0;
    margin-left: 320px; 
}

.separador-titulo {
    height: 1px;
    background-color: #000;
    margin-top: 45px;
    margin-bottom: 30px;
}

.infobox-autor #foto-principal {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 10px auto !important; 
    border-radius: 8px !important;
    border: 3px solid #b0b4b3 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) !important;
}

.regla-divisoria-roja {
    width: 90%;
    height: 3px;
    background-color: red;
    margin: 5px auto 15px auto; 
}

.regla-divisoria-azul {
    width: 90%;
    height: 3px;
    background-color: blue;
    margin: 5px auto 15px auto; 
}

.infobox-fechas {
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}
.infobox-fechas span {
    font-size: 12pt;
    color: #333;
    font-weight: bold;
    display: block; 
}
.infobox-fechas .fecha-label {
    font-size: 11pt;
    font-weight: normal;
    color: #666;
}

.botones-responsive {
    display: block; 
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
}
.botones-responsive form {
    display: flex;
    flex-direction: column; 
    gap: 3px; 
}

.botones-responsive .botton-buscar {
    font-size: 14pt;
    font-weight: normal;
    text-align: left;
    text-decoration: none; 
    
    display: block;
    width: 100%;
    padding: 6px 10px;
    margin: 0;
    cursor: pointer;
    color: #000;
    background-color: #c4cce7; 
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
    
    line-height: 1.2;
}
.botones-responsive .botton-buscar:hover {
    background-color: #b1bbd9; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.botones-responsive .botton-buscar h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.contenedor-compartir {
    padding-top: 30px;
    text-align: center;
	margin-left: -15px;
    margin-bottom: 10px; 
}
.botones-sociales {
    display: flex;
    justify-content: center;
    gap: 8px; 
    margin-top: 0;
}

.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;
}

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

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

.doc-respaldo-contenedor {
margin: 15px auto;
    width: 90%;
    max-width: 850px;
    min-width: 300px; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #f9f9f9;
    text-align: center;
    font-size: 14px;

    display: grid; 
    gap: 15px; 
    justify-items: center; 
}

.doc-respaldo-titulo {
  font-size: 14pt;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}
	

.doc-miniaturas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
    gap: 3px;
}


.doc-miniatura-item {
    width: 85px;          
    max-width: 85px;      
    padding: 6px 2px;     
    font-size: 9px;
    border-radius: 6px;   
    box-shadow: none;     
}
.doc-miniatura-item {
  background-color: #fff;
  padding: 8px;
  max-width: 150px;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  text-align: center;
  font-size: 13px;
  overflow: hidden;
}

	
.doc-miniatura-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


.doc-miniatura-img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto 2px;
    border-radius: 4px;
}


.doc-miniatura-titulo {
    font-size: 13px;
    font-weight: bold;
    color: red; 
    text-decoration: none;
    display: block;
    padding-top: 5px;
}
@media screen and (max-width: 600px) {
  .doc-respaldo-contenedor {
    padding: 4px;
    margin: 5px auto;
    font-size: 8px;
  }

  .doc-respaldo-titulo {
    font-size: 10pt;
    margin-bottom: 4px;
  }
	
	
	}


@media (max-width: 991.98px) {
    
    .container h1 {
        text-align: center;
        margin-left: 0; 
    }
    
    .perfil-autor-grid {
        flex-direction: column; 
        gap: 0; 
        margin-top: 10px;
    }

    .infobox-autor {
        order: 1; 
        width: 100%; 
        padding: 10px 0; 
        border: none;
        background-color: transparent;
        box-shadow: none;
    }
    
    .datos-principales {
        order: 2; 
        padding-top: 10px;
    }

    .infobox-autor > * {
        margin-left: auto;
        margin-right: auto;
	
    }

    .infobox-autor #foto-principal {
        max-width: 300px !important; 
        margin: 0 auto 15px auto !important; 
    }

    .infobox-fechas {
        margin-bottom: 20px;
    }
    
    .contenedor-compartir {
        border-top: none;
    }
    
    .regla-divisoria-roja {
        width: 70%;
    }
     .regla-divisoria-azul {
        width: 70%;
    }   
    .botones-responsive {
        text-align: center;
    }
    .botones-responsive form {
        width: 80%;
        max-width: 350px;
        margin: 0 auto;
    }
}

.obras-registradas-boxes {
  margin: 30px auto;
  text-align: center;
  padding: 15px 25px;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #fffef5;
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;

}

.obras-registradas-label {
  font-size: 15pt;
  color: #444;
  font-weight: bold;
}

.obras-registradas-numero {
  font-size: 15pt;
  color: #d35400;
  font-weight: bold;
  margin-left: 8px;
}
	
@media (max-width: 768px) {
  .obras-registradas-boxes {
	
	} 
	}
.wrapper-obras {
  width: 100%;
}

.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  padding: 10px;

  max-width: 220px;  
  margin: 0 auto;
}

.obra-box {
  width: 100%;
  max-width: 180px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.obra-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.titulo-obra {
  font-size: 13pt;
  font-weight: bold;
  color: #00f;
  text-decoration: underline;
  display: block;
  margin-bottom: 8px;
}

.ver-mas {
  font-size: 11pt;
  font-weight: bold;
  color: #0cf;
  text-decoration: underline;
}


.obra-box {
  text-align: center;
  background-color: #f2f2f2; 
  border-radius: 6px;
  padding: 10px;
}

.obra-box img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
}

.titulo-obra {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #000; 
  text-decoration: none;
}
.titulo-obra {
  display: -webkit-box;
  -webkit-line-clamp: 3;          
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;             
  max-height: 3.6em;              
  color: #000;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
}
.obra-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.ver-mas {
  display: block;
  font-size: 13px;
  margin-top: 5px;
  color: purple; 
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .obras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@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(6, 1fr); 
    max-width: 1200px;
    margin: 0 auto;
  }
}


@media screen and (max-width: 767px) {
  .obras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    justify-content: center;               
    max-width: 400px;                      
    margin: 0 auto;                        
  }
}

.foto-firma, .foto-cuadro, .foto-respaldo {
  border: 3px solid #b0b4b3;
  border-radius: 12px;
  height: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 100%;
}

.foto-firma {
  float: left;
  max-width: 250px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.foto-cuadro {
  float: right;
  max-width: 250px;
  margin-left: 15px;
  margin-bottom: 15px;
}

.mfp-image-holder .mfp-content {
    max-width: 90%; 
    height: auto;
}

.bloque-nac-fall {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
    font-family: Arial, sans-serif;
}

.titulo-nf {
    font-weight: 700 !important;
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.2;
    display: block;
}

.ciudad-nf {
    font-style: italic;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
    display: block;
    color: #444;
}

.fecha-nf {
    font-weight: 700 !important;
    font-size: 15px;
    margin-top: 2px;
    line-height: 1.3;
    display: block;
    color: #222;
}

.bandera-nf {
    width: 16px;
    vertical-align: middle;
    margin-left: 2px;
}

@media (max-width: 600px) {

    .bloque-nac-fall {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .titulo-nf {
        font-weight: 700 !important;
       font-size: 16px;   
        margin-bottom: 5px;
    }

    .ciudad-nf {
        font-size: 15px;   
        line-height: 1.35; 
    }

    .fecha-nf {
        font-weight: 700 !important;
      font-size: 15px;   
        line-height: 1.35;
    }

    .bandera-nf {
        width: 16px;       
        margin-left: 2px;
    }
}
	
.bloque-nac-fall a {
    color: #0d6efd;              
    text-decoration: none;       
    font-weight: normal;         
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.bloque-nac-fall a:hover {
    color: #c00000;              
    text-decoration: underline; 
}

@media (max-width: 600px) {
    .bloque-nac-fall a {
        font-weight: normal;
    }
}

.bloque-nac-fall a {
    color: #0d6efd;              
    text-decoration: none;       
    font-weight: normal;         
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.bloque-nac-fall a:hover {
    color: #c00000;              
    text-decoration: underline; 
}

@media (max-width: 600px) {
    .bloque-nac-fall a {
        font-weight: normal;
    }
}
