/* Bilingual Blog Styles */

/* Title styling */
.article-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-chinese {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.title-english {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.85;
}

/* Bilingual heading styling */
.bilingual-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.bilingual-heading .text-zh {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bilingual-heading .text-en {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.8;
}

/* Bilingual paragraph styling */
.bilingual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bilingual .text-zh {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
}

.bilingual .text-en {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.85;
  padding-left: 1rem;
  border-left: 3px solid rgba(147, 51, 234, 0.3);
}

/* Lead text bilingual */
.lead-text.bilingual {
  gap: 1rem;
}

.lead-text.bilingual .text-zh {
  font-size: 1.35rem;
  line-height: 1.7;
  font-weight: 500;
}

.lead-text.bilingual .text-en {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
  padding-left: 1.25rem;
  border-left: 4px solid rgba(147, 51, 234, 0.4);
}

/* Dark theme adjustments */
[data-theme="dark"] .title-english,
[data-theme="dark"] .bilingual-heading .text-en,
[data-theme="dark"] .bilingual .text-en {
  color: #cbd5e1;
  opacity: 0.75;
}

[data-theme="dark"] .bilingual .text-en {
  border-left-color: rgba(168, 85, 247, 0.4);
}

[data-theme="dark"] .lead-text.bilingual .text-en {
  border-left-color: rgba(168, 85, 247, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .title-chinese {
    font-size: 2rem;
  }

  .title-english {
    font-size: 1.5rem;
  }

  .bilingual-heading .text-zh {
    font-size: 1.5rem;
  }

  .bilingual-heading .text-en {
    font-size: 1.1rem;
  }

  .bilingual .text-zh {
    font-size: 1.05rem;
  }

  .bilingual .text-en {
    font-size: 0.95rem;
    padding-left: 0.75rem;
    border-left-width: 2px;
  }

  .lead-text.bilingual .text-zh {
    font-size: 1.2rem;
  }

  .lead-text.bilingual .text-en {
    font-size: 1.05rem;
    padding-left: 1rem;
    border-left-width: 3px;
  }
}

/* Print styles */
@media print {
  .bilingual .text-en {
    border-left-color: #999;
    opacity: 1;
  }
}