/* ============================================
   PROFESSIONAL BLUE THEME - COMPLETE
   ============================================ */

:root {
  /* DARK THEME */
  --bg: #0f1419;
  --bg-secondary: #1a1f29;
  --card-bg: #1e2530;
  --card-hover: #252d3d;
  --accent: #00a693;        /* Teal accent */
  --accent-dark: #00827f;   /* Darker teal for hover */
  --accent-light: #33d1ba;  /* Lighter teal for gradients/transitions */
  --text-main: #f0f4f8;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --divider: #2d3748;
  --success: #10b981;
  --shadow: rgba(0, 0, 0, 0.4);
  --shadow-lg: rgba(0, 0, 0, 0.6);
}

/* LIGHT THEME */
:root.light-theme {
  --bg: #e9f5f4;             /* Soft mint-teal background */
  --bg-secondary: #d9efec;    /* Slightly darker section background */
  --card-bg: #f4fcfb;         /* Gentle card tone */
  --card-hover: #e0f7f5;      /* Subtle hover tint */
  --accent: #009688;          /* Primary teal */
  --accent-dark: #00796b;     /* Dark teal for emphasis */
  --accent-light: #4fd1c5;    /* Minty teal highlight */
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --divider: #cbd5e1;
  --success: #059669;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* Smooth color transitions between themes */
* {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Accent usage examples */
a, .highlight {
  color: var(--accent);
  transition: color 0.2s ease;
}

a:hover, .highlight:hover {
  color: var(--accent-light);
}

button, .btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

button:hover, .btn:hover {
  background: var(--accent-dark);
}



/* ============================================
   GLOBAL STYLES
   ============================================ */

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--divider);
  transition: all 0.3s ease;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li a {
  color: var(--text-sub);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent);
}

/* 🔹 Active page */
nav ul li a.active {
  color: var(--accent);
  font-weight: 600;
}

