/* ============================================
   WIRED & SMART — STYLESHEET
   Dark industrial meets clean editorial
   ============================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c0f;
  --bg-2: #111418;
  --bg-3: #181c22;
  --border: rgba(255,255,255,0.08);
  --accent: #f0c040;
  --accent-2: #00c896;
  --text: #e8eaf0;
  --text-2: #8a9bb0;
  --text-3: #4a5568;
  --tag-ev: #1a3a5c;
  --tag-ev-text: #60b4ff;
  --tag-ai: #2a1a4a;
  --tag-ai-text: #c084fc;
  --tag-access: #1a2a1a;
  --tag-access-text: #4ade80;
  --tag-home: #2a1a1a;
  --tag-home-text: #fb923c;
  --tag-electrical: #1a1a2a;
  --tag-electrical-text: #facc15;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }

.accent { color: var(--accent); }

em { color: var(--accent); font-style: normal; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #0a0c0f;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #ffd060; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,192,64,0.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-2);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-2); background: var(--bg-2); }

/* ============================================
   TAGS
   ============================================ */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.tag-ev { background: var(--tag-ev); color: var(--tag-ev-text); }
.tag-ai { background: var(--tag-ai); color: var(--tag-ai-text); }
.tag-access { background: var(--tag-access); color: var(--tag-access-text); }
.tag-home { background: var(--tag-home); color: var(--tag-home-text); }
.tag-electrical { background: var(--tag-electrical); color: var(--tag-electrical-text); }

.read-time {
  font-size: 0.8rem;
  color: var(--text-3);
  font-family: 'DM Sans', sans-serif;
}

/* ============================================
   SECTION LABELS
   ============================================ */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light { color: var(--accent); opacity: 0.8; }

.section-title {
  margin-bottom: 48px;
  color: var(--text);
}

.section {
  padding: 80px 0;
}

/* ============================================
   NAV
   ============================================ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo em { color: var(--accent); font-style: normal; }
.logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-2); }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-family: 'Syne', sans-serif;
}
.nav-links .nav-cta:hover { background: #ffd060; color: var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,192,64,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,192,64,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -200px;
  right: -100px;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-content { position: relative; max-width: 700px; }

.hero-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(240,192,64,0.1);
  border: 1px solid rgba(240,192,64,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  position: relative;
  animation: fadeUp 0.8s 0.3s ease both;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-3); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TOPICS STRIP
   ============================================ */
.topics-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.topics-strip::before, .topics-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.topics-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.topics-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

.topics-scroll {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: scrollLeft 25s linear infinite;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.topics-scroll .dot { color: var(--accent); }

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   FEATURED CARD
   ============================================ */
.featured-section { background: var(--bg); }

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  transition: border-color 0.3s;
}
.featured-card:hover { border-color: rgba(240,192,64,0.2); }

.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.featured-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.featured-excerpt {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(240,192,64,0.1), transparent 70%);
}

.visual-icon { font-size: 3rem; margin-bottom: 20px; }

.visual-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.vl {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: pulse 2s ease infinite;
}
.vl:nth-child(2) { animation-delay: 0.3s; opacity: 0.7; }
.vl:nth-child(3) { animation-delay: 0.6s; opacity: 0.4; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.visual-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.05em;
  margin-top: 16px;
}
.visual-stat {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: 8px;
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-section { background: var(--bg-2); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: block;
}
.cat-card:hover {
  border-color: rgba(240,192,64,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.cat-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }

.cat-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(4px); }

/* ============================================
   POSTS GRID
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
}
.post-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }

.post-card-tag { margin-bottom: 16px; }
.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.post-card h3 a { color: var(--text); transition: color 0.2s; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.read-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s;
}
.read-link:hover { opacity: 0.8; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section { background: var(--bg); }

.newsletter-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nl-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240,192,64,0.06), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nl-content { position: relative; }
.nl-content h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.nl-content p { color: var(--text-2); max-width: 500px; margin: 0 auto 36px; font-size: 1.05rem; }

.nl-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.nl-form input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.nl-form input:focus { border-color: rgba(240,192,64,0.4); }
.nl-form input::placeholder { color: var(--text-3); }
.nl-form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.nl-form button:hover { background: #ffd060; }

.nl-note { font-size: 0.8rem; color: var(--text-3); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ============================================
   PAGE HERO (About, etc.)
   ============================================ */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; }

