/* ============================================
   drwangjian.com — Design System
   Primary: #1E3A5F (Medical Blue)
   Accent:  #E8B830 (Warm Yellow)
   ============================================ */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', Roboto, sans-serif;
  color: #2D3748;
  background: #FAFBFC;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

.section-title {
  font-size: 2rem;
  color: #1E3A5F;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: #718096;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.section-subtitle-link {
  transition: color 0.2s;
  cursor: pointer;
}

.section-subtitle-link:hover {
  color: #1E3A5F;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: #E8B830;
  margin: 0 auto 1.5rem;
}

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

/* --- Language Toggle --- */
.lang-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.lang-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #718096;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: #1E3A5F;
  color: #FFFFFF;
}

.lang-btn:hover:not(.active) {
  color: #1E3A5F;
  background: #F0F0F0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
  padding: 0 1.5rem;
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.nav-brand span {
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  padding-right: 7rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8B830;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

.nav-tag {
  font-size: 0.75rem;
  opacity: 0.65;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1E3A5F 0%, #2B5A8C 50%, #1E3A5F 100%);
  display: flex;
  align-items: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232,184,48,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,184,48,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,184,48,0.15);
  color: #E8B830;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232,184,48,0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero h1.cn {
  letter-spacing: 0.3em;
}

.hero .credentials {
  font-size: 1.3rem;
  color: #E8B830;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero .title-line {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 800px;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Hero Split Cards --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.split-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: #fff;
  display: block;
}

.split-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.13);
  border-color: #E8B830;
}

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

.split-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.split-card h3 .accent {
  color: #E8B830;
}

.split-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.split-card .tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-gold {
  background: #E8B830;
  color: #1E3A5F;
  border: none;
}

.tag-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #E8B830;
  color: #1E3A5F;
}

.btn-primary:hover {
  background: #D4A52B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,184,48,0.3);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: #E8B830;
  color: #E8B830;
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Sections general --- */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: #F7F8FA;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 80px;
}

.about-photo .photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #E8E8E8, #D0D0D0);
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #E8B830;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder {
  color: #9CA3AF;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.about-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #1E3A5F;
  margin-bottom: 0.5rem;
}

.about-text .subtitle {
  color: #E8B830;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #4A5568;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

/* --- Statistics --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1E3A5F;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 0.3rem;
}

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

.expertise-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid #1E3A5F;
  transition: all 0.3s;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.expertise-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.expertise-card h3 {
  font-size: 1.15rem;
  color: #1E3A5F;
  margin-bottom: 0.8rem;
}

.expertise-card p {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1E3A5F;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  background: #E8B830;
  border: 3px solid #1E3A5F;
  border-radius: 50%;
}

.timeline-date {
  font-size: 0.85rem;
  color: #E8B830;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1.05rem;
  color: #1E3A5F;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-org {
  font-size: 0.95rem;
  color: #4A5568;
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
}

/* --- Experience Narrative --- */
.exp-paragraph {
  margin-bottom: 1.2rem;
  line-height: 1.9;
  color: #4A5568;
  font-size: 1rem;
  text-align: justify;
}

/* --- Publications --- */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-item {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.pub-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left-color: #E8B830;
}

.pub-item .pub-authors {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 0.3rem;
}

.pub-item .pub-title {
  font-size: 0.95rem;
  color: #2D3748;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.pub-item .pub-journal {
  font-size: 0.85rem;
  color: #E8B830;
  font-weight: 500;
}

.pub-highlight-tag {
  font-size: 0.75rem;
  color: #E8B830;
  font-weight: 700;
  margin-left: 4px;
}

/* Publications section background box */
#publications {
  position: relative;
}
#publications > .container {
  background: #F7FAFC;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Publications section - compact paper list like /papers page */
#publications .pub-list .pub-item {
  cursor: default;
  border-left: none;
  padding: 0.65rem 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid #EDF2F7;
  border-radius: 0;
}
#publications .pub-list .pub-item:last-child {
  border-bottom: none;
}
#publications .pub-list .pub-item:hover {
  box-shadow: none;
  border-left-color: transparent;
}
#publications .pub-list .pub-title {
  font-weight: normal;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #2D3748;
  margin-bottom: 0;
}

.pub-note {
  font-size: 0.75rem;
  color: #718096;
  margin-left: 4px;
}

