/* Settimo Calcio Match TV 1.7 — ricostruzione grafica della schermata approvata.
   Tutto il CSS e' limitato a .smtv, per evitare interferenze col tema WordPress. */
.smtv,.smtv *,.smtv *::before,.smtv *::after{box-sizing:border-box}
.smtv{
 --smtv-gold:#f4d15b;--smtv-violet:#6320a5;--smtv-ink:#1b0a28;
 position:relative;isolation:isolate;overflow:hidden;
 width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:0;
 padding:17px 24px 83px;
 background:#150720 url('stadium-background.jpg') center top/cover no-repeat;
 color:#fff!important;font-family:'Montserrat',Arial,sans-serif!important;
 font-size:14px;line-height:1.5;text-align:left;
}
.smtv::after{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;
 background:linear-gradient(180deg,rgba(20,6,31,.08),rgba(15,5,24,.13) 45%,rgba(20,7,31,.13));}
.smtv a,.smtv a:visited{box-shadow:none!important;text-decoration:none!important}
.smtv img{max-width:100%}
.smtv-container{width:100%;max-width:1238px;margin:0 auto;position:relative;z-index:1}
/* Testata: stessa geometria della reference, senza ricreare il menu del tema */
.smtv-hero{height:220px;position:relative;padding:0;margin:0;isolation:isolate}
.smtv-hero__title{position:relative;z-index:1;width:max-content;max-width:100%;margin:0!important;
 color:#f8f6fd!important;font-family:'Montserrat','Arial Black',sans-serif!important;
 font-weight:900!important;font-size:72px!important;line-height:1.09!important;letter-spacing:-.048em!important;
 text-transform:uppercase!important;text-shadow:0 4px 17px rgba(0,0,0,.27);
}
.smtv-hero__title>span{display:block;white-space:nowrap}
.smtv-hero__title .smtv-hero__second{padding-left:107px;font-size:77px;letter-spacing:-.046em}
.smtv-hero__title em{font-style:normal;color:#7930bd!important}
.smtv-hero p{position:relative;z-index:1;margin:2px 0 0 109px!important;font-size:13px!important;line-height:1.4;
 font-weight:500;letter-spacing:.48em;color:#f7f2ff!important;text-transform:uppercase}
.smtv-hero__year{pointer-events:none;position:absolute;z-index:0;left:62%;top:-38px;
 font:900 236px/.94 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:-.035em;
 color:#bd6ef5!important;opacity:.13;white-space:nowrap}
/* Section dividers and tiny gold line */
.smtv-section{margin:0}
.smtv-section__header{min-height:40px;display:flex;align-items:center;justify-content:space-between;
 gap:18px;margin-bottom:12px;padding:0}
.smtv .smtv-section__header h3{display:flex;align-items:center;gap:12px;margin:0!important;
 font-family:'Montserrat',Arial,sans-serif!important;font-size:17px!important;line-height:1.2!important;
 font-weight:800!important;letter-spacing:.30em!important;color:#fff!important;text-transform:uppercase}
.smtv .smtv-section__header h3:before{content:'';width:25px;height:2px;flex:none;background:var(--smtv-gold)}
.smtv-section__header>span{font-size:10px;letter-spacing:.28em;font-weight:500;color:#ddd3e4!important;text-transform:uppercase}
.smtv-arrow{color:var(--smtv-gold)!important;font-size:22px;letter-spacing:0;vertical-align:-2px}
/* Main match: screenshot proportions 44.7 / 55.3, approx 268px tall */
.smtv-latest{display:grid;grid-template-columns:minmax(0,44.7fr) minmax(0,55.3fr);
 min-height:268px;width:100%;border:1px solid #604478;
 background:rgba(13,4,23,.76);color:#fff!important}
.smtv-latest__thumb,.smtv-card__media{position:relative;display:block;min-width:0;overflow:hidden;
 background:#250c35;isolation:isolate}
.smtv-latest__thumb{height:264px}
.smtv-latest__thumb img,.smtv-card__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;
 transition:transform .2s ease}
.smtv-latest__thumb:hover img,.smtv-card__media:hover img{transform:scale(1.025)}
.smtv-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 display:grid;place-items:center;width:72px;height:72px;border:2px solid #fff;border-radius:50%;
 background:rgba(28,11,44,.6);color:#fff!important;box-shadow:0 4px 20px rgba(0,0,0,.2)}
.smtv-play svg{width:29px;height:29px;margin-left:4px}
.smtv-play--small{width:55px;height:55px}
.smtv-play--small svg{width:22px;height:22px;margin-left:3px}
.smtv-latest__info{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 gap:0;min-width:0;padding:21px 30px 17px;text-align:center}
.smtv-latest__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 min-height:19px;gap:6px 13px;color:#c7b7d2!important;font-size:10px;line-height:1.5;
 letter-spacing:.27em;text-transform:uppercase;max-width:100%}
.smtv-latest__meta span:not(:last-child)::after{content:'•';padding-left:13px;color:#ded4e8}
.smtv-final-label{margin:3px 0 5px;color:#efd57b!important;font-size:9px;font-weight:700;letter-spacing:.28em;line-height:1.4}
/* Result line and optional scorers */
.smtv-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 align-items:start;gap:14px;width:100%;min-width:0}
.smtv-scoreboard__team-wrap{display:flex;align-items:center;flex-direction:column;justify-content:flex-start;
 min-width:0;padding-top:19px}
.smtv-scoreboard__team{position:relative;display:block;max-width:100%;padding:0 2px 16px;
 font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif!important;font-size:28px!important;
 font-weight:700!important;line-height:1!important;letter-spacing:.02em;color:#fff!important;
 text-transform:uppercase;text-align:center;overflow-wrap:anywhere;}
.smtv-scoreboard__team::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#ad47e4}
.smtv-scoreboard__scorers{display:block;margin-top:8px;color:#fff!important;
 font-size:12px;line-height:1.45;font-weight:500;text-align:center;overflow-wrap:anywhere}
.smtv-scoreboard__numbers{display:flex;align-items:center;justify-content:center;gap:14px;white-space:nowrap}
.smtv-scoreboard__numbers strong{display:grid;place-items:center;width:82px;height:92px;
 background:#4e0b83;color:#fff!important;
 font:800 60px/1 'Montserrat','Arial Black',sans-serif!important;letter-spacing:-.06em}
.smtv-scoreboard__numbers i{font:300 25px/1 'Montserrat',Arial,sans-serif!important;color:#fff!important;font-style:normal}
.smtv-scoreboard__numbers--pending span{font:800 30px/1 'Barlow Condensed',Impact,sans-serif!important;color:#fff!important;padding:15px}
.smtv-latest__watch{display:inline-flex;align-items:center;justify-content:center;gap:16px;
 min-height:46px;margin-top:auto;padding:0 24px;border:1px solid var(--smtv-gold);
 background:transparent;color:var(--smtv-gold)!important;
 font-family:'Barlow Condensed','Arial Narrow',sans-serif!important;
 font-size:19px!important;font-weight:700!important;letter-spacing:.10em!important;
 line-height:1.2;white-space:nowrap;transition:background .2s,color .2s}
.smtv-latest__watch svg{width:23px;height:23px}
.smtv-latest__watch:hover{background:var(--smtv-gold);color:#241133!important}
/* Past matches: three exact-width tiles with short cinematic thumbnails */
.smtv-section--archive{margin-top:31px}
.smtv-section--archive .smtv-section__header{margin-bottom:12px}
.smtv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.smtv-card{min-width:0;background:#fdfcfe;color:#1c1028!important;border:1px solid #7c6985;
 box-shadow:0 6px 18px rgba(0,0,0,.18);border-radius:0!important}
.smtv-card__media{aspect-ratio:3/1;width:100%}
.smtv-card__content{display:flex;flex-direction:column;align-items:center;min-height:139px;
 padding:10px 14px 13px;background:#fcfbfd;text-align:center}
.smtv-card__meta{min-height:17px;color:#30263c!important;font-size:10px;font-weight:700;
 text-transform:uppercase;line-height:1.6;letter-spacing:.12em}
.smtv-card__meta span{margin:0 3px;color:#2c2336}
.smtv-scoreboard--small{align-items:center;gap:9px;margin:5px 0 11px;width:100%;}
.smtv-scoreboard--small .smtv-scoreboard__team-wrap{padding-top:0}
.smtv-scoreboard--small .smtv-scoreboard__team{color:#241629!important;
 font:700 19px/.98 'Barlow Condensed','Arial Narrow',Impact,sans-serif!important;
 padding:0 1px 7px;letter-spacing:0}
.smtv-scoreboard--small .smtv-scoreboard__team::after{height:2px;background:#7d24ae}
.smtv-scoreboard--small .smtv-scoreboard__numbers{gap:3px}
.smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:38px;height:41px;
 font:800 26px/1 'Montserrat',Arial,sans-serif!important;letter-spacing:-.04em;background:#4b0c77;color:#fff!important}
.smtv-scoreboard--small .smtv-scoreboard__numbers i{font-size:0;width:0}
.smtv-scoreboard--small .smtv-scoreboard__numbers--pending span{color:#33113d!important;font-size:25px!important}
.smtv-card__watch{display:inline-flex;align-items:center;justify-content:center;gap:11px;
 min-height:39px;margin-top:auto;padding:0 18px;background:#250c39!important;
 border:1px solid #250c39;color:#efce52!important;border-radius:0!important;
 font:700 18px/1 'Barlow Condensed','Arial Narrow',sans-serif!important;letter-spacing:.035em;
 white-space:nowrap;transition:background .2s}
.smtv-card__watch svg{width:19px;height:19px}
.smtv-card__watch:hover{background:#4d1672!important;color:#fff!important}
.smtv-empty{margin:30px 0;padding:45px;border:1px solid #604478;text-align:center;color:#fff!important;background:#200e31}
/* Browser focus and reduced-motion support */
.smtv a:focus-visible{outline:3px solid var(--smtv-gold)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.smtv *{transition:none!important}}
@media(min-width:1800px){.smtv{padding-bottom:110px}}
@media(max-width:1190px){
 .smtv-container{max-width:1010px}
 .smtv-hero{height:205px}
 .smtv-hero__title{font-size:66px!important}
 .smtv-hero__title .smtv-hero__second{font-size:68px;padding-left:75px}
 .smtv-hero p{margin-left:78px!important}
 .smtv-latest__info{padding:21px 15px 15px}
 .smtv-scoreboard{gap:9px}
 .smtv-scoreboard__numbers strong{width:63px;height:79px;font-size:50px!important}
 .smtv-scoreboard__team{font-size:23px!important}
 .smtv-scoreboard__scorers{font-size:11px}
 .smtv-grid{gap:20px}
 .smtv-scoreboard--small{gap:5px}
 .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:32px;height:38px;font-size:23px!important}
 .smtv-scoreboard--small .smtv-scoreboard__team{font-size:17px!important}
}
@media(max-width:900px){
 .smtv-hero{height:190px}
 .smtv-latest{grid-template-columns:minmax(0,43fr) minmax(0,57fr)}
 .smtv-latest__thumb{height:285px}
 .smtv-latest__info{padding:15px 12px}
 .smtv-latest__meta{font-size:9px;letter-spacing:.11em}
 .smtv-scoreboard__numbers{gap:7px}
 .smtv-scoreboard__numbers strong{width:49px;height:67px;font-size:40px!important}
 .smtv-scoreboard__team{font-size:20px!important}
 .smtv-latest__watch{font-size:16px!important;padding:0 12px}
 .smtv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:650px){
 .smtv{width:100vw;max-width:none;margin-left:calc(50% - 50vw);padding:25px 15px 60px;background-position:center top}
 .smtv-hero{height:159px;padding:3px 0 0}
 .smtv-hero__title{font-size:clamp(40px,11vw,60px)!important;line-height:1.10!important;letter-spacing:-.055em!important}
 .smtv-hero__title .smtv-hero__second{padding-left:27px;font-size:clamp(43px,11.2vw,62px);letter-spacing:-.048em}
 .smtv-hero p{margin:8px 0 0 27px!important;font-size:9px!important;letter-spacing:.18em!important;max-width:calc(100% - 27px)}
 .smtv-hero__year{font-size:140px;left:34%;top:25px;opacity:.09}
 .smtv-section__header{margin-bottom:9px;min-height:33px;gap:8px}
 .smtv .smtv-section__header h3{font-size:13px!important;letter-spacing:.16em!important;gap:8px}
 .smtv .smtv-section__header h3:before{width:20px}
 .smtv-section__header>span{font-size:8px;letter-spacing:.09em}
 .smtv-latest{grid-template-columns:1fr;min-height:0}
 .smtv-latest__thumb{height:auto;aspect-ratio:16/9}
 .smtv-play{width:58px;height:58px}
 .smtv-play svg{width:24px;height:24px}
 .smtv-latest__info{min-height:245px;padding:17px 12px 18px}
 .smtv-latest__meta{min-height:0;font-size:9px;gap:2px 7px;letter-spacing:.075em}
 .smtv-latest__meta span:not(:last-child)::after{padding-left:7px}
 .smtv-final-label{margin:8px 0 12px;font-size:9px}
 .smtv-scoreboard{gap:6px}
 .smtv-scoreboard__team-wrap{padding-top:11px}
 .smtv-scoreboard__team{font-size:21px!important;padding-bottom:10px}
 .smtv-scoreboard__scorers{font-size:10px;margin-top:6px}
 .smtv-scoreboard__numbers{gap:5px}
 .smtv-scoreboard__numbers strong{width:51px;height:62px;font-size:40px!important}
 .smtv-scoreboard__numbers i{font-size:15px}
 .smtv-latest__watch{min-height:43px;margin-top:17px;padding:0 22px;font-size:17px!important}
 .smtv-section--archive{margin-top:28px}
 .smtv-grid{grid-template-columns:1fr;gap:20px}
 .smtv-card__media{aspect-ratio:2.35/1}
 .smtv-card__content{min-height:148px;padding:12px 13px 15px}
 .smtv-card__meta{font-size:10px}
 .smtv-scoreboard--small{margin:7px 0 13px;gap:9px}
 .smtv-scoreboard--small .smtv-scoreboard__team{font-size:23px!important}
 .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:43px;height:45px;font-size:28px!important}
 .smtv-card__watch{font-size:19px!important;min-height:40px}
}
@media(max-width:365px){
 .smtv{padding-left:11px;padding-right:11px}
 .smtv-hero__title{font-size:38px!important}
 .smtv-hero__title .smtv-hero__second{font-size:42px;padding-left:12px}
 .smtv-hero p{margin-left:13px!important;font-size:8px!important}
 .smtv-scoreboard__team{font-size:18px!important}
 .smtv-scoreboard__numbers strong{width:39px;height:56px;font-size:35px!important}
 .smtv-scoreboard--small .smtv-scoreboard__team{font-size:19px!important}
 .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:37px;height:40px;font-size:25px!important}
}
/* Final refinements after real Chromium desktop/mobile render checks */
.smtv::before{content:'';position:absolute;z-index:-1;right:2%;top:5%;
 width:min(27vw,390px);height:320px;pointer-events:none;
 background:url('stemma-settimo.png') center/contain no-repeat;opacity:.032;filter:grayscale(1)}
@media(min-width:1191px){
 .smtv-hero{height:212px}
 .smtv-hero__title{padding-left:8px}
 .smtv-hero__title>span:first-child{transform:scaleX(1.27);transform-origin:left center}
 .smtv-hero__title .smtv-hero__second{padding-left:110px;transform:scaleX(1.34);transform-origin:left center}
 .smtv-hero p{margin-left:121px!important;transform:scaleX(1.2);transform-origin:left center}
 .smtv-section--archive{margin-top:28px}
}
@media(max-width:650px){
 .smtv-scoreboard:not(.smtv-scoreboard--small) .smtv-scoreboard__team{font-size:19px!important;letter-spacing:-.03em!important}
 .smtv-scoreboard--small .smtv-scoreboard__team{font-size:19px!important;letter-spacing:-.035em!important}
 .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:39px;height:44px;font-size:26px!important}
 .smtv-scoreboard--small{gap:5px}
 .smtv-scoreboard__scorers{font-size:9px}
}
@media(max-width:365px){
 .smtv-scoreboard:not(.smtv-scoreboard--small) .smtv-scoreboard__team{font-size:16px!important}
 .smtv-scoreboard--small .smtv-scoreboard__team{font-size:16px!important}
 .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:33px;height:39px;font-size:23px!important}
}

/* v1.8: Stadio e marcatori nelle schede archivio */
.smtv .smtv-card__details{width:100%;display:grid;gap:7px;margin:9px 0 14px;padding:11px 3px 0;border-top:1px solid rgba(185,154,70,.55);color:#291637!important;text-align:center;box-sizing:border-box}
.smtv .smtv-card__detail{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:5px 9px;line-height:1.45}
.smtv .smtv-card__detail span{color:#6d5477!important;font:700 10px/1.4 'Montserrat',Arial,sans-serif!important;letter-spacing:.08em}
.smtv .smtv-card__detail strong{color:#24112e!important;font:600 12px/1.5 'Montserrat',Arial,sans-serif!important;overflow-wrap:anywhere}
.smtv .smtv-card__content{height:auto!important}
@media(max-width:650px){.smtv .smtv-card__details{margin:8px 0 13px;padding-top:10px}.smtv .smtv-card__detail strong{font-size:12px!important}}

/* v1.9: archive repeats the latest match information hierarchy */
.smtv .smtv-card__content{padding:20px 19px 22px!important;gap:0!important;min-height:240px!important}
.smtv .smtv-card__meta{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 9px;min-height:0!important;margin-bottom:12px!important;font-size:10px!important;line-height:1.6!important;letter-spacing:.10em!important;color:#493653!important}
.smtv .smtv-card__meta span{margin:0!important}
.smtv .smtv-card__meta span:not(:last-child)::after{content:'•';margin-left:9px;color:#b69b55}
.smtv .smtv-card .smtv-final-label{color:#886319!important;margin:0 0 10px!important;font-size:10px!important;letter-spacing:.15em!important}
.smtv .smtv-card .smtv-scoreboard--small{align-items:start!important;gap:8px!important;margin:0 0 20px!important}
.smtv .smtv-card .smtv-scoreboard--small .smtv-scoreboard__team-wrap{padding-top:8px!important}
.smtv .smtv-card .smtv-scoreboard--small .smtv-scoreboard__team{font-size:21px!important;line-height:1.05!important}
.smtv .smtv-card .smtv-scoreboard--small .smtv-scoreboard__scorers{display:block!important;margin-top:9px!important;color:#493653!important;font-size:11px!important;line-height:1.5!important;font-weight:600!important;overflow-wrap:anywhere}
.smtv .smtv-card .smtv-scoreboard--small .smtv-scoreboard__numbers strong{width:39px!important;height:44px!important}
.smtv .smtv-card .smtv-card__watch{margin-top:auto!important}
@media(max-width:650px){.smtv .smtv-card__content{padding:19px 17px 22px!important;min-height:225px!important}.smtv .smtv-card .smtv-scoreboard--small .smtv-scoreboard__team{font-size:22px!important}}

/* v2.1: un marcatore per riga, in entrambe le sezioni */
.smtv .smtv-scoreboard__scorers{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;width:100%!important;font-size:11px!important;line-height:1.5!important;font-weight:600!important;white-space:normal!important;letter-spacing:0!important;text-transform:none!important}
.smtv .smtv-scoreboard__scorer{display:block!important;width:100%!important;font:inherit!important;line-height:inherit!important;text-align:center!important;overflow-wrap:anywhere!important;white-space:normal!important}
.smtv .smtv-scoreboard:not(.smtv-scoreboard--small) .smtv-scoreboard__scorers{font-size:11px!important}
.smtv .smtv-scoreboard--small .smtv-scoreboard__scorers{font-size:11px!important}
