/*
Theme Name: LearnToUseAI v3
Theme URI: https://learntouseai.in
Author: LearnToUseAI Team
Description: Premium AI newsletter theme — The Rundown AI inspired. Fully dynamic, WordPress editable.
Version: 3.0.0
Text Domain: learntouseai
*/

/* ── Google Fonts: Plus Jakarta Sans ──────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
p { line-height: 1.7; }

/* ── CSS Variables ────────────────────────────────────── */
:root {
  --dark:        #0C0C0E;
  --dark-2:      #111827;
  --dark-3:      #1F2937;
  --white:       #FFFFFF;
  --bg:          #F9FAFB;
  --border:      #E5E7EB;
  --border-dark: rgba(255,255,255,0.1);
  --text:        #111827;
  --muted:       #6B7280;
  --light:       #9CA3AF;
  --orange:      #FF5722;
  --orange-2:    #FF7043;
  --green:       #10B981;
  --blue:        #3B82F6;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   18px;
  --max-w:       1200px;
  --section-py:  72px;
}

/* ── Utilities ────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-py { padding: var(--section-py) 0; }
.text-orange { color: var(--orange); }
.text-muted { color: var(--muted); }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; font-size: .9rem; font-weight: 700;
  border-radius: 999px; border: none; cursor: pointer; transition: all .18s ease;
  line-height: 1;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #E64A19; transform: translateY(-1px); }
.btn-outline-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-light { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline-light:hover { border-color: #9CA3AF; }
.btn-dark { background: var(--dark-2); color: #fff; }
.btn-dark:hover { background: #1F2937; }
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-wa { background: #22C55E; color: #fff; }
.btn-wa:hover { background: #16A34A; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752C4; }

/* ── Announce Bar ─────────────────────────────────────── */
.announce-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 9px 24px;
  font-size: .8375rem;
  font-weight: 600;
}
.announce-bar a { color: #fff; text-decoration: underline; }

/* ── Navigation ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(12, 12, 14, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em;
}
.site-logo .logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #fff; font-weight: 800;
}
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 7px 14px; border-radius: 7px;
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.6);
  transition: all .15s;
}
.primary-nav a:hover, .primary-nav a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { font-size: .875rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.7); transition: all .25s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0; background: var(--dark);
  z-index: 199; flex-direction: column; padding: 20px 24px; gap: 4px;
  overflow-y: auto; border-top: 1px solid var(--border-dark);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: 8px; font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,.65); transition: all .15s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* ── Hero Section ─────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 90px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,87,34,.18) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(255,87,34,.35); background: rgba(255,87,34,.1);
  font-size: .8rem; font-weight: 700; color: #FF8A65;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.04; color: #fff;
  max-width: 760px; margin: 0 auto 20px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,.55); max-width: 520px;
  margin: 0 auto 40px; line-height: 1.7;
}
/* Email form */
.hero-form {
  display: flex; align-items: center;
  max-width: 480px; margin: 0 auto 14px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 5px 5px 5px 22px;
  transition: border-color .2s;
}
.hero-form:focus-within { border-color: rgba(255,87,34,.6); }
.hero-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: .95rem; font-weight: 500;
  min-width: 0;
}
.hero-form input::placeholder { color: rgba(255,255,255,.3); }
.hero-fine { font-size: .8rem; color: rgba(255,255,255,.3); margin-top: 0; }
/* Stats row */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -.035em; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.35); font-weight: 500; }
.stat-sep { width: 1px; height: 32px; background: var(--border-dark); flex-shrink: 0; }

