/* ============================================
   ARKIVE.SU — Knowledge Ark Initiative
   Corporate Precision
   ============================================ */

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Onest:wght@400;500;600;700&display=swap');

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

:root {
  /* Pristine Light Theme */
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  /* Text */
  --text-primary: #1A1D20;
  --text-secondary: #4A5056;
  --text-muted: #80878E;
  
  /* Accents — unified single orange */
  --accent-gold: #F05A28; /* Unified: same as action orange */
  --accent-blue: #0A58CA;
  --accent-action: #F05A28;
  --accent-action-hover: #E04815;
  
  /* Borders & Shadows */
  --border-color: #E9ECEF;
  --border-light: #F1F3F5;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-serif: 'Onest', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 80px; /* Crucial: Prevents fixed header from overlapping content */
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-action);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

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

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1rem auto 0;
}

/* --- Background Elements --- */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 800px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: -1;
}

body > * {
  position: relative;
  z-index: 1;
}

#site-header {
  position: relative;
  z-index: 1000;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

.header.scrolled {
  padding: 0.6rem 0;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Bring links closer to logo naturally */
  gap: 3rem; /* Elegant spacing without being huge */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px; /* Reduced fixed height to avoid overlap with centered text */
  width: auto;
  max-width: 220px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-action);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-action);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Social Links (header) --- */
.social-links {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.social-links a {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--accent-action);
}

/* --- Language Switcher --- */
.lang-switcher {
  margin-left: auto;
  margin-right: 1.5rem;
}

.lang-select {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1.5rem 0.4rem 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1D20' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  transition: all var(--transition);
}

.lang-select:hover, .lang-select:focus {
  border-color: var(--text-primary);
  outline: none;
}

.lang-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto; /* Always push toggle to far right on mobile */
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: calc(100vh - 80px); /* Adjust for body padding */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 4rem 2rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero h1 .gold {
  color: var(--accent-action); /* Make the main highlight energetic orange instead of gold */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent-action);
  background: linear-gradient(135deg, var(--accent-action) 0%, #D44E20 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(240, 90, 40, 0.3);
}

.btn-primary:hover {
  background: var(--accent-action-hover);
  background: linear-gradient(135deg, var(--accent-action-hover) 0%, #BA441A 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 90, 40, 0.4);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .btn-group {
    justify-content: center;
  }
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: none;
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* --- Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* --- Stats Bar --- */
.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* --- Pillars Section --- */
.pillars .card {
  text-align: center;
}

.pillars .card h3 {
  color: var(--accent-gold);
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1rem;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-action);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(240, 90, 40, 0.2);
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
}

/* --- Technology Cards --- */
.tech-card {
  background: var(--bg-card);
  border: none;
  border-radius: 12px;
  padding: 2.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-card h3 {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.tech-card .tech-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.tech-specs {
  list-style: none;
  padding: 0;
}

.tech-specs li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tech-specs li::before {
  content: '\2022';
  color: var(--accent-gold);
  font-weight: bold;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-action);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- Newsletter --- */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form .form-input {
  flex: 1;
}

/* --- Form Status Messages --- */
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #6ee7a0;
}

.form-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* --- Button Spinner --- */
.btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(9, 10, 15, 0.3);
  border-top-color: #090A0F;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button[type="submit"]:disabled {
  opacity: 0.8;
  cursor: wait;
}

/* --- Footer --- */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

.footer-about p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 4rem 0 3rem; /* Adjusted for body top padding */
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-primary) 100%);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- News Grid & Cards ("Плитка") --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.news-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240, 90, 40, 0.3);
}

.news-card-image-wrap {
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
}

.news-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.news-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color var(--transition);
}

.news-card:hover .news-card-title {
  color: var(--accent-action);
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

.no-news-msg {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  grid-column: 1 / -1;
}

/* --- Article Page --- */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.article-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-content h2 {
  margin-top: 2.5rem;
}

.article-content h3 {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-action);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: #FFFFFF;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
  font-style: italic;
}

.article-content blockquote p {
  color: var(--text-primary);
}

/* --- Network Members --- */
.member-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(212, 168, 83, 0.08);
}

.member-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.card-badge {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav hamburger triggers earlier for long-text languages (RU) */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #FFFFFF;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 999;
  }

  .nav-links img {
    filter: invert(1);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.25rem;
  }

  .nav-logo img {
    height: 48px;
    max-width: 180px;
  }
}

/* Layout breakpoint stays at 768px */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 3.5rem 0; }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .stats {
    gap: 2rem;
  }

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

  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .article-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .card, .tech-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .nav { padding: 0 1.25rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* --- Right-to-Left (RTL) Support for Arabic --- */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .lang-switcher {
  margin-left: 1.5rem;
  margin-right: auto;
}

html[dir="rtl"] .nav-toggle {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .lang-select {
  padding: 0.4rem 0.8rem 0.4rem 1.5rem;
  background-position: left 0.5rem center;
}

html[dir="rtl"] .btn-primary {
  box-shadow: 0 4px 14px rgba(229, 169, 61, 0.15); /* Keep shadow same */
}

html[dir="rtl"] .article-content ul,
html[dir="rtl"] .article-content ol {
  margin: 1rem 1.5rem 1rem 0;
}

html[dir="rtl"] .article-content blockquote {
  border-left: none;
  border-right: 3px solid var(--accent-gold);
}
