/* ============================================================
   Blocchi innestati nelle pagine esistenti (tema bd-*), 13/09/2026.
   Generato da blocchi.css con _genera-css.py: non si modifica a mano.
   ============================================================ */
:root {
   --oro: #c9a227;
   --oro-chiaro: #e3c76b;
   --oro-tenue: #efe3bd;
   --avorio: #fffaf0;
   --marrone: #5a4632;
   --marrone-scuro: #4a3a10;
   --grigio: #7a6a4a;
   --blu: #596499;
   --blu-scuro: #46508a;
   --verde: #1f8a3b;
   --rosso: #c0392b;
}
.cdv-b1 { text-align: center; margin-top: 22px !important; }
.cdv-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde); font-weight: 700; margin: 0 0 6px; }
.cdv-b1 h1 {
   font-size: 28px; line-height: 1.16; font-weight: 800; color: var(--marrone);
   margin: 0; letter-spacing: -0.3px; overflow-wrap: break-word;
}
@media (min-width: 400px) { .cdv-b1 h1 { font-size: 31px; } }
.cdv-b1 h1 .cdv-acc { color: var(--verde); }
.cdv-b1 h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--oro); border-radius: 2px; margin: 12px auto 0; }
.cdv-b1-sub { font-size: 15px; color: var(--grigio); margin: 12px 0 0; }
.cdv-b2-hero { text-align: center; }
.cdv-b2-chiama { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--marrone); font-weight: 700; margin: 0 0 2px; }
a.cdv-b2-num {
   display: block; font-size: 40px; line-height: 1.1; font-weight: 800;
   color: var(--blu); text-decoration: none; letter-spacing: .5px; padding: 4px 0;
}
a.cdv-b2-num:hover, a.cdv-b2-num:focus { color: var(--blu-scuro); }
.cdv-b2-canali { font-size: 14.5px; color: var(--marrone-scuro); margin: 2px 0 0; font-weight: 600; }
.cdv-b2-orari { font-size: 14px; color: var(--grigio); margin: 4px 0 0; }
.cdv-modi ul { list-style: none; margin: 0; padding: 0; }
.cdv-modi li {
   margin: 0 0 8px; border: 1px solid var(--oro-chiaro); border-radius: 12px;
   background: var(--avorio); box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
   transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cdv-modi li:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .14); border-color: #d4b24a; transform: translateY(-2px); }
