/* SerieAGoal Server 2.15 | News editorial shelves, below original hero + match carousel.
   Scoped to landing and the two added archives. Existing competition archive CSS untouched. */
.sg215-landing,.sg215-archive{--sg215-surface:var(--sg-surface-secondary,var(--sg-surface,#1c2028));--sg215-border:var(--sg-border,var(--sg-line,rgba(135,150,175,.22)));--sg215-text:var(--sg-text,#f4f5f7);--sg215-muted:var(--sg-muted,#a0a8b7);--sg215-accent:var(--sg-accent,#42a7da);min-width:0;color:var(--sg215-text)}
.sg215-landing{display:flex;flex-direction:column;gap:32px;padding:12px 0 40px;max-width:100%}
.sg215-shelf{min-width:0;width:100%;margin:0}
.sg215-shelf__head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;padding:0 2px}
.sg215-shelf__head h2{font-size:clamp(19px,1.5vw,24px)!important;line-height:1.25;font-weight:820!important;letter-spacing:-.025em;color:var(--sg215-text)!important;margin:0!important}
.sg215-shelf__more{color:var(--sg215-accent)!important;font-size:13px;font-weight:750;text-decoration:none!important;white-space:nowrap}
.sg215-shelf__more:hover{text-decoration:underline!important;text-underline-offset:3px}
.sg215-shelf__feature{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.sg215-shelf__four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.sg215-story{box-sizing:border-box;position:relative;min-width:0;display:flex;flex-direction:column;gap:0;overflow:hidden;border:1px solid var(--sg215-border);border-radius:15px;background:var(--sg215-surface);color:var(--sg215-text)!important;text-decoration:none!important;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.sg215-story:hover,.sg215-story:focus-visible{transform:translateY(-2px);border-color:var(--sg215-accent);box-shadow:0 10px 28px rgba(0,0,0,.14)}
.sg215-story__media{display:block;position:relative;width:100%;aspect-ratio:16/10;background:var(--sg-card,var(--sg215-surface));overflow:hidden;flex:none}
.sg215-story__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.sg215-story:hover .sg215-story__media img{transform:scale(1.025)}
.sg215-story__fallback{display:grid;place-items:center;width:100%;height:100%;opacity:.45}
.sg215-story__body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;min-width:0;flex:1;text-align:left}
.sg215-story__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.34;letter-spacing:-.012em;font-weight:770;color:var(--sg215-text)!important}
.sg215-story__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12.5px;line-height:1.48;color:var(--sg215-muted)!important}
.sg215-story__time{font-size:11px;line-height:1.2;font-weight:500;color:var(--sg215-muted)!important;margin-top:auto}
.sg215-story__source{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.055em;color:var(--sg215-accent)!important}
.sg215-story--lead{display:grid;grid-template-columns:minmax(0,52%) minmax(0,1fr);min-height:220px}
.sg215-story--lead .sg215-story__media{aspect-ratio:auto;height:100%;min-height:220px}
.sg215-story--lead .sg215-story__body{padding:18px;gap:10px}
.sg215-story--lead .sg215-story__title{font-size:clamp(16px,1.4vw,21px);line-height:1.29;-webkit-line-clamp:4}
.sg215-story--lead .sg215-story__excerpt{font-size:13px;-webkit-line-clamp:4}
.sg215-story--medium .sg215-story__title{font-size:13.5px;-webkit-line-clamp:3}
.sg215-story--mini .sg215-story__title{font-size:13px;-webkit-line-clamp:3}
.sg215-story--mini .sg215-story__media{aspect-ratio:16/9}
.sg215-story--mini .sg215-story__body{padding:11px}
.sg215-shelf__feature:has(> :only-child){grid-template-columns:minmax(0,1fr)}
.sg215-shelf__feature:has(> :only-child) .sg215-story--lead{max-width:100%}
.sg215-archive{max-width:1120px;margin:28px auto;padding:0 18px 60px}
.sg215-archive__back{margin:0 0 14px}
.sg215-archive__back a{color:var(--sg215-accent)!important;text-decoration:none}
.sg215-archive__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}
.sg215-archive__head h1{margin:0;font-size:clamp(23px,2.5vw,32px);color:var(--sg215-text)}
.sg215-archive__head span{font-size:13px;color:var(--sg215-muted)}
.sg215-archive__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sg215-story--archive .sg215-story__title{font-size:15px}
.sg215-archive__pagination{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:24px;color:var(--sg215-muted)}
.sg215-archive__pagination a{color:var(--sg215-accent)!important;font-weight:700;text-decoration:none}
.sg215-empty,.sg215-archive__empty{padding:32px 0;color:var(--sg215-muted)}
html[data-sg-theme="light"] .sg215-landing,html[data-sg-theme="light"] .sg215-archive{--sg215-text:var(--sg-text,#141922);--sg215-muted:var(--sg-muted,#5e6879);--sg215-surface:var(--sg-surface-secondary,var(--sg-surface,#f5f7fa));--sg215-border:var(--sg-border,rgba(40,50,60,.15))}
@media(max-width:1150px){.sg215-shelf__feature{grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr))}.sg215-story--lead{display:flex;flex-direction:column;min-height:0}.sg215-story--lead .sg215-story__media{min-height:0;height:auto;aspect-ratio:16/9}.sg215-story--lead .sg215-story__body{padding:13px}.sg215-story--lead .sg215-story__title{font-size:16px}.sg215-story--lead .sg215-story__excerpt{font-size:12px;-webkit-line-clamp:2}}
@media(max-width:790px){.sg215-landing{gap:28px}.sg215-shelf__feature{grid-template-columns:repeat(2,minmax(0,1fr))}.sg215-story--lead{grid-column:1/-1;display:grid;grid-template-columns:45% minmax(0,1fr)}.sg215-story--lead .sg215-story__media{height:100%;aspect-ratio:auto;min-height:185px}.sg215-story--lead .sg215-story__title{font-size:17px}.sg215-shelf__four{grid-template-columns:repeat(2,minmax(0,1fr))}.sg215-archive__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sg215-landing{gap:24px;padding-top:8px}.sg215-shelf__head{margin-bottom:10px}.sg215-shelf__head h2{font-size:19px!important}.sg215-shelf__more{font-size:12px}.sg215-shelf__feature,.sg215-shelf__four{gap:9px}.sg215-shelf__four{margin-top:9px}.sg215-story{border-radius:12px}.sg215-story--lead{grid-column:1/-1;grid-template-columns:1fr;display:flex;flex-direction:column}.sg215-story--lead .sg215-story__media{height:auto;aspect-ratio:16/9;min-height:0}.sg215-story--lead .sg215-story__body{padding:12px;gap:7px}.sg215-story--lead .sg215-story__title{font-size:17px;line-height:1.35}.sg215-story--lead .sg215-story__excerpt{font-size:12px;-webkit-line-clamp:2}.sg215-story--medium .sg215-story__title,.sg215-story--mini .sg215-story__title{font-size:12.5px;line-height:1.3}.sg215-story--medium .sg215-story__body,.sg215-story--mini .sg215-story__body{padding:9px;gap:6px}.sg215-story__time{font-size:10px}.sg215-archive__list{gap:10px}.sg215-archive{padding:0 12px 40px}.sg215-story--archive .sg215-story__title{font-size:12.5px}}
@media(max-width:350px){.sg215-shelf__head h2{font-size:17px!important}.sg215-story--medium .sg215-story__title,.sg215-story--mini .sg215-story__title{font-size:12px}.sg215-story--mini .sg215-story__body{padding:8px}}
@media(prefers-reduced-motion:reduce){.sg215-story,.sg215-story__media img{transition:none!important}}

/* Due notizie nella prima riga: nessuna terza colonna vuota. */
.sg215-shelf__feature:has(> :nth-child(2):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
@media(max-width:790px){.sg215-shelf__feature:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.sg215-shelf__feature:has(> :nth-child(2):last-child) .sg215-story--lead{grid-column:auto;display:flex;flex-direction:column}.sg215-shelf__feature:has(> :nth-child(2):last-child) .sg215-story--lead .sg215-story__media{height:auto;aspect-ratio:16/10;min-height:0}}
@media(max-width:480px){.sg215-shelf__feature:has(> :nth-child(2):last-child) .sg215-story--lead{grid-column:1/-1}.sg215-shelf__feature:has(> :nth-child(2):last-child) .sg215-story--medium{grid-column:1/-1;display:grid;grid-template-columns:38% minmax(0,1fr)}.sg215-shelf__feature:has(> :nth-child(2):last-child) .sg215-story--medium .sg215-story__media{height:100%;aspect-ratio:auto}}