.page-hero-content {
  position: relative;
  max-width: 720px;
}
.page-hero-content h1 { margin-bottom: 20px; }
.page-hero-content p {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.mission-text h2 { margin-bottom: 24px; }
.mission-text p {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.mission-text em { color: var(--text); font-style: italic; }

.mission-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mc-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.mc-item strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}
.mc-item p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

.about-topics-section { background: var(--bg-2); }
.about-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-topic {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-3);
}
.at-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.about-topic h3 { font-size: 1.1rem; margin-bottom: 10px; }
.about-topic p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; }

.values-section { background: var(--bg); }
.values-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
}
.values-box h2 { margin-bottom: 48px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(240,192,64,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.value-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.value-item p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

.about-cta {
  text-align: center;
  padding: 64px 0;
}
.about-cta h2 { margin-bottom: 16px; }
.about-cta p { color: var(--text-2); max-width: 440px; margin: 0 auto 36px; }
.about-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ARTICLE / BLOG POST
   ============================================ */
.article-wrapper { min-height: 100vh; }

.article-header {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.ah-bg { position: absolute; inset: 0; }

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
}

.back-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  max-width: 840px;
  position: relative;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
}

.byline-name {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.byline-date { font-size: 0.82rem; color: var(--text-3); }

.article-body { padding: 64px 0; }

.article-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.article-content { max-width: 720px; }

.lead-paragraph {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 20px;
  color: var(--text);
}
.article-content h3 {
  font-size: 1.3rem;
  margin: 36px 0 16px;
  color: var(--text);
}
.article-content p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { color: var(--text); font-style: italic; }
.article-content ul {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-content ul li {
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.article-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.article-callout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.callout-tip { border-left-color: var(--accent-2); }
.callout-summary { border-left-color: #c084fc; }
.callout-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.article-callout strong { color: var(--text); font-family: 'Syne', sans-serif; font-size: 0.95rem; display: block; margin-bottom: 8px; }
.article-callout p, .article-callout ul { margin: 0; }
.article-callout ul { margin-top: 8px; }
.article-callout li { font-size: 0.9rem; }

/* Level Cards */
.level-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.level-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.lc-featured {
  border-color: rgba(240,192,64,0.3);
  background: rgba(240,192,64,0.04);
}
.lc-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-3);
  color: var(--text-3);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.lc-badge-accent { background: rgba(240,192,64,0.15); color: var(--accent); }
.level-card h4 { font-size: 1rem; margin-bottom: 12px; }
.level-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.lc-stat {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

/* SIDEBAR */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.sidebar-widget h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.toc { display: flex; flex-direction: column; gap: 8px; }
.toc a {
  font-size: 0.85rem;
  color: var(--text-2);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.toc a:hover { color: var(--accent); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.sidebar-nl p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.sidebar-nl input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 8px;
}
.sidebar-nl button {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-nl button:hover { background: #ffd060; }

.related-posts { display: flex; flex-direction: column; gap: 12px; }
.related-posts a {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  transition: color 0.2s;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.related-posts a:last-child { border-bottom: none; padding-bottom: 0; }
.related-posts a:hover { color: var(--accent); }

/* POST FOOTER */
.post-footer-cta {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.post-footer-cta p { color: var(--text-2); margin-bottom: 20px; font-size: 0.95rem; }
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.share-btn:hover { color: var(--text); border-color: var(--text-3); background: var(--bg-2); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }

  .hero { min-height: auto; padding: 60px 24px 40px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; margin-top: 48px; }
  .stat-divider { display: none; }

  .featured-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .featured-visual { display: none; }

  .categories-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .about-mission { grid-template-columns: 1fr; gap: 40px; }
  .about-topics { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 28px; }
  .values-box { padding: 36px 24px; }
  .newsletter-box { padding: 40px 24px; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .level-cards { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
  .article-title { font-size: 1.9rem; }
}
