/*
Theme Name: Cordenonese 3S
Author: Damiano Acchione
Description: Tema ufficiale della A.C. Cordenonese 3S ASD, società dilettantistica di calcio. Home animata, partite del weekend, squadre, sponsor, organigramma, safeguarding, news e contatti, tutto modificabile dal backend.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cordenonese3s
*/

/* ---------- Base ---------- */
:root {
	--am: #8E1230;
	--am-mid: #6E0F26;
	--am-deep: #3D0914;
	--or: #D95C3B;
	--gr: #64A757;
	--bg: #FBF7F4;
	--ink: #2A1418;
	--muted: #6B4A50;
	--line: #EADDD8;
	--rose: #F3DCD6;
	--head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
	--body: 'Barlow', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; }
a { color: var(--am); }
a:hover { color: #5C0A1E; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.c3s-skip:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 100; background: #fff; padding: 12px 18px; }
.c3s-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.c3s-section { padding-top: 80px; padding-bottom: 80px; }
.c3s-narrow { max-width: 980px; }
.c3s-empty { font-size: 19px; color: var(--muted); }

/* ---------- Header e menu ---------- */
.c3s-header { position: sticky; top: 0; z-index: 50; background: var(--am-mid); color: #fff; transition: background-color .3s, box-shadow .3s; }
.admin-bar .c3s-header { top: 32px; }
.c3s-header.is-scrolled { background: var(--am-mid); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.c3s-header--overlay { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
.admin-bar .c3s-header--overlay { top: 32px; }
.c3s-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 18px 5%; transition: padding .3s; }
.c3s-header.is-scrolled .c3s-header__in { padding-top: 8px; padding-bottom: 8px; }
.c3s-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.c3s-brand:hover { color: #fff; }
.c3s-brand__logo { display: block; width: 60px; height: 60px; border-radius: 50%; background: #fff; overflow: hidden; flex-shrink: 0; transition: width .3s, height .3s; }
.c3s-header.is-scrolled .c3s-brand__logo { width: 46px; height: 46px; }
.c3s-brand__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.c3s-brand__name { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.c3s-navtoggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; font: 600 18px var(--head); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: none; border: 2px solid rgba(255,255,255,.7); cursor: pointer; }
.c3s-navtoggle__bars { width: 20px; height: 2px; background: #fff; box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff; }
.c3s-menu, .c3s-menu ul { list-style: none; margin: 0; padding: 0; }
.c3s-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-family: var(--head); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.c3s-menu li { position: relative; }
.c3s-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; color: #fff; text-decoration: none; border-bottom: 3px solid transparent; }
.c3s-menu a:hover { color: #F2A07E; }
.c3s-menu > .current-menu-item > a, .c3s-menu > .current-menu-ancestor > a { border-bottom-color: var(--or); }
.c3s-menu .menu-item-has-children > a::after { content: ''; width: 7px; height: 7px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.c3s-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 230px; padding: 8px 0; background: #fff; border-top: 4px solid var(--or); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.c3s-menu li:hover > .sub-menu, .c3s-menu li:focus-within > .sub-menu, .c3s-menu li.is-open > .sub-menu { display: block; }
.c3s-menu .sub-menu a { padding: 10px 20px; color: var(--ink); border: 0; }
.c3s-menu .sub-menu a:hover { color: var(--am); background: var(--bg); }

@media (max-width: 960px) {
	.c3s-navtoggle { display: inline-flex; }
	.c3s-nav { display: none; flex-basis: 100%; }
	.c3s-nav.is-open { display: block; max-height: calc(100vh - 90px); overflow-y: auto; }
	.c3s-header--overlay .c3s-nav.is-open { background: var(--am-deep); margin: 0 -5vw; padding: 8px 5vw 16px; }
	.c3s-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.c3s-menu a { border-bottom: 1px solid rgba(255,255,255,.15); }
	.c3s-menu .sub-menu { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 0 18px; }
	.c3s-menu .sub-menu a { color: var(--rose); }
	.c3s-menu .sub-menu a:hover { color: #fff; background: none; }
	.c3s-brand__name { font-size: 20px; }
}
@media (max-width: 782px) { .admin-bar .c3s-header, .admin-bar .c3s-header--overlay { top: 46px; } }
@media (max-width: 600px) { .admin-bar .c3s-header { top: 0; } .admin-bar .c3s-header--overlay { top: 46px; } .admin-bar .c3s-header--overlay.is-scrolled { top: 0; } }
@media (max-width: 520px) {
	.c3s-brand { flex: 1 1 0; min-width: 0; gap: 10px; }
	.c3s-brand__logo { width: 48px; height: 48px; }
	.c3s-brand__name { font-size: 17px; }
	.c3s-navtoggle { flex-shrink: 0; }
	.c3s-kicker { font-size: 16px; letter-spacing: .12em; }
}

/* ---------- Elementi ricorrenti ---------- */
.c3s-stripes { position: absolute; top: 0; bottom: 0; right: 0; left: -530px; opacity: .5; pointer-events: none; background-image: repeating-linear-gradient(115deg, transparent 0 200px, rgba(255,255,255,.05) 200px 230px, transparent 230px 400px, rgba(217,92,59,.28) 400px 412px, transparent 412px 440px, rgba(100,167,87,.28) 440px 452px, transparent 452px 480px); }
.c3s-stripes--move { animation: c3s-slide 14s linear infinite; }
.c3s-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.c3s-flag { display: flex; gap: 4px; }
.c3s-flag i { width: 28px; height: 6px; background: var(--gr); }
.c3s-flag i + i { background: var(--or); }
.c3s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.c3s-btn--accent { background: var(--or); color: #2A0A0F; }
.c3s-btn--accent:hover { background: #E87B5C; color: #2A0A0F; }
.c3s-btn--ghost { border-color: #fff; color: #fff; }
.c3s-btn--ghost:hover { background: #fff; color: var(--am-deep); }
.c3s-btn--primary { background: var(--am); color: #fff; }
.c3s-btn--primary:hover { background: var(--am-mid); color: #fff; }
.c3s-more { font-weight: 600; }
.c3s-sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.c3s-sechead h2, .c3s-h2 { margin: 0; font-style: italic; font-weight: 800; font-size: clamp(40px, 5vw, 56px); line-height: 1; text-transform: uppercase; color: var(--am); }
.c3s-h2 { margin: 48px 0 20px; font-size: 40px; }
.c3s-h2:first-child { margin-top: 0; }
.c3s-grid { display: grid; gap: 28px; }
.c3s-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.c3s-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.c3s-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.c3s-tricolor { display: flex; height: 8px; }
.c3s-tricolor i { flex: 1; background: var(--gr); }
.c3s-tricolor i + i { background: var(--or); }
.c3s-chip { display: inline-block; padding: 8px 12px; font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.1; }
.c3s-chip--a { background: var(--am); color: #fff; }
.c3s-chip--b { background: var(--or); color: #2A0A0F; }
.c3s-chip--c { background: var(--gr); color: #10240C; }
.c3s-badge { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; }
.c3s-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.c3s-badge--lg { width: 96px; height: 96px; }
.c3s-badge--empty { background: var(--rose); border-color: transparent; color: var(--am-mid); font-family: var(--head); font-weight: 700; font-size: 22px; }
.c3s-badge--lg.c3s-badge--empty { font-size: 32px; }
.c3s-team-name { font-family: var(--head); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.05; max-width: 100%; overflow-wrap: break-word; }
.c3s-score { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--am); }
.c3s-score__sep { font-size: .55em; opacity: .7; }
.c3s-kickoff { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 96px; }
.c3s-kickoff__time { font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--am); }
.c3s-kickoff__day { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c3s-venue::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 9px; border: 3px solid #3F7A35; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) translateY(-2px); }
.c3s-venue:empty::before { display: none; }

/* ---------- Hero Home ---------- */
.c3s-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: max(680px, 100vh); min-height: max(680px, 100svh); background: var(--am-deep); color: #fff; }
.c3s-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.c3s-hero__media--glow { background: radial-gradient(circle at 78% 45%, #A3173A 0%, #6E0F26 38%, #3D0914 75%); }
.c3s-hero__media--zoom { animation: c3s-zoom 18s ease-in-out infinite alternate; }
.c3s-hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(61,9,20,.92) 0%, rgba(110,15,38,.78) 50%, rgba(110,15,38,.45) 100%); }
.c3s-hero__in { position: relative; z-index: 1; flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding-top: 140px; padding-bottom: 110px; }
.c3s-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.c3s-hero__title { margin: 0; font-style: italic; font-weight: 800; font-size: clamp(46px, 7vw, 112px); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: break-word; }
.c3s-hero__lead { margin: 0; max-width: 520px; font-size: 21px; color: var(--rose); }
.c3s-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.c3s-emblem { position: relative; flex: 0 1 380px; min-width: 240px; aspect-ratio: 1; animation: c3s-float 6s ease-in-out infinite; }
.c3s-emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35); animation: c3s-spin 40s linear infinite; }
.c3s-emblem__arc { position: absolute; inset: 7%; border-radius: 50%; border: 10px solid transparent; border-top-color: var(--gr); border-right-color: var(--or); transform: rotate(20deg); }
.c3s-emblem__logo { position: absolute; inset: 13%; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.c3s-emblem__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.c3s-hero__cue { position: absolute; z-index: 1; left: 5%; bottom: 28px; display: flex; align-items: center; gap: 12px; font-family: var(--head); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.c3s-hero__cue span { width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: c3s-cue 1.8s ease-in-out infinite; }
@media (max-width: 700px) { .c3s-emblem { flex-basis: 220px; margin: 0 auto; } .c3s-hero__in { padding-top: 120px; } }

@keyframes c3s-slide { from { transform: translateX(0); } to { transform: translateX(529.62px); } }
@keyframes c3s-spin { to { transform: rotate(360deg); } }
@keyframes c3s-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes c3s-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes c3s-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes c3s-cue { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 1; } 50% { transform: translateY(8px) rotate(45deg); opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.c3s-stripes--move, .c3s-hero__media--zoom, .c3s-emblem, .c3s-emblem__ring, .c3s-hero__cue span, .c3s-marquee--move .c3s-marquee__track { animation: none; }
	.c3s-marquee--move { overflow-x: auto; }
}

/* ---------- Schede partita (Home) ---------- */
.c3s-card-match { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 36px; background: #fff; border: 2px solid var(--am); }
.c3s-card-match__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-family: var(--head); font-size: 19px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c3s-card-match__top strong { color: var(--am); }
.c3s-card-match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.c3s-card-match__team { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.c3s-card-match .c3s-score { font-size: clamp(48px, 5.5vw, 72px); }
.c3s-card-match .c3s-team-name { font-size: 22px; }

.c3s-card-match .c3s-kickoff__time { font-size: clamp(44px, 6vw, 64px); }
.c3s-card-match__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.c3s-card-match__bottom > span:first-child::first-letter { text-transform: uppercase; }
.c3s-tag { padding: 4px 12px; background: #E4F1E1; color: #2C5A25; font-weight: 600; }
.c3s-card-match--dark { background: var(--am); border-color: var(--am); color: #fff; }
.c3s-card-match--dark::before { content: ''; position: absolute; top: 0; right: 0; width: 112px; height: 8px; background: linear-gradient(90deg, var(--gr) 50%, var(--or) 50%); }
.c3s-card-match--dark .c3s-card-match__top, .c3s-card-match--dark .c3s-card-match__bottom { color: var(--rose); }
.c3s-card-match--dark .c3s-card-match__top strong, .c3s-card-match--dark .c3s-score { color: #fff; }
.c3s-card-match--dark .c3s-card-match__bottom { border-top-color: rgba(255,255,255,.25); }
.c3s-card-match--dark .c3s-venue::before { border-color: #A9D8A0; }
@media (max-width: 520px) { .c3s-card-match { padding: 24px 18px; } .c3s-badge--lg { width: 68px; height: 68px; } .c3s-card-match .c3s-team-name { font-size: 17px; } .c3s-card-match .c3s-score { font-size: 44px; gap: 6px; } .c3s-card-match__teams { gap: 8px; } }

/* ---------- Sponsor ---------- */
.c3s-sponsors { padding: 64px 0 72px; background: #2F6B2A; border-top: 8px solid var(--gr); color: #fff; overflow: hidden; }
.c3s-sponsors .c3s-sechead h2 { color: #fff; }
.c3s-sponsors .c3s-more { color: #fff; }
.c3s-sponsors .c3s-more:hover { color: #DDF0D9; }
.c3s-marquee { overflow: hidden; }
.c3s-marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding: 0 28px; }
.c3s-marquee--move .c3s-marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0 0 0 28px; animation: c3s-marquee 40s linear infinite; }
.c3s-marquee--move:hover .c3s-marquee__track { animation-play-state: paused; }
.c3s-marquee__item { display: flex; align-items: center; justify-content: center; width: 220px; height: 110px; padding: 10px 18px; flex-shrink: 0; }
.c3s-marquee__item--light { background: #fff; }
.c3s-marquee__item img, .c3s-board img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Pagina Sponsor: loghi sul fondo amaranto, con forme astratte verdi e arancio */
.c3s-sponsorpage { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--am-mid) 0, var(--am-mid) 220px, #4E0B1B 620px, var(--am-deep) 70%, #1B0409 100%); }
.c3s-sponsorpage .c3s-pagehead { position: relative; z-index: 1; background: transparent; overflow: visible; }
.c3s-sponsorpage .c3s-pagehead > .c3s-stripes { display: none; }
.c3s-boards { position: relative; padding: 24px 0 104px; }
.c3s-boards .c3s-wrap { position: relative; z-index: 1; }
/* Forme astratte sullo sfondo: richiamano i colori e spezzano la griglia dei loghi */
.c3s-boards__deco { position: absolute; inset: 0; pointer-events: none; }
.c3s-boards__deco i { position: absolute; display: block; }
.c3s-boards__deco i:nth-child(1) { top: -140px; left: -250px; width: 360px; height: 360px; border-radius: 50%; border: 34px solid var(--or); opacity: .9; }
.c3s-boards__deco i:nth-child(2) { top: -150px; right: -220px; width: 640px; height: 40px; background: var(--gr); transform: rotate(-16deg); opacity: .85; }
.c3s-boards__deco i:nth-child(3) { top: -96px; right: -260px; width: 520px; height: 12px; background: var(--or); transform: rotate(-16deg); opacity: .85; }
.c3s-boards__deco i:nth-child(4) { top: 42%; left: -70px; width: 190px; height: 220px; background-image: radial-gradient(var(--gr) 30%, transparent 33%); background-size: 24px 24px; opacity: .6; }
.c3s-boards__deco i:nth-child(5) { bottom: -290px; right: 3%; width: 400px; height: 400px; border-radius: 50%; background: var(--or); opacity: .9; }
.c3s-boards__deco i:nth-child(6) { bottom: -70px; left: 6%; width: 170px; height: 170px; border-radius: 50%; border: 18px solid var(--gr); opacity: .55; }
.c3s-boards__deco i:nth-child(7) { top: 58%; right: -60px; width: 120px; height: 120px; background: repeating-linear-gradient(135deg, var(--or) 0 10px, transparent 10px 22px); opacity: .7; }
.c3s-boardgrid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 72px 64px; }
.c3s-board { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; padding: 8px; text-decoration: none; transition: transform .25s; }
.c3s-board img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
a.c3s-board:hover, a.c3s-board:focus-visible { transform: scale(1.06) rotate(-1deg); }
.c3s-board--light { background: #fff; padding: 16px 20px; }
.c3s-sponsor__name { position: relative; z-index: 1; font-family: var(--head); font-weight: 700; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: #fff; }
.c3s-board--light .c3s-sponsor__name { color: var(--ink); }
.c3s-boards .c3s-empty { color: var(--rose); }
@media (max-width: 600px) {
	.c3s-boardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
	.c3s-boards__deco { transform-origin: 0 0; }
	.c3s-boards__deco i { scale: .55; }
	.c3s-boards__deco i:nth-child(2), .c3s-boards__deco i:nth-child(3), .c3s-boards__deco i:nth-child(4) { display: none; }
}

/* ---------- News ---------- */
.c3s-news { display: flex; flex-direction: column; background: #fff; border-bottom: 6px solid var(--am); }
.c3s-grid > .c3s-news:nth-child(3n+2) { border-bottom-color: var(--or); }
.c3s-grid > .c3s-news:nth-child(3n) { border-bottom-color: var(--gr); }
.c3s-news__img { display: block; aspect-ratio: 16 / 10; background: #EFE3DF url('assets/img/logo.png') center / 90px no-repeat; overflow: hidden; }
.c3s-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.c3s-news:hover .c3s-news__img img { transform: scale(1.04); }
.c3s-news__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.c3s-news__meta { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c3s-news__title { margin: 0; font-weight: 700; font-size: 30px; line-height: 1.1; }
.c3s-news__title a { color: var(--ink); text-decoration: none; }
.c3s-news__title a:hover { color: var(--am); }
.c3s-news__body p { margin: 0; color: #4F3338; }
.c3s-news__body .c3s-more { margin-top: auto; padding-top: 6px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--am); border-color: var(--am); color: #fff; }

/* ---------- Pagine interne ---------- */
.c3s-pagehead { position: relative; overflow: hidden; background: var(--am-mid); color: #fff; }
.c3s-pagehead__in { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 60px; }
.c3s-pagehead__in > div { display: flex; flex-direction: column; gap: 12px; }
.c3s-pagehead__title { margin: 0; font-style: italic; font-weight: 800; font-size: clamp(38px, 8vw, 112px); line-height: .9; text-transform: uppercase; overflow-wrap: break-word; }
.c3s-pagehead__intro { margin: 0; max-width: 380px; font-size: 19px; color: var(--rose); }
.c3s-prose { font-size: 19px; }
.c3s-prose > * { margin-top: 0; margin-bottom: 1.3em; }
.c3s-prose h2 { margin-top: 1.6em; font-style: italic; font-weight: 800; font-size: 40px; text-transform: uppercase; color: var(--am); }
.c3s-prose h3 { margin-top: 1.4em; font-weight: 700; font-size: 30px; }
.c3s-prose img { display: block; }
.c3s-prose figure { margin-left: 0; margin-right: 0; }
.c3s-prose figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.c3s-prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 6px solid var(--or); font-size: 22px; }
.c3s-prose table { width: 100%; border-collapse: collapse; }
.c3s-prose th, .c3s-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.c3s-prose .alignwide { margin-left: -6%; margin-right: -6%; max-width: 112%; width: 112%; }
.c3s-prose .wp-block-button__link { background: var(--am); color: #fff; border-radius: 0; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.c3s-home-extra .c3s-prose { padding-bottom: 80px; }
.c3s-single__img { margin: 0 0 40px; }
.c3s-single__img img { display: block; width: 100%; }
.c3s-back { margin-top: 48px; }

/* ---------- Weekend ---------- */
.c3s-day { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.c3s-day:last-child { margin-bottom: 0; }
.c3s-day__title { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; font-style: italic; font-weight: 800; font-size: clamp(34px, 4.500vw, 48px); line-height: 1; text-transform: uppercase; color: var(--am); }
.c3s-day__title span { flex: 1; height: 3px; background: var(--am); }
.c3s-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 22px 28px; background: #fff; box-shadow: 0 2px 0 var(--line); }
.c3s-row .c3s-chip { flex: 0 0 150px; font-size: 17px; }
.c3s-row__teams { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.c3s-row__team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.c3s-row__team--home { justify-content: flex-end; text-align: right; }
.c3s-row__venue { flex: 1 1 190px; color: #4F3338; font-size: 16px; }
.c3s-row__actions { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 10px; }
.c3s-navbtn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; background: var(--gr); color: #fff; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; text-decoration: none; border-radius: 999px; box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: background .15s, transform .15s; }
.c3s-navbtn:hover, .c3s-navbtn:focus-visible { background: var(--or); color: #fff; transform: translateY(-1px); }

/* Aggiungi al calendario */
.c3s-cal { position: relative; flex: 0 0 auto; }
.c3s-cal > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; color: var(--am); background: #fff; border: 2px solid var(--am); border-radius: 999px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; transition: background .15s, color .15s; user-select: none; }
.c3s-cal > summary::-webkit-details-marker { display: none; }
.c3s-cal--icon > summary { width: 48px; padding: 0; }
.c3s-cal--full > summary { padding: 0 18px; }
.c3s-cal > summary:hover, .c3s-cal[open] > summary, .c3s-cal > summary:focus-visible { background: var(--am); color: #fff; }
.c3s-cal__menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; min-width: 230px; padding: 6px 0; background: #fff; border-top: 4px solid var(--or); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.c3s-cal--full .c3s-cal__menu { right: auto; left: 0; }
.c3s-cal__menu a { display: block; padding: 12px 18px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 16px; }
.c3s-cal__menu a:hover, .c3s-cal__menu a:focus-visible { background: #F6EEEC; color: var(--am); }
.c3s-card-match__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -10px; }
.c3s-card-match--dark .c3s-cal > summary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
@media (min-width: 1240px) {
	.c3s-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 170px 210px; gap: 0 24px; }
	.c3s-row .c3s-chip { font-size: 15px; }
	.c3s-row__teams { gap: 14px; }
	.c3s-row .c3s-team-name { font-size: clamp(15px, 1.3vw, 20px); overflow-wrap: anywhere; }
	.c3s-row__venue { font-size: 15px; }
	.c3s-row__actions { justify-self: end; grid-column: 4; }
	.c3s-navbtn { padding: 0 16px; font-size: 14px; }
}
@media (min-width: 641px) and (max-width: 1239px) {
	.c3s-row__teams { flex: 1 1 calc(100% - 180px); }
	.c3s-row__venue { flex: 1 1 auto; }
}
@media (max-width: 640px) {
	.c3s-row { padding: 18px 16px; }
	.c3s-row .c3s-chip { flex: 0 0 auto; }
	.c3s-row__venue { flex: 1 1 100%; min-width: 0; font-size: 15px; }
	.c3s-row__actions { flex: 1 1 100%; margin-left: 0; }
	.c3s-row__actions .c3s-navbtn { flex: 1 1 auto; justify-content: center; }
	.c3s-navbtn { padding: 0 16px; font-size: 14px; }
	.c3s-row__teams { gap: 10px; }
	.c3s-row__team, .c3s-row__team--home { flex-direction: column; text-align: center; gap: 8px; }
	.c3s-row__team--home { flex-direction: column-reverse; }
	.c3s-row .c3s-team-name { font-size: 16px; }
	.c3s-row .c3s-badge { width: 52px; height: 52px; }
	.c3s-kickoff { min-width: 70px; }
	.c3s-kickoff__time, .c3s-row .c3s-score { font-size: 30px; }
}

/* ---------- Squadre e organigramma ---------- */
.c3s-team { display: block; background: #fff; color: var(--ink); text-decoration: none; border-bottom: 6px solid var(--am); }
.c3s-team__img { aspect-ratio: 3 / 2; background: #EFE3DF url('assets/img/logo.png') center / 120px no-repeat; overflow: hidden; }
.c3s-team__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.c3s-team:hover .c3s-team__img img { transform: scale(1.04); }
.c3s-team__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 24px; }
.c3s-team__bar h2 { margin: 0; font-style: italic; font-weight: 800; font-size: 36px; text-transform: uppercase; }
.c3s-team:hover h2 { color: var(--am); }
.c3s-person { background: #fff; text-align: center; padding-bottom: 20px; border-bottom: 4px solid var(--or); }
.c3s-person__img { aspect-ratio: 1; background: #EFE3DF url('assets/img/logo.png') center / 90px no-repeat; overflow: hidden; margin-bottom: 16px; }
.c3s-person__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c3s-person h3 { margin: 0 12px 4px; font-weight: 700; font-size: 26px; text-transform: uppercase; }
.c3s-person p { margin: 0 12px; color: var(--muted); }
.c3s-wrap > .c3s-prose + .c3s-grid, .c3s-wrap > .c3s-prose + .c3s-day, .c3s-wrap > .c3s-prose + .c3s-split { margin-top: 48px; }

/* ---------- Colonne, riquadri, contatti ---------- */
.c3s-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.c3s-split__main { flex: 999 1 480px; min-width: 0; }
.c3s-box { flex: 1 1 360px; padding: 32px; background: #fff; border-top: 8px solid var(--am); }
.c3s-box h2 { margin: 0 0 20px; font-style: italic; font-weight: 800; font-size: 34px; text-transform: uppercase; color: var(--am); }
.c3s-address { font-size: 21px; }
.c3s-map { margin: 24px 0; aspect-ratio: 16 / 10; background: #EFE3DF; }
.c3s-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.c3s-contacts { list-style: none; margin: 0; padding: 0; }
.c3s-contacts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c3s-contacts strong { flex: 0 0 220px; font-family: var(--head); font-size: 22px; text-transform: uppercase; }
.c3s-contacts span { color: var(--muted); }
.c3s-form p { margin: 0 0 18px; }
.c3s-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.c3s-form input[type=text], .c3s-form input[type=email], .c3s-form input[type=tel], .c3s-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #A8989B; border-radius: 0; }
.c3s-form textarea { resize: vertical; }
.c3s-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 18px; }
.c3s-form__check { display: flex; gap: 10px; align-items: flex-start; }
.c3s-form__check input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--am); }
.c3s-form__check label { margin: 0; font-weight: 400; }
.c3s-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c3s-form__msg { padding: 14px 16px; font-weight: 600; }
.c3s-form__msg--ok { background: #E4F1E1; color: #2C5A25; }
.c3s-form__msg--err { background: #FBE6E1; color: #7A1D0C; }

/* ---------- Footer ---------- */
.c3s-footer { background: var(--am-deep); color: var(--rose); }
.c3s-footer a { color: var(--rose); }
.c3s-footer a:hover { color: #fff; }
.c3s-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 40px; padding-top: 56px; padding-bottom: 40px; }
.c3s-footer__club { display: flex; align-items: center; gap: 20px; flex: 1 1 320px; }
.c3s-footer__club > div { display: flex; flex-direction: column; gap: 4px; }
.c3s-footer__logo { display: block; width: 88px; height: 88px; border-radius: 50%; background: #fff; overflow: hidden; flex-shrink: 0; }
.c3s-footer__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.c3s-footer__name { font-family: var(--head); font-size: 26px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.c3s-footer__social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.c3s-social { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.c3s-footer a.c3s-social { color: #fff; }
.c3s-footer a.c3s-social:hover { background: #fff; border-color: #fff; color: var(--am-deep); }
.c3s-social .dashicons { width: 26px; height: 26px; font-size: 26px; line-height: 1; }
.c3s-footer__contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 28px 36px; list-style: none; margin: 0; padding: 32px 0 48px; border-top: 1px solid rgba(255,255,255,.15); }
.c3s-footer__contacts li { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: break-word; }
.c3s-footer__contacts strong { margin-bottom: 4px; font-family: var(--head); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.c3s-footer__contacts strong::after { content: ''; display: block; width: 36px; height: 3px; margin-top: 6px; background: var(--or); }
.c3s-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 18px 5%; border-top: 1px solid rgba(255,255,255,.15); font-size: 15px; text-align: center; }
/* ---------- La storia (blocchi dell'editor) ---------- */
/* WordPress può avvolgere il contenuto dei gruppi in un contenitore interno:
   lo rendiamo «trasparente» così griglie e spaziature funzionano sempre. */
.c3s-facts > .wp-block-group__inner-container,
.c3s-fact > .wp-block-group__inner-container,
.c3s-tl > .wp-block-group__inner-container,
.c3s-tl__item > .wp-block-group__inner-container,
.c3s-colors > .wp-block-group__inner-container,
.c3s-palmares > .wp-block-group__inner-container { display: contents; }

.c3s-prose p.c3s-lead { font-size: 23px; line-height: 1.5; color: var(--ink); }

.c3s-prose .c3s-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; margin: 40px 0 56px; }
.c3s-prose .c3s-fact { margin: 0; padding: 22px 22px 20px; background: var(--am); color: #fff; border-bottom: 6px solid var(--or); }
.c3s-prose .c3s-fact:nth-of-type(even) { border-bottom-color: var(--gr); }
.c3s-prose .c3s-fact p { margin: 0; }
.c3s-prose .c3s-fact p.c3s-fact__num { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 56px; line-height: 1; color: #fff; }
.c3s-prose .c3s-fact p.c3s-fact__txt { margin-top: 8px; font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); line-height: 1.2; }

.c3s-prose .c3s-tl { position: relative; margin: 32px 0 64px; padding-left: 44px; }
.c3s-prose .c3s-tl::before { content: ''; position: absolute; top: 8px; bottom: 8px; left: 11px; width: 4px; background: linear-gradient(180deg, var(--am) 0%, var(--am) 70%, var(--gr) 85%, var(--or) 100%); }
.c3s-prose .c3s-tl__item { position: relative; margin: 0 0 40px; }
.c3s-prose .c3s-tl__item:last-child { margin-bottom: 0; }
.c3s-prose .c3s-tl__item::before { content: ''; position: absolute; left: -42px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 4px solid var(--am); box-sizing: border-box; }
.c3s-prose .c3s-tl__item p, .c3s-prose .c3s-tl__item h3, .c3s-prose .c3s-tl__item figure { margin: 0 0 10px; }
.c3s-prose .c3s-tl__item p:last-child, .c3s-prose .c3s-tl__item figure:last-child { margin-bottom: 0; }
.c3s-prose .c3s-tl__item p.c3s-tl__year { margin-bottom: 4px; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: var(--or); }
.c3s-prose .c3s-tl__item h3 { font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.c3s-prose .c3s-tl__item figure { margin-top: 14px; }
.c3s-prose .c3s-tl__item img { display: block; }
.c3s-prose .c3s-tl__item--key { padding: 28px 30px; background: var(--am); color: #fff; }
.c3s-prose .c3s-tl__item--key::before { top: 34px; background: var(--or); border-color: var(--or); }
.c3s-prose .c3s-tl__item--key h3 { color: #fff; }
.c3s-prose .c3s-tl__item--key p.c3s-tl__year { color: #F2A07E; }
.c3s-prose .c3s-tl__item--key a { color: #fff; }

.c3s-prose .c3s-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 56px; }
.c3s-prose p.c3s-color { margin: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 20px; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.15; text-transform: uppercase; }
.c3s-prose p.c3s-color--am { background: var(--am); color: #fff; }
.c3s-prose p.c3s-color--gr { background: var(--gr); color: #10240C; }
.c3s-prose p.c3s-color--or { background: var(--or); color: #2A0A0F; }

.c3s-prose .c3s-palmares { margin: 20px 0 56px; border-top: 3px solid var(--am); }
.c3s-prose .c3s-palmares p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.c3s-prose .c3s-palmares strong { flex: 0 1 430px; min-width: 0; font-family: var(--head); font-size: 23px; text-transform: uppercase; color: var(--am); }
@media (max-width: 600px) {
	.c3s-prose .c3s-tl { padding-left: 34px; }
	.c3s-prose .c3s-tl::before { left: 7px; }
	.c3s-prose .c3s-tl__item::before { left: -34px; width: 18px; height: 18px; }
	.c3s-prose .c3s-tl__item--key { padding: 22px 18px; }
	.c3s-prose .c3s-colors { grid-template-columns: 1fr; }
	.c3s-prose p.c3s-color { min-height: 90px; }
	.c3s-prose .c3s-fact p.c3s-fact__num { font-size: 46px; }
}

/* ---------- Fascia scorrevole (Home) ---------- */
.c3s-tick { position: relative; z-index: 2; display: flex; align-items: stretch; height: 92px; background: #fff; box-shadow: 0 12px 30px rgba(61, 9, 20, .14); }
.c3s-tick::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--gr) 50%, var(--or) 50%); z-index: 3; }
.c3s-tick__label { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 5px 44px 0 5vw; background: var(--am); color: #fff; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 26px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); }
.c3s-tick__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(217, 92, 59, .7); animation: c3s-pulse 1.6s ease-out infinite; }
@keyframes c3s-pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 92, 59, .7); } 100% { box-shadow: 0 0 0 12px rgba(217, 92, 59, 0); } }
.c3s-tick__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; padding-top: 5px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.c3s-tick__track { display: flex; width: max-content; animation: c3s-tick var(--c3s-tick-dur, 60s) linear infinite; }
.c3s-tick:hover .c3s-tick__track, .c3s-tick:focus-within .c3s-tick__track, .c3s-tick.is-paused .c3s-tick__track { animation-play-state: paused; }
@keyframes c3s-tick { to { transform: translateX(-50%); } }
.c3s-tick__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.c3s-tick__item { position: relative; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 30px; white-space: nowrap; font-size: 18px; font-weight: 600; color: var(--ink); }
.c3s-tick__item::after { content: ''; position: absolute; right: -2px; top: 50%; width: 5px; height: 30px; background: var(--gr); transform: translateY(-50%) skewX(-22deg); }
.c3s-tick__item:nth-child(even)::after { background: var(--or); }
.c3s-tick__item a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.c3s-tick__item a:hover { color: var(--am); }
.c3s-tick__item .c3s-chip { padding: 5px 9px; font-size: 14px; }
.c3s-tick__team { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.c3s-tick__team.is-us { color: var(--am); }
.c3s-tick__score { padding: 2px 10px; background: var(--am-deep); color: #fff; font-family: var(--head); font-weight: 800; font-size: 24px; line-height: 1.15; }
.c3s-tick__vs { color: var(--muted); }
.c3s-tick__when { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: #B4421F; }
.c3s-tick__tag { padding: 5px 9px; background: var(--gr); color: #10240C; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
.c3s-tick__tag--msg { background: var(--or); color: #2A0A0F; }
.c3s-tick__item--photo { padding: 0 20px; }
.c3s-tick__item--photo img { display: block; flex-shrink: 0; max-width: none; width: 124px; height: 70px; object-fit: cover; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.c3s-tick__pause { flex: 0 0 auto; align-self: center; position: relative; width: 44px; height: 44px; margin: 5px 16px 0 6px; border: 2px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.c3s-tick__pause:hover { border-color: var(--am); }
.c3s-tick__pause span { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; transform: translate(-50%, -50%); border-left: 4px solid var(--am); border-right: 4px solid var(--am); }
.c3s-tick.is-paused .c3s-tick__pause span { width: 0; height: 0; border: 0; border-left: 13px solid var(--am); border-top: 8px solid transparent; border-bottom: 8px solid transparent; transform: translate(-35%, -50%); }
@media (max-width: 700px) {
	.c3s-tick { height: 74px; }
	.c3s-tick__label { padding: 5px 30px 0 16px; font-size: 0; gap: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
	.c3s-tick__label::after { content: 'Live'; font-size: 19px; margin-left: 8px; }
	.c3s-tick__item { padding: 0 20px; font-size: 16px; }
	.c3s-tick__team { font-size: 18px; }
	.c3s-tick__score { font-size: 20px; }
	.c3s-tick__item--photo img { width: 96px; height: 54px; }
	.c3s-tick__pause { width: 44px; height: 44px; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.c3s-tick__track { animation: none; }
	.c3s-tick__viewport { overflow-x: auto; }
	.c3s-tick__list[aria-hidden="true"], .c3s-tick__pause { display: none; }
	.c3s-tick__dot { animation: none; }
}

/* ---------- Articolo con copertina ---------- */
.c3s-posthead__in { position: relative; display: flex; align-items: center; gap: 44px; padding-top: 36px; padding-bottom: 56px; }
.c3s-posthead__img { position: relative; flex: 0 0 auto; display: block; max-width: 320px; }
.c3s-posthead__img::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; background: linear-gradient(135deg, var(--or) 50%, var(--gr) 50%); }
.c3s-posthead__img img { position: relative; display: block; width: auto; max-width: 100%; max-height: 360px; height: auto; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .25s; }
.c3s-posthead__img:hover img, .c3s-posthead__img:focus-visible img { transform: translate(-3px, -3px); }
.c3s-posthead__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.c3s-pagehead__title.c3s-posthead__title { font-size: clamp(34px, 4.4vw, 64px); line-height: .95; overflow-wrap: normal; hyphens: manual; }
@media (max-width: 700px) {
	.c3s-posthead__in { flex-direction: column; align-items: flex-start; gap: 34px; padding-top: 28px; padding-bottom: 44px; }
	.c3s-posthead__img { max-width: 220px; }
	.c3s-posthead__img img { max-height: 280px; }
}

/* ---------- Safeguarding (blocchi dell'editor) ---------- */
.c3s-cards > .wp-block-group__inner-container,
.c3s-card > .wp-block-group__inner-container,
.c3s-pills > .wp-block-group__inner-container,
.c3s-steps > .wp-block-group__inner-container,
.c3s-step > .wp-block-group__inner-container,
.c3s-alert > .wp-block-group__inner-container,
.c3s-refs > .wp-block-group__inner-container { display: contents; }

.c3s-prose .c3s-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0 60px; }
/* Una riga sola se ci stanno (3 o 4 schede), altrimenti due per riga, sul telefono una sotto l'altra. */
@media (min-width: 900px) {
	.c3s-prose .c3s-cards:has(.c3s-card:nth-of-type(3):last-of-type) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.c3s-prose .c3s-cards:has(.c3s-card:nth-of-type(4):last-of-type) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.c3s-prose .c3s-cards { grid-template-columns: minmax(0, 1fr); }
}
.c3s-prose .c3s-card { margin: 0; padding: 26px 26px 24px; background: #fff; border-top: 6px solid var(--am); box-shadow: 0 2px 0 var(--line); }
.c3s-prose .c3s-card:nth-of-type(2) { border-top-color: var(--or); }
.c3s-prose .c3s-card:nth-of-type(3) { border-top-color: var(--gr); }
.c3s-prose .c3s-card p, .c3s-prose .c3s-card h3 { margin: 0 0 10px; }
.c3s-prose .c3s-card p:last-child { margin-bottom: 0; font-size: 17px; line-height: 1.5; }
.c3s-prose .c3s-card p.c3s-card__num { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 46px; line-height: 1; color: var(--or); }
.c3s-prose .c3s-card h3 { font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }

.c3s-prose .c3s-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 60px; }
.c3s-prose p.c3s-pill { margin: 0; padding: 10px 18px 10px 16px; background: var(--am); color: #fff; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 26px; }
.c3s-prose p.c3s-pill:nth-of-type(3n+2) { background: var(--am-mid); }
.c3s-prose p.c3s-pill:nth-of-type(3n) { background: var(--am-deep); }

.c3s-prose .c3s-steps { counter-reset: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0; margin: 28px 0 40px; }
.c3s-prose .c3s-step { position: relative; margin: 0; padding: 0 26px 0 0; }
.c3s-prose .c3s-step::after { content: ''; position: absolute; top: 34px; left: 82px; right: 14px; height: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.c3s-prose .c3s-step:last-of-type::after { display: none; }
.c3s-prose .c3s-step p, .c3s-prose .c3s-step h3 { margin: 0 0 10px; }
.c3s-prose .c3s-step p:last-child { margin-bottom: 0; font-size: 17px; line-height: 1.5; }
.c3s-prose .c3s-step p.c3s-step__num { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-bottom: 16px; border-radius: 50%; background: var(--gr); color: #10240C; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; }
.c3s-prose .c3s-step:nth-of-type(2) p.c3s-step__num { background: var(--or); color: #2A0A0F; }
.c3s-prose .c3s-step:nth-of-type(3) p.c3s-step__num { background: var(--am); color: #fff; }
.c3s-prose .c3s-step h3 { font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }

.c3s-prose .c3s-alert { position: relative; margin: 0 0 60px; padding: 26px 30px 26px 104px; background: var(--am-deep); color: var(--rose); }
.c3s-prose .c3s-alert::before { content: '!'; position: absolute; left: 28px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--or); color: #2A0A0F; font-family: var(--head); font-weight: 800; font-size: 34px; }
.c3s-prose .c3s-alert p { margin: 0; font-size: 18px; }
.c3s-prose .c3s-alert p.c3s-alert__title { margin-bottom: 4px; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; color: #fff; }
.c3s-prose .c3s-alert strong { color: #fff; }

.c3s-prose .c3s-refs { margin: 16px 0 0; border-top: 3px solid var(--am); }
.c3s-prose .c3s-refs p { position: relative; margin: 0; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 17px; }
.c3s-prose .c3s-refs p::before { content: ''; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; background: var(--gr); transform: skewX(-20deg); }
@media (max-width: 700px) {
	.c3s-prose .c3s-step { padding: 0 0 30px; }
	.c3s-prose .c3s-step::after { display: none; }
	.c3s-prose .c3s-alert { padding: 84px 22px 24px; }
	.c3s-prose .c3s-alert::before { top: 22px; left: 22px; transform: none; }
}

/* Riquadro contatti e pulsante documento */
@media (min-width: 900px) { .c3s-box--sticky { position: sticky; top: 24px; } }
@media (max-width: 899px) { .c3s-box--sticky { order: -1; } }
.c3s-btn--doc { gap: 14px; justify-content: flex-start; min-height: 64px; padding: 10px 22px; font-size: 19px; text-align: left; line-height: 1.1; }
.c3s-btn--doc svg { flex-shrink: 0; }
.c3s-btn--doc span { display: flex; flex-direction: column; gap: 3px; }
.c3s-btn--doc small { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .06em; opacity: .85; }

/* ---------- Referenti (pagina Contatti) ---------- */
.c3s-people-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 360px)); justify-content: center; gap: 86px 28px; margin: 70px 0 88px; }
.c3s-pcard { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 26px 28px; background: #fff; border-bottom: 6px solid var(--am); text-align: center; box-shadow: 0 2px 0 var(--line); }
.c3s-pcard:nth-child(3n+2) { border-bottom-color: var(--or); }
.c3s-pcard:nth-child(3n) { border-bottom-color: var(--gr); }
.c3s-avatar { display: block; width: 148px; height: 148px; margin: -74px 0 18px; padding: 6px; border-radius: 50%; background: conic-gradient(from 200deg, var(--gr) 0 50%, var(--or) 50% 100%); box-shadow: 0 14px 30px rgba(61, 9, 20, .22); }
.c3s-avatar__in { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; border: 5px solid #fff; overflow: hidden; background: radial-gradient(circle at 30% 25%, #A3173A 0%, var(--am) 45%, var(--am-deep) 100%); color: #fff; }
.c3s-avatar__in svg { width: 62%; height: 62%; stroke-width: 2.6; }
.c3s-avatar--photo .c3s-avatar__in { background: var(--rose); }
.c3s-avatar__in img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.c3s-pcard__role { margin: 0; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--am); }
.c3s-pcard__name { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.c3s-pcard__links { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 22px 0 0; padding: 0; list-style: none; }
.c3s-pcard__links a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 16px; background: var(--bg); color: var(--ink); font-weight: 600; text-align: left; text-decoration: none; overflow-wrap: anywhere; transition: background .2s, color .2s; }
.c3s-pcard__links a:hover, .c3s-pcard__links a:focus-visible { background: var(--am); color: #fff; }
.c3s-pcard__links svg { flex-shrink: 0; color: var(--or); }
.c3s-pcard__links a:hover svg, .c3s-pcard__links a:focus-visible svg { color: #fff; }
@media (max-width: 600px) { .c3s-people-cards { margin-top: 64px; } .c3s-pcard__links a { font-size: 15px; } }

/* ---------- Video YouTube (Home) ---------- */
.c3s-reels { position: relative; overflow: hidden; padding: 80px 0 90px; background: linear-gradient(180deg, var(--am-deep) 0%, #24040B 100%); color: #fff; }
.c3s-reels .c3s-wrap { position: relative; }
.c3s-reels .c3s-sechead h2 { color: #fff; }
.c3s-reels .c3s-sechead { align-items: center; }
.c3s-reels .c3s-more { color: #F2A07E; }
.c3s-reels .c3s-more:hover { color: #fff; }
.c3s-reels__nav { display: flex; gap: 10px; margin-left: auto; }
.c3s-reels__btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.c3s-reels__btn:hover { background: #fff; color: var(--am-deep); }
.c3s-reels__scroller { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 5%; scrollbar-width: thin; scrollbar-color: var(--or) transparent; }
.c3s-reels__list { display: flex; gap: 22px; width: max-content; margin: 0 auto; padding: 4px 5% 22px; list-style: none; }
.c3s-reels.is-static .c3s-reels__nav { display: none; }
.c3s-reels.is-static .c3s-sechead { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.c3s-reel { flex: 0 0 auto; width: 230px; scroll-snap-align: start; }
.c3s-reels--wide .c3s-reel { width: 380px; }
.c3s-reel__link { display: block; color: #fff; text-decoration: none; }
.c3s-reel__img { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #3a0712; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.c3s-reels--wide .c3s-reel__img { aspect-ratio: 16 / 9; }
.c3s-reel__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(36, 4, 11, .75) 100%); }
.c3s-reel__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
.c3s-reel__link:hover .c3s-reel__img img, .c3s-reel__link:focus-visible .c3s-reel__img img { transform: scale(1.05); }
.c3s-reel__play { position: absolute; z-index: 1; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--or); color: #2A0A0F; box-shadow: 0 0 0 6px rgba(217, 92, 59, .3); transition: transform .25s; }
.c3s-reel__play svg { margin-left: 3px; }
.c3s-reel__link:hover .c3s-reel__play { transform: scale(1.1); }
.c3s-reel__title { display: -webkit-box; margin-top: 12px; overflow: hidden; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.15; text-transform: uppercase; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 600px) { .c3s-reel { width: 170px; } .c3s-reels--wide .c3s-reel { width: 280px; } .c3s-reel__title { font-size: 17px; } .c3s-reels__nav { display: none; } }

.c3s-vmodal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 2, 6, .88); }
.c3s-vmodal[hidden] { display: none; }
.c3s-vmodal__box { position: relative; width: min(960px, 100%); }
.c3s-vmodal__box.is-vertical { width: min(420px, 100%, calc((100vh - 120px) * 9 / 16)); }
.c3s-vmodal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.c3s-vmodal__box.is-vertical .c3s-vmodal__frame { aspect-ratio: 9 / 16; }
.c3s-vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c3s-vmodal__close { position: absolute; right: 0; top: -56px; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; background: transparent; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.c3s-vmodal__close:hover { background: #fff; color: var(--am-deep); }

.c3s-adminnote { margin: 24px 0; padding: 14px 18px; background: #FFF4D6; border-left: 5px solid #D9A400; color: #3A2E00; font-size: 16px; }

/* ---------- Settore giovanile (blocchi dell'editor) ---------- */
.c3s-path > .wp-block-group__inner-container,
.c3s-path__item > .wp-block-group__inner-container,
.c3s-path__text > .wp-block-group__inner-container,
.c3s-band > .wp-block-group__inner-container,
.c3s-band__grid > .wp-block-group__inner-container,
.c3s-band__item > .wp-block-group__inner-container,
.c3s-cta > .wp-block-group__inner-container { display: contents; }

.c3s-gio .c3s-prose > p, .c3s-gio .c3s-prose > h2 { max-width: 860px; }
.c3s-prose .c3s-bigquote { max-width: 980px; margin: 40px 0 64px; padding: 6px 0 6px 32px; border-left: 10px solid var(--or); }
.c3s-prose .c3s-bigquote p { margin: 0; font-family: var(--head); font-style: italic; font-weight: 800; font-size: clamp(34px, 4.6vw, 62px); line-height: 1; text-transform: uppercase; color: var(--am); }
.c3s-prose .c3s-bigquote cite { display: block; margin-top: 12px; font-size: 16px; font-style: normal; color: var(--muted); }

/* Il percorso: foto e testo alternati lungo una linea */
.c3s-prose .c3s-path { position: relative; display: flex; flex-direction: column; gap: 56px; margin: 36px 0 80px; }
.c3s-prose .c3s-path::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: linear-gradient(180deg, var(--gr), var(--or) 50%, var(--am)); }
.c3s-prose .c3s-path__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 96px; margin: 0; }
.c3s-prose .c3s-path__item::before { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--bg); border: 5px solid var(--am); box-sizing: border-box; z-index: 1; }
.c3s-prose .c3s-path__item:nth-of-type(even) .c3s-path__img { order: 2; }
.c3s-prose .c3s-path__img { position: relative; margin: 0; }
.c3s-prose .c3s-path__img::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; background: linear-gradient(135deg, var(--or) 50%, var(--gr) 50%); }
.c3s-prose .c3s-path__item:nth-of-type(even) .c3s-path__img::before { inset: 14px 14px -14px -14px; background: linear-gradient(225deg, var(--gr) 50%, var(--or) 50%); }
.c3s-prose .c3s-path__img img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.c3s-prose .c3s-path__img figcaption { position: relative; }
.c3s-prose .c3s-path__text p, .c3s-prose .c3s-path__text h3 { margin: 0 0 10px; }
.c3s-prose .c3s-path__text p:last-child { margin-bottom: 0; }
.c3s-prose p.c3s-path__age { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.c3s-prose .c3s-path__text h3 { font-style: italic; font-weight: 800; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; color: var(--am); }

/* Dentro e fuori dal campo: fascia amaranto */
.c3s-prose .c3s-band { position: relative; margin: 0 0 72px; padding: clamp(36px, 5vw, 64px); background: var(--am); color: #fff; overflow: hidden; }
.c3s-prose .c3s-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255,255,255,.05) 140px 170px, transparent 170px 300px); pointer-events: none; }
.c3s-prose .c3s-band h2, .c3s-prose .c3s-band p, .c3s-prose .c3s-band__grid { position: relative; }
.c3s-prose .c3s-band h2 { margin-top: 0; color: #fff; }
.c3s-prose .c3s-band p { max-width: 760px; color: #F3DCD6; }
.c3s-prose .c3s-band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
@media (min-width: 900px) {
	.c3s-prose .c3s-band__grid:has(.c3s-band__item:nth-of-type(3):last-of-type) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.c3s-prose .c3s-band__grid:has(.c3s-band__item:nth-of-type(4):last-of-type) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.c3s-prose .c3s-band__grid { grid-template-columns: minmax(0, 1fr); }
}
.c3s-prose .c3s-band__item { margin: 0; padding: 22px 22px 20px; background: rgba(0, 0, 0, .18); border-top: 5px solid var(--or); }
.c3s-prose .c3s-band__item:nth-of-type(even) { border-top-color: var(--gr); }
.c3s-prose .c3s-band__item h3 { margin: 0 0 8px; font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; color: #fff; }
.c3s-prose .c3s-band__item p { margin: 0; font-size: 17px; line-height: 1.5; }

/* Invito finale */
.c3s-prose .c3s-cta { margin: 0 0 20px; padding: clamp(30px, 4vw, 48px); background: #fff; border-left: 10px solid var(--gr); box-shadow: 0 2px 0 var(--line); }
.c3s-prose .c3s-cta h2 { margin-top: 0; }
.c3s-prose .c3s-cta p { max-width: 720px; }
.c3s-prose .c3s-cta .wp-block-buttons { margin-top: 8px; }
.c3s-prose .c3s-cta .wp-block-button__link { padding: 16px 30px; background: var(--gr); color: #fff; text-decoration: none; }
.c3s-prose .c3s-cta .wp-block-button__link:hover { background: var(--or); }

@media (max-width: 800px) {
	.c3s-prose .c3s-path { gap: 44px; padding-left: 34px; }
	.c3s-prose .c3s-path::before { left: 9px; margin-left: 0; }
	.c3s-prose .c3s-path__item { grid-template-columns: 1fr; gap: 28px; }
	.c3s-prose .c3s-path__item::before { left: -34px; top: 0; margin: 0; width: 22px; height: 22px; }
	.c3s-prose .c3s-path__item:nth-of-type(even) .c3s-path__img { order: 0; }
	.c3s-prose .c3s-path__item:nth-of-type(even) .c3s-path__img::before { inset: 14px -14px -14px 14px; background: linear-gradient(135deg, var(--or) 50%, var(--gr) 50%); }
	.c3s-prose .c3s-path__img::before { inset: 10px -10px -10px 10px; }
}

/* Foto a mosaico (blocco Galleria con classe c3s-mosaic) */
.c3s-prose .wp-block-gallery.c3s-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(140px, 17vw, 240px); grid-auto-flow: dense; gap: 10px; margin: 36px 0 44px; }
.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image { width: auto !important; max-width: none; margin: 0 !important; overflow: hidden; }
.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:nth-child(4):last-child { grid-column: span 3; }
.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:nth-child(5n+6) { grid-column: span 2; grid-row: span 2; }
.c3s-prose .wp-block-gallery.c3s-mosaic img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .4s; }
.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:hover img { transform: scale(1.04); }
.c3s-prose .wp-block-gallery.c3s-mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 14px; }
.c3s-prose .wp-block-gallery.c3s-mosaic:nth-of-type(even) > .wp-block-image:first-child { grid-column: 2 / span 2; }
@media (max-width: 600px) {
	.c3s-prose .wp-block-gallery.c3s-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
	.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:first-child,
	.c3s-prose .wp-block-gallery.c3s-mosaic:nth-of-type(even) > .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
	.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:nth-child(4):last-child { grid-column: span 1; }
	.c3s-prose .wp-block-gallery.c3s-mosaic > .wp-block-image:nth-child(even):last-child { grid-column: span 2; }
}

/* Foto accanto al testo (blocco Media e testo con classe c3s-mt) */
.c3s-prose .wp-block-media-text.c3s-mt { display: grid; align-items: stretch; grid-template-columns: 1fr 1fr; gap: 0; margin: 44px 0; background: #fff; box-shadow: 0 2px 0 var(--line); }
.c3s-prose .wp-block-media-text.c3s-mt.has-media-on-the-right { grid-template-columns: 1fr 1fr; }
.c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__media { grid-column: 2; grid-row: 1; }
.c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__content { grid-column: 1; grid-row: 1; }
.c3s-prose .c3s-mt .wp-block-media-text__media { margin: 0; align-self: stretch; }
.c3s-prose .c3s-mt .wp-block-media-text__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.c3s-prose .c3s-mt .wp-block-media-text__content { display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding: clamp(24px, 4vw, 52px); border-left: 8px solid var(--or); }
.c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__content { border-left: 0; border-right: 8px solid var(--gr); }
.c3s-prose .c3s-mt h3 { margin: 0 0 12px; font-style: italic; font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; color: var(--am); }
.c3s-prose .c3s-mt p { margin: 0; }
@media (max-width: 600px) {
	.c3s-prose .wp-block-media-text.c3s-mt, .c3s-prose .wp-block-media-text.c3s-mt.has-media-on-the-right { grid-template-columns: 100%; }
	.c3s-prose .c3s-mt .wp-block-media-text__media, .c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
	.c3s-prose .c3s-mt .wp-block-media-text__content, .c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
	.c3s-prose .c3s-mt .wp-block-media-text__media img { min-height: 0; aspect-ratio: 4 / 3; }
	.c3s-prose .c3s-mt .wp-block-media-text__content, .c3s-prose .c3s-mt.has-media-on-the-right .wp-block-media-text__content { border: 0; border-top: 6px solid var(--or); }
}

/* ---------- Organigramma a schema ---------- */
.c3s-org { --lc: #C9B7BA; --g: 16px; --stem: 22px; margin: 8px 0 20px; }
.c3s-org p { margin: 0; }
.c3s-org p.c3s-org__season { display: table; margin: 0 auto 26px; padding: 8px 22px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.c3s-org__top { display: flex; flex-direction: column; align-items: center; }
.c3s-org__council { position: relative; width: min(820px, 100%); padding: 22px 28px 24px; background: var(--am); color: #fff; text-align: center; box-shadow: 0 14px 30px rgba(110, 15, 38, .25); }
.c3s-org__council h2 { margin: 0 0 12px; color: #fff; font-family: var(--head); font-weight: 800; font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; text-transform: uppercase; }
.c3s-org__council h2 span { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; height: 1.5em; margin-left: 6px; padding: 0 .3em; border-radius: 999px; background: var(--or); font-size: .7em; font-style: normal; vertical-align: .15em; }
.c3s-org__council ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: 17px; }
.c3s-org__council li { white-space: nowrap; }

/* Rami con linee di collegamento */
.c3s-org__branch { position: relative; display: flex; justify-content: center; gap: var(--g); width: 100%; padding-top: var(--stem); }
.c3s-org__branch::before { content: ''; position: absolute; top: 0; left: 50%; height: var(--stem); border-left: 3px solid var(--lc); margin-left: -1.5px; }
.c3s-org__branch > .c3s-org__node { position: relative; flex: 1 1 0; min-width: 0; padding-top: var(--stem); }
.c3s-org__branch > .c3s-org__node::before { content: ''; position: absolute; top: 0; left: calc(var(--g) / -2); right: 50%; border-top: 3px solid var(--lc); }
.c3s-org__branch > .c3s-org__node::after { content: ''; position: absolute; top: 0; left: 50%; right: calc(var(--g) / -2); height: var(--stem); border-top: 3px solid var(--lc); border-left: 3px solid var(--lc); margin-left: -1.5px; }
.c3s-org__branch > .c3s-org__node:first-child::before { display: none; }
.c3s-org__branch > .c3s-org__node:last-child::after { border-top: 0; }

.c3s-org__roles { --g: 18px; max-width: 1100px; }
.c3s-org__charge { position: relative; height: 100%; padding: 14px 12px; background: var(--am); color: #fff; text-align: center; box-shadow: 0 8px 18px rgba(110, 15, 38, .18); }
.c3s-org__charge strong { display: block; font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.1; }
.c3s-org__charge span { display: block; margin-top: 4px; font-size: 14px; color: #F3DCD6; }
.c3s-org__charge.is-president { background: var(--am-dark, #6E0F26); outline: 3px solid var(--or); outline-offset: -3px; }
.c3s-org__crown { position: absolute; left: 50%; top: -20px; width: 36px; height: 24px; margin-left: -18px; color: var(--or); }
.c3s-org__roles > .c3s-org__node:has(.is-president) { z-index: 1; }

/* Aree */
.c3s-org__areas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 44px 22px; margin-top: 64px; padding-top: 44px; border-top: 3px dashed #E5D6D8; }
.c3s-org__area { flex: var(--cols) 1 calc(var(--cols) * 220px); min-width: 0; display: flex; flex-direction: column; align-items: center; }
.c3s-org__areahead { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.c3s-org__icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--am); border: 3px solid var(--gr); }
.c3s-org__icon svg { width: 32px; height: 32px; }
.c3s-org h3.c3s-org__areaname { margin: 0; width: min(100%, 300px); padding: 10px 14px; background: var(--gr); color: #fff; font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1.1; text-align: center; text-transform: uppercase; letter-spacing: .02em; }
.c3s-org__resp { position: relative; width: min(100%, 280px); margin-top: var(--stem); padding: 9px 12px; background: var(--or); color: #fff; font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; }
.c3s-org__resp::before { content: ''; position: absolute; left: 50%; bottom: 100%; height: var(--stem); border-left: 3px solid var(--lc); margin-left: -1.5px; }
.c3s-org__cols { --g: 14px; }
.c3s-org__col { display: flex; flex-direction: column; align-items: center; }
.c3s-org__col > .c3s-org__resp:first-child { margin-top: 0; }
.c3s-org__col > :first-child::before { display: none; }
.c3s-org__box { position: relative; width: 100%; max-width: 300px; margin-top: 18px; padding: 12px 14px 13px; background: #fff; border: 1px solid #E5D6D8; border-radius: 6px; text-align: center; box-shadow: 0 3px 0 rgba(0, 0, 0, .04); }
.c3s-org__box::before { content: ''; position: absolute; left: 50%; bottom: 100%; height: 18px; border-left: 3px solid var(--lc); margin-left: -1.5px; }
.c3s-org__col > .c3s-org__box:first-child { margin-top: 0; }
.c3s-org__names { color: var(--am); font-family: var(--head); font-weight: 800; font-size: 15px; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.c3s-org__box--many .c3s-org__names { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 12px; font-size: 13px; }
.c3s-org__box--many .c3s-org__names span { white-space: nowrap; }
.c3s-org__role { margin-top: 4px !important; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.3; }
.c3s-org__tasks { margin-top: 6px !important; color: #5E4A4D; font-size: 13.5px; line-height: 1.4; }
.c3s-org__tasks span { display: block; margin-bottom: 1px; color: var(--muted, #8A7477); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 760px) {
	.c3s-org__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: var(--stem); }
	.c3s-org__roles > .c3s-org__node { padding-top: 0; }
	.c3s-org__roles > .c3s-org__node::before, .c3s-org__roles > .c3s-org__node::after { display: none; }
	.c3s-org__roles > .c3s-org__node:has(.is-president) { grid-column: 1 / -1; order: -1; margin-top: 14px; }
	.c3s-org__areas { flex-direction: column; align-items: stretch; margin-top: 44px; }
	.c3s-org__cols { flex-direction: column; align-items: center; padding-top: 0; }
	.c3s-org__cols::before { display: none; }
	.c3s-org__cols > .c3s-org__node { padding-top: var(--stem); width: 100%; }
	.c3s-org__cols > .c3s-org__node::before { display: none; }
	.c3s-org__cols > .c3s-org__node::after { border-top: 0; right: auto; }
	.c3s-org__box, .c3s-org__resp, .c3s-org h3.c3s-org__areaname { max-width: 360px; width: 100%; }
}
