/* ============================================
   3dprintmetal.com — Editorial Layout
   Inspired by 3dnatives.com, modernized
   ============================================ */

/* ── Shared Tokens ───────────────────────────── */
:root {
  --accent: #00a8cc;
  --accent-dark: #008fad;
  --accent-dim: rgba(0,168,204,0.12);
  --red: #e53e3e;
  --radius: 8px;
  --radius-sm: 4px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Dark Mode (default) ─────────────────────── */
:root, [data-theme="dark"] {
  --bg: #08090f;
  --bg-surface: #0e1019;
  --bg-card: #141620;
  --bg-card-hover: #1a1d2e;
  --bg-sidebar: #0f1118;
  --text: #e2e4e8;
  --text-dim: #8a8f9d;
  --text-faint: #555a68;
  --heading: #ffffff;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(0,168,204,0.2);
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.5);
  --header-bg: rgba(8,9,15,0.92);
  --badge-bg: rgba(0,168,204,0.12);
  --input-bg: #0a0b12;
}

/* ── Light Mode ──────────────────────────────── */
[data-theme="light"] {
  --accent: #0077a8;
  --accent-dark: #005f85;
  --accent-dim: rgba(0,119,168,0.08);
  --bg: #f5f6f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f1f3;
  --bg-sidebar: #fafbfc;
  --text: #2d3748;
  --text-dim: #5a6577;
  --text-faint: #8e96a4;
  --heading: #1a202c;
  --border: rgba(0,0,0,0.08);
  --border-accent: rgba(0,119,168,0.2);
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
  --header-bg: rgba(255,255,255,0.95);
  --badge-bg: rgba(0,119,168,0.08);
  --input-bg: #f0f1f3;
}

/* System preference when no manual choice */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --accent: #0077a8;
    --accent-dark: #005f85;
    --accent-dim: rgba(0,119,168,0.08);
    --bg: #f5f6f8;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f1f3;
    --bg-sidebar: #fafbfc;
    --text: #2d3748;
    --text-dim: #5a6577;
    --text-faint: #8e96a4;
    --heading: #1a202c;
    --border: rgba(0,0,0,0.08);
    --border-accent: rgba(0,119,168,0.2);
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
    --header-bg: rgba(255,255,255,0.95);
    --badge-bg: rgba(0,119,168,0.08);
    --input-bg: #f0f1f3;
  }
}

/* ── Reset ───────────────────────────────────── */
*,*::before,*::after { margin:0;padding:0;box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--input-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ──────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--heading); }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); font-weight: 500; }

/* ── Header ──────────────────────────────────── */
.ed-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.ed-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 56px;
}
.ed-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 0.5rem;
}
.ed-logo-accent { color: var(--accent); }
.ed-nav { display: flex; gap: 0; align-items: center; }
.ed-nav a {
  padding: 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  line-height: 56px;
  position: relative;
}
.ed-nav a:hover, .ed-nav a.active { color: var(--heading); }
.ed-nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 2px; background: var(--accent);
}
.ed-nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 1.5rem; cursor: pointer; padding: 0.5rem;
}

/* Theme toggle */
.ed-theme-toggle {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.ed-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ── Breadcrumbs ─────────────────────────────── */
.ed-breadcrumbs {
  max-width: 1280px; margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}
.ed-breadcrumbs a { color: var(--text-dim); transition: color var(--transition); }
.ed-breadcrumbs a:hover { color: var(--accent); }
.ed-breadcrumbs span { margin: 0 0.4rem; }

/* ── Layout ──────────────────────────────────── */
.ed-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 2rem 1.5rem;
  align-items: start;
}
.ed-main { min-width: 0; }
.ed-sidebar { position: sticky; top: 72px; }

/* ── Hero / Featured Story ───────────────────── */
.ed-hero {
  margin-bottom: 2.5rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.ed-hero img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
}
.ed-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,9,15,0.95) 0%, rgba(8,9,15,0.3) 50%, transparent 100%);
}
[data-theme="light"] .ed-hero-overlay {
  background: linear-gradient(0deg, rgba(245,246,248,0.97) 0%, rgba(245,246,248,0.4) 50%, transparent 100%);
}
.ed-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2.5rem;
}
.ed-hero .ed-badge { margin-bottom: 0.75rem; }
.ed-hero h1 { margin-bottom: 0.5rem; }
.ed-hero h1 a { color: var(--heading); transition: color var(--transition); }
.ed-hero h1 a:hover { color: var(--accent); }
.ed-hero-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex; gap: 1rem; align-items: center;
}
.ed-hero-excerpt {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Badge / Tag ─────────────────────────────── */
.ed-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  color: var(--accent);
  line-height: 1;
}
.ed-badge.red { background: rgba(255,68,68,0.12); color: var(--red); }

