:root{--bg:#fff;--text:#15191d;--muted:#6f7780;--line:#e7e9ec;--radius:8px;--container:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 Arial,Helvetica,sans-serif}img{display:block;width:100%;height:auto}a{color:inherit;text-decoration:none}.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;left:-9999px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{min-height:74px;display:flex;align-items:center;gap:30px}.brand{font-weight:900;font-size:29px;letter-spacing:-1px}.custom-logo{max-height:54px;width:auto}.main-nav{margin-left:auto}.main-nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}.main-nav a{font-size:14px;font-weight:700;text-transform:uppercase}.menu-toggle,.search-toggle{border:0;background:none;font-size:24px;cursor:pointer}.menu-toggle{display:none}.search-panel{display:none;padding-block:10px}.search-panel.open{display:block}.search-panel input{width:100%;padding:12px;border:1px solid var(--line)}.home{padding-block:24px 50px}.hero-card,.news-card,.panel,.side-story,.arena-cards article{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.hero-card{position:relative}.hero-card img{height:100%;object-fit:cover}.overlay{position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(0,0,0,.82))}.hero-copy,.lead-copy{position:absolute;inset:auto 24px 22px;color:#fff}.tag,.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase}.hero-copy h2{font-size:clamp(20px,2.4vw,36px);line-height:1.08;margin:10px 0}.hero-copy time,time,.meta{font-size:13px;color:var(--muted)}.hero-copy time,.lead-copy time{color:#e7e7e7}.news-section{margin-top:30px}.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:16px}.section-head h2,.panel h2{font-size:21px;text-transform:uppercase;margin:0 0 12px}.card-grid,.arena-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.news-card img,.arena-cards img{aspect-ratio:16/9;object-fit:cover}.card-body,.arena-cards article> a>div{padding:12px}.news-card h3,.arena-cards h3{font-size:16px;line-height:1.25;margin:6px 0 12px}.site-footer{background:#111820;color:#e8edf2;padding:46px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:38px}.site-footer h2,.site-footer h3{margin-top:0}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:7px 0}.newsletter{display:flex}.newsletter input{min-width:0;flex:1;padding:12px;border:0}.newsletter button{border:0;padding:0 18px;color:#fff;font-weight:700;cursor:pointer}.copyright{border-top:1px solid #2a333c;margin-top:34px;padding-top:18px;font-size:13px;color:#aab3bc}.content-wrap,.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding-block:40px}.list-item{display:grid;grid-template-columns:260px 1fr;gap:22px;padding:18px 0;border-bottom:1px solid var(--line)}.list-thumb img{aspect-ratio:16/10;object-fit:cover;border-radius:6px}.sidebar .widget{border:1px solid var(--line);padding:20px;margin-bottom:20px}.article h1{font-size:clamp(34px,5vw,60px);line-height:1.05}.article-hero{margin:24px 0;border-radius:8px}.article-content{font:19px/1.75 Georgia,serif}.narrow{max-width:820px;padding-block:50px}.error404{text-align:center;padding-block:100px}
@media(max-width:900px){.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:74px;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:20px}.main-nav.open{display:block}.main-nav ul{flex-direction:column}.card-grid,.arena-cards{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.content-wrap,.article-wrap{grid-template-columns:1fr}.sidebar{display:none}}@media(max-width:560px){.container{width:min(100% - 24px,var(--container))}.card-grid,.arena-cards{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.list-item{grid-template-columns:1fr}.brand{font-size:24px}}

:root{--accent:#0b8f55}.brand a{color:#10263d}.brand a::after{content:" LINE";color:var(--accent)}.tag,.eyebrow{color:var(--accent)}.newsletter button{background:var(--accent)}.hero-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,190px);gap:14px}.hero-1{grid-row:1/3}.hero-2,.hero-3,.hero-4,.hero-5{min-height:190px}.featured-row .news-card:first-child{grid-column:span 2}.featured-row .news-card:first-child img{aspect-ratio:2/1}@media(max-width:900px){.hero-grid{grid-template-columns:1fr 1fr;grid-template-rows:360px 210px 210px}.hero-1{grid-column:1/3;grid-row:auto}.featured-row .news-card:first-child{grid-column:span 1}}@media(max-width:560px){.hero-grid{display:block}.hero-card{height:240px;margin-bottom:12px}.hero-1{height:340px}}
/* Category and article templates */
.category-page{padding-block:34px 54px}.category-hero{padding:24px 0 26px;border-bottom:3px solid var(--accent)}.category-hero h1,.tech-category-head h1{font-size:clamp(34px,5vw,58px);line-height:1;margin:7px 0 12px}.category-description{max-width:780px;color:var(--muted)}.category-featured-grid{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:repeat(2,220px);gap:16px;margin:24px 0 34px}.category-featured{position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid var(--line)}.category-featured-1{grid-row:1/3}.category-featured-link,.category-featured-link img{display:block;width:100%;height:100%}.category-featured-link img{object-fit:cover}.category-featured-copy{position:absolute;left:22px;right:22px;bottom:20px;color:#fff}.category-featured-copy h2{font-size:clamp(20px,2.6vw,38px);line-height:1.08;margin:7px 0}.category-featured-copy time{color:#e9edf0}.category-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px}.category-row{display:grid;grid-template-columns:280px 1fr;gap:22px;padding:20px 0;border-bottom:1px solid var(--line)}.category-row-thumb img{aspect-ratio:16/10;object-fit:cover;border-radius:7px}.category-row h2{font-size:24px;line-height:1.2;margin:6px 0 10px}.category-row p{color:#4f5963;margin:0 0 12px}.navigation.pagination{margin-top:28px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);padding:8px 12px;border-radius:4px}.page-numbers.current{background:var(--accent);border-color:var(--accent);color:#fff}.single-shell{padding-block:24px 58px}.breadcrumbs{display:flex;gap:8px;align-items:center;white-space:nowrap;overflow:hidden;font-size:13px;color:var(--muted);padding:8px 0 18px}.breadcrumbs span:last-child{overflow:hidden;text-overflow:ellipsis}.article-header{border-bottom:1px solid var(--line);padding-bottom:20px}.article-lead{font-size:21px;line-height:1.55;color:#4d5761;max-width:860px}.article-meta-row{display:flex;flex-wrap:wrap;gap:18px;color:var(--muted);font-size:14px}.article-content h2{font:700 30px/1.25 Arial,sans-serif;margin-top:42px}.article-content h3{font:700 24px/1.3 Arial,sans-serif;margin-top:34px}.article-content blockquote{margin:30px 0;padding:18px 24px;border-left:4px solid var(--accent);background:#f6f8f9;font-style:italic}.article-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.article-content th,.article-content td{padding:12px;border:1px solid var(--line)}.article-tags{margin:30px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.article-tags a{background:#eef6f2;padding:7px 10px;border-radius:4px;color:#12683f}.article-author-box{display:grid;grid-template-columns:72px 1fr;gap:18px;padding:22px;border:1px solid var(--line);border-radius:8px}.article-author-box img{border-radius:50%}.article-author-box span{font-size:12px;text-transform:uppercase;color:var(--muted)}.article-author-box h3{margin:2px 0 6px}.article-author-box p{margin:0;color:#58616a}.post-navigation-custom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}.post-navigation-custom a{display:block;border:1px solid var(--line);padding:16px;border-radius:7px;height:100%}.post-navigation-custom span{display:block;font-size:12px;color:var(--muted);text-transform:uppercase;margin-bottom:5px}.post-navigation-custom div:last-child{text-align:right}.related-posts{margin-top:38px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.related-card{border:1px solid var(--line);border-radius:7px;overflow:hidden}.related-card img{aspect-ratio:16/9;object-fit:cover}.related-card div{padding:12px}.related-card h3{font-size:16px;line-height:1.25;margin:5px 0}.empty-state{padding:70px 0;text-align:center;color:var(--muted)}
@media(max-width:900px){.category-featured-grid{grid-template-columns:1fr 1fr;grid-template-rows:340px 210px}.category-featured-1{grid-column:1/3;grid-row:auto}.category-layout{grid-template-columns:1fr}.category-layout .sidebar{display:none}.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.category-featured-grid{display:block}.category-featured{height:240px;margin-bottom:12px}.category-featured-1{height:340px}.category-row{grid-template-columns:1fr}.post-navigation-custom{grid-template-columns:1fr}.post-navigation-custom div:last-child{text-align:left}.related-grid{grid-template-columns:1fr}.article-lead{font-size:18px}}

/* Final responsive article template */
.sgf-single-shell{max-width:1120px}.sgf-article{max-width:920px;margin:0 auto}.sgf-article-header{margin-bottom:24px}.sgf-article-header h1{font-size:clamp(36px,5vw,64px);line-height:1.05;margin:10px 0 16px}.sgf-article-header .article-lead{margin-left:0}.sgf-article-header .article-meta-row{justify-content:flex-start}.article-hero-wrap{margin:0 0 28px}.article-hero-wrap figcaption{font-size:12px;color:var(--muted);margin-top:7px}.sgf-article-content{max-width:820px}.article-author-box{max-width:820px;margin:30px 0 18px}.article-tags{max-width:820px}.sgf-article .related-posts,.sgf-article .post-navigation-custom{max-width:920px}
@media(max-width:560px){.sgf-single-shell{padding-top:14px}.sgf-article-header h1{font-size:32px}.sgf-article-content{font-size:17px;line-height:1.65}.article-author-box{align-items:flex-start}.related-grid{grid-template-columns:1fr}.sgf-article .post-navigation-custom{grid-template-columns:1fr}}

/* Header starts directly with the site branding */
.site-header{margin-top:0}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}

/* Desktop: smaller titles in the four compact hero cards */
@media (min-width: 901px) {
  .hero-grid .hero-2 .hero-copy h2,
  .hero-grid .hero-3 .hero-copy h2,
  .hero-grid .hero-4 .hero-copy h2,
  .hero-grid .hero-5 .hero-copy h2 {
    font-size: 20px;
    line-height: 1.08;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-grid .hero-2 .hero-copy,
  .hero-grid .hero-3 .hero-copy,
  .hero-grid .hero-4 .hero-copy,
  .hero-grid .hero-5 .hero-copy {
    inset: auto 14px 14px;
  }
}


/* Homepage section links and full-height layout */
html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; width: 100%; }
.site-footer { flex-shrink: 0; margin-top: auto; }
.section-head h2 a { display: inline-flex; align-items: center; gap: 8px; }
.section-head h2 a::after { content: "→"; font-size: .8em; color: var(--accent); transition: transform .18s ease; }
.section-head h2 a:hover::after, .section-head h2 a:focus-visible::after { transform: translateX(4px); }
.section-head h2 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }


/* Prevent extra blank space below the footer, including when the WordPress admin bar is visible */
html { background: #111820; }
body { background: var(--bg); min-height: 100vh; }
body.admin-bar { min-height: calc(100vh - 32px); }
@media (max-width: 782px) {
  body.admin-bar { min-height: calc(100vh - 46px); }
}
.site-footer { margin-bottom: 0; }


/* Strong footer-end fix: any extra viewport area matches the footer instead of showing a white strip */
html, body { background: #111820 !important; }
.site-header, .site-main { background: #ffffff; }
.site-main { flex: 1 0 auto; width: 100%; }
.site-footer { background: #111820; margin-top: auto; margin-bottom: 0; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
body { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
body.admin-bar { min-height: calc(100vh - 32px); }
@media (max-width: 782px) { body.admin-bar { min-height: calc(100vh - 46px); } }


/* Footer should visually end at the copyright line */
.site-footer { padding-bottom: 0 !important; }
.copyright { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.site-footer .copyright { padding-top: 18px; }


/* Newsletter band moved above footer */
.newsletter-band{background:linear-gradient(90deg,#0b8f55 0%,#073f36 100%);color:#fff;padding:30px 0}.newsletter-band-inner{display:flex;align-items:center;justify-content:space-between;gap:36px}.newsletter-band-copy h2{margin:0 0 6px;font-size:26px}.newsletter-band-copy p{margin:0;color:rgba(255,255,255,.84)}.newsletter-band-form{width:min(520px,48%)}.newsletter-band-form input{min-height:46px;padding:12px 14px}.newsletter-band-form button{min-height:46px;background:#0e1923;border:1px solid rgba(255,255,255,.2)}.site-footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr}.site-footer{padding-top:38px}.site-footer .newsletter{display:none}
@media(max-width:900px){.newsletter-band-inner{align-items:flex-start}.newsletter-band-form{width:50%}.site-footer .footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.newsletter-band{padding:24px 0}.newsletter-band-inner{display:block}.newsletter-band-copy{margin-bottom:16px}.newsletter-band-form{width:100%}.newsletter-band-form input{width:100%}.site-footer .footer-grid{grid-template-columns:1fr}.newsletter-band-copy h2{font-size:23px}}


/* SGF footer — original variant 1 */
.newsletter-band{display:none!important}
.sgf-footer-v1{background:radial-gradient(circle at 20% 0%,#10263d 0,#081727 40%,#06111e 100%);color:#eaf0f5;border-top:3px solid #37d563;padding:0!important;margin:0!important}
.sgf-footer-main{display:grid;grid-template-columns:1.15fr .8fr 1.2fr 1.2fr;gap:42px;padding:58px 0 48px}
.sgf-footer-v1 h2,.sgf-footer-v1 h3{margin:0 0 20px;color:#fff}
.sgf-footer-v1 h3{font-size:19px;text-transform:uppercase;letter-spacing:.03em;position:relative;padding-left:20px}
.sgf-footer-v1 h3:before{content:"";position:absolute;left:0;top:.2em;width:9px;height:18px;background:#37d563;transform:skew(-18deg)}
.sgf-mark{font-size:48px;font-style:italic;font-weight:900;letter-spacing:-3px}
.sgf-footer-kicker{color:#37d563;font-size:12px;font-weight:800;letter-spacing:.32em;margin:0 0 24px}
.sgf-footer-brand>p:not(.sgf-footer-kicker){max-width:310px;color:#b7c4cf;line-height:1.75}
.sgf-socials{display:flex;gap:12px;margin-top:28px}
.sgf-socials a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #304255;border-radius:5px;color:#fff;font-weight:800;transition:.2s ease}
.sgf-socials a:hover,.sgf-socials a:focus-visible{background:#37d563;border-color:#37d563;color:#07131f;transform:translateY(-2px)}
.sgf-footer-nav ul,.sgf-footer-posts{list-style:none;padding:0;margin:0}
.sgf-footer-nav li{margin:0 0 12px}
.sgf-footer-nav a{color:#d8e0e7}
.sgf-footer-nav a:hover{color:#37d563}
.sgf-footer-posts li{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #263747}
.sgf-footer-posts li:last-child{border-bottom:0;margin-bottom:0}
.sgf-footer-posts a{display:block;font-weight:700;line-height:1.35;color:#fff;margin-bottom:7px}
.sgf-footer-posts a:hover{color:#37d563}
.sgf-footer-posts span{font-size:11px;text-transform:uppercase;color:#7f93a4;letter-spacing:.04em}
.sgf-footer-subscribe p{color:#b7c4cf;line-height:1.65;margin:0 0 18px}
.sgf-footer-form{display:grid;gap:10px}
.sgf-footer-form input{width:100%;min-height:48px;background:#0c1d2d;border:1px solid #324456;color:#fff;padding:12px 14px;border-radius:4px}
.sgf-footer-form input::placeholder{color:#8596a5}
.sgf-footer-form button{min-height:48px;border:0;border-radius:4px;background:#37d563;color:#07131f;font-weight:900;text-transform:uppercase;cursor:pointer}
.sgf-footer-form button:hover{filter:brightness(1.08)}
.sgf-footer-subscribe small{display:block;color:#7f93a4;margin-top:14px}
.sgf-footer-bottom{border-top:1px solid #233342;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0!important;margin-bottom:0!important;color:#91a1af;font-size:13px}
.sgf-footer-bottom p{margin:0}
.sgf-legal{display:flex;gap:24px;flex-wrap:wrap}
.sgf-legal a:hover{color:#37d563}
html,body{background:#06111e!important}
.site-header,.site-main{background:#fff}
body{display:flex;flex-direction:column;min-height:100vh;margin:0!important;padding:0!important}
.site-main{flex:1 0 auto}
.sgf-footer-v1{flex:0 0 auto}
body:after,html:after{display:none!important;content:none!important}
@media(max-width:1000px){.sgf-footer-main{grid-template-columns:1fr 1fr}.sgf-footer-bottom{align-items:flex-start}}
@media(max-width:620px){.sgf-footer-main{grid-template-columns:1fr;padding:40px 0 30px;gap:34px}.sgf-footer-bottom{display:block;padding:18px 0!important}.sgf-legal{margin-top:12px;gap:12px 18px}.sgf-mark{font-size:40px}}
