/* Article edition — scoped to single.php, no changes to the masthead or homepage. */
.editorial-single{--reading:740px;padding-block:46px 76px}
.editorial-single .editorial-article{max-width:none}
.editorial-opening{border-top:3px solid var(--green);border-bottom:1px solid var(--line);padding:26px 0 28px;margin-bottom:44px}
.editorial-opening.has-hero{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,60px);align-items:center}
.editorial-heading{min-width:0}
.editorial-kicker{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.editorial-kicker:empty{display:none}
.editorial-kicker .eyebrow{font-size:12px;letter-spacing:.13em;margin:0}
.editorial-kicker::after{content:'';display:block;width:40px;height:1px;background:var(--green)}
.editorial-heading h1{font-size:clamp(32px,3.55vw,57px);font-weight:700;letter-spacing:-.043em;line-height:1.09;margin:0 0 24px;text-wrap:pretty;overflow-wrap:break-word}
.editorial-deck{font:clamp(19px,1.7vw,23px)/1.48 var(--serif);color:#4b5046;margin:0 0 25px}
.editorial-byline{display:flex;gap:7px 18px;align-items:baseline;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font:13px/1.5 var(--sans)}
.byline-author{font-weight:700;color:var(--ink)}
.byline-prefix{font-weight:400;color:var(--muted)}
.byline-author a:hover{text-decoration:underline;text-underline-offset:3px}
.editorial-hero{min-width:0;margin:0;align-self:center}
.editorial-hero img{display:block;width:100%;height:auto;max-height:680px;object-fit:contain;object-position:center;background:#efeee8}
.editorial-hero figcaption{font:12px/1.6 var(--sans);color:var(--muted);padding-top:10px;border-top:1px solid var(--line);margin-top:7px}
.editorial-opening.text-only .editorial-heading{max-width:var(--reading);margin:auto}
.editorial-opening.text-only h1{font-size:clamp(34px,4.6vw,65px)}
.editorial-reading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--reading)) minmax(0,1fr);gap:clamp(20px,3vw,48px);align-items:start}
.editorial-margin{min-width:0;grid-column:1;align-self:stretch}
.margin-inner{position:sticky;top:56px;border-top:1px solid var(--green);padding-top:14px;color:var(--green);max-width:160px}
.margin-label,.margin-brand{display:block;font:italic 19px/1.2 var(--serif)}
.margin-brand{font-size:23px}
.margin-rule{width:26px;height:1px;background:var(--line);margin:18px 0}
.editorial-print:not([hidden]){display:flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:var(--muted);font:12px/1.4 var(--sans);text-align:left}
.editorial-print:hover{color:var(--green)}
.editorial-prose{grid-column:2;min-width:0}
.editorial-content.entry-content{max-width:none;font:clamp(19px,1.6vw,22px)/1.78 var(--serif);color:var(--ink);margin:0}
.editorial-content p{margin:0 0 1.15em}
/* Apply only to plain opening paragraphs, not structured sports reports or bold labels. */
.editorial-content>p:first-child:not(:has(>strong,>b,>a,>img,>br,>span,>em,>i))::first-letter{float:left;font:700 3.65em/.83 var(--serif);color:var(--green);margin:.10em .12em 0 0}
.editorial-content h2,.editorial-content h3{letter-spacing:-.02em;color:var(--ink)}
.editorial-content blockquote{margin:1.6em 0;padding:20px 0 20px 26px;border-left:3px solid var(--green);border-block:1px solid var(--line);font-size:1.16em;line-height:1.5;color:var(--green)}
.editorial-content blockquote p:last-child{margin-bottom:0}
.editorial-content blockquote cite{display:block;font:12px/1.5 var(--sans);margin-top:12px;color:var(--muted)}
.editorial-content .wp-block-pullquote{border-block:1px solid var(--green);padding:20px 0;margin:1.6em 0}
.editorial-content .wp-block-pullquote blockquote{border:0;padding:0;margin:0}
.editorial-content .alignwide,.editorial-content .alignfull{width:100%;max-width:100%;margin-inline:0}
.editorial-content :where(img,video,iframe){max-width:100%}
.editorial-end.article-footer{max-width:none;margin:32px 0 0;padding-bottom:22px;border-bottom:1px solid var(--line)}
.editorial-end-mark{width:34px;height:3px;background:var(--green);margin-bottom:13px}
.editorial-signature{font:700 15px/1.5 var(--sans);color:var(--ink);margin:0 0 12px}
.editorial-end .tags a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
.editorial-single .post-navigation,.editorial-single .comments-area{max-width:var(--reading)}
.editorial-single .post-navigation{border-top:0;padding-top:0}
.editorial-single .post-navigation .nav-links{gap:30px}
.editorial-single .post-navigation .nav-next{text-align:right}
.editorial-single .post-navigation .nav-links>div{min-width:0}
.editorial-single .post-navigation .nav-links span{margin-bottom:6px;letter-spacing:.06em}
.editorial-related{margin-top:62px;padding-top:22px}
.editorial-related .section-label{font-size:13px}
@media(max-width:1050px){.editorial-reading{grid-template-columns:minmax(0,130px) minmax(0,var(--reading));justify-content:center;gap:24px}.editorial-opening.has-hero{gap:28px}.editorial-heading h1{font-size:clamp(32px,4.1vw,48px)}}
@media(max-width:800px){.editorial-single{padding-top:28px}.editorial-opening{padding-top:19px;margin-bottom:28px;padding-bottom:20px}.editorial-opening.has-hero{grid-template-columns:1fr;gap:24px}.editorial-heading h1{font-size:clamp(34px,6.1vw,52px);margin-bottom:18px}.editorial-reading{display:block;max-width:var(--reading);margin:auto}.editorial-margin{display:none}.editorial-kicker{margin-bottom:12px}.editorial-related{margin-top:42px}}
@media(max-width:480px){.editorial-heading h1{font-size:clamp(30px,8.4vw,37px)}.editorial-content.entry-content{font-size:19px;line-height:1.7}.editorial-single .post-navigation .nav-next{text-align:left}.editorial-byline{font-size:12px}.editorial-single{padding-bottom:44px}}
@media print{.editorial-single{width:100%;padding:0;color:#000}.site-header,.site-footer,.editorial-margin,.editorial-related,.editorial-single .post-navigation,.editorial-single .comments-area,#wpadminbar{display:none!important}.editorial-opening.has-hero,.editorial-reading{display:block}.editorial-opening{padding:0 0 12px;margin:0 0 16px}.editorial-heading h1{font-size:29pt}.editorial-hero{margin:18px 0;break-inside:avoid}.editorial-hero img{max-height:90mm;width:auto;max-width:100%;margin:auto}.editorial-content.entry-content{font-size:12pt;line-height:1.5}.editorial-content a{color:#000}.editorial-content>p:first-child::first-letter{float:none;font:inherit;color:inherit;margin:0}body{background:#fff!important}}

/* Edizione 0.3 — ritmo tipografico da quotidiano. */
.editorial-content.entry-content p:not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right){text-align:justify;text-align-last:start;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
.editorial-content.entry-content :where(figcaption,.wp-caption-text) p{text-align:start;hyphens:none}
.editorial-views{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.editorial-views svg{flex:none;color:var(--green)}
@media(max-width:480px){.editorial-content.entry-content p:not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right){hyphens:auto;word-spacing:normal}}
@media print{.editorial-views{display:none}}

/* 0.5 — reading area extends to the right edge of the opening. */
@media screen and (min-width:801px){
.editorial-single{--margin-width:clamp(125px,15vw,190px);--reading-gap:clamp(24px,4vw,60px)}
.editorial-reading{grid-template-columns:var(--margin-width) minmax(0,1fr);gap:var(--reading-gap);justify-content:stretch;max-width:none}
.editorial-prose{grid-column:2;width:100%}
.editorial-single .post-navigation,.editorial-single .comments-area{max-width:none;margin-left:calc(var(--margin-width) + var(--reading-gap));margin-right:0}
}
@media screen and (max-width:800px){.editorial-reading,.editorial-single .post-navigation,.editorial-single .comments-area{max-width:none}}