/* ── Section Label ───────────────────────────── */
.ed-section-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-section-label a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Article Cards ───────────────────────────── */
.ed-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ed-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ed-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}
.ed-card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.ed-card-body { padding: 1.25rem; }
.ed-card-body .ed-badge { margin-bottom: 0.65rem; }
.ed-card-body h3 { margin-bottom: 0.5rem; }
.ed-card-body h3 a { color: var(--heading); transition: color var(--transition); }
.ed-card-body h3 a:hover { color: var(--accent); }
.ed-card-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.ed-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Article List (compact) ──────────────────── */
.ed-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.ed-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ed-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.ed-list-item img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  width: 100%;
}
.ed-list-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.ed-list-item h3 a { color: var(--heading); transition: color var(--transition); }
.ed-list-item h3 a:hover { color: var(--accent); }

/* ── Sidebar ─────────────────────────────────── */
.ed-sidebar-block {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.ed-sidebar-block h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* Newsletter widget */
.ed-newsletter p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; line-height: 1.5; }
.ed-newsletter input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  transition: border-color var(--transition);
}
.ed-newsletter input[type="email"]:focus { outline: none; border-color: var(--accent); }
.ed-newsletter button {
  width: 100%;
  padding: 0.65rem;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition);
}
.ed-newsletter button:hover { background: var(--accent-dark); }

/* Popular posts widget */
.ed-popular-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ed-popular-item:last-child { border-bottom: none; }
.ed-popular-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  min-width: 1.8rem;
  color: rgba(0,217,255,0.3);
}
.ed-popular-item h3 { font-size: 0.85rem; font-weight: 500; line-height: 1.35; }
.ed-popular-item h3 a { color: var(--text); }
.ed-popular-item h3 a:hover { color: var(--accent); }
.ed-popular-meta { font-size: 0.7rem; color: var(--text-faint); margin-top: 0.2rem; }

/* Network links widget */
.ed-network-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ed-network-links a {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: all var(--transition);
}
.ed-network-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Load More ───────────────────────────────── */
.ed-load-more {
  text-align: center;
  margin: 2rem 0;
}
.ed-load-more button {
  padding: 0.75rem 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.ed-load-more button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Stats Bar ───────────────────────────────── */
.ed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.ed-stat {
  background: var(--bg-card);
  padding: 1.25rem;
  text-align: center;
}
.ed-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}
.ed-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

/* ── Page Hero (inner pages) ─────────────────── */
.ed-page-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
}
.ed-page-hero img {
  width: 100%; aspect-ratio: 16/6; object-fit: cover;
}
.ed-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,9,15,0.9) 0%, rgba(8,9,15,0.4) 60%, transparent 100%);
}
[data-theme="light"] .ed-page-hero-overlay {
  background: linear-gradient(0deg, rgba(245,246,248,0.95) 0%, rgba(245,246,248,0.5) 60%, transparent 100%);
}
.ed-page-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2.5rem;
}
.ed-page-hero h1 { margin-bottom: 0.5rem; }
.ed-page-hero p { color: var(--text-dim); font-size: 1rem; max-width: 600px; }

/* ── Content Sections ────────────────────────── */
.ed-content { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.ed-content-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.ed-section { margin-bottom: 3rem; }
.ed-section p { color: var(--text-dim); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }
.ed-section p:last-child { margin-bottom: 0; }

/* Two-column content block */
.ed-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.ed-two-col img { border-radius: var(--radius); width: 100%; }

/* Content cards (mission, values, etc.) */
.ed-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.ed-content-card:hover { border-color: var(--border-accent); }
.ed-content-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.ed-content-card p { margin-bottom: 0; }
.ed-content-card .ed-icon {
  font-size: 1.5rem; margin-bottom: 0.75rem; display: block;
}
.ed-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.ed-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.ed-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }

/* Service detail cards */
.ed-service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition);
}
.ed-service-detail:hover { border-color: var(--border-accent); }
.ed-service-detail img { width: 100%; height: 100%; object-fit: cover; }
.ed-service-detail-body { padding: 1.5rem 1.5rem 1.5rem 0; }
.ed-service-detail-body h3 { margin-bottom: 0.5rem; }

