/* ============================================
   annu-forums.fr - Modern Static Site CSS
   Design inspired by e-dialog.fr
   Clean editorial style, mobile-first
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #1a2e1a;
  --color-secondary: #2a4a2a;
  --color-accent: #e6a817;
  --color-accent-hover: #f0be3d;
  --color-gold: #d4b574;
  --color-gold-light: #faf3e0;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8f4;
  --color-bg-dark: #1a2e1a;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-muted: #999999;
  --color-border: #e8e4df;
  --color-white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --max-width-article: 820px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul, ol { padding-left: 1.5em; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin: 2rem 0 0.8rem; }
h4 { font-size: 1.15rem; margin: 1.5rem 0 0.6rem; }
p { margin-bottom: 1.2em; }

/* --- Header --- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.97);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--color-accent); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--color-accent); background: var(--color-bg-alt); }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero h1 { color: var(--color-white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.hero-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.hero-cta:hover { background: var(--color-accent-hover); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Article Hero (for article pages) --- */
.article-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 3rem 1.5rem 2.5rem;
}
.article-hero .breadcrumb,
.article-hero h1,
.article-hero .article-meta,
.article-hero .article-summary {
  max-width: var(--max-width-article);
  margin-left: auto;
  margin-right: auto;
}
.article-hero-inner {
  max-width: var(--max-width-article);
  margin: 0 auto;
}
.article-hero .breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.article-hero .breadcrumb a { color: var(--color-gold-light); }
.article-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.article-meta i { margin-right: 0.3rem; }
.article-summary {
  background: rgba(255,255,255,0.1);
  border-left: 4px solid var(--color-gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- TOC (Table of Contents) --- */
.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.toc-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}
.toc ol { counter-reset: toc; list-style: none; padding: 0; }
.toc li { counter-increment: toc; margin-bottom: 0.4rem; }
.toc li::before {
  content: counter(toc) ".";
  font-weight: 600;
  color: var(--color-accent);
  margin-right: 0.5rem;
  font-size: 0.9rem;
}
.toc a { color: var(--color-text); font-size: 0.95rem; }
.toc a:hover { color: var(--color-accent); }

/* --- Article Content --- */
.article-container {
  max-width: var(--max-width-article);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.article-content h2 {
  padding-top: 1rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
}
.article-content h3 { color: var(--color-secondary); }
.article-content blockquote {
  border-left: 4px solid var(--color-gold);
  background: var(--color-bg-alt);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-light);
}
.article-content ul, .article-content ol { margin-bottom: 1.5em; }
.article-content li { margin-bottom: 0.5em; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.article-content table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
}
.article-content table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.article-content table tr:nth-child(even) { background: var(--color-bg-alt); }
.article-content table tr:hover { background: var(--color-gold-light); }

/* Article images */
.article-content figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-content figure img {
  width: 100%;
  border-radius: var(--radius);
}
.article-content figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  text-align: center;
  font-style: italic;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0 2rem;
}
.faq-section h2 { border: none; padding: 0; margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 0.8rem;
}

