/* ================================================================
   portfolio.css -Complete standalone styles for alhassansahad.com
   ================================================================ */


/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #000000;
  color: #94A3B8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --bg:            #000000;
  --bg-card:       #0D0D0D;
  --bg-alt:        #080808;
  --accent:        #38BDF8;
  --accent-dark:   #0EA5E9;
  --accent-glow:   rgba(56, 189, 248, 0.10);
  --text-h:        #F1F5F9;
  --text:          #94A3B8;
  --text-muted:    #64748B;
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(56, 189, 248, 0.35);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg:     0 16px 48px rgba(0, 0, 0, 0.55);
  --radius:        12px;
  --max-w:         1100px;
  --nav-h:         68px;
}


/* ── Layout Utilities ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-label {
  font-family: 'Fira Code', 'Monaco', 'Courier New', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-h);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text);
  max-width: 520px;
  margin-bottom: 48px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}


/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000000;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}


/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Resume pill button in nav */
.nav-resume {
  padding: 7px 16px !important;
  border: 1px solid var(--accent) !important;
  border-radius: 6px !important;
  color: var(--accent) !important;
  font-size: 0.83rem !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-resume:hover {
  background: var(--accent-glow) !important;
  transform: translateY(-1px) !important;
  color: var(--accent) !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-h);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Ambient glow blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-bottom: 80px;
}

.hero-greeting {
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.38s;
}

.hero-role {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.54s;
}

.hero-desc {
  max-width: 560px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.70s;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.86s;
}


/* ── Combined Hero/About section ────────────────────────────── */
.section-hero {
  padding-top: calc(var(--nav-h) + 80px);
}

.section-hero .hero-greeting {
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.section-hero .hero-name {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.38s;
}

.section-hero .hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.54s;
}


/* ── About ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.about-img-wrap {
  position: relative;
  z-index: 0;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

/* Offset accent frame */
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transform: translate(10px, 10px);
  z-index: -1;
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-img-wrap:hover img {
  border-color: rgba(56, 189, 248, 0.5);
}

.about-img-wrap:hover::after {
  transform: translate(5px, 5px);
  opacity: 0.7;
}

.about-body p {
  color: var(--text);
  margin-bottom: 14px;
}

.about-body strong {
  color: var(--text-h);
  font-weight: 600;
}

.about-body .hero-cta {
  margin-top: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ── Skills ──────────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.skills-col-title {
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-list li {
  position: relative;
  padding: 8px 14px 8px 26px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.skills-list li::before {
  content: '▸';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.65rem;
}

.skills-list li:hover {
  border-color: var(--border-hover);
  color: var(--text-h);
  transform: translateX(4px);
}


/* ── Project Cards ───────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img-link {
  display: block;
  overflow: hidden;
  background: var(--bg);
}

.card-img {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--bg);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-tag {
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-title a {
  color: inherit;
  transition: color 0.2s;
}

.card-title a:hover {
  color: var(--accent);
}

.card-excerpt {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 10px;
}


/* ── Blog Gradient Cover (reuses .project-card structure) ───── */

/* The cover replaces the photo -rendered as a CSS gradient */
.blog-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid pattern overlay */
.blog-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Large emoji icon centred in the cover */
.blog-cover-icon {
  font-size: 3rem;
  line-height: 1;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.project-card:hover .blog-cover-icon {
  transform: scale(1.1);
}

/* Date · read time line */
.blog-cover-meta {
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  z-index: 1;
}


/* ── Contact ─────────────────────────────────────────────────── */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-box .section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-desc {
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-desc strong {
  color: var(--text-h);
  font-weight: 600;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* ── Scroll Fade-in Animation ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-d1 { transition-delay: 0.12s; }
.fade-in-d2 { transition-delay: 0.24s; }
.fade-in-d3 { transition-delay: 0.36s; }


/* ── Hero Entry Animation ────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── Responsive: Tablet (≤900px) ─────────────────────────────── */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}


/* ── Responsive: Mobile (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {

  .section {
    padding: 72px 0;
  }

  /* Navbar: mobile drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 13px 32px;
    font-size: 1rem;
  }

  .nav-resume {
    margin: 8px 32px 0 !important;
    display: block !important;
    text-align: center !important;
    padding: 10px 16px !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* About: stack vertically */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap {
    max-width: 200px;
  }

  .about-img-wrap::after {
    display: none;
  }

  /* Skills: 1 column */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Projects: 1 column */
  .projects-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Responsive: Small Mobile (≤480px) ───────────────────────── */
@media (max-width: 480px) {

  .container,
  .hero-inner {
    padding: 0 1.25rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-links .btn {
    width: 100%;
  }
}


/* ================================================================
   POST PAGE STYLES
   ================================================================ */

/* ── Post Hero ───────────────────────────────────────────────── */
.post-hero {
  padding-top: var(--nav-h);
}

/* Project posts: full-width image banner */
.post-hero-img {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Fade the image into the page background */
.post-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, var(--bg) 100%);
}

/* Blog posts: gradient banner */
.post-hero-gradient {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.post-hero-icon {
  font-size: 4.5rem;
  z-index: 1;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6));
}

/* Meta row: back link + tags */
.post-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 36px 0 20px;
  flex-wrap: wrap;
}

.post-back {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-right: 6px;
  transition: opacity 0.2s;
}

.post-back:hover {
  opacity: 0.75;
}

/* Post title */
.post-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: 16px;
}

/* Date · read time */
.post-meta-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 52px;
}

/* ── Post Body ───────────────────────────────────────────────── */
.post-main {
  padding-bottom: 96px;
}

.post-body {
  max-width: 720px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.82;
}

.post-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 52px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  letter-spacing: -0.02em;
}

.post-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 36px 0 12px;
}

.post-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-h);
  margin: 24px 0 8px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body strong {
  color: var(--text-h);
  font-weight: 600;
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.post-body a:hover {
  opacity: 0.8;
}

.post-body ul,
.post-body ol {
  margin: 0 0 20px 1.5rem;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin: 28px 0;
  background: var(--accent-glow);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.post-body blockquote p {
  margin: 0;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 44px 0;
}

.post-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 28px 0;
  border: 1px solid var(--border);
}

/* ── Tables ──────────────────────────────────────────────────── */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}

.post-body th {
  text-align: left;
  padding: 10px 16px;
  background: var(--bg-card);
  color: var(--text-h);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.post-body td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.post-body tr:last-child td {
  border-bottom: none;
}

.post-body tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ── Code ────────────────────────────────────────────────────── */
.post-body code {
  font-family: 'Fira Code', 'Monaco', 'Courier New', monospace;
  font-size: 0.84em;
  background: var(--bg-card);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.post-body pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  overflow-x: auto;
  margin: 28px 0;
  line-height: 1.65;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-h);
  font-size: 0.88rem;
}

/* ── Post Footer Nav ─────────────────────────────────────────── */
.post-footer-nav {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ── Post responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .post-hero-img    { height: 240px; }
  .post-hero-gradient { height: 200px; }
  .post-hero-icon   { font-size: 3.5rem; }
  .post-meta-top    { padding-top: 24px; }
  .post-meta-bottom { margin-bottom: 36px; }
  .post-body        { font-size: 0.97rem; }
  .post-body pre    { padding: 16px 18px; }
}


/* ── Card Tags ───────────────────────────────────────────────── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}

.card-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
}


/* ── Footer Links ────────────────────────────────────────────── */
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}
