*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1e3a5f;
  --navy-dark: #152a47;
  --navy-light: #2d5a8a;
  --orange: #e88c30;
  --orange-light: #f0a050;
  --bg-dark: #0c1524;
  --bg-card: #132039;
  --bg-card-hover: #1a2d4f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e3352;
  --gold: #f4bc28;
  --pink: #eb5e7e;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 21, 36, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: none;
}
.nav-logo .nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}
.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.nav-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--orange); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light)) !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(244, 188, 40, 0.3);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { border-color: rgba(244, 188, 40, 0.6); transform: translateY(-1px); text-decoration: none !important; }

/* ══════════════════════════════════════════════════════════════
   HERO (Blog-Übersicht)
   ══════════════════════════════════════════════════════════════ */

.hero {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(244, 188, 40, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(235, 94, 126, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(45, 90, 138, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #0e1b30 0%, var(--navy-dark) 40%, var(--bg-dark) 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 188, 40, 0.08);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(244, 188, 40, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(148, 163, 184, 0.02) 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 188, 40, 0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 188, 40, 0.08);
  border: 1px solid rgba(244, 188, 40, 0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 4s ease-in-out infinite;
}
@keyframes textShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #0c1524;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(244, 188, 40, 0.25);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 188, 40, 0.35);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════
   CONTAINERS
   ══════════════════════════════════════════════════════════════ */

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

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   FEATURED ARTICLE (Blog-Übersicht)
   ══════════════════════════════════════════════════════════════ */

.featured-section {
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}
.featured-card:hover {
  border-color: rgba(244, 188, 40, 0.3);
  transform: translateY(-2px);
}
.featured-image {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.featured-image .image-placeholder {
  width: 80%;
  height: 60%;
  background: linear-gradient(135deg, rgba(244, 188, 40, 0.1), rgba(235, 94, 126, 0.1));
  border-radius: 12px;
  border: 1px dashed rgba(244, 188, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body .category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.featured-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.featured-body h2 a:hover { color: var(--orange-light); }
.featured-body .excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-body .meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.featured-body .meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* ══════════════════════════════════════════════════════════════
   ARTICLE GRID (Blog-Übersicht)
   ══════════════════════════════════════════════════════════════ */

.articles-section {
  padding: 2rem 0 4rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}
.article-card:hover {
  border-color: rgba(244, 188, 40, 0.3);
  transform: translateY(-3px);
}
.article-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.article-thumb .thumb-placeholder {
  width: 70%;
  height: 55%;
  background: linear-gradient(135deg, rgba(244, 188, 40, 0.08), rgba(235, 94, 126, 0.08));
  border-radius: 8px;
  border: 1px dashed rgba(244, 188, 40, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.article-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.article-card-body .category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.article-card-body h3 a:hover { color: var(--orange-light); }
.article-card-body .excerpt {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-body .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.article-card-body .meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════ */

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE HEADER (Einzelartikel)
   ══════════════════════════════════════════════════════════════ */

.article-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }

.category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(232, 140, 48, 0.1);
  border: 1px solid rgba(232, 140, 48, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; display: inline-block; }

/* ══════════════════════════════════════════════════════════════
   ARTICLE BODY (Einzelartikel)
   ══════════════════════════════════════════════════════════════ */

.article-body {
  padding-bottom: 3rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.article-body a { color: var(--orange); }
.article-body a:hover { text-decoration: underline; }

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-secondary);
}
.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

/* ══════════════════════════════════════════════════════════════
   KOMPONENTEN
   ══════════════════════════════════════════════════════════════ */

/* HIGHLIGHT-BOX */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box .highlight-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.highlight-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* STAT-CALLOUT */
.stat-callout {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border: 1px solid rgba(244, 188, 40, 0.15);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  text-align: center;
}
.stat-callout .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}
.stat-callout .stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.stat-callout .stat-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* STEP-LIST */
.step-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  counter-reset: step-counter;
}
.step-list li {
  counter-increment: step-counter;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.step-list li::before {
  content: counter(step-counter);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 1px solid rgba(244, 188, 40, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}
.step-list li .step-content {}
.step-list li .step-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.step-list li .step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CTA-BOX */
.cta-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border: 1px solid rgba(244, 188, 40, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-box .cta-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  object-fit: contain;
}
.cta-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.cta-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.cta-button:hover { transform: translateY(-2px); text-decoration: none; }

/* STEPS (div-based alternative to step-list) */
.steps {
  margin: 1.5rem 0;
}
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 1px solid rgba(244, 188, 40, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* FEATURED-ICON (Blog-Übersicht) */
.featured-icon {
  font-size: 4rem;
  opacity: 0.8;
}
.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ARTICLE HERO IMAGE */
.article-hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0 0.5rem;
  border: 1px solid var(--border-color);
}
.article-inline-figure {
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}
.article-inline-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
}
.article-inline-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-color);
  line-height: 1.4;
}

/* FAQ QUESTION H3 */
.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}

/* TABLE-WRAPPER */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table-wrapper th {
  background: var(--navy-dark);
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}
.table-wrapper td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.table-wrapper tr:last-child td { border-bottom: none; }
.table-wrapper tr:hover td { background: rgba(30, 58, 95, 0.2); }

/* ══════════════════════════════════════════════════════════════
   FAQ-SEKTION
   ══════════════════════════════════════════════════════════════ */

.faq-section {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 2.5rem;
}
.faq-section h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-item summary:hover { background: rgba(30, 58, 95, 0.3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   RELATED ARTICLES
   ══════════════════════════════════════════════════════════════ */

.related-section {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}
.related-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.3s, transform 0.2s;
  text-decoration: none;
  display: block;
}
.related-card:hover {
  border-color: rgba(244, 188, 40, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}
.related-card .related-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.related-card .related-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.related-card .related-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-trust svg { width: 18px; height: 18px; }
.footer-powered {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-powered a { color: var(--orange); font-weight: 500; }
.footer-powered a:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text-secondary); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* AUDIO PLAYER */
.audio-player {
  margin: 1.5rem 0 2rem;
}
.audio-player-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.875rem 1.25rem;
  transition: border-color 0.3s;
}
.audio-player.is-playing .audio-player-inner {
  border-color: rgba(244, 188, 40, 0.35);
  box-shadow: 0 0 20px rgba(244, 188, 40, 0.08);
}
.audio-player.is-loading .audio-player-inner {
  border-color: rgba(244, 188, 40, 0.2);
}
.audio-player.is-loading .audio-play-btn {
  opacity: 0.7;
  pointer-events: none;
}
.audio-play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.audio-play-btn:hover {
  background: rgba(244, 188, 40, 0.12);
  transform: scale(1.05);
}
.audio-play-btn:active {
  transform: scale(0.95);
}
.audio-info {
  min-width: 0;
  flex-shrink: 0;
}
.audio-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.audio-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.audio-progress-wrap {
  flex: 1;
  min-width: 60px;
  cursor: pointer;
  padding: 6px 0;
}
.audio-progress-bar {
  height: 4px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.audio-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 4px;
  transition: width 0.3s;
}
.audio-controls-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.audio-speed-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.audio-speed-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.audio-stop-btn {
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.audio-stop-btn:hover {
  color: var(--pink);
}

@media (max-width: 600px) {
  .audio-player-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .audio-progress-wrap {
    order: 5;
    width: 100%;
    flex: none;
  }
  .audio-controls-right {
    margin-left: auto;
  }
}

/* READING PROGRESS BAR */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--pink));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(244, 188, 40, 0.5);
}

/* TABLE OF CONTENTS */
.toc {
  background: linear-gradient(135deg, var(--navy-dark), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2.5rem;
}
.toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
}
.toc ol li {
  counter-increment: toc-counter;
  margin-bottom: 0.4rem;
}
.toc ol li a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.25rem 0;
  border-radius: 6px;
  transition: color 0.2s, padding-left 0.2s;
}
.toc ol li a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 1.5rem;
  transition: color 0.2s;
}
.toc ol li a:hover {
  color: var(--gold);
  padding-left: 0.25rem;
}
.toc ol li a:hover::before {
  color: var(--gold);
}
.toc ol li a.toc-active {
  color: var(--text-primary);
  font-weight: 500;
}
.toc ol li a.toc-active::before {
  color: var(--gold);
}

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 220px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 1.65rem; }
  .toc { padding: 1.25rem 1.25rem; }
}

@media (max-width: 600px) {
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero h1 { font-size: 1.75rem; }
  .article-grid { grid-template-columns: 1fr; }
  .nav-links .nav-link-text { display: none; }
  .featured-body { padding: 1.5rem; }
  .featured-body h2 { font-size: 1.3rem; }
}
