/*
Theme Name: HowToGeek Italia
Theme URI: https://example.com/
Author: Custom
Description: Tema editoriale tech italiano ispirato al layout mostrato nelle schermate fornite dall'utente. Include homepage a sezioni, menu overlay, profili autore e footer editoriale.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: howtogeek-italia
*/
:root{--navy:#071d30;--navy2:#122d44;--orange:#f47721;--ink:#15181c;--muted:#777;--line:#ddd;--paper:#fff;--soft:#f4f4f4;--footer:#101112;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.45}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}.site-header{height:86px;border-bottom:1px solid #bdbdbd;background:#f5f5f5;position:relative;z-index:50}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.hamburger,.search-btn,.user-btn{border:0;background:none;cursor:pointer}.hamburger{width:42px;height:42px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:7px}.hamburger span{height:4px;background:#092239;width:100%;display:block}.brand{display:flex;align-items:center;gap:12px;flex:1}.brand img{width:220px;height:auto}.brand-it{font-weight:900;font-size:28px;color:var(--orange);letter-spacing:-1px;border-left:2px solid #aaa;padding-left:12px}.header-actions{display:flex;align-items:center;gap:10px}.search-btn{font-size:28px;color:#0a2238}.user-btn{width:48px;height:48px;border-radius:50%;background:#aaa;color:#fff;font-size:25px}
.menu-overlay{position:fixed;inset:86px 0 0;background:linear-gradient(135deg,#061b2c,#0c2940 65%,#19364e);z-index:100;display:none;color:#fff;overflow:auto}.menu-overlay.open{display:block}.menu-inner{max-width:900px;margin:0 auto;padding:70px 48px}.menu-top{display:flex;justify-content:space-between;align-items:center}.menu-close{font-size:52px;background:none;border:0;color:#fff;cursor:pointer}.menu-search{font-size:32px}.menu-title{color:var(--orange);font-size:34px;letter-spacing:1px;margin:20px 0 55px}.menu-list{list-style:none;margin:0;padding:0}.menu-list>li{font-size:30px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.05);display:flex;justify-content:space-between}.menu-list .plus{color:var(--orange);font-size:38px}.menu-list a:hover{color:var(--orange)}
.site-main{min-height:55vh}.section{padding:34px 0}.section-head{display:flex;align-items:center;gap:34px;margin-bottom:16px}.section-head h2{font-size:40px;line-height:1;margin:0;font-weight:800}.see-more{font-weight:800;color:#777;font-size:20px;display:flex;gap:12px;align-items:center}.see-more span{color:var(--orange);font-size:38px;line-height:.5}.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.hero-card{position:relative;overflow:hidden;border-radius:7px;min-height:430px;background:#222}.hero-card img{width:100%;height:100%;object-fit:cover}.hero-card:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.85))}.hero-title{position:absolute;z-index:2;left:28px;right:28px;bottom:28px;color:#fff;font-size:34px;line-height:1.08;font-weight:800}.side-grid{display:grid;gap:20px}.side-card{position:relative;min-height:205px;border-radius:7px;overflow:hidden}.side-card img{width:100%;height:100%;object-fit:cover}.side-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8))}.side-card h3{position:absolute;z-index:2;bottom:15px;left:18px;right:18px;color:#fff;font-size:21px;margin:0}
.latest{border-left:4px solid #eee;padding-left:28px;max-width:980px}.latest-item{padding:20px 0}.latest-time{display:block;color:var(--orange);font-size:17px;font-weight:800;text-transform:uppercase;margin-bottom:8px}.latest-title{font-size:25px;line-height:1.25}.latest-more{text-align:right;color:#777;font-weight:800;font-size:18px;padding-top:8px}.cards-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{border-radius:7px;overflow:hidden;background:#fff}.post-card img{aspect-ratio:16/9;object-fit:cover}.post-card-body{padding:12px 14px 20px}.kicker{color:var(--orange);font-size:15px;font-weight:800;text-transform:uppercase;margin-bottom:6px}.post-card h3{font-size:25px;line-height:1.12;margin:0 0 12px}.meta{color:#777;font-size:15px}.comment-icon{float:right;color:#777}.deal-list{background:#f4f4f4;padding:30px;border-radius:8px}.deal-card{display:grid;grid-template-columns:240px 1fr;border:1px solid #d5d5d5;background:#fff;border-radius:6px;overflow:hidden;margin-bottom:20px}.deal-card img{width:100%;height:100%;object-fit:cover}.deal-body{padding:25px}.deal-body time{color:#777}.deal-body h3{font-size:28px;line-height:1.15;margin:12px 0}.promoted{position:relative}.promoted:before{content:"PROMOTED";position:absolute;top:10px;left:10px;background:#000;color:#fff;padding:4px 8px;font-size:12px;font-weight:800;z-index:3}
.single-head{max-width:1000px;margin:45px auto 20px}.single-cat{color:var(--orange);font-weight:800;text-transform:uppercase}.single-title{font-size:52px;line-height:1.04;margin:10px 0 18px}.byline{font-size:18px}.single-feature{width:100%;max-height:650px;object-fit:cover;border-radius:6px;margin:25px auto}.article-layout{display:grid;grid-template-columns:minmax(0,820px) 280px;gap:50px;align-items:start}.entry-content{font-size:20px;line-height:1.72}.entry-content h2{font-size:34px;line-height:1.15;margin-top:42px}.entry-content h3{font-size:27px}.entry-content a{text-decoration:underline}.entry-content blockquote{border-left:4px solid var(--orange);padding:10px 20px;margin:30px 0;background:#f8f8f8}.sidebar-box{background:#f5f5f5;padding:20px;border-radius:6px}.sidebar-box h3{margin-top:0}.author-mini{display:flex;gap:12px;align-items:center}.avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#ddd}
.author-hero{background:#17191e;color:#fff;padding:70px 20px}.author-profile{max-width:950px;margin:auto;text-align:center}.author-avatar{width:220px;height:220px;border-radius:50%;object-fit:cover;margin:0 auto 22px}.author-name{font-size:56px;line-height:1;margin:0}.author-role{color:#ffc000;font-size:27px;margin:5px 0 20px}.follow{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:22px;margin-bottom:28px}.author-meta{display:grid;grid-template-columns:180px 1fr;max-width:800px;margin:0 auto;text-align:left;gap:18px;font-size:20px}.author-about{background:#101113;color:#fff;padding:55px 0}.author-about h2{font-size:19px;text-transform:uppercase}.author-about p{font-size:22px;max-width:1100px}.author-posts{padding:45px 0}.author-posts h2{font-size:38px}
.site-footer{background:#101112;color:#ccc;padding:55px 0 0;margin-top:60px}.footer-newsletter{max-width:850px;margin:0 auto 45px;display:flex}.footer-newsletter input{flex:1;background:#222;border:1px solid #555;color:#fff;padding:18px;font-size:18px;border-radius:5px 0 0 5px}.footer-newsletter button{width:70px;background:#2f56ff;color:#fff;border:0;font-size:24px;border-radius:0 5px 5px 0}.footer-note{text-align:center;font-size:15px;margin:-30px auto 40px}.footer-social{text-align:center;margin:20px 0 50px}.footer-social h3,.footer-col h3{color:#fff;letter-spacing:5px}.socials{display:flex;justify-content:center;gap:14px}.socials a{width:58px;height:58px;border-radius:50%;background:#292a2d;border:1px solid #444;display:flex;align-items:center;justify-content:center;font-weight:900}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center}.footer-col a{display:inline-block;margin:8px 8px;color:#ccc}.footer-bottom{border-top:1px solid #292929;text-align:center;padding:25px;margin-top:45px;color:#777}.footer-bottom a{color:#aaa}
.pagination{display:flex;gap:10px;justify-content:center;margin:35px 0}.pagination a,.pagination span{padding:10px 15px;border:1px solid #ddd}.pagination .current{background:var(--orange);color:#fff;border-color:var(--orange)}.search-form{display:flex;margin:40px auto;max-width:700px}.search-form input{flex:1;padding:15px;font-size:18px;border:1px solid #ccc}.search-form button{background:var(--orange);border:0;color:#fff;padding:0 25px;font-weight:800}.no-results{padding:80px 0;text-align:center}
@media(max-width:900px){.container{width:min(var(--max),calc(100% - 30px))}.brand img{width:180px}.brand-it{font-size:21px;padding-left:8px}.hero-grid,.cards-3{grid-template-columns:1fr}.hero-card{min-height:350px}.side-grid{grid-template-columns:1fr 1fr}.article-layout{grid-template-columns:1fr}.single-title{font-size:40px}.author-name{font-size:45px}.author-meta{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.menu-inner{padding:45px 25px}.menu-list>li{font-size:24px}}
@media(max-width:600px){.site-header{height:72px}.menu-overlay{inset:72px 0 0}.brand img{width:145px}.brand-it{font-size:18px}.header-actions{gap:2px}.user-btn{width:40px;height:40px}.section{padding:27px 0}.section-head h2{font-size:31px}.see-more{font-size:15px}.hero-title{font-size:27px}.side-grid{grid-template-columns:1fr}.latest{padding-left:16px}.latest-title{font-size:20px}.cards-2{grid-template-columns:1fr}.deal-card{grid-template-columns:115px 1fr}.deal-body{padding:13px}.deal-body h3{font-size:19px}.single-title{font-size:34px}.entry-content{font-size:18px}.author-avatar{width:150px;height:150px}.author-name{font-size:39px}.author-about p{font-size:18px}.footer-newsletter{margin-left:15px;margin-right:15px}.footer-grid{gap:20px}}
