/* ==========================================================================
   jesvs' blog - Main Stylesheet
   Bold Editorial with Brutalist Edge
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --accent: #8B2635;
  --sage: #6B7B6C;
  --border: #E5E2DD;
  --card-bg: #FFFFFF;
  --muted: #6B6B6B;

  /* Typography */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --container-max: 1200px;
  --content-max: 720px;
  --sidebar-width: 300px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-lg);
}

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

a:hover {
  color: var(--fg);
}

strong {
  font-weight: 600;
}

time {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.site-content {
  flex: 1;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(250, 248, 245, 0.95);
  margin-bottom: var(--space-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--fg);
}

.logo-accent {
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--fg);
}

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

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--accent);
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--transition-fast);
}

.hamburger {
  top: 50%;
  transform: translate(-50%, -50%);
}

.hamburger::before {
  content: '';
  top: -8px;
}

.hamburger::after {
  content: '';
  top: 8px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Homepage - Featured Section
   -------------------------------------------------------------------------- */
.featured-section {
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-lg);
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.featured-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.featured-title a {
  color: var(--fg);
}

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

.featured-excerpt {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.read-more svg {
  transition: transform var(--transition-fast);
}

.read-more:hover svg {
  transform: translateX(4px);
}

.featured-image {
  min-height: 300px;
  background: var(--border);
}

.featured-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--sage) 100%);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Posts Grid
   -------------------------------------------------------------------------- */
.posts-section {
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-lg);
}

.section-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--fg);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  overflow: hidden;
  position: relative;
}

.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-card-image {
  min-height: 180px;
  background: var(--border);
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.post-card-gradient {
  background: linear-gradient(135deg, var(--sage) 0%, var(--accent) 100%);
}

.post-card-content {
  padding: var(--space-lg);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
}

.reading-time {
  color: var(--muted);
  font-size: 0.8125rem;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.post-card-title a {
  color: var(--fg);
}

.post-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Single Post
   -------------------------------------------------------------------------- */
.single-post {
  width: 100%;
}

.post-header {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.post-header-content {
  max-width: var(--content-max);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

/* Post Image */
.post-image-container {
  margin-bottom: var(--space-xl);
}

.post-image {
  margin: 0;
  max-width: var(--content-max);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Layout with Sidebar */
.post-layout {
  margin-bottom: var(--space-2xl);
}

.post-layout-inner {
  display: block;
  position: relative;
}

/* Sidebar - float based for text wrap */
.post-sidebar {
  display: none;
  float: right;
  width: var(--sidebar-width);
  margin-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.sidebar-ad {
  position: sticky;
  top: 80px;
}

/* Post Content */
.post-content {
  max-width: var(--content-max);
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.post-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.post-content ul,
.post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.post-content li {
  margin-bottom: var(--space-sm);
}

.post-content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  font-style: italic;
}

.post-content code {
  background: var(--border);
  padding: 0.125em 0.375em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

.post-content pre {
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-lg);
}

.post-content pre code {
  background: none;
  padding: 0;
}

/* In-content Ad */
.in-content-ad {
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Post Footer */
.post-footer {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
}

.post-share {
  margin-bottom: var(--space-2xl);
}

.post-related {
  margin-bottom: var(--space-2xl);
}

.below-content-ad {
  padding: var(--space-xl) 0;
}

/* --------------------------------------------------------------------------
   Author Display
   -------------------------------------------------------------------------- */
/* Compact author display in post header */
.post-author {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 1px solid var(--border);
}

.author-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.author-name {
  font-weight: 500;
  color: var(--fg);
}

/* Full author bio card in footer */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.author-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-info {
  flex: 1;
}

.author-card .author-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--fg);
}

.author-bio {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Share Buttons
   -------------------------------------------------------------------------- */
.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.share-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-right: var(--space-sm);
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.share-button:hover {
  border-color: currentColor;
  transform: translateY(-2px);
}

.share-twitter:hover {
  color: #000000;
  background: #000000;
  border-color: #000000;
}

.share-twitter:hover svg {
  color: white;
}

.share-facebook:hover {
  color: white;
  background: #1877F2;
  border-color: #1877F2;
}

.share-linkedin:hover {
  color: white;
  background: #0A66C2;
  border-color: #0A66C2;
}

.share-whatsapp:hover {
  color: white;
  background: #25D366;
  border-color: #25D366;
}

/* --------------------------------------------------------------------------
   Related Posts
   -------------------------------------------------------------------------- */
.related-posts {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.related-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.related-card:hover {
  border-color: var(--accent);
}

.related-card-link {
  display: block;
  padding: var(--space-lg);
}

.related-card-title {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--fg);
}

.related-card:hover .related-card-title {
  color: var(--accent);
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   POST TAGS
   -------------------------------------------------------------------------- */
.post-tags {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tags-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(139, 38, 53, 0.25);
}

/* --------------------------------------------------------------------------
   TAG PAGE
   -------------------------------------------------------------------------- */
.tag-page {
  padding: var(--space-3xl) 0;
}

.tag-page-header {
  text-align: center;
  padding: var(--space-3xl) 0;
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
}

.tag-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.tag-name {
  color: var(--accent);
}

.tag-count {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Ad Containers
   -------------------------------------------------------------------------- */
.ad-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.ad-horizontal {
  min-height: 90px;
}

.ad-vertical {
  min-height: 250px;
}

.ad-auto {
  min-height: 120px;
}

/* Hide ad containers on failure */
.ad-container:empty {
  display: none;
}

/* Homepage Ad */
.homepage-ad {
  margin: var(--space-2xl) 0;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
}

.pagination a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg);
  transition: all var(--transition-fast);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   List Page
   -------------------------------------------------------------------------- */
.list-page {
  padding-bottom: var(--space-2xl);
}

.list-header {
  padding: var(--space-2xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.list-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.list-description {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

/* --------------------------------------------------------------------------
   Desktop Only / Mobile Only Utilities
   -------------------------------------------------------------------------- */
.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

/* --------------------------------------------------------------------------
   Responsive Styles
   -------------------------------------------------------------------------- */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .featured-post {
    grid-template-columns: 1fr 1fr;
  }

  .featured-content {
    order: 1;
  }

  .featured-image {
    order: 2;
    min-height: 400px;
  }

  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header-inner {
    height: 72px;
  }

  .post-sidebar {
    display: block;
  }

  .post-content {
    max-width: none;
  }

  .featured-image {
    min-height: 450px;
  }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-2xl);
  }

  .featured-section,
  .posts-section {
    padding: 0 var(--space-2xl);
  }

  .featured-post {
    grid-template-columns: 1.2fr 1fr;
  }

  .featured-content {
    padding: var(--space-2xl);
  }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .share-buttons {
    justify-content: flex-start;
  }

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

  .featured-content {
    padding: var(--space-lg);
  }

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

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .post-sidebar,
  .ad-container,
  .share-buttons,
  .related-posts,
  .pagination {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .post-content {
    max-width: 100%;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

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

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card,
.related-card {
  animation: fadeIn 0.4s ease-out;
}

/* Stagger animation for grid items */
.posts-grid .post-card:nth-child(2) { animation-delay: 0.1s; }
.posts-grid .post-card:nth-child(3) { animation-delay: 0.2s; }
.posts-grid .post-card:nth-child(4) { animation-delay: 0.3s; }
.posts-grid .post-card:nth-child(5) { animation-delay: 0.4s; }
.posts-grid .post-card:nth-child(6) { animation-delay: 0.5s; }
