/* ==========================================================================
   Dev In Dolar Blog - Design System
   Baseado na Landing Page
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Design Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand Colors - Green */
  --brand-50: #f0fdf4;
  --brand-100: #dcfce7;
  --brand-200: #bbf7d0;
  --brand-300: #86efac;
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --brand-800: #166534;
  --brand-900: #14532d;
  --brand-950: #052e16;

  /* Dark Colors - Slate */
  --dark-950: #0a0f1a;
  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --dark-500: #64748b;
  --dark-400: #94a3b8;
  --dark-300: #cbd5e1;
  --dark-200: #e2e8f0;
  --dark-100: #f1f5f9;
  --dark-50: #f8fafc;

  /* Semantic Colors */
  --bg: var(--dark-900);
  --bg-subtle: var(--dark-800);
  --text: var(--dark-50);
  --text-secondary: var(--dark-300);
  --text-muted: var(--dark-400);
  --border: var(--dark-700);

  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --glow-brand: 0 0 20px rgba(34, 197, 94, 0.4);
  --glow-brand-lg: 0 0 30px rgba(34, 197, 94, 0.5);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --container-max: 1280px;
  --content-max: 720px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 200ms ease;
  --transition-slow: 300ms ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-600);
}

/* Selection */
::selection {
  background: rgba(34, 197, 94, 0.3);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-400);
}

strong, b {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

.main {
  flex: 1 0 auto;
}

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: 16px;
  left: -9999px;
  padding: 12px 16px;
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

.muted {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Navbar (igual à LP)
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-700);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .navbar-container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .navbar-container {
    padding: 0 32px;
  }
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.navbar-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-400);
}

.navbar-brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.navbar-menu {
  display: none;
  align-items: center;
  margin-left: 40px;
  gap: 4px;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--transition-fast);
}

.navbar-link:hover {
  color: var(--text);
}

.navbar-link.active {
  color: var(--text);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: var(--brand-600);
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  transition: all var(--transition-fast);
}

.navbar-cta:hover {
  background: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
}

/* Spacer para compensar navbar fixed */
.main {
  padding-top: 64px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 64px 0 48px;
}

@media (min-width: 768px) {
  .hero {
    padding: 96px 0 64px;
  }
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 32px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h1,
.section-header h2 {
  font-size: 24px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Post Grid
   -------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Post Card
   -------------------------------------------------------------------------- */

.post-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover {
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 640px) {
  .post-card-link {
    flex-direction: row;
  }
}

.post-card-media {
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  background: var(--dark-800);
  overflow: hidden;
}

@media (min-width: 640px) {
  .post-card-media {
    width: 220px;
    aspect-ratio: auto;
  }
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-media img {
  transform: scale(1.05);
}

.post-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 60%),
    var(--dark-800);
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.post-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
  transition: color var(--transition-fast);
}

.post-card:hover .post-card-title {
  color: var(--brand-400);
}

.post-card-excerpt {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Badge
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-300);
  background: rgba(20, 83, 45, 0.5);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.button:hover {
  color: var(--text);
  background: var(--dark-700);
  transform: translateY(-2px);
}

.button-primary {
  color: var(--text);
  background: var(--brand-600);
  border-color: transparent;
  box-shadow: var(--glow-brand);
}

.button-primary:hover {
  background: var(--brand-500);
  box-shadow: var(--glow-brand-lg);
}

.button-secondary {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}

.button-secondary:hover {
  color: var(--text);
  background: var(--dark-800);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
}

.pagination a:only-child {
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Article Header
   -------------------------------------------------------------------------- */

.article {
  max-width: 900px;
}

.article-header {
  padding: 48px 0 32px;
}

@media (min-width: 768px) {
  .article-header {
    padding: 64px 0 40px;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--brand-400);
}

.breadcrumb span[aria-hidden] {
  color: var(--dark-600);
}

.article-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-meta span[aria-hidden] {
  color: var(--dark-600);
}

/* --------------------------------------------------------------------------
   Article Hero Image
   -------------------------------------------------------------------------- */

.article-hero {
  margin: 24px 0 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark-800);
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Prose - Article Content
   -------------------------------------------------------------------------- */

.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: var(--content-max);
}

@media (min-width: 768px) {
  .prose {
    font-size: 18px;
  }
}

.prose > * + * {
  margin-top: 1.5em;
}

.prose p {
  margin-bottom: 1.5em;
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: var(--brand-500);
}

.prose h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  color: var(--text);
}

