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

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

/* Responsive font scaling */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #0a0a0a;
  background-image: 
    /* Grid pattern */ linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    /* Wave overlay */
      radial-gradient(
        ellipse 100% 50% at 50% 0%,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%
      ),
    radial-gradient(
      ellipse 100% 50% at 50% 100%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    /* Noise texture */
      repeating-conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 255, 255, 0.005) 2deg,
        transparent 4deg
      );
  background-size: 30px 30px, 30px 30px, 200% 100%, 200% 100%, 60px 60px;
  background-position: 0 0, 0 0, 0 0, 0 100%, 0 0;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -1000px;
  left: 1rem;
  z-index: 1000;
  background: var(--primary-accent);
  color: #0a0a0a;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--secondary-accent);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 3px;
}

/* Animated grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridFlow 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridFlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

/* Futuristic Color Palette */
:root {
  --primary-accent: #00d4aa;
  --secondary-accent: #00f5d4;
  --tertiary-accent: #ff0066;
  --white: #ffffff;
  --light-gray: #a0a0a0;
  --medium-gray: #666666;
  --dark-gray: #333333;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Light theme colors for content area */
  --light-bg: #ffffff;
  --light-card-bg: rgba(255, 255, 255, 0.9);
  --light-border: rgba(0, 0, 0, 0.08);
  --light-text-primary: #111827;
  --light-text-secondary: #4b5563;
  --light-glass-bg: rgba(255, 255, 255, 0.95);
  --light-glass-border: rgba(0, 0, 0, 0.1);
}

/* Wave Pattern Background */
.wave-bg {
  position: relative;
  overflow: hidden;
}

.wave-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Dynamic wave pattern */ radial-gradient(
      ellipse 300% 100% at 50% 0%,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 250% 80% at 30% 100%,
      rgba(64, 64, 64, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 200% 60% at 70% 0%,
      rgba(0, 102, 255, 0.02) 0%,
      transparent 60%
    );
  z-index: -1;
  animation: waveFlow 15s ease-in-out infinite;
}

@keyframes waveFlow {
  0% {
    transform: translateY(0) scaleY(1);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-20px) scaleY(1.1);
    opacity: 0.6;
  }
}

/* Dotted Wave Pattern */
.dotted-wave {
  position: relative;
}

.dotted-wave::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    /* Cyberpunk dots */ radial-gradient(
      circle,
      rgba(32, 32, 32, 0.4) 1px,
      transparent 1px
    ),
    radial-gradient(circle, rgba(0, 102, 255, 0.3) 0.5px, transparent 0.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 40px 40px, 80px 80px, 120px 120px;
  background-position: 0 0, 20px 20px, 40px 40px;
  opacity: 0.6;
  z-index: -1;
  animation: cyberpunkPulse 8s ease-in-out infinite;
}

