/* WEtravel NEWS – Singolo dossier: applicato esclusivamente alle pagine abilitate. */
body.wtd-singolo-standard { --wts-offset:110px; }
body.wtd-singolo-standard #content, body.wtd-singolo-standard #main, body.wtd-singolo-standard #primary { overflow:visible; }
body.wtd-singolo-standard .content-area { overflow:visible; }
.wts-page { max-width:1140px; margin:0 auto; color:#282828; }
.wts-page *, .wts-page *::before, .wts-page *::after { box-sizing:border-box; }
.wts-page [hidden], .wts-progress[hidden] { display:none!important; }
.wts-hero { margin:0 0 36px; padding:12px 0 28px; border-bottom:1px solid #e5e5e5; }
.wts-back { display:inline-block; color:#666; font-size:13px; margin-bottom:24px; text-decoration:none; }
.wts-page .wts-badges { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:0 0 18px; padding:0; }
.wts-kicker { color:#626262; font-size:10px; letter-spacing:1.3px; font-weight:700; }
.wts-state { color:#555; font-size:12px; }

.wts-meta { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:12px; line-height:1.6; color:#626262; }
.wts-layout { display:block; }
.wts-layout.wts-with-toc { display:grid; grid-template-columns:230px minmax(0,1fr); gap:46px; align-items:start; }
.wts-reading { min-width:0; max-width:800px; margin:0 auto; width:100%; }
.wts-aside { position:sticky; top:var(--wts-offset); align-self:start; min-width:0; }
.wts-page .wts-toc { border:1px solid #e2e2e2; background:#fafafa; padding:16px; margin:0; max-height:calc(100vh - var(--wts-offset) - 24px); overflow:auto; }
.wts-toc summary { cursor:pointer; font-size:13px; font-weight:700; line-height:1.5; }
.wts-toc nav { margin-top:12px; }
.wts-page .wts-toc-list { margin:0; padding:0; list-style:none; }
.wts-toc-list li { margin:0 0 9px; padding:0; font-size:12px; line-height:1.5; }
.wts-toc-list li.wts-level-3 { padding-left:12px; font-size:11px; }
.wts-toc-list a { display:block; color:#626262; text-decoration:none; border-left:2px solid transparent; padding-left:9px; }
.wts-toc-list a:hover, .wts-toc-list a[aria-current] { color:#b00000; border-color:#cc0000; }
.wts-page .wts-body { margin:0; padding:0; font-size:17px; line-height:1.75; }
.wts-body p { margin:0 0 18px; font-size:inherit; line-height:inherit; color:inherit; }

.wts-body h2, .wts-body h3, .wts-page { scroll-margin-top:calc(var(--wts-offset) + 12px); }
.wts-body ul, .wts-body ol { margin:0 0 20px; padding-left:24px; }
.wts-body li { margin-bottom:7px; }
.wts-body a, .wts-end a { color:#b00000; text-underline-offset:3px; }
.wts-body .wp-block-table, .wts-body .wts-table-scroll { width:100%; overflow-x:auto; margin:24px 0; }
.wts-body table { width:100%; border-collapse:collapse; font-size:14px; line-height:1.55; margin:0; }
.wts-body th, .wts-body td { padding:12px 14px; border:1px solid #e2e2e2; text-align:left; vertical-align:top; }
.wts-body th { background:#f7f7f7; font-weight:700; }
.wts-body blockquote { border:0; border-left:3px solid #cc0000; padding:12px 20px; margin:24px 0; background:#fafafa; color:#444; font-size:19px; line-height:1.65; }
.wts-body blockquote p:last-child { margin-bottom:0; }
.wts-body img { max-width:100%; height:auto; }
.wts-body iframe { max-width:100%; }
.wts-body pre { max-width:100%; overflow:auto; }
.wts-body .has-small-font-size { font-size:12px; line-height:1.65; }
.wts-page .wts-punti, .wts-page .wts-novita { border:1px solid #e2e2e2; background:#fafafa; padding:20px 23px; margin:0 0 28px; }

.wts-punti ul, .wts-novita ul { margin:0; padding-left:19px; font-size:14px; line-height:1.65; }
.wts-punti li, .wts-novita li { margin-bottom:7px; }
.wts-punti li:last-child, .wts-novita li:last-child { margin-bottom:0; }
.wts-page .wts-novita { margin-top:30px; }
.wts-body .wp-block-premium-content-logged-out-view { border:1px solid #e2e2e2; padding:24px; background:#fafafa; margin:28px 0; }

.wts-body .wp-block-premium-content-logged-out-view p { font-size:14px; line-height:1.65; }
.wts-body .wp-block-premium-content-buttons { gap:10px; display:flex; flex-wrap:wrap; }
.wts-body .wp-block-premium-content-buttons .wp-block-button__link { border-radius:2px; background:#cc0000; color:#fff; font-size:13px; padding:11px 18px; }
.wts-end { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:22px 0; margin-top:32px; border-top:1px solid #e2e2e2; font-size:13px; }
.wts-progress { position:fixed; top:0; left:0; width:100%; height:2px; z-index:99990; pointer-events:none; background:transparent; }
.wts-progress span { display:block; height:100%; background:#cc0000; transform:scaleX(0); transform-origin:left; width:100%; }
.wts-page a:focus-visible, .wts-page summary:focus-visible { outline:3px solid #1675c5; outline-offset:3px; }
@media(max-width:991px) { .wts-layout.wts-with-toc { grid-template-columns:minmax(0,1fr); gap:22px; } .wts-aside { position:static; } .wts-page .wts-toc { max-height:none; } .wts-page .wts-hero { margin-bottom:26px; } .wts-meta { gap:6px 14px; } }
@media(max-width:600px) {   .wts-page .wts-body { font-size:16px; }   .wts-page .wts-punti, .wts-page .wts-novita, .wts-body .wp-block-premium-content-logged-out-view { padding:17px; } }
@media print { .wts-aside, .wts-progress, .wts-end { display:none!important; } .wts-layout.wts-with-toc { display:block; } .wts-reading { max-width:none; } .wts-body h2, .wts-body h3 { break-after:avoid; } }

/* H1–H6: aspetto ereditato dal CSS originale del sito, senza override del plugin. */


/* Comandi e riferimenti della versione stampabile. */
.wts-print-button { appearance:none; display:inline-block; background:transparent; color:#555; border:1px solid #ddd; padding:6px 10px; margin:0; min-width:0; min-height:0; height:auto; line-height:1.5; font:inherit; letter-spacing:0; cursor:pointer; text-transform:none; }
.wts-print-source { display:none; }
@media print {
    @page { size:A4; margin:16mm 15mm 18mm; }
    body.wtd-singolo-standard { background:#fff!important; margin:0!important; }
    body.wtd-singolo-standard #masthead,
    body.wtd-singolo-standard #colophon,
    body.wtd-singolo-standard .header-callout,
    body.wtd-singolo-standard #wpadminbar,
    body.wtd-singolo-standard #secondary,
    body.wtd-singolo-standard .comments-area,
    body.wtd-singolo-standard .sharedaddy,
    body.wtd-singolo-standard .wts-print-button,
    body.wtd-singolo-standard .wts-back,
    body.wtd-singolo-standard .wts-aside,
    body.wtd-singolo-standard .wts-progress,
    body.wtd-singolo-standard .wts-end,
    body.wtd-singolo-standard .wp-block-premium-content-buttons { display:none!important; }
    body.wtd-singolo-standard #content,
    body.wtd-singolo-standard #main,
    body.wtd-singolo-standard #primary,
    body.wtd-singolo-standard .content-area,
    body.wtd-singolo-standard #main > .row {
        display:block!important; width:100%!important; max-width:none!important;
        margin:0!important; padding:0!important; float:none!important;
        overflow:visible!important; height:auto!important; min-height:0!important;
    }
    .wts-page, .wts-layout, .wts-layout.wts-with-toc, .wts-reading {
        display:block!important; width:100%!important; max-width:none!important;
        margin:0!important; padding:0!important; overflow:visible!important;
    }
    .wts-hero { margin:0 0 7mm; padding:0 0 5mm; }
    .wts-meta { gap:2mm 5mm; font-size:9pt; }
    .wts-badges .wtd-label { background:transparent!important; color:#333!important; border:1px solid #aaa; }
    .wts-page .wts-body { font-size:11pt; line-height:1.55; }
    .wts-body p, .wts-body li { orphans:3; widows:3; }
    .wts-body p { margin-bottom:3.5mm; }
    .wts-body h1, .wts-body h2, .wts-body h3, .wts-body h4,
    .wts-body h5, .wts-body h6 { break-after:avoid; }
    .wts-body a { overflow-wrap:anywhere; }
    .wts-body .wp-block-table, .wts-body .wts-table-scroll {
        display:block; overflow:visible!important; max-width:100%; width:100%;
        break-inside:auto; margin:5mm 0;
    }
    .wts-body table { width:100%; max-width:100%; font-size:9pt; line-height:1.4; }
    .wts-body thead { display:table-header-group; }
    .wts-body tfoot { display:table-footer-group; }
    .wts-body tr { break-inside:avoid; }
    .wts-body td, .wts-body th { padding:2mm; overflow-wrap:anywhere; }
    .wts-body img { max-width:100%; max-height:230mm; object-fit:contain; }
    .wts-body blockquote { padding:3mm 4mm; margin:5mm 0; }
    .wts-page .wts-punti, .wts-page .wts-novita,
    .wts-body .wp-block-premium-content-logged-out-view { padding:4mm; margin:5mm 0; }
    .wts-print-source { display:block; margin:7mm 0 0; padding-top:3mm; border-top:1px solid #ccc; font-size:8pt; line-height:1.5; overflow-wrap:anywhere; }
    .wts-print-source a { color:inherit; }
}

/* Registro aggiornamenti: blocco nel contenuto, protetto dal contenitore premium scelto dall'autore. */
.wts-page .wts-body .wts-aggiornamenti { border:1px solid #e2e2e2; background:#fafafa; padding:20px 23px; margin:28px 0; }
.wts-page .wts-body .wts-aggiornamenti > :last-child { margin-bottom:0; }
@media print { .wts-page .wts-body .wts-aggiornamenti { padding:4mm; margin:5mm 0; } }