.pub-item .pub-year {
  display: inline-block;
  background: #1E3A5F;
  color: #FFFFFF;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.pub-highlight {
  background: linear-gradient(135deg, #FEF9E7, #FFFFFF);
  border-left: 3px solid #E8B830;
}

/* --- Books (Inline in Publications) --- */
.books-inline {
  margin-bottom: 2rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.book-card {
  display: flex;
  gap: 1.5rem;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.book-cover {
  width: 80px;
  height: 110px;
  background: linear-gradient(135deg, #1E3A5F, #2B5A8C);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8B830;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
  overflow: hidden;
}

.book-cover-img {
  background: none;
  padding: 0;
}

.book-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.book-info h4 {
  font-size: 1rem;
  color: #1E3A5F;
  margin-bottom: 0.3rem;
}

.book-info .book-role {
  font-size: 0.85rem;
  color: #E8B830;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.book-info .book-publisher {
  font-size: 0.85rem;
  color: #718096;
}

.book-info .book-year {
  font-size: 0.8rem;
  color: #A0AEC0;
}

/* --- Inline Academic Service --- */
.service-inline {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.service-inline-title {
  color: #1E3A5F;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

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

.service-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-card .dot {
  width: 8px;
  height: 8px;
  background: #E8B830;
  border-radius: 50%;
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.service-card .service-text {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.5;
}

/* --- Patent Block --- */
.patent-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.patent-block h3 {
  color: #1E3A5F;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* --- Knowledgebase Section --- */
.knowledgebase-section {
  background: #F7F8FA;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.kb-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #1E3A5F;
  transition: all 0.3s;
  text-decoration: none;
  color: #2D3748;
  display: block;
}

.kb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  border-left-color: #E8B830;
}

.kb-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.kb-card h3 {
  font-size: 1rem;
  color: #1E3A5F;
  margin-bottom: 0.3rem;
}

.kb-card p {
  font-size: 0.8rem;
  color: #718096;
  line-height: 1.5;
}

/* --- Education Platforms --- */
.edu-platforms {
  margin-top: 2.5rem;
  text-align: center;
}

.edu-platforms-title {
  font-size: 0.95rem;
  color: #718096;
  margin-bottom: 1.2rem;
}

.edu-platform-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 420px;
  margin: 0 auto;
}

.edu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  transition: all 0.25s;
}

.edu-link:hover {
  border-color: #E8B830;
  box-shadow: 0 3px 12px rgba(232,184,48,0.15);
  transform: translateY(-2px);
}

.edu-link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.edu-link-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 0.5rem;
}

.edu-link-text strong {
  font-size: 0.92rem;
  color: #1E3A5F;
  font-weight: 600;
  text-align: left;
}

.edu-link-arrow {
  color: #E8B830;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.edu-link:hover .edu-link-arrow {
  transform: translateX(4px);
}

/* --- Contact --- */
.contact-section {
  background: #FFFFFF;
  color: #2D3748;
  border-top: 1px solid #E2E8F0;
}

.contact-section .section-title {
  color: #1E3A5F;
}

.contact-section .section-subtitle {
  color: #718096;
}

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

.contact-card {
  text-align: center;
  padding: 1.2rem 1rem;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: #E8B830;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-card h4 {
  font-size: 1rem;
  color: #1E3A5F;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.6;
}

.contact-card a {
  color: #1E3A5F;
}

.contact-card a:hover {
  color: #E8B830;
  text-decoration: none;
}

.contact-qr {
  width: 100%;
  max-width: 120px;
  border-radius: 8px;
  margin-top: 0.3rem;
}

.contact-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-link:hover {
  border-color: #E8B830;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-link:hover h4 {
  color: #E8B830;
}

/* --- Footer --- */
.footer {
  background: #132A44;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

.footer .gold {
  color: #E8B830;
}

/* --- Navbar scroll effect --- */
.navbar.scrolled {
  background: rgba(30, 58, 95, 0.98);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .kb-grid {
    grid-template-columns: 1fr 1fr;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .title-line {
    font-size: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero .title-line span {
    display: inline-block;
    white-space: normal;
  }

  .hero .title-line br {
    display: block;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .split-card {
    padding: 1.5rem 1rem;
  }

  .split-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .split-card h3 {
    font-size: 1rem;
  }

  .split-card p {
    font-size: 0.8rem;
  }

/* --- Extra Small Screens (phones < 420px) --- */
@media (max-width: 420px) {
  .split-card {
    padding: 1rem 0.75rem;
  }

  .split-card h3 {
    font-size: 0.9rem;
  }

  .split-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }

  .split-card p {
    font-size: 0.75rem;
  }

  .split-card .tag {
    margin-top: 0.6rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
  }
}

  .lang-toggle {
    top: auto;
    bottom: 1rem;
    right: 1rem;
  }
}