@keyframes cyberpunkPulse {
  0%,
  100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translateX(-5px) translateY(-10px) scale(1.02);
    opacity: 0.7;
  }
  50% {
    transform: translateX(0) translateY(-15px) scale(1.05);
    opacity: 0.9;
  }
  75% {
    transform: translateX(5px) translateY(-10px) scale(1.02);
    opacity: 0.7;
  }
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Container responsive adjustments */
@media (max-width: 1240px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

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

/* Minimal Header */
.header {
  padding: 1.4rem 0 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-of-type(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-brand {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  position: relative;
}

.site-brand::after {
  content: "_";
  animation: blink 1.5s infinite;
  color: var(--primary-accent);
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.3s ease;
  position: relative;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #00d4aa, #00f5d4);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

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

body.theme-light {
  background: #fafafa;
  color: #1a1a1a;
}

body.theme-light .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .site-brand {
  color: #111111;
}

body.theme-light .nav-toggle {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
  color: #111111;
}

body.theme-light .header-nav {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.theme-light .nav-link {
  color: #3f3f3f;
  text-shadow: none;
}

body.theme-light .nav-link:hover {
  color: #000000;
  text-shadow: none;
}

.subscribe-btn {
  background: linear-gradient(135deg, #00d4aa, #00f5d4);
  color: #ffffff;
  border: 1px solid #00b894;
  padding: 0.8rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "JetBrains Mono", monospace;
  transition: all 0.3s ease;
  border: none;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.subscribe-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.subscribe-btn:hover::before {
  left: 100%;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

/* Hero Section */
.hero {
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Spacetime fabric grid overlay */ linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    /* Large radiating wave pattern - spacetime distortion */
      radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 1%,
        transparent 3%,
        rgba(255, 255, 255, 0.2) 5%,
        transparent 7%,
        rgba(255, 255, 255, 0.18) 9%,
        transparent 11%,
        rgba(255, 255, 255, 0.15) 13%,
        transparent 15%,
        rgba(255, 255, 255, 0.12) 17%,
        transparent 19%,
        rgba(255, 255, 255, 0.1) 21%,
        transparent 23%,
        rgba(255, 255, 255, 0.08) 25%,
        transparent 27%,
        rgba(255, 255, 255, 0.06) 29%,
        transparent 31%,
        rgba(255, 255, 255, 0.04) 33%,
        transparent 35%,
        rgba(255, 255, 255, 0.03) 37%,
        transparent 39%,
        rgba(255, 255, 255, 0.02) 41%,
        transparent 43%
      );
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-position: 0 0, 0 0, 50% 50%;
  z-index: 1;
  animation: spacetimeFabric 18s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Secondary ripple layer for enhanced curvature effect */ radial-gradient(
      ellipse 120% 80% at 50% 50%,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 15%,
      transparent 25%,
      rgba(255, 255, 255, 0.04) 35%,
      transparent 45%
    ),
    radial-gradient(
      ellipse 80% 120% at 50% 50%,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 20%,
      transparent 30%,
      rgba(255, 255, 255, 0.03) 40%,
      transparent 50%
    );
  z-index: 0;
  animation: spacetimeRipple 12s ease-in-out infinite reverse;
}

@keyframes spacetimeRipple {
  0% {
    transform: scale(1) skew(0deg, 0deg) perspective(1000px) rotateX(0deg);
    opacity: 0.7;
  }
  25% {
    transform: scale(1.04) skew(-0.2deg, 0.3deg) perspective(1000px)
      rotateX(1deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.06) skew(0.3deg, -0.4deg) perspective(1000px)
      rotateX(-0.5deg);
    opacity: 0.8;
  }
  75% {
    transform: scale(1.03) skew(-0.4deg, 0.2deg) perspective(1000px)
      rotateX(0.8deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.01) skew(0.1deg, -0.1deg) perspective(1000px)
      rotateX(0deg);
    opacity: 0.6;
  }
}

@keyframes spacetimeFabric {
  0% {
    transform: scale(1) skew(0deg, 0deg);
    opacity: 0.9;
    filter: blur(0px);
  }
  25% {
    transform: scale(1.03) skew(0.3deg, -0.2deg);
    opacity: 1;
    filter: blur(0.5px);
  }
  50% {
    transform: scale(1.08) skew(-0.2deg, 0.4deg);
    opacity: 0.95;
    filter: blur(1px);
  }
  75% {
    transform: scale(1.05) skew(0.4deg, -0.3deg);
    opacity: 1;
    filter: blur(0.5px);
  }
  100% {
    transform: scale(1.02) skew(-0.1deg, 0.1deg);
    opacity: 0.85;
    filter: blur(0px);
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00d4aa, #00f5d4);
  border-radius: 1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
}

.hero-subtitle a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.hero-subtitle a:hover {
  color: var(--primary-accent);
  border-bottom-color: var(--primary-accent);
}

.hero-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  backdrop-filter: blur(20px);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 2px;
  border: 2px solid var(--primary-accent);
  object-fit: cover;
  transition: all 0.3s ease;
  filter: grayscale(100%) contrast(1.2);
}

.author-avatar:hover {
  border-color: var(--secondary-accent);
  transform: scale(1.05) rotate(2deg);
  filter: grayscale(0%) contrast(1.1);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.author-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  font-family: "JetBrains Mono", monospace;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* Newsletter Signup */
.newsletter-signup {
  display: flex;
  max-width: 450px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  position: relative;
}

.newsletter-signup::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.15),
    transparent
  );
  transition: left 0.8s ease;
}

.newsletter-signup:focus-within {
  border-color: var(--primary-accent);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.newsletter-signup:hover::before {
  left: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  font-weight: 300;
}

.newsletter-input::placeholder {
  color: var(--text-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  text-transform: lowercase;
}

.newsletter-btn {
  background: linear-gradient(135deg, #00d4aa, #00f5d4);
  color: #ffffff;
  border: 1px solid #00b894;
  padding: 1rem 2rem;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "JetBrains Mono", monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
  left: 100%;
}

.newsletter-btn:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1rem;
  font-family: "JetBrains Mono", monospace;
  opacity: 0.7;
  text-transform: lowercase;
}

/* Content Layout */
.main-content {
  padding: 2rem 0;
  position: relative;
  background: #ffffff;
  /* Clean white background with subtle grid */
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    /* Very subtle wave patterns */
      radial-gradient(
        ellipse 200% 50% at 50% 0%,
        rgba(0, 102, 255, 0.01) 0%,
        transparent 50%
      ),
    radial-gradient(
      ellipse 150% 40% at 30% 100%,
      rgba(64, 64, 64, 0.01) 0%,
      transparent 50%
    );
  background-size: 40px 40px, 40px 40px, 150% 80%, 120% 60%;
  background-position: 0 0, 0 0, 0 0%, 0 100%;
  /* Add a subtle transition at the top */
  box-shadow: inset 0 20px 40px -20px rgba(10, 10, 10, 0.1);
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Articles Section */
.articles-section {
  min-height: 800px;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  position: relative;
}

.section-title::before {
  content: "//";
  color: var(--primary-accent);
  font-family: "JetBrains Mono", monospace;
  margin-right: 0.5rem;
  font-size: 0.8em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}

/* Featured Article */
.featured-article {
  background: var(--light-glass-bg);
  border: 1px solid var(--light-glass-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 4rem;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(20px);
}

.featured-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4aa, #00f5d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-article:hover::before {
  opacity: 1;
}

.featured-article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-accent);
}

.featured-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(
    135deg,
    rgba(32, 32, 32, 0.1),
    rgba(64, 64, 64, 0.1),
    rgba(96, 96, 96, 0.1)
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.02) 20px
  );
  z-index: 1;
}

.featured-image i {
  font-size: 3rem;
  color: var(--primary-accent);
  opacity: 0.7;
  z-index: 2;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}

.featured-content {
  padding: 2rem;
}

.featured-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.meta-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.category-tag {
  background: linear-gradient(135deg, #00d4aa, #00f5d4);
  color: #ffffff;
  border: 1px solid #00b894;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.featured-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.featured-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.featured-title-link:hover {
  color: var(--primary-accent);
}

.featured-title-link:hover .featured-title {
  color: var(--primary-accent);
}

.featured-excerpt {
  color: var(--light-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  text-transform: lowercase;
  transition: all 0.3s ease;
  position: relative;
}

.read-more::before {
  content: ">";
  margin-right: 0.3rem;
  transition: transform 0.3s ease;
}

.read-more:hover::before {
  transform: translateX(3px);
}

.read-more:hover {
  color: var(--secondary-accent);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

/* Article Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--light-glass-bg);
  border: 1px solid var(--light-glass-border);
  border-radius: 4px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.12),
    transparent
  );
  transition: left 0.8s ease;
}

.article-card:hover::before {
  left: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-accent);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.article-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--light-text-secondary);
  font-family: "JetBrains Mono", monospace;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-meta .meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.article-meta .meta-right {
  display: flex;
  justify-content: flex-end;
}

.article-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.article-title-link:hover {
  color: var(--primary-accent);
}

.article-title-link:hover .article-title {
  color: var(--primary-accent);
}

.article-excerpt {
  color: var(--light-text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
}

.article-link {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  text-transform: lowercase;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.article-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-link:hover::after {
  transform: translateX(3px);
}

.article-link:hover {
  color: var(--secondary-accent);
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}

/* Coming Soon State - DISABLED */
.coming-soon {
  opacity: 1;
  filter: none;
  position: relative;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 140px;
  height: fit-content;
}

/* About Widget */
.about-widget {
  background: var(--light-glass-bg);
  border: 1px solid var(--light-glass-border);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.about-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4aa, #00f5d4);
}

.about-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.about-title::before {
  content: "//";
  color: var(--primary-accent);
  font-family: "JetBrains Mono", monospace;
  margin-right: 0.5rem;
  font-size: 0.8em;
}

.about-description {
  color: var(--light-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.about-description a {
  color: var(--light-text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  font-weight: 400;
}

.about-description a:hover {
  color: var(--light-accent);
  border-bottom-color: var(--light-accent);
}

.about-description p {
  margin-bottom: 0.8rem;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.bio-link {
  display: block;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  color: #00d4aa;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.bio-link:hover {
  background: rgba(0, 212, 170, 0.25);
  border-color: #00d4aa;
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 2px;
  background: var(--light-glass-bg);
  color: var(--light-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--light-glass-border);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(32, 32, 32, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  background: linear-gradient(135deg, #2a2a2a, #444444);
  color: #ffffff;
  border-color: #555555;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(32, 32, 32, 0.2);
}

/* Speaking Section */
.speaking-widget {
  background: var(--light-glass-bg);
  border: 1px solid var(--light-glass-border);
  color: var(--light-text-primary);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.speaking-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(32, 32, 32, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  background-position: 0 0;
  opacity: 0.3;
  animation: cyberpunkPulse 20s ease-in-out infinite;
}

.speaking-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: lowercase;
  color: var(--light-text-primary);
}

.speaking-title::before {
  content: "//";
  color: var(--primary-accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8em;
}

.speaking-subtitle {
  font-size: 0.95rem;
  color: var(--light-text-secondary);
  margin-bottom: 1.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}

.presentation-item {
  background: var(--light-glass-bg);
  backdrop-filter: blur(15px);
  border-radius: 4px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--light-glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.presentation-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(32, 32, 32, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.presentation-item:hover::before {
  left: 100%;
}

.presentation-item:hover {
  border-color: var(--primary-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.presentation-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--light-text-primary);
  font-family: "Space Grotesk", sans-serif;
}

.presentation-venue {
  font-size: 0.95rem;
  color: var(--light-text-secondary);
  margin-bottom: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}

.presentation-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--primary-accent);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.presentation-abstract {
  font-size: 0.9375rem;
  color: var(--light-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.presentation-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.presentation-link {
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  border: 1px solid var(--light-glass-border);
  border-radius: 2px;
  color: var(--light-text-secondary);
  transition: all 0.3s ease;
  font-family: "JetBrains Mono", monospace;
  background: var(--light-glass-bg);
}

.presentation-link:hover {
  background: linear-gradient(135deg, #2a2a2a, #444444);
  color: #ffffff;
  border-color: #555555;
  transform: translateY(-1px);
}

.presentation-link-disabled {
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  border: 1px solid var(--light-glass-border);
  border-radius: 2px;
  color: var(--medium-gray);
  font-family: "JetBrains Mono", monospace;
  background: rgba(255, 255, 255, 0.01);
  opacity: 0.5;
  cursor: not-allowed;
}

.presentation-link i {
  margin-right: 0.3rem;
}

/* Categories Widget */
.categories-widget {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-gray);
}

.categories-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.categories-list {
  list-style: none;
}

.category-item {
  margin-bottom: 0.75rem;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--medium-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.category-link:hover {
  background: var(--bg-gray);
  color: var(--dark-gray);
}

.category-count {
  background: var(--border-gray);
  color: var(--light-gray);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ===============================
   Notification System
   =============================== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  min-width: 300px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.notification-show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.notification-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification-message {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  margin-right: 12px;
}

.notification-close {
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.notification-success .notification-content {
  background: rgba(34, 197, 94, 0.95);
  border-color: rgba(34, 197, 94, 0.3);
}

.notification-success .notification-message {
  color: white;
}

.notification-success .notification-close {
  color: rgba(255, 255, 255, 0.8);
}

.notification-success .notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.notification-error .notification-content {
  background: rgba(239, 68, 68, 0.95);
  border-color: rgba(239, 68, 68, 0.3);
}

.notification-error .notification-message {
  color: white;
}

.notification-error .notification-close {
  color: rgba(255, 255, 255, 0.8);
}

.notification-error .notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ===============================
   Enhanced Article Pages
   =============================== */

.article-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.author-title {
  color: #999;
  font-size: 0.85rem;
}

.article-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-previous,
.nav-next {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link {
  text-decoration: none;
  color: inherit;
}

.nav-link h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nav-link p {
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.4;
}

.back-to-home {
  text-align: center;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.home-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ===============================
   Enhanced Animations
   =============================== */

.article-card-hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   Responsive Enhancements
   =============================== */

/* ===============================
   Responsive Design
   =============================== */

/* Large Tablets & Small Desktops (1024px and down) */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .content-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .articles-section {
    grid-row: 1;
  }

  .sidebar {
    position: static;
    margin-top: 0;
  }

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

  .featured-article {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-image {
    height: 200px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .speaking-widget {
    margin-top: 2rem;
  }
}

/* Standard Tablets (768px and down) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Header */
  .header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
  }

  .header-content {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    padding: 0 2.75rem;
  }

  .header-content .site-brand {
    flex: 1 1 auto;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-content .nav-toggle {
    flex: 0 0 auto;
    justify-content: center;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    text-align: left;
    z-index: 200;
  }

  body.theme-light .header-nav {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 35px rgba(17, 24, 39, 0.12);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .subscribe-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Hero Section */
  .hero {
    padding: 3rem 0 4rem;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
  }

  .hero-author {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .author-avatar {
    width: 80px;
    height: 80px;
  }

  /* Newsletter */
  .newsletter-signup {
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
  }

  .newsletter-input {
    width: 100%;
    min-width: auto;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }

  .bio-link {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  /* Articles Grid */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-article {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .featured-image {
    height: 150px;
    margin-bottom: 1rem;
  }

  .featured-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .featured-excerpt {
    font-size: 1rem;
  }

  .article-card {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .article-excerpt {
    font-size: 0.95rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Sidebar */
  .sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .about-widget,
  .speaking-widget,
  .categories-widget {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .about-title,
  .speaking-title,
  .categories-title {
    font-size: 1.1rem;
  }

  .about-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .presentation-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .presentation-title {
    font-size: 1rem;
  }

  .presentation-venue {
    font-size: 0.875rem;
  }

  /* Social Links */
  .social-links {
    justify-content: center;
    gap: 1rem;
  }

  .social-link {
    padding: 0.75rem;
  }

  /* Categories */
  .categories-list {
    gap: 0.75rem;
  }

  .category-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  /* Notifications */
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
  }

  /* Article Navigation */
  .nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .article-author {
    padding: 0.75rem;
  }

  .author-avatar-small {
    width: 40px;
    height: 40px;
  }
}

/* Mobile Phones (480px and down) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  /* Hero */
  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .author-avatar {
    width: 60px;
    height: 60px;
  }

  /* Articles */
  .featured-article,
  .article-card {
    padding: 1rem;
  }

  .featured-title {
    font-size: 1.25rem;
  }

  .article-title {
    font-size: 1.1rem;
  }

  .featured-excerpt,
  .article-excerpt {
    font-size: 0.9rem;
  }

  /* Sidebar Widgets */
  .about-widget,
  .speaking-widget,
  .categories-widget {
    padding: 1rem;
  }

  .presentation-item {
    padding: 0.75rem;
  }

  .presentation-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  /* Social Links */
  .social-link {
    padding: 0.5rem;
    min-width: 36px;
    min-height: 36px;
  }

  /* Category Links */
  .category-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* Small Mobile Phones (360px and down) */
@media (max-width: 360px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .featured-article,
  .article-card {
    padding: 0.75rem;
  }

  .about-widget,
  .speaking-widget,
  .categories-widget {
    padding: 0.75rem;
  }

  .newsletter-signup {
    padding: 0.75rem;
  }

  .newsletter-input {
    padding: 0.75rem;
    font-size: 0.875rem;
  }

  .newsletter-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

/* Ensure sidebar doesn't overlay content when grid becomes single column */
@media (max-width: 1200px) {
  .sidebar {
    position: static;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus States */
.nav-link:focus,
.subscribe-btn:focus,
.newsletter-input:focus,
.newsletter-btn:focus,
.read-more:focus,
.article-link:focus,
.social-link:focus,
.category-link:focus {
  outline: 2px solid var(--secondary-blue);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .article-card {
    border-width: 2px;
  }

  .featured-article {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
}

/* Print Styles */
@media print {
  .header-nav,
  .subscribe-btn,
  .newsletter-signup,
  .sidebar {
    display: none !important;
  }

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

  .featured-article,
  .article-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Clean Article Layout Styles */
.article-main {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
  color: var(--light-text-primary);
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.clean-article {
  background: var(--light-card-bg);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--light-border);
}

.clean-article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.article-breadcrumb {
  font-size: 0.875rem;
  color: var(--light-text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-link {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--secondary-accent);
}

.breadcrumb-separator {
  color: #9ca3af;
}

.breadcrumb-current {
  font-weight: 500;
  color: var(--light-text-primary);
}

.article-meta-clean {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--light-text-secondary);
  margin-bottom: 1.5rem;
}

.meta-separator {
  color: #d1d5db;
}

.category-tag-clean {
  background: linear-gradient(
    135deg,
    var(--primary-accent),
    var(--secondary-accent)
  );
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clean-article-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--light-text-primary);
  margin-bottom: 1rem;
}

.clean-article-excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--light-text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

.clean-article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clean-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  border: 2px solid var(--primary-accent);
  object-fit: cover;
}

.clean-author-details {
  display: flex;
  flex-direction: column;
}

.clean-author-name {
  font-weight: 600;
  color: var(--light-text-primary);
}

.clean-author-title {
  font-size: 0.875rem;
  color: var(--light-text-secondary);
}

/* Table of Contents */
.article-toc {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title::before {
  content: "📑";
  font-size: 1.2rem;
}

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

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-h2 {
  margin-left: 0;
}

.toc-h3 {
  margin-left: 1rem;
}

.toc-h4 {
  margin-left: 2rem;
}

.toc-link {
  color: var(--light-text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.toc-link:hover {
  background: #e5e7eb;
  color: var(--primary-accent);
}

/* Article Body */
.clean-article-body {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.clean-article-body h1,
.clean-article-body h2,
.clean-article-body h3,
.clean-article-body h4 {
  color: var(--light-text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.clean-article-body h1:first-child {
  margin-top: 0;
}

.clean-article-body h1 {
  font-size: 2rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.clean-article-body h2 {
  font-size: 1.5rem;
}

.clean-article-body h3 {
  font-size: 1.25rem;
}

.clean-article-body h4 {
  font-size: 1.1rem;
}

.clean-article-body p {
  margin-bottom: 1.5rem;
  color: var(--light-text-primary);
}

.clean-article-body ul,
.clean-article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.clean-article-body li {
  margin-bottom: 0.5rem;
  color: var(--light-text-primary);
}

.clean-article-body blockquote {
  border-left: 4px solid var(--primary-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--light-text-secondary);
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
}

.clean-article-body code {
  background: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: #1f2937;
}

.clean-article-body pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.clean-article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Footer */
.clean-article-footer {
  padding: 2rem 3rem 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(249, 250, 251, 0.5);
}

/* ===============================
   Simple Article Layout
   =============================== */

/* Article Main Container */
.simple-article-main {
  background: #fafafa;
  min-height: 100vh;
  color: #1a1a1a;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-article-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  min-height: calc(100vh - 80px);
}

/* Main Article Content */
.simple-article-content {
  order: 1;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid #eeeeee;
}

/* Article Header */
.simple-article-header {
  padding: 3rem 4rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.simple-breadcrumb {
  margin-bottom: 2rem;
}

.simple-breadcrumb-link {
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.simple-breadcrumb-link:hover {
  color: #1a1a1a;
}

.simple-article-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.simple-article-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-article-meta {
  margin-top: 2rem;
}

.simple-author {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.simple-author-info {
  display: flex;
  flex-direction: column;
}

.simple-author-name {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-article-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666666;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-meta-separator {
  color: #cccccc;
}

.simple-category {
  background: #f5f5f5;
  color: #666666;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #e5e5e5;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Article Body */
.simple-article-body {
  padding: 3rem 4rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #333333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 400;
}

.simple-article-body h1,
.simple-article-body h2,
.simple-article-body h3,
.simple-article-body h4 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.35;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-article-body h1:first-child {
  margin-top: 0;
}

.simple-article-body h1 {
  font-size: 1.75rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.simple-article-body h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.simple-article-body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  font-weight: 500;
}

.simple-article-body h4 {
  font-size: 1.0625rem;
  margin-top: 1.75rem;
  font-weight: 500;
}

.simple-article-body p {
  margin-bottom: 1.5rem;
  color: #333333;
}

.simple-article-body strong {
  font-weight: 600;
  color: #1a1a1a;
}

.simple-article-body em {
  font-style: italic;
}

.simple-article-body ul,
.simple-article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.simple-article-body li {
  margin-bottom: 0.5rem;
  color: #333333;
}

.simple-article-body blockquote {
  border-left: 3px solid #666666;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  background: transparent;
  font-style: italic;
  color: #555555;
  position: relative;
  box-shadow: none;
  font-size: 1.0625rem;
  line-height: 1.75;
  border-radius: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-article-body blockquote::before {
  display: none;
}

.simple-article-body blockquote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.simple-article-body blockquote p:not(:last-child) {
  margin-bottom: 1rem;
}

.simple-article-body code {
  background: #f8f8f8;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.875em;
  color: #444444;
  border: 1px solid #e8e8e8;
}

.simple-article-body pre {
  background: #f8f8f8;
  color: #333333;
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e0e0e0;
}

.simple-article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.875rem;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  border: none;
}

.simple-article-body a {
  color: #1a1a1a;
  text-decoration: underline;
  transition: color 0.2s ease;
  text-decoration-color: #cccccc;
}

.simple-article-body a:hover {
  color: #000000;
  text-decoration-color: #1a1a1a;
}

/* Images in article */
.simple-article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e5e5;
}

.simple-article-body em {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: #666666;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Article Footer */
.simple-article-footer {
  padding: 2rem 4rem 3rem;
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
}

.simple-article-tags {
  margin-bottom: 2rem;
}

.simple-tag {
  display: inline-block;
  background: #f5f5f5;
  color: #666666;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 400;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid #e5e5e5;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-tag:hover {
  background: #e5e5e5;
  color: #1a1a1a;
}

/* Navigation */
.simple-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.simple-nav-link {
  display: block;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.simple-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.02);
  transition: left 0.6s ease;
}

.simple-nav-link:hover::before {
  left: 100%;
}

.simple-nav-link:hover {
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.simple-nav-prev {
  text-align: left;
}

.simple-nav-next {
  text-align: right;
}

.simple-nav-direction {
  display: block;
  font-size: 0.75rem;
  color: #666666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-nav-title {
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.4;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* TOC Sidebar */
.simple-toc-sidebar {
  order: 2;
  position: sticky;
  top: 2rem;
  height: fit-content;
  max-height: calc(100vh - 6rem);
  overflow: hidden;
}

.simple-toc-wrapper {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.simple-toc-wrapper::before {
  display: none;
}

.simple-toc-wrapper:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.simple-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.simple-toc-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666666;
  margin: 0;
  text-transform: uppercase;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0.1em;
}

.simple-toc-toggle {
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.simple-toc-toggle:hover {
  color: #1a1a1a;
  background: #f5f5f5;
}

.simple-toc-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

/* TOC Toggle Fallback */
.simple-toc-toggle-fallback {
  font-size: 0.75rem;
  font-weight: bold;
  color: inherit;
  line-height: 1;
}

.simple-toc-toggle:hover .simple-toc-toggle-fallback {
  color: #1a1a1a;
}

/* Update TOC Nav to remove old title padding */
.simple-toc-nav {
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #e5e5e5 transparent;
  transition: all 0.3s ease;
}

.simple-toc-nav::-webkit-scrollbar {
  width: 4px;
}

.simple-toc-nav::-webkit-scrollbar-track {
  background: transparent;
}

.simple-toc-nav::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 2px;
}

.simple-toc-nav::-webkit-scrollbar-thumb:hover {
  background: #cccccc;
}

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

.simple-toc-item {
  margin: 0;
}

.simple-toc-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  position: relative;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.simple-toc-link:hover {
  color: #1a1a1a;
  background: #fafafa;
  border-left-color: #1a1a1a;
}

.simple-toc-link.active {
  color: #1a1a1a;
  background: #fafafa;
  border-left-color: #1a1a1a;
  font-weight: 500;
}

/* Hierarchical TOC styling */
.simple-toc-h2 .simple-toc-link {
  padding-left: 1.25rem;
  font-weight: 500;
}

.simple-toc-h3 .simple-toc-link {
  padding-left: 2rem;
  font-size: 0.8125rem;
  color: #808080;
}

.simple-toc-h4 .simple-toc-link {
  padding-left: 2.75rem;
  font-size: 0.75rem;
  color: #808080;
}

/* ===============================
   Simple Article Responsive Design - Complete
   =============================== */

/* Large screens - reduce container padding */
@media (max-width: 1200px) {
  .simple-article-container {
    max-width: 100%;
    padding: 2rem 0.75rem;
    gap: 3rem;
  }

  .simple-toc-sidebar {
    width: 220px;
  }

  .simple-article-header {
    padding: 2.5rem 2.5rem 1.5rem;
  }

  .simple-article-body {
    padding: 2.5rem;
  }

  .simple-article-footer {
    padding: 1.5rem 2.5rem 2.5rem;
  }
}

/* Desktop layout - side by side for screens >= 900px */
@media (min-width: 900px) {
  .simple-article-container {
    flex-direction: row;
    gap: 4rem;
    max-width: 1400px;
  }

  .simple-article-content {
    order: 2;
    flex: 1;
  }

  .simple-toc-sidebar {
    order: 1;
    width: 280px;
    flex-shrink: 0;
  }
}

/* Switch to single column at 900px */
@media (max-width: 900px) {
  .simple-article-container {
    flex-direction: column;
    gap: 0;
    padding: 2rem 1.25rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .simple-toc-sidebar {
    order: 1;
    position: static;
    height: auto;
    max-height: none;
    margin: 0 0 1.5rem 0;
    width: 100%;
  }

  .simple-article-content {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .simple-article-title {
    font-size: 2.25rem;
  }

  .simple-article-subtitle {
    font-size: 1.1rem;
  }

  .simple-article-header {
    padding: 2rem 2rem 1.5rem;
  }

  .simple-article-body {
    padding: 2.25rem;
    font-size: 1rem;
  }

  .simple-article-footer {
    padding: 1.5rem 2rem 2rem;
  }

  /* TOC becomes more prominent on mobile and appears at top */
  .simple-toc-wrapper {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    margin-bottom: 0;
  }

  .simple-toc-header {
    padding: 1rem 1.25rem;
    background: rgba(0, 212, 170, 0.02);
  }

  .simple-toc-title {
    font-size: 0.9rem;
    font-weight: 600;
  }
}

/* Mobile and small tablets - single column layout */
@media (max-width: 768px) {
  .simple-article-container {
    gap: 1.75rem;
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .simple-toc-sidebar {
    order: 1;
    position: static;
    height: auto;
    max-height: none;
    margin: 0 0 1.5rem 0;
    width: 100%;
  }

  .simple-article-content {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .simple-article-header {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .simple-article-body {
    padding: 1.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .simple-article-footer {
    padding: 1.25rem;
  }

  .simple-article-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .simple-article-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .simple-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .simple-author-avatar {
    width: 40px;
    height: 40px;
  }

  .simple-author-name {
    font-size: 0.9rem;
  }

  .simple-article-details {
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.75rem;
  }

  .simple-nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .simple-nav-next {
    text-align: left;
  }

  .simple-nav-link {
    padding: 1rem;
  }

  .simple-nav-title {
    font-size: 0.9rem;
  }

  /* TOC responsive adjustments - appears at top */
  .simple-toc-wrapper {
    margin-bottom: 0;
    width: 100%;
  }

  .simple-toc-header {
    padding: 1rem;
  }

  .simple-toc-title {
    font-size: 0.85rem;
  }

  .simple-toc-toggle {
    width: 28px;
    height: 28px;
  }

  .simple-toc-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .simple-toc-h3 .simple-toc-link {
    padding-left: 1.5rem;
    font-size: 0.75rem;
  }

  .simple-toc-h4 .simple-toc-link {
    padding-left: 2rem;
    font-size: 0.7rem;
  }

  /* Article body typography for mobile */
  .simple-article-body h1 {
    font-size: 1.5rem;
    margin-top: 0;
  }

  .simple-article-body h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
  }

  .simple-article-body h3 {
    font-size: 1.1rem;
  }

  .simple-article-body h4 {
    font-size: 1rem;
  }

  .simple-article-body p {
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .simple-article-body ul,
  .simple-article-body ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .simple-article-body blockquote {
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }

  .simple-article-body pre {
    padding: 1rem;
    font-size: 0.8rem;
    overflow-x: auto;
    margin: 1rem 0;
  }

  .simple-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .simple-article-container {
    padding: 1.25rem 0.75rem;
  }

  .simple-article-header {
    padding: 1.25rem 1rem 1rem;
  }

  .simple-article-body {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }

  .simple-article-footer {
    padding: 1rem;
  }

  .simple-article-title {
    font-size: 1.5rem;
  }

  .simple-article-subtitle {
    font-size: 0.9rem;
  }

  .simple-breadcrumb-link {
    font-size: 0.75rem;
  }

  .simple-author {
    gap: 0.5rem;
  }

  .simple-author-avatar {
    width: 36px;
    height: 36px;
  }

  .simple-author-name {
    font-size: 0.85rem;
  }

  .simple-article-details {
    font-size: 0.7rem;
  }

  .simple-nav-link {
    padding: 0.75rem;
  }

  .simple-nav-direction {
    font-size: 0.7rem;
  }

  .simple-nav-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  /* Further reduce article typography */
  .simple-article-body h1 {
    font-size: 1.3rem;
  }

  .simple-article-body h2 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
  }

  .simple-article-body h3 {
    font-size: 1rem;
  }

  .simple-article-body h4 {
    font-size: 0.95rem;
  }

  .simple-article-body p {
    margin-bottom: 1rem;
  }

  .simple-article-body blockquote {
    padding: 0.75rem;
    margin: 1rem 0;
    font-size: 0.85rem;
  }

  .simple-article-body pre {
    padding: 0.75rem;
    font-size: 0.75rem;
  }

  .simple-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  /* TOC adjustments for small screens */
  .simple-toc-header {
    padding: 0.75rem;
  }

  .simple-toc-title {
    font-size: 0.8rem;
  }

  .simple-toc-toggle {
    width: 24px;
    height: 24px;
  }

  .simple-toc-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .simple-article-container {
    padding: 0.9rem 0.5rem;
  }

  .simple-article-header,
  .simple-article-body,
  .simple-article-footer {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .simple-article-title {
    font-size: 1.25rem;
  }

  .simple-article-body {
    font-size: 0.85rem;
  }

  .simple-article-body h1 {
    font-size: 1.2rem;
  }

  .simple-article-body h2 {
    font-size: 1.05rem;
  }

  .simple-article-body h3 {
    font-size: 0.95rem;
  }
}

/* Additional mobile TOC styling when positioned at top */
@media (max-width: 900px) {
  .simple-toc-wrapper {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 212, 170, 0.1);
  }

  .simple-toc-wrapper::before {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 212, 170, 0.12),
      transparent
    );
  }

  /* Ensure TOC is collapsed by default on mobile for better UX */
  .simple-toc-nav {
    max-height: 200px;
  }
}

/* =====================================================
   BIO PAGE STYLES
   ===================================================== */

.bio-page {
  background: #fafafa;
  min-height: 100vh;
  padding: 3rem 0 4rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.bio-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Bio Introduction */
.bio-intro {
  margin-bottom: 4rem;
}

.bio-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

.bio-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.bio-subtitle {
  font-size: 1.125rem;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-weight: 400;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.01em;
}

.bio-subtitle a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.bio-subtitle a:hover {
  color: #00d4aa;
  border-bottom-color: #00d4aa;
}

.bio-credentials {
  font-size: 0.9375rem;
  color: #999;
  margin: 0;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.01em;
}

.bio-content {
  color: #333;
  line-height: 1.75;
  font-size: 1.0625rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.bio-content a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.bio-content a:hover {
  color: #00d4aa;
  border-bottom-color: #00d4aa;
}

.bio-content p {
  margin-bottom: 1.25rem;
}

.bio-content p:last-child {
  margin-bottom: 0;
}

/* Bio Sections */
.bio-section {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.bio-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-heading {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.subsection-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 2rem 0 1.5rem 0;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.recent-presentations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-intro {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.section-intro a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 170, 0.3);
  transition: all 0.2s ease;
}

.section-intro a:hover {
  color: #00ffc8;
  border-bottom-color: #00ffc8;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.expertise-item {
  background: var(--light-glass-bg);
  backdrop-filter: blur(15px);
  padding: 1.2rem;
  border-radius: 4px;
  border: 1px solid var(--light-glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(32, 32, 32, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.expertise-item:hover::before {
  left: 100%;
}

.expertise-item:hover {
  border-color: var(--primary-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.expertise-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  font-family: "Inter", sans-serif;
}

.expertise-item p {
  color: #555;
  line-height: 1.65;
  margin: 0;
  font-size: 0.9375rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* Timeline */
.timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

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

.timeline-date {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #666;
  padding-top: 0.25rem;
  font-family: "JetBrains Mono", monospace;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: "Inter", sans-serif;
}

.timeline-company {
  font-size: 1rem;
  color: #00d4aa;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
  font-family: "JetBrains Mono", monospace;
}

.timeline-content p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* Education */
.education-list {
  margin-top: 2rem;
}

.education-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.education-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.education-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.education-institution {
  font-size: 0.9375rem;
  color: #00d4aa;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.education-details {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
  font-family: Georgia, "Times New Roman", serif;
}

/* Publications */
.publications-list {
  margin-top: 2rem;
}

.publication-item {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.publication-item:last-child {
  margin-bottom: 0;
}

.publication-item:hover {
  border-color: #00d4aa;
  box-shadow: 0 2px 8px rgba(0, 212, 170, 0.08);
}

.publication-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.publication-meta {
  font-size: 0.875rem;
  color: #666;
  margin: 0 0 1rem 0;
  font-style: italic;
}

.publication-abstract {
  color: #555;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-size: 0.9375rem;
  font-family: Georgia, "Times New Roman", serif;
}

.publication-link {
  display: inline-flex;
  align-items: center;
  color: #00d4aa;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.publication-link:hover {
  color: #00b894;
  transform: translateX(3px);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-item {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  transition: all 0.2s ease;
}

.project-item:hover {
  border-color: #00d4aa;
  box-shadow: 0 2px 8px rgba(0, 212, 170, 0.08);
}

.project-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.project-context {
  font-size: 0.875rem;
  color: #00d4aa;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.project-description {
  color: #555;
  line-height: 1.65;
  margin: 0;
  font-size: 0.9375rem;
  font-family: Georgia, "Times New Roman", serif;
}

/* Community Highlights */
.community-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.community-item {
  background: var(--light-glass-bg);
  backdrop-filter: blur(15px);
  padding: 1.2rem;
  border-radius: 4px;
  border: 1px solid var(--light-glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.community-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(32, 32, 32, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.community-item:hover::before {
  left: 100%;
}

.community-item:hover {
  border-color: var(--primary-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.community-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.community-item p {
  color: #555;
  line-height: 1.65;
  margin: 0;
  font-size: 0.9375rem;
  font-family: Georgia, "Times New Roman", serif;
}

.bio-page .expertise-item,
.bio-page .community-item,
.bio-page .presentation-item {
  border: none;
  box-shadow: none;
}

.bio-page .expertise-item::before,
.bio-page .community-item::before,
.bio-page .presentation-item::before {
  display: none;
}

.bio-page .expertise-item:hover,
.bio-page .community-item:hover,
.bio-page .presentation-item:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

/* Contact Section */
.bio-contact {
  text-align: center;
}

.contact-text {
  color: #555;
  line-height: 1.7;
  margin: 0 0 2rem 0;
  font-size: 1.0625rem;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: #00d4aa;
  border-color: #00d4aa;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
}

.contact-link i {
  font-size: 1.125rem;
}

/* Footer Contact Section - Compact Version */
.footer-contact {
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-contact-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #666666;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.footer-contact-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s ease;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.footer-contact-link:hover {
  background: #00d4aa;
  border-color: #00d4aa;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 212, 170, 0.15);
}

.footer-contact-link i {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-contact {
    padding: 1.5rem 0;
    margin-top: 3rem;
  }

  .footer-contact-container {
    padding: 0 1rem;
  }

  .footer-contact-links {
    gap: 0.75rem;
  }

  .footer-contact-link {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 580px) {
  .footer-contact-container {
    padding: 0 0.75rem;
  }

  .footer-contact-title {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }

  .footer-contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-contact-link {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .footer-contact-link i {
    font-size: 1rem;
  }
}

/* Responsive Bio Page */
@media (max-width: 768px) {
  .bio-page {
    padding: 2rem 0 3rem;
  }

  .bio-container {
    padding: 0 1.25rem;
  }

  .bio-title {
    font-size: 2rem;
  }

  .bio-subtitle {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-date {
    font-weight: 600;
    color: #00d4aa;
  }

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

  .community-highlights {
    grid-template-columns: 1fr;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-link {
    justify-content: center;
  }
}

/* Very small screens - ensure TOC doesn't take up too much space */
@media (max-width: 480px) {
  .simple-toc-wrapper {
    margin-bottom: 1rem;
  }

  .simple-toc-nav {
    max-height: 150px;
  }
}