/* --- Cards Grid (Homepage) --- */
.cards-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.cards-section h2 { text-align: center; margin-bottom: 2rem; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body { padding: 1.2rem 1.5rem; }
.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
$RELATED_CSS

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2.5rem 1.5rem;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
}
.stat-label { font-size: 0.9rem; opacity: 0.8; margin-top: 0.3rem; }

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; opacity: 0.7; margin-top: 0.5rem; }
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* --- Internal Links Box --- */
.internal-links {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.internal-links h3 { margin-top: 0; font-size: 1.1rem; }
.internal-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.internal-links li a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.internal-links li a:hover { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner { height: 56px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 0.8rem 1rem; width: 100%; }

  .hero { min-height: 320px; }
  .hero h1 { font-size: 1.8rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 2rem; }
  .stat-number { font-size: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  .article-meta { flex-direction: column; gap: 0.5rem; }
  .article-content table { font-size: 0.85rem; }
  .article-content table th, .article-content table td { padding: 0.5rem 0.6rem; }

  .toc { padding: 1rem 1.2rem; }
}

@media (max-width: 480px) {
  .article-container { padding: 1.5rem 1rem 3rem; }
  .faq-section { padding: 1.5rem 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- Structured Data / Schema visual hint --- */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Logo variants --- */
.logo, .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo-text { color: var(--color-primary); }
.logo-dot, .logo span, .footer-logo span { color: var(--color-accent); }

/* Nav toggle (hamburger) */
.nav-toggle, .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0.5rem;
  z-index: 100;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
  transition: all var(--transition);
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Nav list */
.nav-list { display: flex; list-style: none; padding: 0; margin: 0; gap: 0; align-items: center; }
.nav-link {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--color-accent); background: var(--color-bg-alt); }
.nav-link--cta { color: var(--color-accent); font-weight: 600; }

/* Hero background as div with bg-image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,46,26,0.6), rgba(26,46,26,0.9));
  z-index: 1;
}
.hero-title { color: var(--color-white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; transition: all var(--transition); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
}
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Section headers */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-title { margin-top: 0.5rem; }
.section-subtitle { color: var(--color-text-light); font-size: 1.05rem; max-width: 600px; margin: 0.5rem auto 0; }
.articles-section { padding: 4rem 0; }

/* Card image overlay */
.card-image-link { position: relative; display: block; overflow: hidden; }
.card-image, .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}
.card:hover .card-image, .card:hover .card-img { transform: scale(1.05); }
.card-image-link .card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  z-index: 2;
}
.card-title a { color: var(--color-primary); text-decoration: none; }
.card-title a:hover { color: var(--color-accent); }

/* Stats divider */
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

/* Footer grid alias */
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-col { min-width: 0; }
.footer-description { font-size: 0.9rem; line-height: 1.6; opacity: 0.7; margin-top: 0.5rem; }
.footer-social { margin-top: 1rem; }
.footer-social a { color: rgba(255,255,255,0.6); font-size: 1.2rem; margin-right: 0.8rem; }
.footer-social a:hover { color: var(--color-gold); }
.footer-bottom-inner { max-width: var(--max-width); margin: 0 auto; }

/* Breadcrumb in article hero */
.breadcrumb { font-size: 0.85rem; opacity: 0.7; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--color-gold-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb span { margin: 0 0.4rem; }

/* Article content img standalone */
.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

/* Responsive additions for agent classes */
@media (max-width: 768px) {
  .nav-toggle, .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .main-nav.active { display: block; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; padding: 0.8rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-bg { background-position: center; }
}

/* Table responsive wrapper */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive table { min-width: 500px; }

/* --- Print Styles --- */
@media print {
  .site-header, .site-footer, .toc, .faq-section, .internal-links { display: none; }
  .article-container { max-width: 100%; padding: 0; }
  body { font-size: 12pt; line-height: 1.5; }
}

/* --- Related Articles (bottom of article pages) --- */
.related-articles {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}
.related-articles h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.related-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card a { text-decoration: none; color: inherit; display: block; }
.related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.related-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.8rem 1rem 0.3rem;
  line-height: 1.35;
  margin: 0;
}
.related-card time {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  padding: 0 1rem 0.8rem;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* === LEGACY CLASS COMPATIBILITY === */
.category-hero { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); color: #fff; padding: 2rem 1.5rem 2.5rem; }
.category-hero-inner { max-width: var(--max-width-article); margin: 0 auto; }
.category-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.8rem; }
.category-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.7; }
.category-content { max-width: var(--max-width); margin: 0 auto; padding: 2.5rem 1.5rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.article-card { background: var(--color-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); border: 1px solid var(--color-border); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card-image-link { display: block; overflow: hidden; }
.article-card-image-link img { width: 100%; height: 200px; object-fit: cover; transition: transform var(--transition); }
.article-card:hover .article-card-image-link img { transform: scale(1.05); }
.article-card-body { padding: 1.2rem 1.5rem; }
.article-card-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); font-weight: 600; display: block; margin-bottom: 0.4rem; }
.article-card-body h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; line-height: 1.35; }
.article-card-body h3 a { color: var(--color-primary); text-decoration: none; }
.article-card-body h3 a:hover { color: var(--color-accent); }
.article-card-body p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.5; margin-bottom: 0.5rem; }
.article-card-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--color-text-muted); }
.article-card-meta i { margin-right: 0.2rem; }
.ai-summary-box, .expert-box, .practical-box { padding: 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; }
.ai-summary-box { background: linear-gradient(135deg, #f0f7ff, #e8f4fd); border-left: 4px solid var(--color-accent); }
.expert-box { background: linear-gradient(135deg, #fdf8f0, #faf3e8); border-left: 4px solid var(--color-gold); }
.practical-box { background: linear-gradient(135deg, #f0faf0, #e8f5e8); border-left: 4px solid #27ae60; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.comparison-table th { background: var(--color-primary); color: #fff; padding: 0.8rem; }
.comparison-table td { padding: 0.7rem; border-bottom: 1px solid var(--color-border); }
.comparison-table tr:nth-child(even) { background: var(--color-bg-alt); }
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