.cdv-modi li > a { display: block; padding: 11px 14px 12px; color: var(--marrone-scuro); text-decoration: none; text-align: center; }
.cdv-modi-intro { font-size: 12.5px; color: #6b5a2a; text-align: center; margin: 0 0 12px; }
.cdv-modi-nome { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.cdv-modi-nome img { width: 18px; height: 18px; vertical-align: -4px; margin-right: 3px; display: inline-block; }
.cdv-modi-num { display: block; margin-top: 2px; font-weight: 700; font-size: 19px; color: var(--blu); white-space: nowrap; }
.cdv-modi-num::before { content: "\260E\FE0F"; font-size: 13px; margin-right: 4px; }
.cdv-modi li > a:hover .cdv-modi-num { text-decoration: underline; }
.cdv-modi-dett { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; }
.cdv-modi-dett b { color: #a5741a; }
.cdv-modi-cta { display: inline-block; margin-top: 3px; padding: 6px 14px; border-radius: 999px; background: var(--blu); color: #fff; font-size: 13px; font-weight: 700; }
.cdv-modi li > a:hover .cdv-modi-cta { background: var(--blu-scuro); }
.cdv-modi-scala { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 7px; }
.cdv-modi-scala span { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--oro-chiaro); white-space: nowrap; }
.cdv-modi-scala b { color: var(--blu); }
.cdv-modi-nota { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #00a82d; font-weight: 700; }
.cdv-sk-legenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 4px; margin: 0 0 14px; }
.cdv-sk-legenda img.cdv-sk-leg { height: 20px; width: auto; max-width: calc(20% - 4px); object-fit: contain; }
ul.cdv-sk { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
ul.cdv-sk li { position: relative; flex: 0 0 170px; width: 170px; height: 198px; margin: 0; padding: 0; }
ul.cdv-sk li::before { content: none !important; }
img.cdv-sk-bordo { position: absolute; top: 0; left: 0; width: 170px; height: 198px; max-width: 170px; z-index: 0; }
.cdv-sk-wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center;
   padding: 22px 20px 40px; text-align: center; }
.cdv-sk-nome { font-size: 14.5px; font-weight: 800; color: #333; line-height: 1.1; letter-spacing: .2px; }
.cdv-sk-cod { font-size: 13px; font-weight: 700; color: #333; margin-top: 1px; }
.cdv-sk-stato { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #6b6b6b; margin-top: 4px; }
a.cdv-sk-prof { margin-top: auto; font-size: 13px; font-weight: 600; color: #333; text-decoration: none; }
a.cdv-sk-prof:hover { text-decoration: underline; }
a.cdv-sk-chiama { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; z-index: 2; display: block; }
a.cdv-sk-chiama span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cdv-sk-new { position: absolute; top: -4px; right: 4px; z-index: 3; background: var(--verde); color: #fff;
   font-size: 10px; font-weight: 700; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; letter-spacing: .3px; }
.cdv-sk-libera .cdv-sk-stato { color: var(--verde); }
.cdv-sk-occupata .cdv-sk-stato { color: var(--rosso); }
.cdv-ops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .cdv-ops { grid-template-columns: repeat(3, 1fr); } }
.cdv-op { position: relative; border: 1px solid var(--oro-tenue); border-radius: 12px; background: #fff; overflow: hidden; }
.cdv-op-card { display: block; padding: 12px 10px 8px; text-decoration: none; color: var(--marrone-scuro); text-align: center; }
.cdv-op-stato { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--grigio); }
.cdv-op-stato i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #bbb; vertical-align: 1px; }
.cdv-op-libera .cdv-op-stato { color: var(--verde); }
.cdv-op-libera .cdv-op-stato i { background: var(--verde); box-shadow: 0 0 0 3px rgba(31, 138, 59, .15); }
.cdv-op-occupata .cdv-op-stato i { background: var(--rosso); }
.cdv-op-pausa .cdv-op-stato i { background: #e79a2b; }
.cdv-op-prenotata .cdv-op-stato i { background: var(--blu); }
.cdv-op-libera { border-color: var(--verde); }
.cdv-op-nome { display: block; font-size: 17px; font-weight: 800; color: var(--marrone); margin: 5px 0 1px; }
.cdv-op-new { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--verde); border-radius: 999px; padding: 1px 6px; vertical-align: 2px; }
.cdv-op-cod { display: block; font-size: 12.5px; color: var(--grigio); }
.cdv-op-profilo { display: block; text-align: center; font-size: 12.5px; padding: 6px 4px 8px; color: var(--blu); text-decoration: none; border-top: 1px solid var(--oro-tenue); }
.cdv-op-profilo:hover { text-decoration: underline; }
.cdv-b3-altre, .cdv-b3-vuoto { text-align: center; font-size: 14px; color: var(--grigio); margin: 12px 0 0; }
.cdv-b3-vuoto a { color: var(--blu); font-weight: 700; text-decoration: none; }
.cdv-turni-intro { font-size: 13px; color: var(--grigio); text-align: center; margin: 0 0 12px; }
.cdv-turni ul { list-style: none; margin: 0; padding: 0; }
.cdv-turni li { padding: 9px 2px; border-top: 1px solid var(--oro-tenue); }
.cdv-turni li:first-child { border-top: 0; }
.cdv-turni-nome { display: block; font-weight: 700; font-size: 15px; color: var(--marrone); }
.cdv-turni-nome em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--grigio); }
.cdv-turni-giorni { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; }
.cdv-turni-giorni span { font-size: 12.5px; color: var(--grigio); white-space: nowrap; }
.cdv-turni-giorni b { color: var(--marrone-scuro); }
.cdv-turni-giorni .cdv-turni-oggi { color: var(--verde); font-weight: 600; }
.cdv-turni-giorni .cdv-turni-oggi b { color: var(--verde); }
.cdv-b4 { text-align: center; }
.cdv-b4-dett { font-size: 14px; color: var(--grigio); margin: 6px 0 0; }
.cdv-b4-box { border: 1px solid var(--oro-chiaro); background: var(--avorio); border-radius: 12px; padding: 15px 16px 13px; }
.cdv-b4-box .cdv-b4-tit { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--marrone); font-weight: 700; margin: 0 0 10px; }
.cdv-b4-box .cdv-b4-dett { font-size: 13px; margin-top: 10px; }
.cdv-b4-link { margin: 8px 0 0; font-size: 13.5px; }
.cdv-b4-link a { color: var(--blu); font-weight: 700; text-decoration: none; }
.cdv-b4-link a:hover { text-decoration: underline; }
.cdv-rec { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--oro-tenue); border-radius: 12px; background: var(--avorio); }
.cdv-rec-stelle { margin: 0; color: var(--verde); letter-spacing: 2px; font-size: 15px; }
.cdv-rec-testo { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.5; }
.cdv-rec footer { font-size: 12.5px; color: var(--grigio); }
.cdv-b6 ol { list-style: none; counter-reset: passo; margin: 0; padding: 0; }
.cdv-b6 li { counter-increment: passo; position: relative; padding: 9px 0 9px 40px; border-top: 1px solid var(--oro-tenue); font-size: 15px; }
.cdv-b6 li:first-child { border-top: 0; }
.cdv-b6 li::before {
   content: counter(passo); position: absolute; left: 0; top: 8px;
   width: 26px; height: 26px; border-radius: 50%; background: var(--oro-tenue);
   color: var(--marrone-scuro); font-weight: 800; font-size: 13px; text-align: center; line-height: 26px;
}
.cdv-b7 { text-align: center; }
.cdv-b7-pill { display: inline-block; border: 2px solid var(--oro); border-radius: 999px; padding: 10px 30px 9px; background: #fffdf7; }
.cdv-b7-taglio { display: block; font-size: 24px; line-height: 1.2; color: var(--marrone-scuro); font-weight: 700; }
.cdv-b7-taglio b { color: var(--verde); font-weight: 800; }
.cdv-b7-min { display: block; font-size: 14px; color: var(--grigio); margin-top: 2px; }
.cdv-b7-invece { font-size: 14px; color: var(--grigio); margin: 8px 0 0; }
.cdv-b7-invece s { color: var(--rosso); }
.cdv-b7-h { font-size: 17px; font-weight: 700; color: var(--marrone); margin: 20px 0 4px; }
.cdv-b7-vant { list-style: none; margin: 0; padding: 0; text-align: left; }
.cdv-b7-vant li { padding: 10px 4px; border-top: 1px solid var(--oro-tenue); font-size: 15px; line-height: 1.4; }
.cdv-b7-vant li:first-child { border-top: 0; }
.cdv-b7-riga { text-align: center; }
.cdv-b7-riga p { margin: 0; font-size: 18px; color: var(--verde); font-weight: 700; }
.cdv-b7-riga s { color: var(--rosso); font-weight: 400; font-size: 15px; }
.cdv-faq details { border-top: 1px solid var(--oro-tenue); }
.cdv-faq details:last-of-type { border-bottom: 1px solid var(--oro-tenue); }
.cdv-faq summary { list-style: none; cursor: pointer; padding: 12px 28px 12px 2px; font-size: 15.5px; font-weight: 700; color: var(--marrone); position: relative; }
.cdv-faq summary::-webkit-details-marker { display: none; }
.cdv-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 20px; color: var(--oro); font-weight: 400; }
.cdv-faq details[open] summary::after { content: "\2013"; }
.cdv-faq .cdv-faq-r { padding: 0 2px 13px; font-size: 15px; line-height: 1.55; color: var(--marrone-scuro); }
.cdv-faq .cdv-faq-r p { margin: 0 0 8px; }
.cdv-faq .cdv-faq-r p:last-child { margin-bottom: 0; }
.cdv-b8 p { font-size: 15.5px; line-height: 1.6; margin: 0 0 12px; }
.cdv-b8 h3 { font-size: 16px; color: var(--marrone); margin: 18px 0 6px; }
.cdv-b8 ul { padding-left: 20px; }
.cdv-b8 li { font-size: 15px; line-height: 1.55; margin-bottom: 6px; }
.cdv-b8-domande p { font-size: 20px; font-weight: 700; color: var(--marrone); line-height: 1.35; margin: 0 0 6px; text-align: center; }
.cdv-b9 { border: 1px dashed var(--oro-chiaro); border-radius: 12px; background: var(--avorio); padding: 14px 16px; text-align: center; }
.cdv-b9-t { margin: 0 0 4px; font-size: 15.5px; }
.cdv-b9-d { margin: 0; font-size: 13.5px; color: var(--grigio); }
.cdv-b9-d a { color: var(--blu); font-weight: 700; text-decoration: none; }
.cdv-sep { border: 0; border-top: 1px solid var(--oro-chiaro); margin: 26px 0; }

/* --- difese contro il tema della pagina ospite --- */
.cdv-in { display: block; width: 100%; max-width: 100%; flex: 1 1 100%;
   margin: 0 0 26px; text-align: left;
   font-family: "Open Sans", -apple-system, Helvetica, Arial, sans-serif;
   color: #4a3a10; line-height: 1.5; }
.cdv-in > section, .cdv-in > div { max-width: 560px; margin-left: auto; margin-right: auto; }
.cdv-in, .cdv-in * { box-sizing: border-box; }
.cdv-in section { margin-top: 22px; margin-bottom: 22px; }
.cdv-in h2, .cdv-in h3 { font-size: 19px; line-height: 1.25; font-weight: 700;
   color: #5a4632; margin: 0 0 10px; text-align: center; text-transform: none; }
.cdv-in ul, .cdv-in ol { margin: 0; padding: 0; }
.cdv-in li { text-indent: 0; background: none; }
/* il tema stampa un glifo icon-font su ogni li::before, con !important */
.cdv-in li::before, .cdv-in li:before { content: none !important; display: none !important; }
.cdv-in img { max-width: 100%; height: auto; }
.cdv-in a { text-decoration: none; }
.cdv-in p { margin: 0 0 8px; }
