/*
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: 2.6.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}}
/* 1.1 visual refinements */
body.menu-open{overflow:hidden}.search-panel{position:fixed;z-index:90;left:0;right:0;top:86px;background:#fff;padding:22px 0;border-bottom:1px solid #ddd;transform:translateY(-130%);transition:transform .2s ease}.search-panel.open{transform:translateY(0)}
.review-hero{max-width:100%;}.review-hero .hero-card{min-height:430px}.review-hero .hero-card img{aspect-ratio:16/8;object-fit:cover}.post-card-image{display:block}.post-card-image img{transition:transform .25s ease}.post-card:hover .post-card-image img{transform:scale(1.025)}
.section-reviews{padding-top:42px}.section-reviews + .section{padding-top:34px}.deal-list{padding:30px 30px 10px}.deal-card:last-child{margin-bottom:10px}.deal-card a img{height:100%;min-height:150px}.footer-col h3{font-size:18px}.footer-col a{font-size:17px}.socials a{font-size:14px}.author-profile .author-role{font-weight:500}.author-meta strong{color:#fff}.author-meta span{color:#ddd}.author-about{min-height:250px}.author-about p{line-height:1.55}.author-posts .post-card{border:1px solid #eee}.single-feature{aspect-ratio:16/9}
@media(max-width:600px){.search-panel{top:72px}.review-hero .hero-card{min-height:300px}.review-hero .hero-card img{aspect-ratio:16/9}.section-reviews{padding-top:25px}.deal-list{padding:14px}.deal-card{grid-template-columns:120px 1fr}.deal-card a img{min-height:120px}.footer-social h3,.footer-col h3{letter-spacing:3px}}

/* v1.3 — Chi siamo / Team editoriale: card modeled on the supplied reference */
.htgi-team-intro{margin-top:42px}
.htgi-editorial-team{margin:24px 0 52px}
.htgi-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.htgi-team-card{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);gap:18px;min-height:278px;padding:18px;background:#f4f4f3;border-radius:9px;overflow:hidden}
.htgi-team-photo{display:block;width:132px;height:108px;overflow:hidden;border-radius:6px;background:#fff}
.htgi-team-photo img,.htgi-team-photo .htgi-team-avatar{width:100%;height:100%;object-fit:cover;display:block}
.htgi-team-card-content{padding-right:18px}
.htgi-team-card h3{margin:0 0 2px;font-size:25px;line-height:1.1;font-weight:800}
.htgi-team-card h3 a:hover{text-decoration:underline}
.htgi-team-role{font-size:18px;line-height:1.35;color:#555;margin-bottom:14px}
.htgi-team-social{height:22px;display:flex;align-items:center;gap:10px;margin-bottom:8px;font-weight:800;color:#111}
.htgi-team-social a{font-size:16px;line-height:1}
.htgi-team-social a:hover{color:var(--orange)}
.htgi-team-card p{margin:0;font-size:17px;line-height:1.5;color:#4b4b4b}
.htgi-team-arrow{position:absolute;right:0;bottom:0;width:34px;height:34px;background:#b7b7b7;color:#fff;display:flex;align-items:center;justify-content:center;font-size:31px;line-height:1;border-radius:4px 0 0 0}
.htgi-team-arrow:hover{background:var(--orange)}
.htgi-team-empty{padding:25px;background:#f4f4f3;border-radius:8px}
@media(max-width:900px){.htgi-team-grid{grid-template-columns:1fr}.htgi-team-card{min-height:240px}}
@media(max-width:600px){.htgi-team-card{grid-template-columns:96px minmax(0,1fr);gap:13px;padding:14px;min-height:215px}.htgi-team-photo{width:96px;height:92px}.htgi-team-card h3{font-size:20px}.htgi-team-role{font-size:15px;margin-bottom:9px}.htgi-team-card p{font-size:15px;line-height:1.42}.htgi-team-social{margin-bottom:5px}}

/* v1.4 — Interazioni pagina autore */
.htgi-author-social{margin:25px auto 22px;max-width:760px}.htgi-social-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.htgi-follow-btn{border:0;background:transparent;color:#fff;font:inherit;font-size:22px;font-weight:800;cursor:pointer;padding:7px 12px}.htgi-follow-btn.is-following{color:#ffc000}.htgi-follow-count{font-size:16px;color:#ddd}.htgi-rating-box{margin:18px auto 0;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.htgi-rating-label{font-weight:700;color:#fff}.htgi-stars{display:flex;gap:2px}.htgi-star{border:0;background:none;color:#777;font-size:30px;line-height:1;padding:0 2px;cursor:pointer}.htgi-star:hover,.htgi-star.is-selected{color:#ffc000}.htgi-rating-summary{font-size:17px;color:#ddd}.htgi-rating-summary>span:first-of-type{color:#ffc000}.htgi-rating-box small{width:100%;color:#aaa}.author-links{font-size:20px;margin-top:8px}.author-links a{color:#fff}.htgi-author-comments{padding:50px 0 70px}.htgi-author-comments h2{font-size:36px;margin:0 0 25px}.htgi-comment-list{margin-bottom:30px}.htgi-author-comment{background:#f4f4f3;border-radius:8px;padding:18px 20px;margin:0 0 14px}.htgi-comment-head{display:flex;justify-content:space-between;gap:15px}.htgi-comment-head time{color:#777;font-size:14px}.htgi-author-comment p{margin:10px 0 0;font-size:17px;line-height:1.55}.htgi-no-comments{color:#777}.htgi-author-comment-form{border-top:1px solid #ddd;padding-top:25px}.htgi-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.htgi-author-comment-form input,.htgi-author-comment-form textarea{width:100%;box-sizing:border-box;border:1px solid #ccc;border-radius:5px;padding:14px;font:inherit;margin-bottom:14px}.htgi-author-comment-form textarea{resize:vertical}.htgi-author-comment-form button{background:#f36b21;color:#fff;border:0;border-radius:4px;padding:13px 22px;font-weight:800;cursor:pointer}.htgi-form-message{margin-left:12px;color:#777}.htgi-form-message.ok{color:#188038}.htgi-form-message.error{color:#c5221f}
@media(max-width:600px){.htgi-social-actions{gap:7px}.htgi-follow-btn{font-size:20px}.htgi-rating-box{align-items:center}.htgi-rating-label{width:100%;text-align:center}.htgi-author-comments h2{font-size:30px}.htgi-form-grid{grid-template-columns:1fr}.htgi-comment-head{display:block}.htgi-comment-head time{display:block;margin-top:4px}}

.htgi-google-source-wrap{margin-top:8px;margin-bottom:8px;min-height:48px}.htgi-source-box{margin:0 0 28px;padding:14px 18px;background:#f4f4f4;border-left:4px solid var(--orange);font-size:16px}.htgi-source-box a{text-decoration:underline}.single-feature{display:block;width:100%;height:auto;min-height:0;object-fit:cover}.review-hero .hero-card{background:#172638}.review-hero .hero-card img{display:block;min-height:0}.deal-card>a{display:block;min-height:0}.deal-card>a:empty{display:none}


/* v1.6 — article social bar + Facebook discussion */
.htgi-article-actions{max-width:100%;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:#f7f7f7;margin:0 auto 38px}
.htgi-action{min-height:86px;border:0;border-right:1px solid #d7d7d7;background:transparent;color:#202124;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;font:inherit;font-weight:800;font-size:18px;cursor:pointer;padding:12px}
.htgi-action:last-child{border-right:0}.htgi-action:hover{background:#efefef}.htgi-action.is-active{color:#e85f1b}.htgi-action-icon{font-size:26px;line-height:1}.htgi-action small{display:block;color:#777;font-weight:500;font-size:14px}.google-g{font-weight:900;color:#4285f4;font-family:Arial,sans-serif}
.htgi-discussion{background:#f4f4f4;padding:45px 0 65px;margin-top:45px}.htgi-discussion-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.htgi-discussion-head h2{font-size:36px;margin:0}.htgi-discussion-head span{color:#777;font-size:15px}.htgi-fb-wrap{background:#fff;border-radius:8px;padding:22px;min-height:100px}.htgi-fb-note{font-size:14px;color:#777;margin:15px 0 0}.fb-comments,.fb-comments iframe{max-width:100%!important}
@media(max-width:600px){.htgi-article-actions{grid-template-columns:repeat(4,1fr);margin-bottom:25px}.htgi-action{min-height:78px;font-size:13px;gap:4px;padding:8px 2px}.htgi-action-icon{font-size:22px}.htgi-action small{font-size:11px}.htgi-discussion{padding:30px 0 45px}.htgi-discussion-head{display:block}.htgi-discussion-head h2{font-size:30px}.htgi-discussion-head span{display:block;margin-top:5px}.htgi-fb-wrap{padding:12px}}

/* v1.7 — Homepage visual system closely matching the supplied How-To Geek references */
.htgi-home .section{padding:38px 0}.htgi-home .section-head{margin-bottom:18px}.htgi-home .section-head h2{font-size:42px;letter-spacing:-1.2px}.htgi-home .see-more{font-size:21px}.htgi-home .see-more span{font-size:42px}
.htgi-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.htgi-news-card{min-width:0}.htgi-news-image{display:block;position:relative;overflow:hidden;border-radius:7px;background:#eee;aspect-ratio:16/10}.htgi-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.htgi-news-card:hover .htgi-news-image img{transform:scale(1.025)}.htgi-news-image:after{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;background:linear-gradient(transparent,rgba(0,0,0,.72));pointer-events:none}.htgi-news-date{position:absolute;z-index:2;left:20px;bottom:17px;color:#fff;font-size:20px;line-height:1;font-weight:500}.htgi-news-card h3{font-size:28px;line-height:1.1;letter-spacing:-.35px;margin:12px 14px 12px 14px}.htgi-news-card h3 a:hover{text-decoration:underline}.htgi-card-meta{margin:0 14px;color:#222;font-size:17px;font-weight:600}.htgi-card-meta a{text-decoration:none}.htgi-card-meta a:hover{text-decoration:underline}.htgi-comment-count{float:right;color:#777;font-weight:500}
.htgi-feature-card,.htgi-streaming-feature{position:relative;overflow:hidden;border-radius:8px;background:#172638}.htgi-feature-card>a,.htgi-streaming-feature>a{display:block;position:relative}.htgi-feature-card img,.htgi-streaming-feature img{width:100%;aspect-ratio:16/8.7;object-fit:cover}.htgi-feature-overlay{position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88));pointer-events:none}.htgi-feature-card h3,.htgi-streaming-feature h3{position:absolute;left:30px;right:30px;bottom:26px;color:#fff;font-size:36px;line-height:1.05;letter-spacing:-.6px;margin:0;z-index:2}.htgi-streaming-label{position:absolute;z-index:3;left:24px;bottom:120px;color:var(--orange);font-size:18px;font-weight:800;text-transform:uppercase}
.htgi-deal-list{padding:30px 30px 10px}.htgi-deal-list .deal-card{grid-template-columns:232px minmax(0,1fr);min-height:160px}.htgi-deal-list .deal-body{position:relative;padding:23px 24px}.htgi-deal-list .deal-body h3{font-size:27px;margin:10px 0 12px;line-height:1.08}.htgi-deal-comments{position:absolute;right:22px;bottom:24px;color:#777}.htgi-latest-list{max-width:100%;padding-left:27px;border-left:3px solid #e7e7e7}.htgi-latest-list .latest-item{padding:20px 0 25px}.htgi-latest-list .latest-title{font-size:27px;line-height:1.25;max-width:920px}.htgi-latest-list .latest-time{font-size:18px}.htgi-latest-list .latest-more{font-size:18px;padding-bottom:8px}.htgi-standard-section{padding-top:26px}
@media(max-width:900px){.htgi-home .section-head h2{font-size:36px}.htgi-news-card h3{font-size:24px}.htgi-feature-card h3,.htgi-streaming-feature h3{font-size:31px}.htgi-deal-list .deal-card{grid-template-columns:200px 1fr}}
@media(max-width:600px){.htgi-home .section{padding:30px 0}.htgi-home .section-head{gap:18px}.htgi-home .section-head h2{font-size:31px}.htgi-home .see-more{font-size:15px;gap:8px}.htgi-home .see-more span{font-size:31px}.htgi-news-grid{grid-template-columns:1fr;gap:26px}.htgi-news-image{aspect-ratio:16/10}.htgi-news-date{font-size:18px;left:15px;bottom:13px}.htgi-news-card h3{font-size:24px;margin:10px 14px}.htgi-card-meta{font-size:16px}.htgi-feature-card img,.htgi-streaming-feature img{aspect-ratio:16/9}.htgi-feature-card h3,.htgi-streaming-feature h3{left:20px;right:20px;bottom:20px;font-size:29px}.htgi-streaming-label{left:20px;bottom:96px;font-size:15px}.htgi-deal-list{padding:14px}.htgi-deal-list .deal-card{grid-template-columns:120px 1fr;min-height:120px}.htgi-deal-list .deal-body{padding:13px 14px}.htgi-deal-list .deal-body h3{font-size:20px;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.htgi-deal-comments{right:14px;bottom:13px;font-size:13px}.htgi-latest-list{padding-left:16px}.htgi-latest-list .latest-item{padding:18px 0 23px}.htgi-latest-list .latest-title{font-size:21px}.htgi-latest-list .latest-time{font-size:16px}.htgi-standard-section{padding-top:20px}}

/* v1.8 — distinct homepage modules: latest list, news grid, review slider, deals, category list and mobile cards. */
.htgi-home .section-head{align-items:center}
.htgi-home .section-head h2{font-weight:800}
.htgi-latest-cards{display:flex;flex-direction:column;gap:22px}
.htgi-latest-card{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:center;border-bottom:1px solid #eee;padding-bottom:22px}
.htgi-latest-card:last-child{border-bottom:0}
.htgi-latest-thumb{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:7px;background:#eee}
.htgi-latest-thumb img{width:100%;height:100%;object-fit:cover}
.htgi-latest-copy time{display:block;color:#777;font-size:20px;margin-bottom:5px}
.htgi-latest-copy h3{font-size:30px;line-height:1.12;letter-spacing:-.5px;margin:0 0 12px}
.htgi-list-meta{display:flex;align-items:center;gap:13px;font-size:18px}
.htgi-divider{width:1px;height:24px;background:#aaa}
.htgi-comments{color:#777;white-space:nowrap}
.htgi-comments b{font-weight:500}
.htgi-review-slider{position:relative;overflow:hidden;border-radius:8px}
.htgi-review-track{display:flex;transition:transform .35s ease}
.htgi-review-slide{min-width:100%;position:relative;overflow:hidden;background:#182536}
.htgi-review-slide>a{display:block;position:relative;aspect-ratio:16/8.6}
.htgi-review-slide img{width:100%;height:100%;object-fit:cover}
.htgi-review-slide h3{position:absolute;left:32px;right:110px;bottom:30px;color:#fff;font-size:36px;line-height:1.04;margin:0;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.htgi-review-slide:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88));pointer-events:none}
.htgi-slider-arrow{position:absolute;z-index:5;bottom:18px;width:58px;height:58px;border:0;border-radius:10px;background:rgba(0,0,0,.7);color:#fff;font-size:31px;cursor:pointer}
.htgi-slider-prev{right:78px}.htgi-slider-next{right:15px}
.htgi-category-list{display:flex;flex-direction:column;gap:0}
.htgi-category-list-card{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid #ddd}
.htgi-category-thumb{display:block;aspect-ratio:16/10;border-radius:7px;overflow:hidden;background:#eee}
.htgi-category-thumb img{width:100%;height:100%;object-fit:cover}
.htgi-category-list-card time{font-size:18px;color:#777}.htgi-category-list-card h3{font-size:28px;line-height:1.12;margin:7px 0 12px}.htgi-category-list-card strong{font-size:17px}.htgi-list-comments{float:right;color:#777;font-size:17px}
.htgi-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.htgi-mobile-card{min-width:0}.htgi-mobile-image{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:7px;background:#eee}.htgi-mobile-image img{width:100%;height:100%;object-fit:cover}.htgi-mobile-card h3{font-size:27px;line-height:1.1;margin:11px 10px}.htgi-mobile-card>div{display:flex;justify-content:space-between;margin:0 10px;color:#777;font-size:16px}.htgi-mobile-card>div strong{color:#222}
@media(max-width:900px){.htgi-latest-card{grid-template-columns:220px 1fr}.htgi-latest-copy h3{font-size:25px}.htgi-review-slide h3{font-size:31px}.htgi-category-list-card{grid-template-columns:220px 1fr}.htgi-mobile-card h3{font-size:23px}}
@media(max-width:600px){
 .htgi-home .section{padding:29px 0}
 .htgi-home .section-head{gap:13px;margin-bottom:14px}
 .htgi-home .section-head h2{font-size:31px}
 .htgi-home .see-more{font-size:14px;gap:6px}
 .htgi-home .see-more span{font-size:29px}
 .htgi-latest-cards{gap:18px}
 .htgi-latest-card{grid-template-columns:38% minmax(0,1fr);gap:14px;padding-bottom:18px;align-items:start}
 .htgi-latest-thumb{aspect-ratio:1.35/1}
 .htgi-latest-copy time{font-size:16px;line-height:1.1;margin-bottom:5px}
 .htgi-latest-copy h3{font-size:22px;line-height:1.08;letter-spacing:-.25px;margin-bottom:8px}
 .htgi-list-meta{font-size:15px;gap:8px;flex-wrap:nowrap}.htgi-divider{height:19px}.htgi-comments{font-size:14px}
 /* Keep News as two columns on mobile, matching the supplied second screenshot. */
 .htgi-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .htgi-news-card h3{font-size:21px;line-height:1.08;margin:9px 8px 10px}
 .htgi-card-meta{margin:0 8px;font-size:14px}.htgi-comment-count{font-size:14px}
 .htgi-news-image{aspect-ratio:1/1.03;border-radius:7px}.htgi-news-date{font-size:16px;left:10px;bottom:10px}
 .htgi-review-slide>a{aspect-ratio:16/10}.htgi-review-slide h3{left:18px;right:90px;bottom:18px;font-size:27px}
 .htgi-slider-arrow{width:49px;height:49px;font-size:26px;bottom:12px}.htgi-slider-prev{right:66px}.htgi-slider-next{right:11px}
 .htgi-deal-list{padding:12px}.htgi-deal-list .deal-card{grid-template-columns:36% 1fr;min-height:116px;margin-bottom:12px}.htgi-deal-list .deal-body{padding:12px}.htgi-deal-list .deal-body time{font-size:14px}.htgi-deal-list .deal-body h3{font-size:19px;line-height:1.08;margin:6px 0}.htgi-deal-list .deal-body strong{font-size:14px}.htgi-deal-comments{right:11px;bottom:10px;font-size:12px}
 .htgi-category-list-card{grid-template-columns:38% 1fr;gap:13px;padding:15px 0}.htgi-category-list-card time{font-size:14px}.htgi-category-list-card h3{font-size:20px;line-height:1.08;margin:5px 0 8px}.htgi-category-list-card strong{font-size:14px}.htgi-list-comments{font-size:13px}
 .htgi-mobile-grid{gap:16px}.htgi-mobile-card h3{font-size:20px;margin:9px 5px}.htgi-mobile-card>div{margin:0 5px;font-size:13px}
}

/* v1.9 — homepage rebuilt from the supplied How-To Geek mobile references. */
.htgi-home{background:#fff}.htgi-wrap{width:min(1180px,calc(100% - 60px));margin:0 auto}.htgi-section{padding:52px 0}.htgi-section-head{display:flex;align-items:center;gap:44px;margin:0 0 26px}.htgi-section-head h2{margin:0;font-size:48px;line-height:1;font-weight:900;letter-spacing:-1.8px}.htgi-section-head a{display:flex;align-items:center;gap:22px;color:#777;font-size:24px;font-weight:800}.htgi-section-head a b{font-size:42px;line-height:.7;color:#f47721}
/* Header */
.htgi-header{height:116px;background:#f5f5f5;border-bottom:1px solid #aaa}.htgi-header-inner{height:100%;width:min(1180px,calc(100% - 60px));margin:auto;display:flex;align-items:center;gap:48px}.htgi-header .hamburger{width:58px;height:58px;padding:8px;flex:0 0 auto}.htgi-header .hamburger span{height:6px;background:#082239;margin:3px 0}.htgi-brand{display:flex;align-items:center;gap:13px;flex:1;min-width:0}.htgi-brand-wordmark{width:280px;height:auto}.htgi-brand-mark{display:none;overflow:hidden;width:52px;height:52px;flex:0 0 52px}.htgi-brand-mark img{width:310px;max-width:none;height:52px;object-fit:contain;object-position:left center}.htgi-header .brand-it{font-size:32px;border-left:2px solid #aaa;padding-left:15px}.htgi-header .header-actions{gap:20px}.htgi-header .search-btn{font-size:42px;line-height:1}.htgi-header .user-btn{position:relative;width:66px;height:66px;border-radius:50%;background:#aaa;display:block}.htgi-header .user-btn:before{content:"";position:absolute;width:21px;height:21px;border-radius:50%;background:#fff;left:22px;top:13px}.htgi-header .user-btn:after{content:"";position:absolute;width:36px;height:20px;border-radius:20px 20px 12px 12px;background:#fff;left:15px;bottom:12px}
/* Latest: horizontal story rows, not stacked cards. */
.htgi-latest-list{display:flex!important;flex-direction:column!important;gap:0!important}.htgi-latest-item{display:grid!important;grid-template-columns:minmax(250px,35%) minmax(0,1fr)!important;gap:28px!important;align-items:center!important;padding:0 0 28px!important;margin:0 0 28px!important;border:0!important}.htgi-latest-item:last-child{margin-bottom:0!important}.htgi-latest-image{display:block!important;width:100%!important;aspect-ratio:16/10!important;border-radius:8px!important;overflow:hidden!important;background:#eee}.htgi-latest-image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}.htgi-latest-content{min-width:0!important}.htgi-latest-content time{display:block;color:#777;font-size:23px;margin-bottom:7px}.htgi-latest-content h3{margin:0 0 13px!important;font-size:34px!important;line-height:1.08!important;letter-spacing:-.7px!important;font-weight:800!important}.htgi-byline{display:flex;align-items:center;gap:13px;font-size:20px}.htgi-byline span{width:1px;height:24px;background:#aaa}.htgi-byline i{font-style:normal;color:#777;font-size:25px}.htgi-byline em{font-style:normal;color:#777}
/* Large feature */
.htgi-big-feature{position:relative;border-radius:8px;overflow:hidden}.htgi-big-feature a{display:block;position:relative;aspect-ratio:16/9}.htgi-big-feature img{width:100%;height:100%;object-fit:cover}.htgi-big-feature span{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.9))}.htgi-big-feature h2{position:absolute;left:30px;right:30px;bottom:28px;color:#fff;font-size:42px;line-height:1.04;margin:0;font-weight:800}
/* News */
.htgi-news-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}.htgi-news-card{min-width:0}.htgi-news-image{position:relative;display:block!important;aspect-ratio:16/11!important;overflow:hidden;border-radius:8px;background:#eee}.htgi-news-image img{width:100%!important;height:100%!important;object-fit:cover!important}.htgi-news-image:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}.htgi-news-image time{position:absolute;left:24px;bottom:18px;z-index:2;color:#fff;font-size:22px}.htgi-news-card h3{font-size:31px!important;line-height:1.1!important;margin:14px 16px 12px!important}.htgi-news-meta{margin:0 16px;display:flex;justify-content:space-between;font-size:18px}.htgi-news-meta span{color:#777}
/* Product reviews */
.htgi-review-slider{position:relative;overflow:hidden;border-radius:8px}.htgi-review-track{display:flex;transition:transform .35s ease}.htgi-review-slide{min-width:100%;position:relative}.htgi-review-slide>a{display:block;position:relative;aspect-ratio:16/8.8}.htgi-review-slide img{width:100%;height:100%;object-fit:cover}.htgi-review-slide>a>span{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.9))}.htgi-review-slide h3{position:absolute;left:34px;right:150px;bottom:31px;color:#fff;font-size:39px;line-height:1.04;margin:0;z-index:2}.htgi-slider-arrow{position:absolute;z-index:4;bottom:17px;width:58px;height:58px;border:0;border-radius:10px;background:rgba(0,0,0,.72);color:#fff;font-size:32px}.htgi-slider-arrow.prev{right:82px}.htgi-slider-arrow.next{right:16px}
/* Deals */
.htgi-deals-box{background:#f4f4f4;padding:30px;border-radius:8px}.htgi-deal-item{display:grid;grid-template-columns:30% 1fr;background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden;margin-bottom:18px;min-height:165px}.htgi-deal-item:last-child{margin-bottom:0}.htgi-deal-image{display:block}.htgi-deal-image img{width:100%;height:100%;object-fit:cover}.htgi-deal-content{position:relative;padding:22px 25px}.htgi-deal-content time{color:#777;font-size:18px}.htgi-deal-content h3{font-size:27px;line-height:1.08;margin:9px 0}.htgi-deal-content>span{position:absolute;right:22px;bottom:20px;color:#777}
/* Secondary category: compact rows */
.htgi-category-list article{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid #ddd}.htgi-category-list article img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px}.htgi-category-list time{color:#777}.htgi-category-list h3{font-size:28px;line-height:1.1;margin:7px 0 10px}.htgi-category-list span{float:right;color:#777}
@media(max-width:900px){.htgi-wrap,.htgi-header-inner{width:min(100% - 40px,760px)}.htgi-section{padding:40px 0}.htgi-section-head h2{font-size:40px}.htgi-section-head a{font-size:19px}.htgi-latest-item{grid-template-columns:36% minmax(0,1fr)!important;gap:20px!important}.htgi-latest-content h3{font-size:27px!important}.htgi-latest-content time{font-size:19px}.htgi-byline{font-size:17px}.htgi-brand-wordmark{width:235px}.htgi-big-feature h2{font-size:33px}.htgi-news-card h3{font-size:25px!important}}
@media(max-width:600px){
 .htgi-header{height:88px}.htgi-header-inner{width:calc(100% - 58px);gap:18px}.htgi-header .hamburger{width:44px;height:44px;padding:4px}.htgi-header .hamburger span{height:5px}.htgi-brand-wordmark,.htgi-header .brand-it,.htgi-header .search-btn{display:none}.htgi-brand-mark{display:block}.htgi-header .header-actions{margin-left:auto}.htgi-header .user-btn{width:54px;height:54px}.htgi-header .user-btn:before{width:18px;height:18px;left:18px;top:11px}.htgi-header .user-btn:after{width:30px;height:17px;left:12px;bottom:10px}
 .htgi-wrap{width:calc(100% - 60px)}.htgi-section{padding:36px 0}.htgi-section-head{gap:22px;margin-bottom:23px}.htgi-section-head h2{font-size:38px;letter-spacing:-1.2px}.htgi-section-head a{font-size:17px;gap:12px}.htgi-section-head a b{font-size:33px}
 .htgi-latest-item{display:grid!important;grid-template-columns:38% minmax(0,62%)!important;gap:14px!important;align-items:start!important;padding:0!important;margin:0 0 28px!important;width:100%!important}.htgi-latest-image{width:100%!important;aspect-ratio:1.5/1!important}.htgi-latest-content time{font-size:16px;margin-bottom:5px}.htgi-latest-content h3{font-size:21px!important;line-height:1.08!important;margin:0 0 8px!important}.htgi-byline{font-size:14px;gap:7px}.htgi-byline span{height:18px}.htgi-byline i{font-size:20px}
 .htgi-feature-section{padding-top:4px}.htgi-big-feature a{aspect-ratio:16/9}.htgi-big-feature h2{font-size:28px;left:18px;right:18px;bottom:18px}.htgi-news-grid{gap:18px!important}.htgi-news-image{aspect-ratio:1/1.02!important}.htgi-news-image time{left:11px;bottom:11px;font-size:15px}.htgi-news-card h3{font-size:20px!important;line-height:1.08!important;margin:9px 6px 9px!important}.htgi-news-meta{margin:0 6px;font-size:13px}.htgi-review-slide>a{aspect-ratio:16/10}.htgi-review-slide h3{font-size:26px;left:18px;right:90px;bottom:17px}.htgi-slider-arrow{width:48px;height:48px;font-size:25px;bottom:11px}.htgi-slider-arrow.prev{right:64px}.htgi-slider-arrow.next{right:10px}.htgi-deals-box{padding:14px}.htgi-deal-item{grid-template-columns:36% 1fr;min-height:118px}.htgi-deal-content{padding:12px}.htgi-deal-content time{font-size:14px}.htgi-deal-content h3{font-size:19px;margin:5px 0}.htgi-deal-content strong{font-size:13px}.htgi-deal-content>span{right:10px;bottom:8px;font-size:12px}.htgi-category-list article{grid-template-columns:38% minmax(0,1fr);gap:13px;padding:15px 0}.htgi-category-list h3{font-size:20px}.htgi-category-list time{font-size:14px}.htgi-category-list strong{font-size:13px}
}

/* v2.0 — editorial mosaic first, Latest last. */
.htgi-mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(190px,1fr));gap:16px}
.htgi-mosaic article{position:relative;overflow:hidden;border-radius:9px;background:#e9e9e9;min-width:0}
.htgi-mosaic article a{display:block;position:relative;width:100%;height:100%;min-height:190px}
.htgi-mosaic img{display:block;width:100%;height:100%;object-fit:cover}
.htgi-mosaic-main{grid-row:1 / span 2;grid-column:1}
.htgi-mosaic-small:nth-child(2){grid-column:2;grid-row:1}
.htgi-mosaic-small:nth-child(3){grid-column:3;grid-row:1}
.htgi-mosaic-small:nth-child(4){grid-column:2;grid-row:2}
.htgi-mosaic-small:nth-child(5){grid-column:3;grid-row:2}
.htgi-mosaic-overlay{position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.htgi-mosaic-copy{position:absolute;left:20px;right:20px;bottom:17px;color:#fff;z-index:2}
.htgi-mosaic-copy small{font-size:15px;color:#eee}
.htgi-mosaic-copy h1,.htgi-mosaic-copy h2{margin:5px 0 8px;color:#fff;font-weight:850;line-height:1.05;letter-spacing:-.6px}
.htgi-mosaic-copy h1{font-size:40px}.htgi-mosaic-copy h2{font-size:24px}
.htgi-mosaic-copy strong{font-size:14px;color:#fff}
@media(max-width:900px){
 .htgi-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:360px 190px 190px;gap:14px}
 .htgi-mosaic-main{grid-column:1 / span 2;grid-row:1}
 .htgi-mosaic-small:nth-child(2){grid-column:1;grid-row:2}.htgi-mosaic-small:nth-child(3){grid-column:2;grid-row:2}.htgi-mosaic-small:nth-child(4){grid-column:1;grid-row:3}.htgi-mosaic-small:nth-child(5){grid-column:2;grid-row:3}
 .htgi-mosaic-copy h1{font-size:32px}.htgi-mosaic-copy h2{font-size:21px}
}
@media(max-width:600px){
 .htgi-header{height:92px}
 .htgi-header-inner{width:calc(100% - 44px);justify-content:space-between;gap:0}
 .htgi-brand{position:absolute;left:50%;transform:translateX(-50%);flex:none;width:64px;justify-content:center}
 .htgi-brand-mark{width:64px;height:58px;display:block}
 .htgi-brand-mark img{width:350px;height:58px}
 .htgi-header .hamburger{width:46px;height:46px}
 .htgi-header .header-actions{margin-left:auto}.htgi-header .user-btn{width:58px;height:58px}
 .htgi-wrap{width:calc(100% - 32px)}
 .htgi-section{padding:30px 0}
 .htgi-mosaic{grid-template-rows:300px 150px 150px;gap:10px}
 .htgi-mosaic-copy{left:14px;right:14px;bottom:12px}
 .htgi-mosaic-copy small{font-size:12px}.htgi-mosaic-copy h1{font-size:27px;margin:4px 0}.htgi-mosaic-copy h2{font-size:17px;margin:3px 0}.htgi-mosaic-copy strong{font-size:11px}
 .htgi-mosaic-overlay{inset:25% 0 0}
 .htgi-latest-section{padding-top:42px}
}

/* v2.1 — mobile header: restore full How-To Geek wordmark + IT label. */
@media (max-width:600px){
  .htgi-header{height:92px;}
  .htgi-header-inner{width:calc(100% - 28px);display:flex;align-items:center;justify-content:space-between;gap:10px;}
  .htgi-header .hamburger{width:44px;height:44px;flex:0 0 44px;padding:4px;}
  .htgi-brand{position:static;left:auto;transform:none;display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:1;min-width:0;width:auto;}
  .htgi-brand-mark{display:none!important;}
  .htgi-brand-wordmark{display:block!important;width:170px!important;height:auto;max-width:100%;flex:0 1 auto;}
  .htgi-header .brand-it{display:block!important;font-size:21px!important;line-height:1;font-weight:900;color:var(--orange);border-left:2px solid #aaa;padding-left:8px;flex:0 0 auto;}
  .htgi-header .header-actions{margin-left:0;gap:0;flex:0 0 auto;}
  .htgi-header .search-btn{display:none!important;}
  .htgi-header .user-btn{width:54px;height:54px;flex:0 0 54px;}
  .htgi-header .user-btn:before{width:18px;height:18px;left:18px;top:11px;}
  .htgi-header .user-btn:after{width:30px;height:17px;left:12px;bottom:10px;}
}
@media (max-width:370px){
  .htgi-header-inner{width:calc(100% - 20px);gap:7px;}
  .htgi-header .hamburger{width:40px;height:40px;flex-basis:40px;}
  .htgi-brand{gap:6px;}
  .htgi-brand-wordmark{width:145px!important;}
  .htgi-header .brand-it{font-size:19px!important;padding-left:6px;}
  .htgi-header .user-btn{width:50px;height:50px;flex-basis:50px;}
  .htgi-header .user-btn:before{width:17px;height:17px;left:16.5px;top:10px;}
  .htgi-header .user-btn:after{width:28px;height:16px;left:11px;bottom:9px;}
}

/* v2.2 — working article Like / Follow actions */
.htgi-action:disabled,.htgi-follow-btn:disabled{opacity:.6;cursor:wait}
.htgi-action.is-active{color:#e85f1b}

/* v2.3 — community/statistics strip inspired by the supplied reference */
.htgi-stats-bar{background:#fff;border-top:1px solid #e8e8e8;border-bottom:1px solid #e3e3e3;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.htgi-stats-inner{width:min(1180px,calc(100% - 60px));margin:0 auto;display:flex;align-items:center;gap:34px;min-height:58px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.htgi-stats-inner::-webkit-scrollbar{display:none}
.htgi-stat{display:inline-flex;align-items:center;gap:8px;color:#9a9aa1;font-size:21px;font-weight:500;flex:0 0 auto}
.htgi-stat strong{color:#4d4d55;font-weight:800}
.htgi-stat-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;position:relative;flex:0 0 22px}
.htgi-stat-icon.article:before{content:"";width:12px;height:16px;background:#ff9f00;border-radius:2px 2px 3px 3px;display:block;box-shadow:0 -3px 0 #ff9f00}
.htgi-stat-icon.comment:before{content:"";width:18px;height:14px;background:#277df5;border-radius:2px;display:block}
.htgi-stat-icon.comment:after{content:"";position:absolute;left:3px;bottom:1px;border-width:4px 4px 0 0;border-style:solid;border-color:#277df5 transparent transparent transparent}
.htgi-stat-icon.users:before{content:"♟♟";font-size:18px;letter-spacing:-6px;color:#12b96a;transform:scaleX(.85)}
.htgi-stat-icon.online{width:18px;height:18px;border-radius:50%;background:#10b981;flex-basis:18px}
@media(max-width:600px){
 .htgi-stats-inner{width:100%;padding:0 20px;gap:24px;min-height:52px}
 .htgi-stat{font-size:16px;gap:6px}
 .htgi-stat-icon{transform:scale(.82);margin-right:-2px}
}

/* v2.5 — logo header matching supplied reference */
.htgi-brand{display:flex;align-items:center;flex:1;min-width:0;}
.htgi-brand-full{display:block;width:535px;max-width:100%;height:auto;object-fit:contain;}
.htgi-brand-mark,.htgi-brand-wordmark,.htgi-brand .brand-it{display:none!important;}
@media(max-width:900px){.htgi-brand-full{width:470px;}}
@media(max-width:600px){.htgi-header-inner{width:calc(100% - 30px);gap:12px}.htgi-brand-full{width:min(340px,calc(100vw - 115px));}.htgi-header .hamburger{flex:0 0 42px}.htgi-header .user-btn{flex:0 0 48px;width:48px;height:48px;}.htgi-header .header-actions{gap:0}}

/* v2.6 — compact Italian logo */
.htgi-header-inner{height:100%;width:min(var(--max),calc(100% - 48px));margin:0 auto;display:flex;align-items:center;gap:18px}.htgi-brand{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-width:0}.htgi-brand-full{display:block;width:340px;max-width:100%;height:auto;object-fit:contain}.htgi-brand-sep{width:2px;height:52px;background:#aaa;display:block;flex:0 0 2px}.htgi-brand-it{font-weight:900;font-size:30px;line-height:1;color:var(--orange);letter-spacing:-1px}.htgi-header .header-actions{margin-left:auto}.htgi-header .hamburger{flex:0 0 42px}
@media(max-width:900px){.htgi-header-inner{width:calc(100% - 30px);gap:12px}.htgi-brand{gap:8px}.htgi-brand-full{width:280px}.htgi-brand-sep{height:42px}.htgi-brand-it{font-size:24px}}
@media(max-width:600px){.htgi-header-inner{width:calc(100% - 24px);gap:8px}.htgi-brand{justify-content:flex-start;gap:7px}.htgi-brand-full{width:205px}.htgi-brand-sep{height:32px;width:1px;flex-basis:1px}.htgi-brand-it{font-size:20px}.htgi-header .hamburger{width:34px;height:34px;padding:5px}.htgi-header .user-btn{width:40px;height:40px}.htgi-header .search-btn{display:none}}

/* v2.7 — restore visible hamburger and slightly larger mobile logo */
@media(max-width:600px){
  .htgi-header .hamburger{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:42px!important;height:42px!important;padding:5px!important;background:transparent!important;border:0!important;flex:0 0 42px!important;}
  .htgi-header .hamburger span{display:block!important;width:31px!important;height:4px!important;background:#071d30!important;border-radius:0!important;opacity:1!important;visibility:visible!important;}
  .htgi-brand-full{width:222px!important;max-width:calc(100vw - 120px)!important;}
  .htgi-brand-sep{height:34px!important;}
  .htgi-brand-it{font-size:21px!important;}
}
@media(max-width:370px){
  .htgi-brand-full{width:205px!important;max-width:calc(100vw - 112px)!important;}
  .htgi-header .hamburger{width:40px!important;flex-basis:40px!important;}
  .htgi-header .hamburger span{width:29px!important;height:4px!important;}
}

/* v2.8 — cookie consent */
.htgi-cookie-banner{position:fixed;z-index:99999;left:0;right:0;bottom:0;background:#fff;color:#182536;border-top:1px solid #d7dbe0;box-shadow:0 -8px 30px rgba(0,0,0,.14);font-family:Arial,sans-serif}
.htgi-cookie-inner{width:min(1180px,calc(100% - 40px));margin:auto;padding:20px 0 18px;display:flex;gap:28px;align-items:flex-end}
.htgi-cookie-copy{flex:1;min-width:0}.htgi-cookie-copy h2{font-size:21px;line-height:1.2;margin:0 0 9px;font-weight:800}.htgi-cookie-copy p{font-size:13px;line-height:1.45;margin:5px 0;color:#4b5563}.htgi-cookie-purposes{max-height:48px;overflow:auto}
.htgi-cookie-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 300px}.htgi-cookie-btn{border:1px solid #0b2942;border-radius:5px;padding:11px 14px;font-size:14px;font-weight:800;cursor:pointer}.htgi-cookie-btn.primary{background:#0b2942;color:#fff}.htgi-cookie-btn.secondary{background:#fff;color:#0b2942}
.htgi-cookie-panel{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.58);display:grid;place-items:center;padding:20px}.htgi-cookie-panel-box{position:relative;width:min(620px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:12px;padding:28px;box-shadow:0 20px 70px rgba(0,0,0,.3)}.htgi-cookie-panel-box h2{margin:0 40px 10px 0;font-size:27px}.htgi-cookie-panel-box>p{color:#555;line-height:1.5}.htgi-cookie-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:32px;cursor:pointer}.htgi-cookie-option{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid #ddd}.htgi-cookie-option span{display:flex;flex-direction:column;gap:5px}.htgi-cookie-option small{color:#666;line-height:1.4}.htgi-cookie-option input{width:21px;height:21px;accent-color:#f47721;margin-top:2px}.htgi-cookie-panel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.htgi-cookie-settings-link{position:fixed;z-index:99990;right:14px;bottom:14px;background:#fff;color:#0b2942;border:1px solid #0b2942;border-radius:5px;padding:7px 10px;font-size:12px;font-weight:700;box-shadow:0 2px 12px rgba(0,0,0,.12);cursor:pointer}
@media(max-width:700px){.htgi-cookie-inner{width:calc(100% - 24px);padding:16px 0;display:block}.htgi-cookie-copy h2{font-size:18px}.htgi-cookie-copy p{font-size:12px;line-height:1.4}.htgi-cookie-purposes{max-height:56px}.htgi-cookie-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.htgi-cookie-btn{padding:10px 8px;font-size:12px}.htgi-cookie-btn.primary{grid-column:1/-1;order:-1}.htgi-cookie-panel-box{padding:22px 18px}.htgi-cookie-panel-actions{display:grid;grid-template-columns:1fr 1fr}.htgi-cookie-settings-link{right:8px;bottom:8px;font-size:11px}}

/* v2.8 — clearer account icon */
.htgi-header .user-btn{width:72px;height:72px;background:#a6a6a6;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.08)}
.htgi-header .user-btn:before{width:24px;height:24px;left:24px;top:13px;background:#fff}.htgi-header .user-btn:after{width:40px;height:23px;left:16px;bottom:12px;background:#fff}
@media(max-width:600px){.htgi-header .user-btn{width:56px!important;height:56px!important;flex-basis:56px!important}.htgi-header .user-btn:before{width:20px;height:20px;left:18px;top:10px}.htgi-header .user-btn:after{width:34px;height:19px;left:11px;bottom:9px}}


/* v2.9 — robust cookie banner + explicit account icon */
.htgi-header .user-btn{display:flex!important;align-items:center;justify-content:center;width:68px!important;height:68px!important;border-radius:50%;background:#a7a7a7!important;color:#fff!important;flex:0 0 68px!important;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.08);}
.htgi-header .user-btn svg{display:block!important;width:78%!important;height:78%!important;color:#fff!important;}
.htgi-header .user-btn:before,.htgi-header .user-btn:after{display:none!important;content:none!important;}
.htgi-cookie-banner{display:block!important;}
.htgi-cookie-banner[hidden],.htgi-cookie-panel[hidden],.htgi-cookie-settings-link[hidden]{display:none!important;}
@media(max-width:600px){.htgi-header .user-btn{width:58px!important;height:58px!important;flex-basis:58px!important}.htgi-header .user-btn svg{width:80%!important;height:80%!important}.htgi-cookie-inner{padding-bottom:18px!important}}

/* v3.0 — Discover/article image and cookie stability */
.htgi-cookie-banner{visibility:visible;opacity:1;}
.htgi-cookie-banner[hidden]{visibility:hidden;opacity:0;display:none!important;}
.single-feature{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