.availability-text {
  margin-top: 20px;
  text-align: center;
  font-size: 1.1em;
  color: var(--text-main);
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

nav ul li a:hover::after {
  width: 100%;
}


.logo {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3em;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--accent-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle-nav {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.theme-toggle-nav:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.theme-toggle-nav i {
  transition: transform 0.3s ease;
}

.theme-toggle-nav .fa-sun {
  display: none;
}

.theme-toggle-nav .fa-moon {
  display: block;
}

:root.light-theme .theme-toggle-nav .fa-sun {
  display: block;
}

:root.light-theme .theme-toggle-nav .fa-moon {
  display: none;
}

.theme-toggle-nav.rotating {
  animation: spin 0.5s ease;
}

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

/* ============================================
   PAGE SECTIONS
   ============================================ */

.page-section {
  padding: 40px 20px;
  min-height: calc(100vh - 120px);
}

.page-container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================
   SIDEBAR HEADER (LEFT SIDE)
   ============================================ */

.page-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 12px;
  color: white;
  font-size: 2em;
  box-shadow: 0 4px 12px var(--shadow);
}

.page-title {
  font-size: 2.5em;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1em;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

.page-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 8px 0;
}

/* ============================================
   CONTENT AREA (RIGHT SIDE)
   ============================================ */

.page-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ============================================
   CONTENT CARDS
   ============================================ */

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px 32px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.content-card:hover {
  box-shadow: 0 4px 16px var(--shadow-lg);
  border-color: var(--accent);
  transform: translateX(4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}

.card-title-section {
  flex: 1;
}

.card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 1em;
  color: var(--accent);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.card-subtitle i {
  font-size: 0.9em;
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.current {
  background: var(--success);
  color: white;
}

.badge.completed {
  background: var(--accent);
  color: white;
}

.badge.duration {
  background: var(--bg-secondary);
  color: var(--text-sub);
  border: 1px solid var(--divider);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
  font-size: 0.9em;
}

.meta-item i {
  color: var(--accent);
  font-size: 1em;
  width: 16px;
}

.card-description {
  color: var(--text-sub);
  line-height: 1.7;
  font-size: 0.95em;
  margin: 0 0 16px 0;
}

.highlight-box {
  padding: 16px;
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin-top: 16px;
}

.highlight-box h4 {
  font-size: 0.9em;
  color: var(--accent);
  margin: 0 0 8px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-box p,
.highlight-box ul {
  font-size: 0.9em;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

.highlight-box ul {
  padding-left: 20px;
  margin-top: 8px;
}

.highlight-box li {
  margin-bottom: 4px;
}

.achievement-box {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--divider);
  margin-top: 16px;
  align-items: center;
}

.achievement-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3em;
  flex-shrink: 0;
}

.achievement-content h4 {
  font-size: 0.95em;
  color: var(--text-main);
  margin: 0 0 4px 0;
  font-weight: 600;
}

.achievement-content p {
  font-size: 0.9em;
  color: var(--text-sub);
  margin: 0;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 5px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 6px;
  color: var(--text-sub);
  font-size: 0.8em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-1px);
}


/* ============================================
   PROFILE PAGE
   ============================================ */

.about-page {
  padding: 60px 20px;
  min-height: calc(100vh - 120px);
}

.about-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Profile Section with Wrapped Text */
.profile-section-wrapped {
  display: flow-root;
  margin-bottom: 40px;
}

/* Floated Profile Picture */
.profile-pic-float {
  float: left;
  width: 280px;
  margin: 0 40px 20px 0;
  text-align: center;
}

.profile-pic {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--divider);
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}

/* Profile Content (Wraps Around Image) */
.profile-content-wrapped {
  overflow: hidden;
}

.profile-name {
  font-size: 2.8em;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--text-main);
  line-height: 1.1;
}

.profile-title {
  font-size: 1.3em;
  color: var(--accent);
  margin: 0 0 6px 0;
  font-weight: 600;
}

.profile-institution {
  color: var(--text-sub);
  font-size: 1em;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-institution i {
  color: var(--accent);
}

/* Bio Section */
.bio-section {
  margin-bottom: 24px;
}

.bio-intro {
  font-size: 1.15em;
  color: var(--text-main);
  margin: 0 0 16px 0;
  line-height: 1.7;
}

.wave-emoji {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(14deg); }
  50% { transform: rotate(-4deg); }
  60% { transform: rotate(10deg); }
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.bio-text {
  color: var(--text-sub);
  line-height: 1.8;
  margin: 0 0 16px 0;
}

/* Compact Research Interests */
.interests-compact {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: var(--text-sub);
  line-height: 1.6;
}

.interests-compact strong {
  color: var(--accent);
  font-weight: 600;
}

/* Quote Section with Title */
.quote-section {
  margin: 24px 0 0 0;
}

.quote-title {
  font-size: 1em;
  color: var(--accent);
  margin: 0 0 12px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 0;
  background: var(--bg-secondary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Social Links - Horizontal Above Skills */
.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}

.social-icon {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.5em;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-decoration: none;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
}

.social-icon:hover {
  color: var(--accent);
  background: var(--card-bg);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow);
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-section {
  margin-top: 40px;
}

.section-title-centered {
  font-size: 2em;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin: 0 0 40px 0;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
}

.skills-columns {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.skills-column {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.skills-column:hover {
  box-shadow: 0 8px 24px var(--shadow-lg);
  border-color: var(--accent);
}

.skills-column-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--divider);
}

.skills-column-title i {
  color: var(--accent);
  font-size: 1.1em;
}

.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-list li {
  padding: 10px 0;
  color: var(--text-sub);
  border-bottom: 1px solid var(--divider);
  line-height: 1.5;
}

.compact-list li:last-child {
  border-bottom: none;
}

.compact-list strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Technical Skills Groups */
.tech-skill-group {
  margin-bottom: 20px;
}

.tech-skill-group:last-child {
  margin-bottom: 0;
}

.tech-skill-group h4 {
  font-size: 0.95em;
  color: var(--accent);
  margin: 0 0 8px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-skill-group p {
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95em;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--divider) 50%, transparent 100%);
  margin: 40px 0;
}

/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */

@media (max-width: 1024px) {
  .profile-pic-float {
    width: 260px;
    margin-right: 30px;
  }
  
  .profile-name {
    font-size: 2.3em;
  }
}

@media (max-width: 768px) {
  /* Stack profile picture on mobile */
  .profile-pic-float {
    float: none;
    width: 100%;
    margin: 0 0 30px 0;
  }
  
  .profile-pic {
    max-width: 220px;
  }
  
  .profile-name {
    font-size: 2em;
    text-align: center;
  }
  
  .profile-title {
    text-align: center;
    font-size: 1.1em;
  }
  
  .profile-institution {
    justify-content: center;
  }
  
  /* Stack skills columns */
  .skills-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title-centered {
    font-size: 1.6em;
  }
  
  .social-links-horizontal {
    gap: 16px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .about-page {
    padding: 40px 15px;
  }
  
  .profile-name {
    font-size: 1.75em;
  }
  
  .bio-intro {
    font-size: 1em;
  }
  
  .skills-column {
    padding: 20px;
  }
  
  .social-links-horizontal {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 1.3em;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--divider);
  color: var(--text-muted);
  background: var(--card-bg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .page-container {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
  
  .page-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-sidebar {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--divider);
  }
  
  .header-icon {
    width: 50px;
    height: 50px;
    font-size: 1.6em;
  }
  
  .page-title {
    font-size: 1.8em;
  }
  
  .page-divider {
    display: none;
  }
  
  .content-card {
    padding: 20px 24px;
  }
  
  .card-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .card-meta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .page-section {
    padding: 30px 15px;
  }
  
  .content-card {
    padding: 16px 20px;
  }
  
  .card-title {
    font-size: 1.2em;
  }
  
  .achievement-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   SIMPLE CONTENT PAGES - ACADEMIC STYLE
   ============================================ */

.simple-page {
  padding: 60px 20px;
  min-height: calc(100vh - 120px);
}

.simple-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

/* Page Title Section */
.simple-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--accent);
}

.simple-title {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.simple-subtitle {
  font-size: 1em;
  color: var(--text-sub);
  margin: 0;
}

/* Main Content Sections */
.content-section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--divider);
}

/* Experience Items */
.experience-item {
  margin-bottom: 32px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.experience-title {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.experience-title a {
  color: inherit; /* Keeps your original text color */
  text-decoration: none; /* Removes underline by default */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.experience-title a:hover {
  color: teal;
  text-decoration: underline;
}

.experience-date {
  font-size: 0.95em;
  color: var(--text-sub);
  font-weight: 500;
  white-space: nowrap;
}

.experience-subtitle {
  font-size: 1em;
  color: var(--text-sub);
  margin: 0 0 4px 0;
  font-style: italic;
}

.experience-location {
  font-size: 0.95em;
  color: var(--text-muted);
  margin: 0 0 12px 0;
}

/* Simple Lists */
.simple-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 20px;
}

.simple-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--text-sub);
  line-height: 1.6;
}

.simple-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Nested Lists (for sub-items) */
.simple-list .simple-list {
  margin-top: 6px;
  margin-left: 20px;
}

/* Publication/Project Items */
.publication-item {
  margin-bottom: 24px;
  padding-left: 0;
}

.publication-title {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.publication-authors {
  font-size: 0.95em;
  color: var(--text-sub);
  margin: 0 0 4px 0;
}

.publication-venue {
  font-size: 0.95em;
  color: var(--accent);
  font-style: italic;
  margin: 0;
}

.publication-year {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Links */
.publication-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.publication-link:hover {
  border-bottom-color: var(--accent);
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: var(--divider);
  margin: 40px 0;
}

/* Compact Info Display */
.info-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.info-label {
  font-weight: 600;
  color: var(--text-main);
  min-width: 80px;
}

.info-value {
  color: var(--text-sub);
}

/* Responsive */
@media (max-width: 768px) {
  .simple-title {
    font-size: 2em;
  }
  
  .section-title {
    font-size: 1.3em;
  }
  
  .experience-header {
    flex-direction: column;
    gap: 4px;
  }
  
  .experience-date {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .simple-page {
    padding: 40px 15px;
  }
  
  .simple-title {
    font-size: 1.75em;
  }
  
  .simple-list {
    margin-left: 10px;
  }
}

/* ============================================
   BLOG POST PAGE
   ============================================ */

.blog-post {
  padding: 20px 0;
}

.blog-post-header {
  margin-bottom: 40px;
  text-align: center;
}

.blog-post-title {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--text-main);
  margin: 20px 0;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
  color: var(--text-sub);
  font-size: 0.9em;
}

.blog-post-image {
  width: 100%;
  height: 400px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--divider);
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.blog-post-content {
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 1.05em;
}

.blog-post-content h2 {
  color: var(--text-main);
  font-size: 1.8em;
  margin: 40px 0 20px 0;
  font-weight: 700;
}

.blog-post-content h3 {
  color: var(--text-main);
  font-size: 1.4em;
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.blog-post-content p {
  margin: 16px 0;
}

.blog-post-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.blog-post-content a:hover {
  color: var(--accent-light);
}

@media (max-width: 768px) {
  .blog-post-title {
    font-size: 2em;
  }
  
  .blog-post-image {
    height: 250px;
  }
  
  .blog-post-meta {
    flex-direction: column;
    gap: 12px;
  }
}