/* Light Modern Tech-Academic Biography Design System */
:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Color Palette - Clean Light Academic Theme */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --border-color: #e2e8f0;
  --border-highlight: #0284c7;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-primary: #0284c7; /* Tech Academic Sky Blue */
  --accent-navy: #1e3a8a;    /* Academic Deep Navy */
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
  --accent-glow: rgba(2, 132, 199, 0.08);

  --tag-bg: #e0f2fe;
  --tag-text: #0369a1;
  --type-tag-bg: #e0e7ff;
  --type-tag-text: #4338ca;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-navy);
}

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

a:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* App Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand i {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-primary);
  background: var(--tag-bg);
  text-decoration: none;
}

/* Layout Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Hero / Header Card */
.hero-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-gradient);
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid var(--accent-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-navy);
  font-size: 3.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 14px;
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}

.avatar-subtitle {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-content h1 {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
  color: var(--accent-navy);
}

.hero-title-sub {
  font-size: 1.15rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-affiliation {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-bio {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--tag-bg);
  border-color: var(--accent-primary);
  color: var(--tag-text);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Section Header */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.6rem;
  color: var(--accent-navy);
}

.section-title i {
  color: var(--accent-primary);
}

/* Tech Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

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

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 1.75rem;
  padding-bottom: 1.5rem;
  border-left: 2px solid #cbd5e1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--accent-primary);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-size: 1.05rem;
  color: var(--accent-navy);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Publications list */
.publication-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.pub-card-body {
  flex: 1;
}

.pub-logo {
  max-width: 180px;
  max-height: 105px;
  object-fit: contain;
  flex-shrink: 0;
}

.publication-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.pub-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.pub-year {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.pub-type {
  background: var(--type-tag-bg);
  color: var(--type-tag-text);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.pub-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent-navy);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.pub-authors {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.pub-authors strong {
  color: var(--accent-navy);
  text-decoration: underline;
  text-decoration-color: var(--accent-primary);
}

.pub-venue {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.pub-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.6rem;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: #f0f4f8;
  border: 1px solid #d0dbe5;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-sm:hover {
  background: #e2eaf2;
  border-color: #0284c7;
  color: #0284c7;
  text-decoration: none;
}

.btn-primary-sm {
  background: #e0f2fe;
  border: 1px solid #38bdf8;
  color: #0284c7;
  font-weight: 600;
}

.btn-primary-sm:hover {
  background: #bae6fd;
  border-color: #0284c7;
  color: #0369a1;
}

.ref-card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ref-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  flex-shrink: 0;
}

/* Modal for BibTeX */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 650px;
  width: 90%;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

pre.bibtex-code {
  background: #0f172a;
  padding: 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38bdf8;
  overflow-x: auto;
  margin-bottom: 1rem;
}

/* Skills Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.88rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tag i {
  color: var(--accent-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 4rem;
  background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .avatar-placeholder {
    max-width: 180px;
    margin: 0 auto;
  }
  .nav-links {
    display: none;
  }
  .social-links {
    justify-content: center;
  }
}


/* News and Academic Impact */
.news-grid,
.impact-section {
  margin-bottom: 3rem;
}

.impact-group {
  margin-bottom: 1.25rem;
}

.impact-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-navy);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.impact-group-title i {
  color: var(--accent-primary);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-primary);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.news-meta {
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.impact-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-primary);
  border-radius: 12px;
  padding: 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.impact-card--defended {
  border-top-color: #16a34a;
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
}

.impact-card--defended .impact-icon,
.impact-card--defended .impact-value {
  color: #15803d;
}

.impact-card--submitted {
  border-top-color: #f59e0b;
  background: linear-gradient(145deg, #ffffff, #fffbeb);
}

.impact-card--submitted .impact-icon,
.impact-card--submitted .impact-value {
  color: #b45309;
}

.impact-card--ongoing {
  border-top-color: #2563eb;
  background: linear-gradient(145deg, #ffffff, #eff6ff);
}

.impact-card--ongoing .impact-icon,
.impact-card--ongoing .impact-value {
  color: #1d4ed8;
}

.impact-icon {
  color: var(--accent-primary);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.impact-value {
  color: var(--accent-navy);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.impact-label {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 0.35rem;
}

.impact-live {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.chart-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
  padding: 1.25rem;
}

.publication-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 0.75rem;
  min-height: 210px;
  padding-top: 1rem;
}

.chart-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-width: 38px;
}

.chart-count {
  color: var(--accent-navy);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.chart-bar {
  width: min(52px, 80%);
  min-height: 12px;
  background: linear-gradient(180deg, var(--accent-primary), #38bdf8);
  border-radius: 7px 7px 2px 2px;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.18);
}

.chart-year {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .news-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .publication-chart {
    gap: 0.25rem;
  }

  .chart-year {
    font-size: 0.7rem;
  }
}


/* International collaboration */
.collaboration-section {
  margin-bottom: 3rem;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.collaboration-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 1.25rem;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-primary);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.collaboration-country {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-navy);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.country-flag {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.14));
}

.institution-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.65rem;
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.institution-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.institution-logos img {
  width: auto;
  max-width: 115px;
  height: 52px;
  object-fit: contain;
}

.collaboration-card h3 {
  color: var(--accent-navy);
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.55rem;
}

.collaboration-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .collaboration-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-card {
    min-height: auto;
  }
}


/* Mobile responsiveness refinement */
img,
svg,
video,
canvas {
  max-width: 100%;
}

.card,
.news-card,
.collaboration-card,
.publication-card,
.timeline-item,
.hero-content,
.pub-card-body {
  min-width: 0;
}

.pub-title,
.pub-authors,
.pub-venue,
.timeline-title,
.timeline-subtitle,
.hero-bio,
.collaboration-card h3,
.collaboration-card p {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 8.5rem;
  }

  .navbar {
    padding: 0.65rem 0 0;
  }

  .nav-container {
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .nav-brand {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding-bottom: 0.1rem;
  }

  .nav-links {
    display: flex;
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    padding: 0 1rem 0.65rem;
    gap: 0.35rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: inline proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.45rem 0.7rem;
    white-space: nowrap;
    font-size: 0.86rem;
  }

  .container {
    padding: 1.25rem 1rem;
  }

  .hero-section {
    gap: 1.35rem;
    padding: 1.35rem 1rem;
    margin-bottom: 2rem;
    border-radius: 12px;
  }

  .profile-avatar-wrapper,
  .avatar-placeholder,
  .profile-photo {
    width: min(180px, 62vw);
    margin-inline: auto;
  }

  .hero-content h1 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.2;
  }

  .hero-title-sub {
    font-size: 1rem;
  }

  .hero-affiliation {
    align-items: center;
  }

  .hero-bio {
    font-size: 0.96rem;
    line-height: 1.65;
    text-align: start;
  }

  .section-container,
  .news-grid,
  .collaboration-section {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.3rem;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .grid-2,
  .news-grid,
  .collaboration-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .card,
  .news-card,
  .collaboration-card {
    padding: 1rem;
  }

  .publication-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.85rem;
  }

  .pub-logo {
    order: -1;
    width: auto;
    max-width: min(170px, 65%);
    max-height: 80px;
    margin-inline: auto;
  }

  .pub-header,
  .pub-actions,
  .social-links {
    flex-wrap: wrap;
  }

  .pub-actions .btn-sm,
  .social-btn {
    min-height: 42px;
  }

  .institution-logos {
    flex-wrap: wrap;
    min-height: 64px;
  }

  .institution-logos img {
    max-width: min(105px, 38vw);
    height: 46px;
  }

  .timeline-item {
    padding-bottom: 1.15rem;
  }

  .ref-card-content {
    align-items: flex-start;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-box {
    width: 100%;
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    padding: 1rem;
  }

  pre.bibtex-code {
    font-size: 0.75rem;
  }

  footer {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 0.75rem;
  }

  .hero-section,
  .card,
  .news-card,
  .collaboration-card,
  .publication-card {
    border-radius: 10px;
  }

  .hero-section {
    padding-inline: 0.85rem;
  }

  .social-btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }

  .pub-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pub-actions .btn-sm {
    justify-content: center;
    width: 100%;
  }

  .ref-card-content {
    flex-direction: column;
  }

  .ref-logo {
    width: 48px;
    height: 48px;
  }
}

/* Keep RTL mobile navigation and mixed-direction academic text stable. */
html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .hero-bio,
html[dir="rtl"] .collaboration-card,
html[dir="rtl"] .news-card {
  text-align: right;
}
