﻿
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

    :root {
      --bg: #05030f;
      --bg2: #0d0820;
      --bg3: #130d2e;
      --card: #0f0a22;
      --card-border: #7c3aed;
      --text: #e8e0ff;
      --text-muted: #9d8ec7;
      --accent: #a855f7;
      --accent2: #7c3aed;
      --accent-glow: rgba(168,85,247,0.25);
      --purple-outline: #a855f7;
      --header-bg: rgba(5,3,15,0.92);
      --tag-bg: rgba(124,58,237,0.18);
      --tag-border: #7c3aed;
      --hero-overlay: rgba(5,3,15,0.55);
    }

    [data-theme="light"] {
      --bg: #f3f0ff;
      --bg2: #ede8ff;
      --bg3: #e4dcff;
      --card: #ffffff;
      --card-border: #a855f7;
      --text: #1a0a3d;
      --text-muted: #6b4fa0;
      --accent: #7c3aed;
      --accent2: #a855f7;
      --accent-glow: rgba(124,58,237,0.15);
      --purple-outline: #7c3aed;
      --header-bg: rgba(243,240,255,0.95);
      --tag-bg: rgba(168,85,247,0.12);
      --tag-border: #a855f7;
      --hero-overlay: rgba(20,5,60,0.45);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Playfair Display', Georgia, serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      overflow-x: hidden;
    }

    /* NASA Stars Background - exact from reference */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.85) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(1.6px 1.6px at 40% 10%, rgba(255,255,255,0.95) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.85) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 70%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 55%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(1px 1px at 48% 30%, rgba(255,255,255,0.85) 0%, transparent 100%),
        radial-gradient(1px 1px at 72% 88%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 12%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(1px 1px at 63% 48%, rgba(200,180,255,0.7) 0%, transparent 100%);
      pointer-events: none;
      z-index: 0;
      opacity: 0.55;
    }

    [data-theme="light"] body::before {
      opacity: 0.08;
    }

    .theme-toggle {
      background: var(--tag-bg);
      border: 1px solid var(--purple-outline);
      color: var(--text);
      border-radius: 20px;
      padding: 0.35rem 0.75rem;
      cursor: pointer;
      font-size: 0.85rem;
      font-family: 'Inter', system-ui, sans-serif;
      transition: all 0.2s;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .theme-toggle:hover {
      box-shadow: 0 0 10px var(--accent-glow);
    }

    /* Typography */
    .sans { font-family: 'Inter', system-ui, -apple-system, sans-serif; letter-spacing: 0.01em; }
    h1, h2, .heading { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.1; }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--header-bg);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--purple-outline);
      box-shadow: 0 0 22px var(--accent-glow);
    }
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.75rem;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    @media (max-width: 768px) {
      .header-inner { padding: 0 1rem; height: 62px; }
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      text-decoration: none;
      color: var(--text);
    }
    .logo-icon {
      width: 34px; height: 34px;
      border: 2px solid var(--purple-outline);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 0 12px var(--accent-glow);
      font-size: 1rem;
      color: var(--accent);
      line-height: 1;
    }
    .logo-icon i {
      line-height: 1;
      display: block;
    }
    .logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
    @media (max-width: 480px) {
      .logo-text { font-size: 1.1rem; }
    }
    .logo-text span { color: var(--accent); }

    nav { display: flex; align-items: center; gap: 0.15rem; }
    nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.9rem;
      padding: 0.45rem 0.95rem;
      border-radius: 20px;
      border: 1px solid transparent;
      transition: all 0.2s;
    }
    nav a:hover, nav a.active {
      color: var(--accent);
      border-color: var(--purple-outline);
      background: var(--tag-bg);
      box-shadow: 0 0 10px var(--accent-glow);
    }

    .hamburger {
      display: none;
      background: none;
      border: 1px solid var(--purple-outline);
      color: var(--text);
      border-radius: 8px;
      padding: 0.45rem 0.7rem;
      cursor: pointer;
      font-size: 1.2rem;
      min-width: 44px;
      min-height: 44px;
      align-items: center;
      justify-content: center;
    }
    @media (max-width: 768px) {
      .hamburger { display: block; }
      nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--header-bg); flex-direction: column; padding: 0.6rem 1rem 1rem; border-bottom: 1px solid var(--purple-outline); gap: 0.25rem; }
      nav.open { display: flex; }
      nav a {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        text-align: left;
      }

      .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.82rem;
      }
      .logo { gap: 0.5rem; }

      .theme-toggle {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
      }
    }

    /* Hero with NASA background */
    .hero {
      position: relative;
      min-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      z-index: 1;
    }
    @media (max-width: 768px) {
      .hero { min-height: 78vh; }
    }
    @media (max-width: 480px) {
      .hero { min-height: 68vh; }
    }
    .hero-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.52) saturate(1.25);
      z-index: 1;
    }

    .hero-image picture,
    .hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(76,29,149,0.48) 0%, rgba(5,3,15,0.72) 58%, rgba(5,3,15,0.92) 100%);
      z-index: 2;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 2rem 1.5rem;
      max-width: 820px;
    }
    @media (max-width: 768px) {
      .hero-content { padding: 1.5rem 1.1rem 2.5rem; }
      .hero h1 { font-size: clamp(2.1rem, 7vw, 3.1rem); }
      .hero-sub { font-size: 1rem; margin-bottom: 1.6rem; }
      .hero-cta { padding: 0.75rem 1.7rem; font-size: 0.95rem; }
    }
    @media (max-width: 480px) {
      .hero-cta { width: 100%; justify-content: center; }
    }
    .hero-eyebrow {
      display: inline-block;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.78rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--purple-outline);
      border-radius: 20px;
      padding: 0.32rem 1.05rem;
      margin-bottom: 1.35rem;
      box-shadow: 0 0 14px var(--accent-glow);
    }
    .hero h1 {
      font-size: clamp(2.55rem, 6.2vw, 4.65rem);
      line-height: 1.08;
      color: #fff;
      text-shadow: 0 0 48px rgba(168,85,247,0.55);
      margin-bottom: 0.9rem;
    }
    .hero h1 em { color: var(--accent); font-style: normal; }
    .hero-sub {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: clamp(1.05rem, 2.1vw, 1.25rem);
      color: rgba(232,224,255,0.88);
      margin-bottom: 2.1rem;
      max-width: 580px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: linear-gradient(135deg, var(--accent2), var(--accent));
      color: #fff;
      text-decoration: none;
      padding: 0.9rem 2.15rem;
      border-radius: 30px;
      font-family: 'Inter', system-ui, sans-serif;
      font-weight: 600;
      font-size: 0.96rem;
      box-shadow: 0 0 28px var(--accent-glow), 0 4px 18px rgba(0,0,0,0.45);
      transition: transform 0.2s, box-shadow 0.2s;
      border: 1px solid var(--purple-outline);
    }
    .hero-cta:hover { transform: translateY(-2px); box-shadow: 0 0 42px rgba(168,85,247,0.55), 0 8px 26px rgba(0,0,0,0.45); }

    .hero-credit {
      position: absolute;
      bottom: 1.1rem;
      right: 1.4rem;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.65rem;
      color: rgba(255,255,255,0.35);
      z-index: 2;
    }
    .hero-credit a {
      color: inherit;
      text-decoration: none;
    }
    .hero-credit a:hover {
      color: rgba(255,255,255,0.65);
      text-decoration: underline;
    }

    /* Sections */
    .section {
      position: relative;
      z-index: 1;
      padding: 4.5rem 1.5rem;
    }
    @media (max-width: 768px) {
      .section { padding: 3rem 1rem; }
    }
    @media (max-width: 480px) {
      .section { padding: 2.4rem 0.9rem; }
    }
    .section-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    @media (max-width: 768px) {
      .section-inner { padding: 0 1rem; }
    }
    .section-label {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.74rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.55rem;
    }
    .section-title {
      font-size: clamp(1.75rem, 3.1vw, 2.35rem);
      margin-bottom: 2.1rem;
    }
    .section-title span { color: var(--accent); }

    /* Featured Card */
    .featured-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid var(--purple-outline);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 0 32px var(--accent-glow), 0 10px 36px rgba(0,0,0,0.45);
      background: var(--card);
      transition: box-shadow 0.3s;
    }
    .featured-card:hover { box-shadow: 0 0 55px rgba(168,85,247,0.38), 0 14px 44px rgba(0,0,0,0.5); }

    /* Portrait version of featured card (stacked layout for tall images) */
    .featured-card.featured-portrait {
      grid-template-columns: 1fr;
    }
    .featured-card.featured-portrait .featured-img {
      min-height: 420px;
    }

    @media (max-width: 768px) {
      .featured-card { grid-template-columns: 1fr; }
      .featured-body { padding: 1.8rem 1.5rem; }
      .featured-body h2 { font-size: 1.55rem; }
    }
    @media (max-width: 480px) {
      .featured-body { padding: 1.5rem 1.2rem; }
    }

    .featured-img {
      position: relative;
      min-height: 390px;
      overflow: hidden;
    }
    .featured-img picture,
    .featured-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.55s;
    }
    .featured-card:hover .featured-img img { transform: scale(1.03); }

    .featured-body {
      padding: 2.35rem 2.4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.9rem;
    }
    .tag {
      display: inline-block;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      border-radius: 20px;
      padding: 0.22rem 0.8rem;
      align-self: flex-start;
    }
    .featured-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); line-height: 1.22; }
    .featured-body p { color: var(--text-muted); font-size: 1rem; }

    /* Filters */
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-bottom: 2.15rem;
    }
    .filter-btn {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.82rem;
      padding: 0.42rem 1.05rem;
      border-radius: 20px;
      border: 1px solid var(--purple-outline);
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s;
    }
    .filter-btn:hover, .filter-btn.active {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      box-shadow: 0 0 14px var(--accent-glow);
    }

    /* Post Grid */
    .post-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
      gap: 1.85rem;
    }
    @media (max-width: 1024px) {
      .post-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
    }
    @media (max-width: 768px) {
      .post-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
      }
      .post-card-body { padding: 1.1rem 1.2rem; }
      .post-card-body h3 { font-size: 1rem; }
    }
    .post-card {
      background: var(--card);
      border: 1px solid var(--purple-outline);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 0 18px var(--accent-glow);
      transition: transform 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
    }
    .post-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 0 34px rgba(168,85,247,0.38), 0 10px 26px rgba(0,0,0,0.4);
    }
    .post-card-img {
      overflow: hidden;
      position: relative;
      aspect-ratio: 3 / 4;          /* Portrait-friendly ratio for the cards */
      background: var(--bg2);
    }
    .post-card-img picture,
    .post-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s;
      display: block;
    }
    .post-card:hover .post-card-img img { transform: scale(1.04); }

    .post-card-body {
      padding: 1.35rem 1.45rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
    .post-card-body h3 {
      font-size: 1.07rem;
      line-height: 1.32;
      color: var(--text);
    }
    .post-card-body p {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.9rem;
      color: var(--text-muted);
      flex: 1;
    }
    .post-meta {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* About Strip */
    .about-strip {
      background: linear-gradient(135deg, var(--bg3), var(--bg2));
      border-top: 1px solid var(--purple-outline);
      border-bottom: 1px solid var(--purple-outline);
      box-shadow: 0 0 42px var(--accent-glow);
    }
    .about-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 3.6rem 1.5rem;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 2.8rem;
      align-items: center;
    }
    @media (max-width: 768px) {
      .about-inner {
        padding: 2.8rem 1.2rem;
        gap: 2rem;
      }
    }
    @media (max-width: 640px) {
      .about-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
      .about-avatar { width: 108px; height: 108px; margin: 0 auto; }
      .about-text h2 { font-size: 1.55rem; }
    }
    .about-avatar {
      width: 138px; height: 138px;
      border-radius: 50%;
      border: 3px solid var(--purple-outline);
      box-shadow: 0 0 26px var(--accent-glow);
      object-fit: cover;
      flex-shrink: 0;
    }
    .about-text h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
    .about-text h2 span { color: var(--accent); }
    .about-text p {
      color: var(--text-muted);
      max-width: 620px;
      margin-bottom: 1.05rem;
      font-size: 1.01rem;
    }
    .about-link {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      color: var(--accent);
      text-decoration: none;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.92rem;
      border: 1px solid var(--purple-outline);
      border-radius: 20px;
      padding: 0.48rem 1.15rem;
      background: var(--tag-bg);
      transition: all 0.2s;
    }
    .about-link:hover { box-shadow: 0 0 14px var(--accent-glow); }

    /* Contact */
    .contact-form {
      max-width: 620px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
    }
    .form-group { display: flex; flex-direction: column; gap: 0.35rem; }
    .form-group label {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.84rem;
      color: var(--text-muted);
    }
    .form-group input, .form-group textarea {
      background: var(--card);
      border: 1px solid var(--purple-outline);
      border-radius: 11px;
      color: var(--text);
      padding: 0.82rem 1.05rem;
      font-size: 0.97rem;
      font-family: 'Inter', system-ui, sans-serif;
      outline: none;
      transition: box-shadow 0.2s, border-color 0.2s;
      width: 100%;
    }
    .form-group input:focus, .form-group textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 14px var(--accent-glow);
    }
    .form-group textarea { resize: vertical; min-height: 138px; }
    .btn-submit {
      background: linear-gradient(135deg, var(--accent2), var(--accent));
      color: #fff;
      border: 1px solid var(--purple-outline);
      border-radius: 30px;
      padding: 0.88rem 2.4rem;
      font-size: 1rem;
      font-family: 'Inter', system-ui, sans-serif;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 0 22px var(--accent-glow);
      transition: transform 0.2s, box-shadow 0.2s;
      align-self: flex-start;
      margin-top: 0.4rem;
    }
    @media (max-width: 640px) {
      .btn-submit {
        width: 100%;
        text-align: center;
        justify-content: center;
      }
    }
    .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(168,85,247,0.55); }

    /* Footer */
    footer {
      position: relative;
      z-index: 1;
      background: var(--bg2);
      border-top: 1px solid var(--purple-outline);
      padding: 2.6rem 1.5rem 1.6rem;
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 2rem;
      margin-bottom: 1.6rem;
    }
    @media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
      footer { padding: 2rem 1rem 1.4rem; }
    }
    .footer-col h4 {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.9rem;
    }
    .footer-col p, .footer-col a {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.9rem;
      color: var(--text-muted);
      text-decoration: none;
      display: block;
      margin-bottom: 0.38rem;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--accent); }

    .nebula-divider {
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
      opacity: 0.48;
      margin: 0;
    }

    /* ========== POST PAGE STYLES ========== */
    .post-card {
      text-decoration: none !important;
      color: inherit;
      display: flex;
      flex-direction: column;
    }
    .post-card:hover {
      text-decoration: none;
    }

    .post-hero {
      position: relative;
      min-height: 240px;
      height: clamp(240px, 28vh, 380px);
      max-height: 400px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      z-index: 1;
    }
    @media (max-width: 768px) {
      .post-hero {
        min-height: 200px;
        height: clamp(200px, 32vh, 280px);
      }
      .post-hero-content { padding: 0 1rem 1.2rem; }
      .post-hero-content h1 { font-size: 1.65rem; }
      .post-meta-bar { font-size: 0.76rem; gap: 0.6rem; }
    }
    .post-hero-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 45%;
      filter: brightness(0.62) saturate(1.22);
      z-index: 1;
    }
    .post-hero-image picture,
    .post-hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .post-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5,3,15,0.05) 0%, rgba(5,3,15,0.45) 40%, rgba(5,3,15,0.92) 100%);
      z-index: 2;
    }
    .post-hero-content {
      position: relative;
      z-index: 2;
      max-width: 920px;
      padding: 0 1.75rem 1.5rem;
      margin: 0 auto;
      width: 100%;
    }
    .post-hero-content .tag {
      margin-bottom: 0.85rem;
    }
    .post-hero-content h1 {
      font-size: clamp(1.85rem, 4.2vw, 2.65rem);
      color: #fff;
      text-shadow: 0 0 30px rgba(0,0,0,0.6);
      margin-bottom: 0.45rem;
      line-height: 1.15;
    }

    .post-meta-bar {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      flex-wrap: wrap;
      color: var(--text-muted);
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.82rem;
      margin-top: 0.2rem;
    }
    .post-meta-bar span {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .post-hero-credit {
      position: absolute;
      bottom: 1.1rem;
      right: 1.5rem;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.65rem;
      color: rgba(255,255,255,0.35);
      z-index: 2;
    }
    @media (max-width: 480px) {
      .post-hero-credit { right: 1rem; bottom: 0.9rem; font-size: 0.6rem; }
    }
    .post-hero-credit a {
      color: inherit;
      text-decoration: none;
    }
    .post-hero-credit a:hover {
      color: rgba(255,255,255,0.65);
      text-decoration: underline;
    }

    .article-content {
      max-width: 780px;
      margin: 0 auto;
      padding: 2.8rem 1.5rem 3.5rem;
      font-size: 1.05rem;
      line-height: 1.78;
      color: var(--text);
    }
    @media (max-width: 768px) {
      .article-content {
        padding: 2rem 1rem 2.8rem;
        font-size: 1rem;
        line-height: 1.72;
      }
      .article-content h2 { font-size: 1.45rem; }
      .article-content h3 { font-size: 1.2rem; }
    }
    .article-content h2 {
      font-size: 1.65rem;
      margin: 2.1rem 0 0.9rem;
      color: var(--text);
    }
    .article-content h3 {
      font-size: 1.32rem;
      margin: 1.8rem 0 0.7rem;
      color: var(--text);
    }
    .article-content p {
      margin-bottom: 1.15rem;
      color: var(--text-muted);
    }
    .article-content ul, .article-content ol {
      margin: 1rem 0 1.4rem 1.3rem;
      color: var(--text-muted);
    }
    .article-content li {
      margin-bottom: 0.45rem;
    }
    .article-content blockquote {
      border-left: 4px solid var(--accent);
      padding-left: 1.35rem;
      margin: 1.6rem 0;
      font-style: italic;
      color: var(--text);
    }
    .article-image {
      width: 100%;
      max-width: 100%;
      border-radius: 12px;
      border: 1px solid var(--purple-outline);
      margin: 1.8rem 0;
      box-shadow: 0 0 24px var(--accent-glow);
    }
    .image-caption {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.82rem;
      color: var(--text-muted);
      text-align: center;
      margin-top: -0.8rem;
      margin-bottom: 1.6rem;
    }

    .post-nav {
      max-width: 780px;
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    @media (max-width: 768px) {
      .post-nav { padding: 0 1rem 2.2rem; gap: 0.6rem; }
      .back-to-archive { font-size: 0.88rem; padding: 0.5rem 1rem; }
    }
    .back-to-archive {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      color: var(--accent);
      text-decoration: none;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.95rem;
      padding: 0.55rem 1.15rem;
      border: 1px solid var(--purple-outline);
      border-radius: 9999px;
      background: var(--tag-bg);
      transition: all 0.2s;
    }
    .back-to-archive:hover {
      box-shadow: 0 0 14px var(--accent-glow);
      transform: translateX(-2px);
    }

    .post-footer {
      border-top: 1px solid var(--purple-outline);
      background: var(--bg2);
      padding: 2rem 1.5rem;
      text-align: center;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* ========== ABOUT PAGE SPECIFIC STYLES (matching reference) ========== */
    .page-hero {
      position: relative;
      min-height: 420px;
      display: flex;
      align-items: center;
      overflow: hidden;
      z-index: 1;
    }
    .page-hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=1600&q=80&auto=format&fit=crop');
      background-size: cover;
      background-position: center;
      filter: brightness(0.5) saturate(1.2);
    }
    .page-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5,3,15,0.3) 0%, rgba(5,3,15,0.85) 70%);
    }
    .page-hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      padding: 0 1.75rem;
      margin: 0 auto;
    }
    .hero-eyebrow {
      display: inline-block;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.78rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--purple-outline);
      border-radius: 20px;
      padding: 0.3rem 1rem;
      margin-bottom: 1rem;
    }
    .page-hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.4rem);
      color: #fff;
    }
    .page-hero p {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 1.1rem;
      color: rgba(232,224,255,0.9);
      max-width: 620px;
    }

    .about-main {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 2.5rem;
      align-items: start;
    }
    @media (max-width: 900px) {
      .about-main { grid-template-columns: 1fr; }
    }

    .about-sidebar {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .avatar-wrap {
      position: relative;
      width: 100%;
      max-width: 280px;
    }
    .avatar-wrap img {
      width: 100%;
      border-radius: 16px;
      border: 2px solid var(--purple-outline);
      box-shadow: 0 0 30px var(--accent-glow);
    }
    .info-card {
      background: var(--card);
      border: 1px solid var(--purple-outline);
      border-radius: 12px;
      padding: 1.1rem 1.2rem;
      box-shadow: 0 0 16px var(--accent-glow);
    }
    .info-card h3 {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 0.8rem;
      letter-spacing: 0.05em;
    }
    .info-row {
      display: flex;
      gap: 0.7rem;
      margin-bottom: 0.6rem;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.9rem;
    }
    .info-label {
      color: var(--text-muted);
      display: block;
      font-size: 0.75rem;
    }
    .tags-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }
    .tags-wrap .tag {
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      color: var(--accent);
      padding: 0.15rem 0.55rem;
      border-radius: 999px;
      font-size: 0.75rem;
    }

    .about-content h2 {
      font-size: 1.5rem;
      margin: 1.4rem 0 0.6rem;
    }
    .highlight-box {
      background: var(--bg3);
      border-left: 4px solid var(--accent);
      padding: 1rem 1.2rem;
      margin: 1rem 0;
      font-style: italic;
    }

    .gear-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    .gear-card {
      background: var(--card);
      border: 1px solid var(--purple-outline);
      border-radius: 12px;
      padding: 1.2rem;
    }
    @media (max-width: 1024px) {
      .gear-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .gear-grid { grid-template-columns: 1fr; gap: 1rem; }
      .gear-card { padding: 1.05rem; }
    }
    .gear-card.featured-gear {
      border-color: var(--accent);
      box-shadow: 0 0 24px var(--accent-glow);
    }
    .gear-icon {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
    }
    .gear-badge {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      font-size: 0.7rem;
      padding: 0.1rem 0.5rem;
      border-radius: 20px;
      margin-bottom: 0.4rem;
    }

    .gear-icon .gear-badge {
      font-size: 0.95rem;
      padding: 0.35rem 0.85rem;
      margin-bottom: 0;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      border: 1px solid var(--purple-outline);
      aspect-ratio: 4 / 3;
      text-decoration: none;
      color: inherit;
      display: block;
    }
    @media (max-width: 1024px) {
      .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
      }
    }
    @media (max-width: 480px) {
      .gallery-grid { grid-template-columns: 1fr; gap: 0.75rem; }
      .gallery-item-overlay { font-size: 0.75rem; padding: 0.85rem 0.7rem 0.5rem; }
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;             /* Makes images fill the frame */
      display: block;
      transition: transform 0.4s;
    }
    .gallery-item:hover img {
      transform: scale(1.06);
    }
    .gallery-item-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(5,3,15,0.85));
      padding: 1rem 0.8rem 0.6rem;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.8rem;
      color: #fff;
    }

    .timeline {
      display: grid;
      gap: 1.6rem;
      position: relative;
    }
    .timeline-item {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 1rem;
    }
    .timeline-dot {
      width: 42px;
      height: 42px;
      background: var(--card);
      border: 2px solid var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .timeline-item {
        grid-template-columns: 38px 1fr;
        gap: 0.75rem;
      }
      .timeline-dot {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
      }
      .timeline-body { padding-top: 0.1rem; }
      .timeline-year { font-size: 0.7rem; }
    }
    .timeline-body {
      padding-top: 0.3rem;
    }
    .timeline-year {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.75rem;
      color: var(--accent);
      margin-bottom: 0.2rem;
    }
 

/* Social Media Icons - About Page */
.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--purple-outline);
  border-radius: 50%;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  background: var(--tag-bg);
}

.social-link:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: translateY(-2px);
}
