/*
Theme Name: Teslhub Editoriale
Description: Portale editoriale Teslhub. Gestione con WordPress, articoli, categorie, immagini e menu.
Version: 0.43.6
Text Domain: teslhub-editoriale
*/
:root{--red:#e20c1d;--ink:#16181c;--muted:#666c75;--line:#e5e7eb;--paper:#f4f5f7;--radius:12px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:white;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}button,input{font:inherit}img{display:block;max-width:100%;height:auto}.wrap{width:min(1240px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-100px;left:20px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}:focus-visible{outline:3px solid var(--red);outline-offset:4px}.topline{background:var(--ink);color:white;font-size:12px;letter-spacing:.08em;padding:8px 0}.site-header{border-bottom:1px solid var(--line);background:white}.head-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:27px 0}.brand img{width:210px;max-height:44px;object-fit:contain;object-position:left}.wordmark{font-size:31px;font-weight:900;letter-spacing:-1.5px;color:var(--red)}.brand-note{font-size:12px;color:var(--muted);margin-top:5px}form.search{display:flex;gap:8px;align-items:center}form.search input{width:230px;padding:10px 13px;border:1px solid var(--line);border-radius:7px}form.search button,.button{background:var(--ink);color:white;border:0;border-radius:7px;padding:11px 17px;cursor:pointer;font-weight:650;font-size:14px}.button.red{background:var(--red)}.button:hover,form.search button:hover{background:var(--red);color:white}.nav-row{display:flex;gap:30px;align-items:center;padding:0 0 18px;font-size:14px;font-weight:650}.nav-row a{white-space:nowrap}.nav-row .nav-menu{display:flex;list-style:none;gap:28px;margin:0;padding:0}.nav-menu .sub-menu{display:none}.intro{padding:45px 0 25px;display:flex;align-items:end;justify-content:space-between;gap:30px}.eyebrow,.category:not(body){color:var(--red);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.intro h1{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-1.5px;margin:9px 0 12px;max-width:720px}.intro p{margin:0;color:var(--muted);max-width:580px}.date-note{font-size:12px;color:var(--muted);white-space:nowrap}.hero-grid{display:grid;grid-template-columns:1.75fr 1fr;gap:26px;margin:15px 0 55px}.hero-card{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--ink);min-height:430px;color:white;display:flex;align-items:end}.hero-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 10%,rgba(0,0,0,.8))}.hero-text{position:relative;z-index:1;padding:32px}.hero-card h2{font-size:clamp(25px,3vw,36px);line-height:1.18;margin:12px 0;letter-spacing:-.8px}.hero-card a:hover{color:white}.hero-card .category:not(body){color:#fff;background:var(--red);padding:5px 8px;border-radius:3px}.meta{font-size:12px;color:var(--muted)}.hero-card .meta{color:#e7e7e7}.side-list{display:flex;flex-direction:column;gap:0}.side-story{display:grid;grid-template-columns:1fr 120px;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.side-story:first-child{padding-top:0}.side-story img{width:120px;aspect-ratio:1.25;object-fit:cover;border-radius:8px}.side-story h2{font-size:19px;line-height:1.3;margin:7px 0 10px;letter-spacing:-.3px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:15px}.section-title h2{font-size:27px;letter-spacing:-.7px;margin:0}.section-title a{font-size:13px;font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.card{min-width:0}.card-image{overflow:hidden;border-radius:10px;background:var(--paper);margin-bottom:17px}.card-image img{width:100%;aspect-ratio:1.7;object-fit:cover}.placeholder{aspect-ratio:1.7;display:grid;place-items:center;font-size:23px;font-weight:850;color:var(--red);background:var(--paper)}.card h2,.card h3{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:8px 0 12px}.card p{font-size:14px;color:var(--muted);margin:13px 0}.section{margin-bottom:60px}.topics{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 30px}.topics a{font-size:13px;border:1px solid var(--line);padding:7px 12px;border-radius:30px}.topics a:hover{border-color:var(--red)}.feature-strip{padding:35px;background:var(--paper);border-radius:var(--radius);display:flex;justify-content:space-between;align-items:center;gap:30px}.feature-strip h2{margin:5px 0 10px;font-size:30px;letter-spacing:-.8px;line-height:1.2}.feature-strip p{color:var(--muted);margin:0;max-width:630px}.feature-strip .actions{display:flex;gap:10px;flex-wrap:wrap}.article-head{max-width:900px;padding:44px 0 28px;margin:auto}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:26px}.article-head h1{font-size:clamp(31px,4.5vw,54px);line-height:1.1;letter-spacing:-1.6px;margin:15px 0 24px}.article-cover{max-width:1100px;margin:0 auto 35px}.article-cover img{width:100%;max-height:620px;object-fit:cover;border-radius:12px}.article-body{max-width:760px;margin:0 auto 65px;font-size:18px;line-height:1.85}.article-body h2{font-size:29px;line-height:1.3;letter-spacing:-.6px;margin:40px 0 16px}.article-body h3{line-height:1.4}.article-body p{margin:0 0 24px}.article-body a{color:var(--red);text-decoration:underline;text-underline-offset:3px}.article-body figure{margin:28px 0}.article-body iframe{max-width:100%}.article-body figcaption{font-size:12px;color:var(--muted)}.article-body ul,.article-body ol{padding-left:25px}.article-body blockquote{border-left:3px solid var(--red);padding-left:24px;margin:30px 0;color:var(--muted)}.author-note{border-top:1px solid var(--line);padding-top:24px;margin-top:35px;font-size:14px}.pagination{margin:35px 0;display:flex;gap:12px;justify-content:center}.page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:6px}.page-numbers.current{background:var(--ink);color:white}.empty{padding:35px;background:var(--paper);border-radius:10px}.site-footer{background:var(--ink);color:white;margin-top:65px;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid p{font-size:14px;color:#b7bbc3;max-width:400px}.footer-grid h2{font-size:13px;margin:0 0 15px}.footer-links{list-style:none;padding:0;margin:0;font-size:13px}.footer-links li{margin-bottom:9px}.footer-bottom{border-top:1px solid #34373e;margin-top:35px;padding-top:17px;font-size:11px;color:#adb1b9}.staging-note{font-size:12px;background:#fff4da;color:#684c17;padding:8px 0}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wp-block-image img{height:auto}.article-body .elementor{font-size:inherit}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-card{min-height:420px}.side-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-story{grid-template-columns:1fr;padding:0 0 15px}.side-story img{display:none}.cards{grid-template-columns:repeat(2,1fr)}.date-note{display:none}.nav-row{gap:20px;overflow-x:auto}.feature-strip{align-items:start;flex-direction:column}.footer-grid{grid-template-columns:2fr 1fr}.head-row{gap:20px}form.search input{width:170px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.topline{font-size:10px}.head-row{padding:20px 0;flex-wrap:wrap;gap:16px}.brand img{width:180px}form.search{width:100%}form.search input{width:100%;min-width:0}.nav-row,.nav-row .nav-menu{gap:21px}.intro{padding-top:28px}.intro h1{letter-spacing:-.8px}.intro p{font-size:14px}.hero-grid{gap:20px;margin-bottom:38px}.hero-card{min-height:365px}.hero-text{padding:23px}.side-story h2{font-size:17px}.cards{grid-template-columns:1fr;gap:30px}.card h3{font-size:22px}.section{margin-bottom:40px}.section-title h2{font-size:24px}.feature-strip{padding:25px}.feature-strip h2{font-size:27px}.article-head{padding:28px 0 20px}.article-head h1{letter-spacing:-.8px}.article-body{font-size:17px;line-height:1.8}.article-body h2{font-size:25px}.article-cover img{border-radius:8px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.site-footer{padding-top:35px}.topics{margin-top:16px}.meta{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