.prose h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--text);
}

.prose h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: var(--text);
}

.prose a {
  color: var(--brand-400);
  text-decoration: underline;
  text-decoration-color: rgba(74, 222, 128, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-fast);
}

.prose a:hover {
  text-decoration-color: var(--brand-400);
}

.prose strong {
  font-weight: 600;
  color: var(--text);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--brand-400);
}

.prose pre {
  margin: 1.5em 0;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}

.prose pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-secondary);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  background: rgba(30, 41, 59, 0.8);
  border-left: 4px solid var(--brand-500);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.prose hr {
  margin: 3em 0;
  border: none;
  height: 1px;
  background: var(--border);
}

.prose table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.prose th {
  background: var(--dark-800);
  font-weight: 600;
  color: var(--text);
}

.prose tr:nth-child(even) {
  background: rgba(30, 41, 59, 0.5);
}

/* --------------------------------------------------------------------------
   Article CTA
   -------------------------------------------------------------------------- */

.article-cta {
  margin-top: 64px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.article-cta h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 500px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--dark-950);
  border-top: 1px solid var(--dark-800);
  margin-top: 64px;
}

.cta {
  padding: 64px 0;
  border-bottom: 1px solid var(--dark-800);
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(34, 197, 94, 0.08), transparent);
}

.cta-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--brand-400);
}

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

.social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.social a:hover {
  color: var(--text);
  background: var(--dark-700);
  border-color: var(--dark-600);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0 32px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--dark-800);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   Homepage - Hero
   -------------------------------------------------------------------------- */

.home-hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-hero {
    padding: 80px 0 96px;
  }
}

.home-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(34, 197, 94, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-300);
  background: rgba(20, 83, 45, 0.4);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
}

.home-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.home-hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
}

.home-hero-highlight {
  background: linear-gradient(135deg, var(--brand-400) 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .home-hero-subtitle {
    font-size: 20px;
  }
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Homepage - Posts List
   -------------------------------------------------------------------------- */

.home-posts {
  padding: 64px 0;
  border-top: 1px solid var(--dark-800);
}

@media (min-width: 768px) {
  .home-posts {
    padding: 80px 0;
  }
}

.home-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.home-posts-header h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.home-posts-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-400);
  transition: color var(--transition-fast);
}

.home-posts-link:hover {
  color: var(--brand-300);
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-item {
  border-top: 1px solid var(--dark-800);
}

.post-item:last-child {
  border-bottom: 1px solid var(--dark-800);
}

.post-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  transition: all var(--transition-fast);
}

.post-item-link:hover {
  padding-left: 16px;
}

.post-item-content {
  flex: 1;
  min-width: 0;
}

.post-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.post-item-category {
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-400);
  background: rgba(34, 197, 94, 0.1);
  border-radius: 4px;
}

.post-item-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .post-item-title {
    font-size: 24px;
  }
}

.post-item-link:hover .post-item-title {
  color: var(--brand-400);
}

.post-item-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .post-item-excerpt {
    font-size: 16px;
  }
}

.post-item-arrow {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--dark-600);
  transition: all var(--transition-fast);
}

.post-item-link:hover .post-item-arrow {
  color: var(--brand-400);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Homepage - CTA Section
   -------------------------------------------------------------------------- */

.home-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-950) 100%);
  border-top: 1px solid var(--dark-800);
}

@media (min-width: 768px) {
  .home-cta {
    padding: 120px 0;
  }
}

.home-cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.home-cta-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.home-cta-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .home-cta-text {
    font-size: 18px;
  }
}

.button-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
