/* VERDANTIS Impact Capital — Custom Styles */
:root {
  --v-navy: #1B2A4A;
  --v-gold: #C5A55A;
  --v-white: #FFFFFF;
  --v-light-blue: #E8F0FE;
  --v-green: #2D6A4F;
  --v-light-gray: #F8F9FA;
  --v-dark-gray: #374151;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--v-light-gray);
  color: var(--v-dark-gray);
}

[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; }
:lang(zh) body, :lang(zh) { font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif; }

/* Article Cards */
.article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(27, 42, 74, 0.15);
}

/* Category Colors */
.cat-conferences { background-color: #DBEAFE; color: #1E40AF; }
.cat-eu-regulation { background-color: #EDE9FE; color: #6D28D9; }
.cat-carbon-markets { background-color: #D1FAE5; color: #065F46; }
.cat-climate-science { background-color: #CCFBF1; color: #0F766E; }
.cat-investment-esg { background-color: #FEF3C7; color: #92400E; }

/* Active Filter */
.filter-active {
  background-color: var(--v-navy) !important;
  color: var(--v-white) !important;
}

/* Hero Gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--v-navy) 0%, #243B5E 50%, var(--v-green) 100%);
}
.hero-landing {
  background: linear-gradient(160deg, var(--v-navy) 0%, #1a3a5c 40%, var(--v-green) 80%, #3d8b6a 100%);
}

/* Gold Accent */
.gold-accent { color: var(--v-gold); }
.gold-border { border-color: var(--v-gold); }
.gold-bg { background-color: var(--v-gold); }

/* Article Content Styles */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v-navy);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--v-light-blue);
}
.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--v-navy);
  margin: 1.5rem 0 0.75rem;
}
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #4B5563;
}
.article-content ul, .article-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #4B5563;
}
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }
.article-content strong { color: var(--v-navy); }
.article-content blockquote {
  border-left: 4px solid var(--v-gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--v-light-blue);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.article-content th {
  background-color: var(--v-navy);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}
.article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.875rem;
}
.article-content tr:hover td { background-color: var(--v-light-blue); }

/* Language Switcher */
.lang-btn {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}
.lang-btn:hover { background-color: rgba(197, 165, 90, 0.2); }
.lang-active {
  background-color: var(--v-gold) !important;
  color: var(--v-navy) !important;
}

/* RTL Adjustments */
[dir="rtl"] .article-content blockquote {
  border-left: none;
  border-right: 4px solid var(--v-gold);
  border-radius: 0.5rem 0 0 0.5rem;
}
[dir="rtl"] .article-content ul, [dir="rtl"] .article-content ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

/* Share Buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.share-linkedin { background-color: #0A66C2; color: white; }
.share-linkedin:hover { background-color: #004182; }
.share-x { background-color: #000; color: white; }
.share-x:hover { background-color: #333; }

/* Image Placeholders */
.img-conferences { background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%); }
.img-eu-regulation { background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%); }
.img-carbon-markets { background: linear-gradient(135deg, #065F46 0%, #10B981 100%); }
.img-climate-science { background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%); }
.img-investment-esg { background: linear-gradient(135deg, #92400E 0%, #F59E0B 100%); }

/* Scroll Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease-out forwards; }

/* Print */
@media print {
  header, footer, .no-print { display: none !important; }
  .article-content { max-width: 100%; }
}
