/*
Theme Name: Ai4Insight OnePage
Theme URI: https://example.com/ai4insight
Author: Generated by ChatGPT
Author URI: https://openai.com
Description: One-page/News theme inspired by the provided screenshots. Includes hero subscribe, archive grid, about section and footer widgets.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: news, one-column, magazine, blog, responsive, accessibility
Text Domain: ai4insight
*/

/* Reset & base */
:root{
  --accent:#2b7ef6;
  --dark:#0b0b0b;
  --muted:#6c6c6c;
  --bg:#ffffff;
  --container:1200px;
  --gutter:28px;
  --radius:12px;
  --section-pad:64px;
}
*{box-sizing:border-box}
html,body{height:100%;}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial; color:var(--dark); background:var(--bg); -webkit-font-smoothing:antialiased;}
a{color:var(--accent);text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter);}

/* Header */
.site-header{position:fixed;left:0;right:0;top:0;z-index:50;background:rgba(255,255,255,0.96);border-bottom:1px solid #e6e6e6;}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:14px 0;}
.site-branding{display:flex;align-items:center;gap:12px;}
.site-branding img.logo{height:42px;width:42px;border-radius:8px;background:#000;color:#fff;display:block;object-fit:cover;}
.site-nav{display:flex;align-items:center;gap:20px;}
.site-nav a{color:var(--dark);font-weight:600;}
.header-actions{display:flex;align-items:center;gap:12px;}
.btn-sub{background:var(--accent);color:#fff;padding:8px 14px;border-radius:10px;font-weight:700;}

/* Hero */
.hero{padding:120px 0 60px; text-align:center; background:#060606;color:#fff; min-height:420px; display:flex;align-items:center;justify-content:center;}
.hero-inner{max-width:980px;margin:0 auto;}
.hero h1{font-size:64px; margin:0 0 18px; font-weight:800; letter-spacing:-1px;}
.hero p{color:#cfcfcf;font-size:18px; margin:0 0 28px;}
.hero .subscribe-row{display:flex;gap:12px;justify-content:center;}
.input-email{padding:14px 16px;border-radius:10px;border:none;min-width:420px;}
.btn-primary{padding:12px 20px;border-radius:10px;border:none;background:var(--accent);color:#fff;font-weight:700;}

/* Section titles */
.section{padding:var(--section-pad) 0;}
.section .section-heading{font-size:42px;margin:0 0 18px;font-weight:800;}

/* Archive grid */
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.card{background:#fff;border-radius:14px;box-shadow:0 6px 20px rgba(10,10,10,0.04);overflow:hidden;border:1px solid #f0f0f0;}
.card .thumb{height:220px;overflow:hidden;}
.card img{width:100%;height:100%;object-fit:cover;display:block;}
.card .card-body{padding:18px;}
.meta {display:flex;gap:12px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:10px;}
.card h3{margin:0 0 8px;font-size:20px;}
.card p.excerpt{color:var(--muted);margin:0;font-size:15px;}

/* About layout */
.about-columns{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;}
.about-columns h2{font-size:38px;margin-top:0;}
.about-content p{color:var(--muted);line-height:1.8;}

/* Footer */
.site-footer{border-top:1px solid #e9e9e9;padding:48px 0;background:#fff;}
.footer-widgets{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.widget-title{font-weight:700;margin-bottom:12px;}
.footer-bottom{border-top:1px solid #f0f0f0;margin-top:28px;padding-top:18px;text-align:center;color:var(--muted);}

/* Responsive */
@media (max-width:1100px){ .archive-grid{grid-template-columns:repeat(2,1fr);} .about-columns{grid-template-columns:1fr;} .hero h1{font-size:48px;} .input-email{min-width:260px;} }
@media (max-width:700px){ .archive-grid{grid-template-columns:1fr;} .site-nav{display:none;} .site-header .container{padding:10px;} .hero{padding-top:140px;min-height:360px;} }