/* ── Trust Bar ────────────────────────────────────────── */
.trust-bar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.trust-label { font-size: .75rem; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.trust-div { width: 1px; height: 14px; background: var(--border); }
.trust-names { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-name { font-size: .875rem; font-weight: 700; color: #D1D5DB; }

/* ── Section Headers ──────────────────────────────────── */
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -.035em; color: var(--text); margin-top: 6px; }
.sec-head p { font-size: 1rem; color: var(--muted); margin-top: 8px; max-width: 540px; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ── Filter Pills ─────────────────────────────────────── */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.fpill {
  padding: 6px 16px; border-radius: 999px; font-size: .8375rem; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--muted);
  cursor: pointer; transition: all .15s;
}
.fpill:hover, .fpill.on { background: var(--dark-2); color: #fff; border-color: var(--dark-2); }

/* ── Article Cards ────────────────────────────────────── */
.articles-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
.article-featured {
  background: #fff;
  display: flex; flex-direction: column;
}
.article-featured .thumb { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.article-featured .card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-side-stack {
  background: var(--border);
  display: flex; flex-direction: column; gap: 1px;
}
.article-side {
  background: #fff; padding: 20px; display: flex; gap: 14px;
  flex: 1; align-items: flex-start;
  transition: background .15s;
}
.article-side:hover { background: var(--bg); }
.article-side .thumb-sm { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

.card-cat { font-size: .75rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.card-title a:hover { color: var(--orange); }
.card-featured-title { font-size: 1.4rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--text); margin-bottom: 10px; }
.card-featured-title a:hover { color: var(--orange); }
.card-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-meta { font-size: .8rem; color: var(--light); font-weight: 500; display: flex; gap: 8px; align-items: center; }

/* 4-col grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card:hover { border-color: #D1D5DB; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.card .thumb { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .card-body { padding: 18px; }
.card .card-title { font-size: .95rem; margin-top: 4px; }
.card-meta-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; }

/* ── Tool Card ────────────────────────────────────────── */
.tool-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all .18s;
}
.tool-card:hover { border-color: #D1D5DB; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.tool-icon-box {
  width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  flex-shrink: 0; background: var(--bg);
}
.tool-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tool-desc { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.tool-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.ttag { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.ttag-ok  { background: #F0FDF4; color: #166534; }
.ttag-upi { background: #EFF6FF; color: #1E40AF; }
.ttag-inr { background: #F5F3FF; color: #6B21A8; }
.ttag-warn{ background: #FFFBEB; color: #92400E; }

/* ── Tools table-style list ───────────────────────────── */
.tools-table { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tools-table-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: #fff; transition: background .15s; cursor: pointer;
}
.tools-table-row:last-child { border-bottom: none; }
.tools-table-row:hover { background: var(--bg); }
.tools-left { display: flex; gap: 14px; align-items: center; }
.tools-right { display: flex; align-items: center; gap: 12px; }

/* ── Modal ────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; background: rgba(12,12,14,.7);
  backdrop-filter: blur(6px); z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.modal-bg.open { opacity: 1; visibility: visible; }
.modal-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 44px 36px 36px; width: 90%; max-width: 440px;
  position: relative; text-align: center;
  transform: scale(.94); transition: transform .25s;
}
.modal-bg.open .modal-card { transform: scale(1); }
.modal-close-btn {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 1.3rem;
  color: var(--light); cursor: pointer; transition: color .15s;
}
.modal-close-btn:hover { color: var(--text); }
.modal-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,87,34,.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 18px;
}
.modal-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.modal-sub { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.modal-input {
  width: 100%; padding: 13px 18px; border-radius: 10px;
  border: 1.5px solid var(--border); font-size: .95rem;
  outline: none; margin-bottom: 12px; transition: border-color .18s;
}
.modal-input:focus { border-color: var(--orange); }
.modal-btn { width: 100%; padding: 13px; border-radius: 10px; font-size: .95rem; }
.modal-fine { font-size: .75rem; color: var(--light); margin-top: 12px; }

/* ── University Dark Section ──────────────────────────── */
.university {
  background: var(--dark); color: #fff;
  padding: var(--section-py) 0;
}
.uni-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.uni-title { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; color: #fff; margin-bottom: 16px; }
.uni-sub { font-size: 1.05rem; color: rgba(255,255,255,.5); max-width: 580px; line-height: 1.7; margin: 0 auto 40px; }
.bento-dark {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); overflow: hidden;
}
.bento-dark-card {
  background: rgba(255,255,255,.04); padding: 30px 24px;
  transition: background .2s;
}
.bento-dark-card:hover { background: rgba(255,255,255,.08); }
.bento-dark-icon { font-size: 1.75rem; margin-bottom: 14px; }
.bento-dark-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.bento-dark-card p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── Community Section ────────────────────────────────── */
.community-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.comm-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: all .18s;
}
.comm-card:hover { border-color: #D1D5DB; transform: translateY(-2px); }
.comm-icon { font-size: 2rem; margin-bottom: 12px; }
.comm-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.comm-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.comm-btn { width: 100%; padding: 12px; border-radius: 10px; font-size: .875rem; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, var(--dark) 100%);
  padding: var(--section-py) 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 14px; }
.cta-section h2 span { color: var(--orange); }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,.45); max-width: 440px; margin: 0 auto 40px; line-height: 1.7; }
.cta-form {
  display: flex; max-width: 460px; margin: 0 auto;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 5px 5px 5px 22px;
}
.cta-form input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: .9rem; }
.cta-form input::placeholder { color: rgba(255,255,255,.3); }
.cta-fine { margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.2); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: #0A0A0B; color: rgba(255,255,255,.35); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px; }
.footer-brand { color: rgba(255,255,255,.35); }
.footer-logo-wrap { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 16px; }
.socials { display: flex; gap: 8px; }
.soc-link { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: rgba(255,255,255,.3); transition: all .18s; }
.soc-link:hover { border-color: rgba(255,255,255,.25); color: #fff; }
.footer-col h4 { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.35); transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: .8125rem; }
.footer-bottom a { color: rgba(255,255,255,.25); transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.5); }

/* ── Podcast Bar ──────────────────────────────────────── */
.podcast-section { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; text-align: center; }
.podcast-btns { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

/* ── Advertise Page ───────────────────────────────────── */
.advertise-hero { background: var(--dark); color: #fff; padding: 80px 0; text-align: center; }
.advertise-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 14px; }
.advertise-hero p { font-size: 1.1rem; color: rgba(255,255,255,.55); max-width: 520px; margin: 0 auto; }
.ad-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: var(--section-py) 0; }
.ad-stat-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.ad-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--orange); letter-spacing: -.04em; }
.ad-stat-label { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.contact-form-wrap { max-width: 580px; margin: 0 auto; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: .925rem; outline: none; background: #fff;
  transition: border-color .18s; font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 110px; }

/* ── Single Post ──────────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: var(--section-py) 0; }
.post-content h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin: 32px 0 12px; }
.post-content h3 { font-size: 1.25rem; font-weight: 700; margin: 24px 0 10px; }
.post-content p { font-size: 1.05rem; line-height: 1.8; color: #374151; margin-bottom: 16px; }
.post-content ul, .post-content ol { margin: 16px 0 16px 24px; }
.post-content li { font-size: 1rem; line-height: 1.7; color: #374151; margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--orange); padding: 12px 20px; background: var(--bg); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; color: var(--muted); }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.sidebar-widget { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ── 404 Page ─────────────────────────────────────────── */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.page-404 h1 { font-size: 6rem; font-weight: 800; letter-spacing: -.05em; color: var(--orange); line-height: 1; }
.page-404 p { font-size: 1.1rem; color: var(--muted); margin: 16px 0 32px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .bento-dark { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .post-layout { grid-template-columns: 1fr; }
  .ad-stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .primary-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .articles-hero-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; max-width: 100%; }
  .uni-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-form, .cta-form { flex-direction: column; padding: 8px; border-radius: 14px; }
  .hero-form input, .cta-form input { padding: 12px 14px; }
  .hero-form .btn, .cta-form .btn { width: 100%; border-radius: 10px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 72px; }
  .bento-dark { grid-template-columns: 1fr; }
  .ad-stats-grid { grid-template-columns: 1fr 1fr; }
}
