/* FiloEdizioni 1.27.49 — restyling guida editoriale.
 * Nessuna modifica alle offerte, ai link affiliati o ai metadati del catalogo.
 * Modulo pubblico emesso da catalogo 2.10.8 solo per testi approvati.
 */
.fe-editorial-enrichment {
  --fe-aubergine: #691531;
  --fe-aubergine-deep: #531027;
  --fe-ink: #29252a;
  --fe-soft: #645b62;
  --fe-line: #e9dbde;
  --fe-cream: #fffdf9;
  width: 100%;
  min-width: 0;
  font-family: inherit;
  color: var(--fe-ink);
  font-size: 15px;
  line-height: 1.65;
  scroll-margin-top: 115px;
}
body.single-libro .fe-book-reading-body > .fe-editorial-enrichment,
body.single-videoguida .fe-book-reading-body > .fe-editorial-enrichment {
  max-width: 1080px;
  margin: 40px auto 22px;
}
.fe-editorial-enrichment *,
.fe-editorial-enrichment *::before,
.fe-editorial-enrichment *::after { box-sizing: border-box; }
.fe-editorial-enrichment section { min-width: 0; }
.fe-editorial-enrichment p { overflow-wrap: anywhere; }
.fe-editorial-enrichment .fe-editorial-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 21px;
}
.fe-editorial-enrichment .fe-editorial-heading h2 {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: clamp(23px, 2.3vw, 29px);
  font-weight: 500;
  line-height: 1.24;
  margin: 0 0 5px;
  color: var(--fe-aubergine);
  letter-spacing: -.012em;
}
.fe-editorial-enrichment .fe-editorial-heading p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--fe-soft);
}
.fe-editorial-enrichment .fe-editorial-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  color: var(--fe-aubergine);
  background: #f9edf1;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1;
}
.fe-editorial-enrichment .fe-choice-block,
.fe-editorial-enrichment .fe-editorial-card,
.fe-editorial-enrichment .fe-editorial-compare {
  background: var(--fe-cream);
  border: 1px solid var(--fe-line);
  border-radius: 13px;
  padding: clamp(20px, 2.8vw, 34px);
  box-shadow: 0 5px 18px rgba(61, 27, 42, .035);
}
.fe-editorial-enrichment .fe-choice-block {
  background: linear-gradient(112deg, #fff9fb 0%, #fffdfa 92%);
  border-color: #e6cbd5;
  margin-bottom: 18px;
}
/* L'introduzione è a tutta larghezza: mai affiancarla a due elenchi lunghi. */
.fe-editorial-enrichment .fe-choice-intro {
  max-width: 88ch;
  padding: 0 1px 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ecdee2;
}
.fe-editorial-enrichment .fe-choice-intro-single { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.fe-editorial-enrichment .fe-choice-summary {
  font-size: 15.5px;
  line-height: 1.85;
  color: #42383f;
}
.fe-editorial-enrichment .fe-choice-summary p,
.fe-editorial-enrichment .fe-choice-summary-rest p { margin: 0 0 10px; }
.fe-editorial-enrichment .fe-choice-summary p:last-child,
.fe-editorial-enrichment .fe-choice-summary-rest p:last-child { margin-bottom: 0; }
.fe-editorial-enrichment .fe-choice-ellipsis { color: var(--fe-soft); }
.fe-editorial-enrichment .fe-choice-summary-more { margin-top: 10px; }
.fe-editorial-enrichment .fe-choice-summary-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fe-aubergine);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  padding: 3px 0;
}
.fe-editorial-enrichment .fe-choice-summary-more > summary::-webkit-details-marker { display: none; }
.fe-editorial-enrichment .fe-choice-summary-more > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.fe-editorial-enrichment .fe-choice-summary-more[open] > summary span { transform: rotate(180deg); }
.fe-editorial-enrichment .fe-choice-summary-rest {
  max-width: 82ch;
  padding: 13px 0 2px;
  font-size: 15px;
  line-height: 1.78;
  color: #51464d;
}
.fe-editorial-enrichment .fe-choice-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}
.fe-editorial-enrichment .fe-choice-layout-single { grid-template-columns: 1fr; }
.fe-editorial-enrichment .fe-choice-list {
  background: #f4faf6;
  border: 1px solid #d7e8de;
  border-radius: 10px;
  padding: 20px 21px;
}
.fe-editorial-enrichment .fe-choice-caution { background: #fff8f3; border-color: #efdcd0; }
.fe-editorial-enrichment .fe-choice-list h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #27643f;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  margin: 0 0 13px;
  line-height: 1.4;
}
.fe-editorial-enrichment .fe-choice-caution h3 { color: #a04f2c; }
.fe-editorial-enrichment .fe-list-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  color: #fff;
  background: #3c9260;
  font-size: 13px;
  font-weight: 700;
}
.fe-editorial-enrichment .fe-choice-caution .fe-list-flag { background: #b6613f; }
.fe-editorial-enrichment .fe-choice-list ul { margin: 0; padding: 0; list-style: none; }
.fe-editorial-enrichment .fe-choice-list li {
  position: relative;
  padding: 0 0 12px 22px;
  margin: 0;
  color: #36443b;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.fe-editorial-enrichment .fe-choice-caution li { color: #5d493f; }
.fe-editorial-enrichment .fe-choice-list li:last-child { padding-bottom: 0; }
.fe-editorial-enrichment .fe-choice-list li::before {
  content: '✓'; position: absolute; top: 0; left: 0;
  color: #279150; font-weight: 800;
}
.fe-editorial-enrichment .fe-choice-caution li::before { content: '•'; color: #be633c; }
/* Due sezioni leggibili, con card che si adattano al loro contenuto. */
.fe-editorial-enrichment .fe-editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}
.fe-editorial-enrichment .fe-editorial-columns-single { grid-template-columns: 1fr; }
.fe-editorial-enrichment .fe-editorial-card { height: 100%; }
.fe-editorial-enrichment .fe-theme-list { margin: 0; padding: 0; list-style: none; counter-reset: fe-theme; }
.fe-editorial-enrichment .fe-theme-list li {
  counter-increment: fe-theme;
  border-bottom: 1px solid #efe8e6;
  padding: 13px 4px 13px 46px;
  position: relative;
}
.fe-editorial-enrichment .fe-theme-list li:first-child { padding-top: 3px; }
.fe-editorial-enrichment .fe-theme-list li:last-child { border: 0; padding-bottom: 0; }
.fe-editorial-enrichment .fe-theme-list li::before {
  content: counter(fe-theme);
  display: grid;
  place-items: center;
  position: absolute;
  top: 13px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fe-aubergine);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.fe-editorial-enrichment .fe-theme-list li:first-child::before { top: 3px; }
.fe-editorial-enrichment .fe-theme-list strong { font-size: 15px; line-height: 1.46; color: #29232a; }
.fe-editorial-enrichment .fe-theme-list p {
  color: #645960;
  font-size: 14px;
  line-height: 1.67;
  margin: 5px 0 0;
}
.fe-editorial-enrichment .fe-editorial-faq details { border-bottom: 1px solid #ebdfe1; }
.fe-editorial-enrichment .fe-editorial-faq details:last-child { border-bottom: none; }
.fe-editorial-enrichment .fe-editorial-faq summary {
  position: relative;
  padding: 16px 28px 16px 2px;
  cursor: pointer;
  list-style: none;
  color: #2d262d;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.55;
}
.fe-editorial-enrichment .fe-editorial-faq summary::-webkit-details-marker { display: none; }
.fe-editorial-enrichment .fe-editorial-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--fe-aubergine);
  font-size: 22px;
  line-height: 1.2;
}
.fe-editorial-enrichment .fe-editorial-faq details[open] summary::after { content: '−'; }
.fe-editorial-enrichment .fe-editorial-faq details p {
  font-size: 14px;
  line-height: 1.75;
  color: #62565e;
  margin: 0 0 17px 2px;
}
.fe-editorial-enrichment .fe-editorial-faq summary:focus-visible,
.fe-editorial-enrichment .fe-choice-summary-more > summary:focus-visible,
.fe-editorial-enrichment a:focus-visible,
.fe-hero-editorial-link:focus-visible {
  outline: 3px solid #c9a056;
  outline-offset: 4px;
  border-radius: 2px;
}
/* Confronto basato sul prodotto WordPress indicato dall'editor, non su dati generati. */
.fe-editorial-enrichment .fe-editorial-compare { background: #fff9fb; margin-bottom: 17px; }
.fe-editorial-enrichment .fe-comparison-table { display: grid; gap: 12px; }
.fe-editorial-enrichment .fe-comparison-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e9dce1;
  border-radius: 10px;
  overflow: hidden;
}
.fe-editorial-enrichment .fe-comparison-row > div { min-width: 0; padding: 18px; }
.fe-editorial-enrichment .fe-comparison-row > div + div { border-left: 1px solid #efe5e7; }
.fe-editorial-enrichment .fe-comparison-label {
  display: block;
  color: #77636c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.fe-editorial-enrichment .fe-comparison-book-core {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr);
  align-items: center;
  gap: 12px;
}
.fe-editorial-enrichment .fe-comparison-cover {
  display: grid;
  place-items: center;
  width: 60px;
  height: 90px;
  padding: 4px;
  border: 1px solid #ede5e1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(34, 20, 28, .09);
}
.fe-editorial-enrichment .fe-comparison-cover a,
.fe-editorial-enrichment .fe-comparison-cover img {
  display: block;
  width: 100%;
  height: 100%;
}
.fe-editorial-enrichment .fe-comparison-cover img { object-fit: contain; }
.fe-editorial-enrichment .fe-comparison-cover-empty {
  color: #a48a94;
  font-size: 28px;
}
.fe-editorial-enrichment .fe-comparison-book strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.43;
  overflow-wrap: anywhere;
}
.fe-editorial-enrichment .fe-comparison-book strong a { color: var(--fe-aubergine); text-decoration: none; }
.fe-editorial-enrichment .fe-comparison-book strong a:hover { text-decoration: underline; }
.fe-editorial-enrichment .fe-comparison-difference { background: #fefbfc; }
.fe-editorial-enrichment .fe-comparison-difference p {
  margin: 0 0 12px;
  color: #4d4148;
  font-size: 13.8px;
  line-height: 1.66;
}
.fe-editorial-enrichment .fe-compare-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fe-aubergine);
  font-size: 13.3px;
  font-weight: 700;
  text-decoration: none;
}
.fe-editorial-enrichment .fe-compare-more:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Scorciatoia in alto: si mostra solo per arricchimenti verificati. */
body.single-libro .fe-hero-editorial-link,
body.single-videoguida .fe-hero-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 16px;
  padding: 7px 11px;
  border: 1px solid #e4cad2;
  border-radius: 8px;
  background: #fff8fa;
  color: #751d40;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}
body.single-libro .fe-hero-editorial-link:hover,
body.single-videoguida .fe-hero-editorial-link:hover { background: #fbedf1; border-color: #d7b3c0; }
/* Manteniamo le altre sezioni originali intatte e leggibili. */
body.single-libro .fe-book-story-main > .book-description,
body.single-videoguida .fe-book-story-main > .book-description { line-height: 1.79; }
body.single-libro .fe-book-story-grid .features-grid,
body.single-libro .fe-book-story-grid .forwho-grid,
body.single-videoguida .fe-book-story-grid .features-grid,
body.single-videoguida .fe-book-story-grid .forwho-grid { border-radius: 10px; }
@media (max-width: 930px) {
  .fe-editorial-enrichment .fe-comparison-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fe-editorial-enrichment .fe-comparison-difference { grid-column: 1/-1; }
  .fe-editorial-enrichment .fe-comparison-row > .fe-comparison-difference { border-left: none; border-top: 1px solid #efe5e7; }
}
@media (max-width: 760px) {
  .fe-editorial-enrichment .fe-editorial-columns { grid-template-columns: 1fr; }
  .fe-editorial-enrichment .fe-editorial-card { height: auto; }
}
@media (max-width: 610px) {
  body.single-libro .fe-book-reading-body > .fe-editorial-enrichment,
  body.single-videoguida .fe-book-reading-body > .fe-editorial-enrichment { margin-top: 30px; }
  .fe-editorial-enrichment .fe-choice-block,
  .fe-editorial-enrichment .fe-editorial-card,
  .fe-editorial-enrichment .fe-editorial-compare { padding: 20px 17px; }
  .fe-editorial-enrichment .fe-editorial-heading { gap: 10px; margin-bottom: 16px; }
  .fe-editorial-enrichment .fe-editorial-heading h2 { font-size: 24px; }
  .fe-editorial-enrichment .fe-editorial-symbol { width: 32px; height: 32px; flex-basis: 32px; }
  .fe-editorial-enrichment .fe-choice-layout { grid-template-columns: 1fr; gap: 12px; }
  .fe-editorial-enrichment .fe-choice-intro { padding-bottom: 12px; margin-bottom: 14px; }
  .fe-editorial-enrichment .fe-choice-summary { font-size: 15px; }
  .fe-editorial-enrichment .fe-choice-list { padding: 17px 16px; }
  .fe-editorial-enrichment .fe-comparison-row { grid-template-columns: 1fr; }
  .fe-editorial-enrichment .fe-comparison-row > div + div { border-left: none; border-top: 1px solid #efe5e7; }
  .fe-editorial-enrichment .fe-comparison-difference { grid-column: auto; }
  .fe-editorial-enrichment .fe-comparison-book-core { grid-template-columns: 54px minmax(0,1fr); }
  .fe-editorial-enrichment .fe-comparison-cover { width: 54px; height: 81px; }
}
@media (prefers-reduced-motion: reduce) {
  .fe-editorial-enrichment *, .fe-hero-editorial-link { scroll-behavior: auto !important; transition: none !important; }
}
