
/* ==========================================
   LA CHIOMA
   ELENCO LETTURE SCOLASTICHE
========================================== */

/* CONTENITORE */

.letture-elenco { display: flex; flex-direction: column; gap: 18px; width: 100%; box-sizing: border-box; }

/* SINGOLA SCHEDA */

.letture-elenco-card { display: flex; align-items: stretch; width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; background: #FFFFFF; border: 1px solid #E3EAE4; border-radius: 12px; transition: border-color .25s ease,
                box-shadow .25s ease; }
.letture-elenco-card:hover { border-color: #BCD2C1; box-shadow: 0 7px 24px rgba(35,65,45,.06); }

/* IMMAGINE FACOLTATIVA */

.letture-elenco-image { display: block; flex: 0 0 32%; width: 32%; min-width: 0; overflow: hidden; background: #EDF3EC; }
.letture-elenco-image img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform .4s ease; }
.letture-elenco-card:hover
.letture-elenco-image img { transform: scale(1.035); }

/* CONTENUTO */

.letture-elenco-content { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; box-sizing: border-box; padding: 25px 28px; }

/* FASCIA SCOLASTICA E MESE */

.letture-elenco-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.letture-elenco-meta span { display: inline-block; padding: 5px 9px; background: #EDF4EE; border-radius: 4px; color: #4D7657; font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: 700; line-height: 1.3; }

/* TITOLO */

.letture-elenco-content h3 { margin: 0 0 9px; padding: 0; color: #29493E; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; line-height: 1.3; }
.letture-elenco-content h3 a { color: inherit; text-decoration: none; }
.letture-elenco-content h3 a:hover { color: #4F8078; text-decoration: none; }

/* SOTTOTITOLO */

.letture-elenco-subtitle { margin-bottom: 12px; color: #567663; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-style: italic; line-height: 1.6; }

/* DESCRIZIONE */

.letture-elenco-description { margin: 0 0 20px; padding: 0; color: #718078; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 400; line-height: 1.75; }

/* FOOTER */

.letture-elenco-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid #E9EFEB; }

/* DURATA */

.letture-elenco-duration { display: inline-flex; align-items: center; gap: 6px; color: #89968D; font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 400; line-height: 1.5; }
.letture-elenco-duration span { font-size: 17px; line-height: 1; }

/* COLLEGAMENTO */

.letture-elenco-link { display: inline-flex; align-items: center; gap: 10px; color: #4F8078; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.letture-elenco-link:hover { color: #29493E; text-decoration: none; }
.letture-elenco-link span { font-size: 17px; transition: transform .25s ease; }
.letture-elenco-link:hover span { transform: translate(3px, -3px); }

/* ACCESSIBILITA */

.letture-elenco-card a:focus-visible { outline: 2px solid #4F8078; outline-offset: 3px; }

/* RESPONSIVE */

@media (max-width: 900px) {

    .letture-elenco-image { flex-basis: 35%;     width: 35%; }
	.letture-elenco-content { padding: 22px; }
	.letture-elenco-content h3 { font-size: 21px; }
}

@media (max-width: 650px) {

    .letture-elenco { gap: 15px; }
	.letture-elenco-card { flex-direction: column; }
	.letture-elenco-image { flex: none;     width: 100%;     height: 210px; }
	.letture-elenco-image img { width: 100%;     height: 100%;     min-height: 0; }
	.letture-elenco-content { width: 100%;     padding: 21px; }
	.letture-elenco-content h3 { font-size: 22px; }
	.letture-elenco-subtitle { font-size: 14px; }
	.letture-elenco-description { font-size: 13px; }
	.letture-elenco-footer { align-items: flex-start; }
}


/* ==========================================
   LA CHIOMA - BIBLIOTECA DEL VERDE
   BOX SINGOLA LETTURA SCOLASTICA
========================================== */

/* CONTENITORE */

.lettura-box { width: 100%; box-sizing: border-box; margin: 0; padding: 0; overflow: hidden; background: #FFFFFF; border: 1px solid #E2EAE5; border-radius: 13px; }

/* IMMAGINE FACOLTATIVA */

.lettura-box-image { width: 100%; overflow: hidden; background: #EDF3EC; }
.lettura-box-image img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }

/* CONTENUTO */

.lettura-box-content { padding: 35px 40px 42px; }

/* TITOLO */

.lettura-box-title { margin: 0 0 12px; padding: 0; color: #29493E; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 700; line-height: 1.3; }

/* SOTTOTITOLO */

.lettura-box-subtitle { margin: 0 0 24px; padding: 0; color: #718078; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; font-weight: 400; line-height: 1.65; }

/* DURATA */

.lettura-box-duration { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; padding: 12px 15px; background: #F2F7F2; border-radius: 7px; color: #5A7462; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.5; }
.lettura-box-duration-icon { flex-shrink: 0; color: #4F8078; font-size: 21px; line-height: 1; }
.lettura-box-duration strong { color: #29493E; font-weight: 700; }


/* TESTO DELLA LETTURA - VERSIONE EVIDENZIATA */

.lettura-box-description { margin-top: 10px; padding: 0px 35px; border-top: none; border-left: 4px solid #4F8078; border-radius: 0 9px 9px 0; color: #39483E; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; line-height: 2; }

/* PARAGRAFI */

.lettura-box-description p { margin: 0 0 24px; padding: 0; }
.lettura-box-description p:last-child { margin-bottom: 0; }

/* EVIDENZIAZIONI */

.lettura-box-description strong { color: #29493E; font-weight: 700; }

/* MOBILE */

@media (max-width: 768px) {

    .lettura-box-description { padding: 25px;     font-size: 17px;     line-height: 1.9; }
}

@media (max-width: 480px) {

    .lettura-box-description { padding: 20px;     border-left-width: 3px;     font-size: 16px;     line-height: 1.85; }
	.lettura-box-description p { margin-bottom: 20px; }
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .lettura-box-content { padding: 28px; }
	.lettura-box-title { font-size: 27px; }
	.lettura-box-subtitle { font-size: 16px; }
	.lettura-box-description { font-size: 16px;     line-height: 1.85; }
}

@media (max-width: 480px) {

    .lettura-box { border-radius: 10px; }
	.lettura-box-content { padding: 23px 20px 28px; }
	.lettura-box-title { font-size: 24px; }
	.lettura-box-subtitle { margin-bottom: 20px;     font-size: 15px; }
	.lettura-box-duration { margin-bottom: 23px;     padding: 11px 12px;     font-size: 11px; }
	.lettura-box-description { padding-top: 22px;     font-size: 16px;     line-height: 1.85; }
	.lettura-box-description p { margin-bottom: 19px; }
}
