/*
Theme Name: TechGeek Hybrid
Theme URI: https://tech-geek.net/
Author: TechGeek
Author URI: https://tech-geek.net/
Description: قالب مجلة تقنية عربي خفيف لموقع TechGeek | خبير التقنية، مبني على Gutenberg مع دعم RTL ومراجعات المنتجات وأدلة الشراء.
Version: 3.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: techgeek-hybrid
*/
:root{
  --tg-green:#30a12b;
  --tg-green-dark:#237d20;
  --tg-black:#080b08;
  --tg-text:#202520;
  --tg-muted:#687168;
  --tg-line:#e5ebe4;
  --tg-soft:#f4f7f3;
  --tg-white:#fff;
  --tg-radius:18px;
  --tg-shadow:0 8px 28px rgba(15,35,15,.07);
  --tg-width:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tg-white);color:var(--tg-text);font-family:Tahoma,Arial,sans-serif;font-size:16px;line-height:1.85}
a{color:var(--tg-green-dark);text-decoration:none}
a:hover{color:var(--tg-green);text-decoration:underline}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
button,.button,.wp-block-button__link{border:0;border-radius:999px;background:var(--tg-green);color:#fff;padding:11px 22px;font-weight:700;cursor:pointer}
button:hover,.button:hover,.wp-block-button__link:hover{background:var(--tg-green-dark);color:#fff;text-decoration:none}
.tg-container{width:min(calc(100% - 36px),var(--tg-width));margin-inline:auto}
.tg-skip-link{position:absolute;inset-inline-start:-9999px;top:8px;background:#fff;padding:10px;z-index:9999}
.tg-skip-link:focus{inset-inline-start:10px}
.tg-topbar{background:var(--tg-black);color:#dce7dc;font-size:12px;padding:5px 0}
.tg-topbar .tg-container{display:flex;justify-content:space-between;gap:12px;align-items:center}
.tg-header{background:#080b08;color:#fff;border-bottom:3px solid var(--tg-green)}
.tg-header-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 0}
.tg-brand{display:flex;align-items:center;gap:12px;min-width:0;color:#fff}
.tg-brand:hover{color:#fff;text-decoration:none}
.tg-brand img{display:block;width:auto;max-width:190px;height:72px;object-fit:contain}
.tg-brand-copy{display:flex;flex-direction:column;line-height:1.35}
.tg-brand-title{font-size:25px;font-weight:900;letter-spacing:-.5px;color:#fff}
.tg-brand-title span{color:var(--tg-green)}
.tg-brand-tagline{font-size:12px;color:#c5d0c5}
.tg-header-actions{display:flex;align-items:center;gap:10px}
.tg-search{display:flex;align-items:center;border:1px solid #394239;border-radius:999px;overflow:hidden;background:#151a15}
.tg-search input{width:180px;border:0;outline:0;background:transparent;color:#fff;padding:9px 14px}
.tg-search button{border-radius:0;padding:9px 14px}
.tg-nav-wrap{background:#121712}
.tg-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px}
.tg-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.tg-menu li{position:relative}
.tg-menu a{display:block;color:#f5f8f4;padding:11px 14px;font-size:14px;font-weight:700}
.tg-menu a:hover,.tg-menu .current-menu-item>a{background:rgba(48,161,43,.18);color:#8be184;text-decoration:none}
.tg-menu .sub-menu{display:none;position:absolute;top:100%;right:0;min-width:210px;background:#111711;padding:6px;list-style:none;z-index:100;box-shadow:var(--tg-shadow)}
.tg-menu li:hover>.sub-menu,.tg-menu li:focus-within>.sub-menu{display:block}
.tg-menu .sub-menu a{padding:8px 12px}
.tg-mobile-toggle{display:none;background:var(--tg-green);padding:8px 13px}
.tg-main{padding:34px 0 58px;min-height:55vh}
.tg-section{margin:0 0 42px}
.tg-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.tg-section-title{font-size:25px;line-height:1.4;margin:0;color:var(--tg-black);font-weight:900;position:relative;padding-inline-start:14px}
.tg-section-title:before{content:"";position:absolute;right:0;top:7px;bottom:7px;width:5px;border-radius:8px;background:var(--tg-green)}
.tg-section-link{font-size:13px;font-weight:700}
.tg-hero{display:grid;grid-template-columns:1.45fr 1fr;gap:22px;margin-bottom:42px}
.tg-hero-main,.tg-hero-side-card{position:relative;overflow:hidden;border-radius:var(--tg-radius);background:#111;min-height:300px;box-shadow:var(--tg-shadow)}
.tg-hero-main img,.tg-hero-side-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.tg-hero-main:hover img,.tg-hero-side-card:hover img{transform:scale(1.035)}
.tg-hero-main:after,.tg-hero-side-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.02) 72%)}
.tg-hero-main-content,.tg-hero-side-content{position:absolute;z-index:2;bottom:0;right:0;left:0;padding:25px;color:#fff}
.tg-hero-main h2{font-size:30px;line-height:1.45;margin:10px 0;color:#fff}
.tg-hero-side{display:grid;grid-template-rows:1fr 1fr;gap:22px}
.tg-hero-side-card{min-height:139px}
.tg-hero-side-content{padding:16px}
.tg-hero-side h3{font-size:18px;line-height:1.45;margin:7px 0;color:#fff}
.tg-category{display:inline-block;background:var(--tg-green);color:#fff;border-radius:999px;padding:3px 11px;font-size:11px;font-weight:800}
.tg-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--tg-muted);font-size:12px}
.tg-hero .tg-meta{color:#e0e9df}
.tg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tg-card{min-width:0;background:#fff;border:1px solid var(--tg-line);border-radius:var(--tg-radius);overflow:hidden;box-shadow:0 3px 16px rgba(0,0,0,.035);transition:transform .2s,box-shadow .2s}
.tg-card:hover{transform:translateY(-3px);box-shadow:var(--tg-shadow)}
.tg-card-image{display:block;aspect-ratio:16/10;background:var(--tg-soft);overflow:hidden}
.tg-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.tg-card:hover .tg-card-image img{transform:scale(1.04)}
.tg-card-body{padding:16px}
.tg-card h2,.tg-card h3{font-size:18px;line-height:1.55;margin:9px 0 7px;color:var(--tg-black)}
.tg-card h2 a,.tg-card h3 a{color:inherit}
.tg-card-excerpt{font-size:13px;color:var(--tg-muted);margin:0 0 12px}
.tg-empty-thumb{display:flex;align-items:center;justify-content:center;height:100%;color:var(--tg-green);font-size:40px;font-weight:900;background:linear-gradient(135deg,#f1f7ef,#fff)}
.tg-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px}
.tg-content{min-width:0}
.tg-sidebar{min-width:0}
.tg-widget{border:1px solid var(--tg-line);border-radius:var(--tg-radius);padding:18px;margin-bottom:20px;background:#fff}
.tg-widget-title{font-size:18px;margin:0 0 12px;color:var(--tg-black);border-bottom:2px solid var(--tg-green);padding-bottom:8px}
.tg-article-header{margin-bottom:22px}
.tg-article-title{font-size:clamp(28px,4vw,42px);line-height:1.4;margin:10px 0 12px;color:var(--tg-black);font-weight:900}
.tg-featured-image{margin:22px 0;border-radius:var(--tg-radius);overflow:hidden;background:var(--tg-soft)}
.tg-featured-image img{display:block;width:100%;max-height:560px;object-fit:cover}
.tg-entry-content{font-size:17px;line-height:2;color:#293129}
.tg-entry-content h2,.tg-entry-content h3,.tg-entry-content h4{color:var(--tg-black);line-height:1.5;margin-top:1.7em}
.tg-entry-content h2{font-size:27px;border-right:5px solid var(--tg-green);padding-right:12px}
.tg-entry-content h3{font-size:22px}
.tg-entry-content p{margin:0 0 1.25em}
.tg-entry-content ul,.tg-entry-content ol{padding-inline-start:28px}
.tg-entry-content blockquote{margin:24px 0;padding:14px 20px;border-right:4px solid var(--tg-green);background:var(--tg-soft);border-radius:10px}
.tg-entry-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
.tg-entry-content th,.tg-entry-content td{border:1px solid var(--tg-line);padding:10px;text-align:right}
.tg-entry-content th{background:#edf5eb}
.tg-entry-content .wp-block-image img{border-radius:12px}
.tg-entry-content .wp-block-button__link{background:var(--tg-green);color:#fff}
.tg-product-box{border:1px solid #cfe6cb;border-right:5px solid var(--tg-green);border-radius:14px;padding:18px;background:#f8fcf7;margin:24px 0}
.tg-product-box-title{font-size:19px;font-weight:900;margin:0 0 8px;color:#101810}
.tg-product-button{display:inline-block;background:var(--tg-green);color:#fff!important;border-radius:999px;padding:10px 20px;font-weight:800}
.tg-disclosure{font-size:12px;color:var(--tg-muted);background:var(--tg-soft);padding:10px 14px;border-radius:10px;margin:18px 0}
.tg-pagination{margin-top:28px}
.tg-pagination .page-numbers{display:inline-block;padding:8px 13px;margin:3px;border:1px solid var(--tg-line);border-radius:9px}
.tg-pagination .current{background:var(--tg-green);color:#fff;border-color:var(--tg-green)}
.tg-footer{background:var(--tg-black);color:#dce5dc;padding:42px 0 18px;border-top:4px solid var(--tg-green)}
.tg-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.tg-footer h2,.tg-footer h3{color:#fff;margin-top:0}
.tg-footer a{color:#a8e6a2}
.tg-footer-logo{max-width:170px;max-height:90px;object-fit:contain}
.tg-footer-bottom{border-top:1px solid #303830;margin-top:30px;padding-top:15px;font-size:12px;color:#aab5aa}
.tg-breadcrumbs{font-size:12px;color:var(--tg-muted);margin-bottom:15px}
.tg-breadcrumbs a{color:var(--tg-muted)}
.tg-notice{background:#f1f8ef;border:1px solid #d5ebd1;border-radius:12px;padding:14px}
.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}
.alignwide{max-width:var(--tg-width);margin-left:auto;margin-right:auto}
.alignfull{width:100%;max-width:none}
.wp-block-separator{border-color:var(--tg-line)}
.wp-block-cover,.wp-block-group{border-radius:12px}
@media(max-width:900px){
 .tg-hero{grid-template-columns:1fr}
 .tg-hero-main{min-height:330px}
 .tg-hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}
 .tg-hero-side-card{min-height:180px}
 .tg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tg-layout{grid-template-columns:minmax(0,1fr) 260px;gap:22px}
}
@media(max-width:700px){
 body{font-size:15px}
 .tg-container{width:min(calc(100% - 26px),var(--tg-width))}
 .tg-topbar{display:none}
 .tg-header-main{padding:11px 0}
 .tg-brand img{max-width:118px;height:58px}
 .tg-brand-title{font-size:20px}
 .tg-brand-tagline{font-size:10px}
 .tg-search{display:none}
 .tg-mobile-toggle{display:inline-flex}
 .tg-nav{display:block;min-height:0}
 .tg-menu{display:none;flex-direction:column;align-items:stretch;padding:8px 0}
 .tg-menu.is-open{display:flex}
 .tg-menu li{width:100%}
 .tg-menu a{padding:10px 8px}
 .tg-menu .sub-menu{position:static;display:block;box-shadow:none;padding-right:15px;background:#0c100c}
 .tg-main{padding:23px 0 40px}
 .tg-hero-main{min-height:270px}
 .tg-hero-main h2{font-size:23px}
 .tg-hero-side{gap:12px}
 .tg-hero-side-card{min-height:145px}
 .tg-hero-side h3{font-size:14px}
 .tg-hero-side-content{padding:10px}
 .tg-grid{gap:13px}
 .tg-card-body{padding:11px}
 .tg-card h2,.tg-card h3{font-size:15px}
 .tg-card-excerpt{font-size:12px}
 .tg-section-title{font-size:21px}
 .tg-layout{grid-template-columns:1fr}
 .tg-sidebar{display:none}
 .tg-article-title{font-size:27px}
 .tg-entry-content{font-size:16px}
 .tg-footer-grid{grid-template-columns:1fr;gap:22px}
}
@media(max-width:420px){
 .tg-grid{grid-template-columns:1fr}
 .tg-card-image{aspect-ratio:16/9}
 .tg-hero-side{grid-template-columns:1fr}
 .tg-hero-side-card{min-height:165px}
}

/* TechGeek v2: social links and product catalog */
.tg-social-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.tg-social-header{justify-content:flex-end}
.tg-social a,.tg-social-links a{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;font-weight:700}
.tg-social-links a span:first-child{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(47,166,57,.45);border-radius:50%;color:#2fa639;font-size:16px}
.tg-social-links a:hover span:first-child{background:#2fa639;color:#fff}
.tg-social-label{font-size:12px}
.tg-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tg-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--tg-border,#e5e7eb);border-radius:14px;background:#fff;box-shadow:0 5px 22px rgba(0,0,0,.05)}
.tg-product-card-image{display:flex;align-items:center;justify-content:center;min-height:210px;padding:18px;background:#f8faf8}
.tg-product-card-image img{width:auto;max-height:190px;object-fit:contain}
.tg-product-card-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:18px;gap:9px}
.tg-product-card-content h3{margin:0;font-size:18px}
.tg-product-card-content h3 a{color:inherit;text-decoration:none}
.tg-product-rating{margin:0;color:#d28a00;font-weight:700}
.tg-product-price{margin:0;color:#168b2c;font-size:20px;font-weight:800}
.tg-buy-button{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:11px 18px;border-radius:8px;background:#2fa639;color:#fff!important;text-decoration:none!important;font-weight:800}
.tg-buy-button:hover{background:#21852b}
.tg-product-card .tg-buy-button{width:100%;margin-top:auto}
.tg-product-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:28px;align-items:center;margin:24px 0}
.tg-product-main-image{display:flex;align-items:center;justify-content:center;min-height:300px;padding:20px;background:#f8faf8;border-radius:14px}
.tg-product-main-image img{max-height:380px;width:auto;object-fit:contain}
.tg-product-summary{padding:22px;border:1px solid #e5e7eb;border-radius:14px}
.tg-price-date,.tg-price-note{font-size:13px;color:#667085}
.tg-product-details{margin:28px 0;padding:22px;border:1px solid #e5e7eb;border-radius:12px}
.tg-product-details h2{margin-top:0}
.tg-product-details li{margin:7px 0}
@media(max-width:800px){.tg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-product-hero{grid-template-columns:1fr}.tg-social-header{justify-content:center}}
@media(max-width:560px){.tg-product-grid{grid-template-columns:1fr}.tg-social-label{display:none}.tg-product-card-image{min-height:170px}}


/* TechGeek v2.0.1: Arabic-first RTL layout and right-aligned branding */
html, body { direction: rtl; text-align: right; }
.tg-container, .tg-topbar .tg-container, .tg-nav, .tg-header-main { direction: rtl; }
.tg-header-main { flex-direction: row; }
.tg-brand { order: 1; margin-inline-start: auto; margin-inline-end: 0; }
.tg-social-header { order: 2; }
.tg-header-actions { order: 3; }
.tg-menu { direction: rtl; }
.tg-menu .sub-menu { right: 0; left: auto; }
.tg-entry-content, .tg-article, .tg-card-body, .tg-product-card-content { text-align: right; }
.tg-footer-grid { direction: rtl; }
@media (max-width: 700px) {
  .tg-header-main { flex-direction: row; }
  .tg-brand { margin-inline-start: auto; }
}


/* TechGeek Hybrid v3.0 — full-width Arabic tech magazine */
:root{--tg-width:1360px;--tg-reading-width:1040px}
html,body{direction:rtl;text-align:right}
.tg-container{width:min(calc(100% - 48px),var(--tg-width));margin-inline:auto}
.tg-header-main{display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;gap:22px;direction:rtl;padding:14px 0}
.tg-header-brand-area{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;min-width:0}
.tg-header-brand-area .tg-brand{margin:0;justify-content:flex-start}
.tg-header-brand-area .tg-brand img{max-width:190px;height:78px}
.tg-header-social-area{grid-column:2;grid-row:1;justify-self:center;min-width:0}
.tg-header-actions-area{grid-column:3;grid-row:1;justify-self:end}
.tg-header-actions{justify-content:flex-end}
.tg-social-header{justify-content:center}
.tg-nav{direction:rtl;justify-content:flex-start}
.tg-menu{direction:rtl}
.tg-menu .sub-menu{right:0;left:auto}
.tg-home-container,.tg-archive-container{max-width:1360px}
.tg-reading-container{max-width:var(--tg-reading-width)}
.tg-article-full{width:100%;max-width:100%;margin-inline:auto}
.tg-entry-content{max-width:900px;margin-inline:auto}
.tg-featured-section{margin-bottom:54px}
.tg-featured-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:22px;direction:rtl}
.tg-featured-lead{position:relative;display:grid;grid-template-rows:minmax(280px,390px) auto;overflow:hidden;border:1px solid var(--tg-line);border-radius:20px;background:#fff;box-shadow:var(--tg-shadow)}
.tg-featured-media{display:block;overflow:hidden;background:#101510;min-height:260px}
.tg-featured-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.tg-featured-lead:hover .tg-featured-media img{transform:scale(1.025)}
.tg-featured-copy{padding:22px 24px 24px}
.tg-featured-copy h2{font-size:clamp(22px,2.4vw,32px);line-height:1.45;margin:10px 0;color:var(--tg-black)}
.tg-featured-copy h2 a{color:inherit}
.tg-featured-copy p{color:var(--tg-muted);margin:0 0 12px}
.tg-featured-list{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:14px}
.tg-featured-mini{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--tg-line);border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.035);min-height:0}
.tg-featured-mini-image{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:11px;background:var(--tg-soft)}
.tg-featured-mini-image img{display:block;width:100%;height:100%;object-fit:cover}
.tg-featured-mini h3{font-size:16px;line-height:1.5;margin:5px 0;color:var(--tg-black)}
.tg-featured-mini h3 a{color:inherit}
.tg-mini-label,.tg-mini-date{font-size:11px;color:var(--tg-muted)}
.tg-featured-single{grid-template-columns:1fr}
.tg-featured-single .tg-featured-lead{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-rows:1fr;min-height:320px}
.tg-featured-single .tg-featured-media{height:100%}
.tg-featured-single .tg-featured-copy{align-self:center}
.tg-welcome-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;margin:0 0 36px;border:1px solid #d7ead4;border-radius:18px;background:linear-gradient(115deg,#f7fbf6,#edf7eb);}
.tg-welcome-kicker{font-size:11px;font-weight:900;letter-spacing:1px;color:var(--tg-green-dark)}
.tg-welcome-strip h1{font-size:clamp(24px,3vw,36px);line-height:1.35;margin:5px 0;color:var(--tg-black)}
.tg-welcome-strip p{margin:0;color:#586358}
.tg-welcome-cta{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;padding:12px 20px;border-radius:999px;background:var(--tg-green);color:#fff;font-weight:800}
.tg-welcome-cta:hover{background:var(--tg-green-dark);color:#fff;text-decoration:none}
.tg-home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.tg-home-grid .tg-card h2{font-size:16px}
.tg-category-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tg-category-tile{position:relative;display:flex;flex-direction:column;gap:8px;min-height:128px;padding:20px;border:1px solid var(--tg-line);border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.035);color:var(--tg-black);transition:transform .2s,border-color .2s}
.tg-category-tile:hover{transform:translateY(-3px);border-color:#9bd394;text-decoration:none;color:var(--tg-green-dark)}
.tg-category-tile strong{font-size:19px}
.tg-category-count{font-size:11px;color:var(--tg-muted)}
.tg-category-arrow{position:absolute;left:18px;bottom:16px;color:var(--tg-green);font-size:20px}
.tg-empty-state{text-align:center;padding:64px 24px;margin:20px 0 48px;border:1px dashed #b9dcb4;border-radius:20px;background:#f8fcf7}
.tg-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:20px;background:#0a100a;color:#40c13a;font-size:28px;font-weight:900}
.tg-empty-state h2{margin:16px 0 6px;color:var(--tg-black)}
.tg-inline-note{padding:18px;border-radius:12px;background:var(--tg-soft);color:var(--tg-muted)}
.tg-archive-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.tg-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tg-footer .tg-brand{justify-content:flex-start}
.tg-footer .tg-brand img{max-width:170px;height:82px}
.tg-footer-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tg-layout{display:block}
.tg-sidebar{display:none!important}
.tg-entry-content .alignwide{max-width:100%}
.tg-entry-content .alignfull{width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw)}
@media(max-width:1100px){.tg-home-grid,.tg-archive-grid,.tg-category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-featured-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr)}.tg-featured-mini{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:800px){.tg-container{width:min(calc(100% - 32px),var(--tg-width))}.tg-header-main{grid-template-columns:1fr auto;gap:10px}.tg-header-brand-area{grid-column:1;grid-row:1;justify-self:start}.tg-header-social-area{display:none}.tg-header-actions-area{grid-column:2;grid-row:1;justify-self:end}.tg-header-brand-area .tg-brand img{max-width:145px;height:64px}.tg-featured-grid{grid-template-columns:1fr}.tg-featured-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.tg-featured-mini{grid-template-columns:105px minmax(0,1fr)}.tg-home-grid,.tg-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-welcome-strip{align-items:flex-start;flex-direction:column}.tg-featured-single .tg-featured-lead{grid-template-columns:1fr;grid-template-rows:260px auto}}
@media(max-width:520px){.tg-container{width:calc(100% - 24px)}.tg-header-brand-area .tg-brand img{max-width:118px;height:56px}.tg-welcome-strip{padding:20px}.tg-featured-lead{grid-template-rows:230px auto}.tg-featured-copy{padding:16px}.tg-featured-copy h2{font-size:21px}.tg-featured-list{grid-template-columns:1fr}.tg-featured-mini{grid-template-columns:112px minmax(0,1fr)}.tg-home-grid,.tg-archive-grid,.tg-related-grid,.tg-category-tiles{grid-template-columns:1fr}.tg-section-title{font-size:21px}.tg-footer-bottom{flex-direction:column}}
