/* Contratto recensioni v1: presentazione condivisa, senza sorgenti dati alternative. */
.fd-rating-summary{color:#1a3a52;background:#f2f8fc;border:1px solid #d6e9f4;border-radius:8px;padding:18px 22px;margin:0 0 22px}
.fd-rating-summary-label{font-size:13px;font-weight:700;line-height:1.4;margin-bottom:8px}
.fd-rating-summary-main{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.fd-rating-score{color:#1a3a52;font-size:30px;line-height:1.2;font-weight:700;white-space:nowrap}
.fd-rating-score small{font-size:15px;color:#526474;font-weight:400}
.fd-rating-total{font-size:14px;color:#1a3a52;line-height:1.5}
.fd-rating-summary .fd-rating-method{margin:8px 0 0;font-size:12px;color:#526474;line-height:1.5}
.fd-rating-stars{display:inline-flex;gap:3px;line-height:1;flex-shrink:0;vertical-align:middle}
.fd-rating-star{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;background:#d4dfe5;color:#fff;overflow:hidden;border-radius:2px}
.fd-rating-star:before{position:absolute;content:"";inset:0 auto 0 0;width:var(--riempimento);background:#159b69;z-index:-1}
.fd-rating-star i{color:#fff;font-size:16px;line-height:1}
.fd-rating-summary--compact{padding:12px 16px;margin-bottom:0}
.fd-rating-summary--compact .fd-rating-score{font-size:22px}
.fd-rating-summary--compact .fd-rating-star{width:18px;height:18px;flex-basis:18px}
.fd-rating-summary--compact .fd-rating-star i{font-size:12px}
.fd-rating-summary--compact .fd-rating-summary-main{gap:7px 12px}
.fd-category-rating{margin:22px 0}
.fd-course-rating-slot{margin:0 0 14px}
.fd-course-rating-slot .fd-rating-summary{background:transparent;padding:0;border:0}
.fd-course-rating-slot .fd-rating-summary-label{font-size:11px;margin-bottom:5px}
.fd-course-rating-slot .fd-rating-total{font-size:12px}
.fd-course-rating-slot .fd-rating-method{font-size:11px}
.fd-canonical-review .fd-review-text{white-space:pre-line;overflow-wrap:anywhere}
.fd-canonical-review .fd-review-meta{min-height:24px}
.fd-review-original-vote,.fd-review-recommendation{color:#1a3a52;font-size:13px;line-height:1.4;font-weight:700}
.fd-review-original-vote small{display:block;color:#526474;font-weight:400;font-size:11px}
.fd-review-verification{display:block;margin-top:4px;color:#526474;font-size:11px;line-height:1.4}
.fd-product-reviews{padding:26px;background:#fff;border:1px solid #d6e9f4;border-radius:10px;color:#1a3a52;scroll-margin-top:120px}
.fd-product-reviews-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.fd-product-reviews h2{margin:0;color:#1a3a52;font-size:28px;line-height:1.2;letter-spacing:-.02em}
.fd-product-reviews .fd-reviews-eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:10px}
.fd-product-reviews-heading .fd-rating-summary{flex:0 1 350px}
.fd-product-reviews .fd-rating-context{font-size:14px;line-height:1.5;color:#526474;margin:18px 0}
.fd-product-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fd-product-review-grid .fd-review{flex-basis:auto}
.fd-review-pagination{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:22px;color:#526474;font-size:14px}
.fd-review-pagination a{padding:10px 14px;border:1px solid #d6e9f4;border-radius:5px;color:#0878b0;background:#fff;font-weight:700}
.fd-review-pagination a:hover{background:#f2f8fc;color:#1a3a52}
.fd-review-pagination a:focus-visible{outline:3px solid #0878b0;outline-offset:3px}
@media(max-width:767px){
 .fd-rating-summary{padding:14px 16px}
 .fd-rating-summary-main{gap:10px 12px}
 .fd-product-reviews{padding:20px 16px}
 .fd-product-reviews-heading{display:block}
 .fd-product-reviews-heading>.fd-rating-summary{margin-top:18px}
 .fd-product-reviews h2{font-size:24px}
 .fd-product-review-grid{grid-template-columns:minmax(0,1fr);gap:14px}
}

/* Riepilogo home approvato: stesso fondo del box valutazione canonico. */
.fd-canonical-home .fd-reviews-heading{margin-bottom:24px}
.fd-home-reviews-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:30px}
.fd-home-review-summary{display:flex;align-items:center;gap:22px;margin:0;padding:20px 26px;border-radius:12px;box-shadow:0 5px 22px #1a3a5208;min-width:0}
.fd-home-review-avatars{display:flex;flex-shrink:0;padding-right:2px}
.fd-home-review-avatars span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;border:2px solid #fff;border-radius:50%;background:#d5ebf8;color:#1a3a52;font-size:16px;font-weight:700}
.fd-home-review-avatars span+span{margin-left:-12px}
.fd-home-review-avatars span:nth-child(even){background:#c2dfee}
.fd-home-review-count{display:flex;flex-direction:column;gap:3px}
.fd-home-review-count .fd-rating-total{font-size:18px;font-weight:700;white-space:nowrap}
.fd-home-review-count>span{font-size:15px;color:#526474}
.fd-home-review-score{border-left:1px solid #d8e1e9;padding-left:24px}
.fd-home-review-score .fd-rating-summary-main{gap:14px;flex-wrap:nowrap}
.fd-home-review-score .fd-rating-score{font-size:27px}
.fd-home-review-summary .fd-rating-method{margin-top:5px;white-space:nowrap}
@media(max-width:991px){
 .fd-home-reviews-toolbar{flex-wrap:wrap;gap:16px}
 .fd-home-reviews-toolbar .fd-reviews-controls{margin-left:auto}
}
@media(max-width:767px){
 .fd-canonical-home .fd-reviews-heading{margin-bottom:20px}
 .fd-home-reviews-toolbar{margin-bottom:22px}
 .fd-home-review-summary{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px}
 .fd-home-review-avatars span{width:40px;height:40px;font-size:14px}
 .fd-home-review-avatars span+span{margin-left:-10px}
 .fd-home-review-count .fd-rating-total{font-size:16px;white-space:normal}
 .fd-home-review-count>span{font-size:14px}
 .fd-home-review-score{grid-column:1/-1;border-left:0;border-top:1px solid #d8e1e9;padding:13px 0 0}
 .fd-home-review-score .fd-rating-summary-main{justify-content:space-between}
 .fd-home-review-summary .fd-rating-method{white-space:normal}
}

/* Un margine interno conserva il bordo anche quando scrollLeft arrotonda i passi frazionari. */
.fd-canonical-home .fd-reviews-track{padding-inline:2px}

/* Recensioni delle schede: stesso blocco della home e riepiloghi fotografici. */
.fd-course-reviews{padding-block:40px;background:#fff}
.fd-site .fd-canonical-home .fd-review-title{font-size:18px;line-height:1.4;font-weight:700;color:#1a3a52;margin:20px 0 10px}
.fd-review-photo{display:block;width:44px;height:44px;object-fit:cover;border-radius:50%;flex-shrink:0}
.fd-home-review-avatars .fd-review-photo{width:100%;height:100%}
#recensioni-corso>.fd-course-review-context{font-size:14px;margin:18px 0;color:#526474}

/* Stessi pannelli della home; le recensioni molto lunghe restano integralmente scorribili. */
.fd-canonical-home .fd-review-text{max-height:200px;overflow-y:auto;scrollbar-width:thin}

.fd-review-avatar-generic{width:44px;height:44px;flex:0 0 44px;background:#e4f0f7;color:#537f98}.fd-review-avatar-generic svg{width:30px;height:30px}

#recensioni-corso{scroll-margin-top:120px}

.fd-unrated-comments{margin:26px 0}.fd-unrated-comments>h3{font-size:22px;color:#1a3a52;margin:0 0 18px}

/* Il widget mantiene la propria tipografia anche dentro il corpo delle schede. */
.fd-site .fd-canonical-home{font-size:16px;line-height:1.65}
.fd-site .fd-canonical-home .fd-reviews-heading :is(h1,h2){font-size:34px;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:#1a3a52}
.fd-site .fd-canonical-home .fd-reviews-eyebrow{font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.1em;margin:0 0 12px}
@media(max-width:767px){.fd-site .fd-canonical-home .fd-reviews-heading :is(h1,h2){font-size:28px}.fd-site .fd-canonical-home .fd-reviews-eyebrow{font-size:11px}}
