/* === Bottone "Torna indietro" elegante === */
.back-button {
  display: inline-block;
  margin: 3em auto;
  padding: 0.7em 2em;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #2f2f2f;
  background-color: #f5f2ee;
  border: 1px solid #b6a999;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.back-button:hover {
  background-color: #e9e4de;
  color: #000;
  border-color: #9d8d7a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.back-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.invisibile {
			color: transparent;        
			cursor: help;              
			}

body { background-color: #f8f9fa; }
.link-card {
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.link-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

a.link-title {
	color: #000000;
	font-weight: 600;
	text-decoration: none;
}
a.link-title:hover {
    color: #000000;
	text-decoration: underline;
}

.voice-reader {
    text-align: center;
    margin: 1.5rem 0;
}

.voice-reader button {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.voice-reader button:nth-child(1) { background-color: #007bff; color: white; } /* Leggi */
.voice-reader button:nth-child(2) { background-color: #ffc107; color: black; } /* Pausa */
.voice-reader button:nth-child(3) { background-color: #17a2b8; color: white; } /* Riprendi */
.voice-reader button:nth-child(4) { background-color: #dc3545; color: white; } /* Stop */
.footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: #000000;
    padding: 1.5rem 0;
    border-top: 1px solid #333;
    margin-top: 3rem;
}