/* Timeline */
.ed-timeline { position: relative; padding-left: 2.5rem; margin-bottom: 2.5rem; }
.ed-timeline::before {
  content: ''; position: absolute; left: 0.75rem; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.ed-timeline-step {
  position: relative; margin-bottom: 2rem; padding-bottom: 0;
}
.ed-timeline-step:last-child { margin-bottom: 0; }
.ed-timeline-num {
  position: absolute; left: -2.5rem; top: 0;
  width: 1.5rem; height: 1.5rem;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ed-timeline-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }

/* Forms */
.ed-form { max-width: 100%; }
.ed-form-group { margin-bottom: 1rem; }
.ed-form-group label {
  display: block; font-size: 0.8rem; font-weight: 500;
  color: var(--text-dim); margin-bottom: 0.35rem;
}
.ed-form-group .required { color: var(--red); }
.ed-form-group input, .ed-form-group textarea, .ed-form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.ed-form-group input:focus, .ed-form-group textarea:focus, .ed-form-group select:focus {
  outline: none; border-color: var(--accent);
}
.ed-form-group textarea { resize: vertical; }
.ed-form-submit {
  padding: 0.75rem 2rem;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}
.ed-form-submit:hover { background: var(--accent-dark); }

/* CTA Banner */
.ed-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.ed-cta-banner h2 { margin-bottom: 0.5rem; }
.ed-cta-banner p { color: var(--text-dim); margin-bottom: 1.25rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.ed-cta-banner a {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.ed-cta-banner a:hover { background: var(--accent-dark); }

/* Package cards (advertise) */
.ed-package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.ed-package:hover { border-color: var(--border-accent); }
.ed-package h3 { margin-bottom: 0.5rem; }
.ed-package .ed-price {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1rem;
}
.ed-package .ed-price span { font-size: 0.9rem; color: var(--text-faint); }
.ed-package ul {
  list-style: none; padding: 0;
}
.ed-package li {
  font-size: 0.85rem; color: var(--text-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.2rem;
  position: relative;
}
.ed-package li:last-child { border-bottom: none; }
.ed-package li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--accent); font-size: 0.75rem;
}

/* Contact info cards */
.ed-info-card {
  display: flex; gap: 1rem; align-items: start;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ed-info-card .ed-icon { font-size: 1.5rem; flex-shrink: 0; }
.ed-info-card h4 { font-size: 0.8rem; margin-bottom: 0.25rem; }
.ed-info-card p { font-size: 0.85rem; color: var(--text-dim); margin: 0; }

/* Materials list */
.ed-materials-list { list-style: none; padding: 0; }
.ed-materials-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 1.2rem;
  position: relative;
}
.ed-materials-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transform: translateY(-50%);
}

@media (max-width: 768px) {
  .ed-two-col { grid-template-columns: 1fr; }
  .ed-grid-2, .ed-grid-3, .ed-grid-4 { grid-template-columns: 1fr; }
  .ed-service-detail { grid-template-columns: 1fr; }
  .ed-service-detail img { aspect-ratio: 16/9; }
  .ed-service-detail-body { padding: 1.25rem; }
  .ed-page-hero-content { padding: 1.5rem; }
}

/* ── Footer ──────────────────────────────────── */
.ed-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.ed-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.ed-footer-brand p { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.5rem; line-height: 1.5; }
.ed-footer h4 { font-size: 0.75rem; margin-bottom: 0.75rem; }
.ed-footer ul { list-style: none; }
.ed-footer li { margin-bottom: 0.4rem; }
.ed-footer li a { font-size: 0.85rem; color: var(--text-dim); transition: color var(--transition); }
.ed-footer li a:hover { color: var(--accent); }
.ed-footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ed-footer-bottom a { color: var(--text-dim); margin-left: 1rem; }
.ed-footer-bottom a:hover { color: var(--accent); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .ed-layout { grid-template-columns: 1fr; }
  .ed-sidebar { position: static; }
}
@media (max-width: 768px) {
  .ed-card-grid { grid-template-columns: 1fr; }
  .ed-list-item { grid-template-columns: 140px 1fr; }
  .ed-hero-content { padding: 1.5rem; }
  .ed-hero h1 { font-size: 1.5rem; }
  .ed-footer-inner { grid-template-columns: 1fr 1fr; }
  .ed-stats { grid-template-columns: repeat(2, 1fr); }
  .ed-nav { display: none; }
  .ed-nav.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem 0; }
  .ed-nav.open a { line-height: 2.5; padding: 0 1.5rem; }
  .ed-nav-toggle { display: block; }
}
@media (max-width: 480px) {
  .ed-list-item { grid-template-columns: 1fr; }
  .ed-list-item img { aspect-ratio: 16/9; }
  .ed-footer-inner { grid-template-columns: 1fr; }
  .ed-hero-excerpt { display: none; }
}
