/* ============================================
   BLOG PAGE - HIGH-TECH BLACK/WHITE/CYAN THEME
   Clean, modern, minimal design
   ============================================ */

:root {
  --blog-black: #000000;
  --blog-dark: #0a0a0a;
  --blog-card: #121214;
  --blog-border: rgba(255, 255, 255, 0.08);
  --blog-cyan: #00FFFF;
  --blog-white: #ffffff;
  --blog-gray: #9ca3af;
  --blog-light-gray: #d1d5db;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.blog-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at top, #0a0a0a 0%, #000000 100%);
  overflow: hidden;
}

.blog-background canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
.blog-section,
.blog-post-content,
.related-posts-section,
.page-header,
.cta-section {
  background: var(--blog-dark) !important;
  color: var(--blog-white);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--blog-border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blog-cyan), transparent);
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--blog-white);
  letter-spacing: -1px;
  text-transform: uppercase;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--blog-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-section {
  padding: 80px 0 100px;
  min-height: 70vh;
}

.blog-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

.blog-main-content {
  min-width: 0; /* Prevents grid overflow */
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 0;
}

/* ============================================
   BLOG CARD
   ============================================ */
.blog-card {
  background: var(--blog-card);
  border: 1px solid var(--blog-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blog-cyan);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--blog-cyan);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

/* Blog Image */
.blog-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--blog-black);
  position: relative;
  overflow: hidden;
}

.blog-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.blog-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blog-black), var(--blog-dark));
}

.blog-image-placeholder i {
  font-size: 3rem;
  color: var(--blog-cyan);
  opacity: 0.3;
}

.blog-image a {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Blog Content */
.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--blog-gray);
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  color: var(--blog-cyan);
  font-size: 0.9rem;
}

.blog-category {
  color: var(--blog-cyan) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.3;
}

.blog-content h3 a {
  color: var(--blog-white);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-content h3 a:hover {
  color: var(--blog-cyan);
}

.blog-excerpt {
  color: var(--blog-light-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Blog Footer */
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--blog-border);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--blog-cyan);
  color: var(--blog-cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-read-more:hover {
  background: var(--blog-cyan);
  color: var(--blog-black);
  transform: translateX(4px);
}

.btn-read-more i {
  transition: transform 0.3s;
}

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

.blog-stats {
  display: flex;
  gap: 16px;
  color: var(--blog-gray);
  font-size: 0.85rem;
}

.blog-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-stats i {
  color: var(--blog-cyan);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--blog-card);
  border: 2px solid var(--blog-border);
  color: var(--blog-white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: var(--blog-cyan);
  border-color: var(--blog-cyan);
  color: var(--blog-black);
  transform: scale(1.1);
}

.pagination-info {
  color: var(--blog-gray);
  font-size: 0.95rem;
  padding: 0 16px;
  font-weight: 600;
}

/* ============================================
   NO POSTS STATE
   ============================================ */
.no-posts {
  text-align: center;
  padding: 120px 40px;
}

.no-posts i {
  font-size: 5rem;
  color: var(--blog-cyan);
  opacity: 0.2;
  margin-bottom: 24px;
}

.no-posts h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--blog-white);
}

.no-posts p {
  font-size: 1.1rem;
  color: var(--blog-gray);
  margin-bottom: 32px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
  border-top: 2px solid var(--blog-border);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blog-cyan), transparent);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--blog-white);
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--blog-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn.glow-effect {
  background: var(--blog-cyan);
  color: var(--blog-black);
  border: 2px solid var(--blog-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn.glow-effect:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blog-white);
  border: 2px solid var(--blog-white);
}

.btn-outline:hover {
  background: var(--blog-white);
  color: var(--blog-black);
  transform: translateY(-2px);
}

/* ============================================
   BLOG POST DETAIL
   ============================================ */
.blog-post-header {
  padding: 140px 0 60px;
  border-bottom: 2px solid var(--blog-border);
  text-align: center;
}

.post-category-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--blog-cyan);
  color: var(--blog-cyan);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.post-title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 24px;
  color: var(--blog-white);
  line-height: 1.2;
  letter-spacing: -1px;
}

.post-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--blog-gray);
  font-size: 0.95rem;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-meta i {
  color: var(--blog-cyan);
}

.post-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  padding: 60px 0;
  align-items: start;
}

.post-featured-image {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--blog-border);
}

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

.post-body {
  color: var(--blog-light-gray);
  font-size: 1.1rem;
  line-height: 1.9;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--blog-white);
  font-weight: 800;
  margin: 40px 0 20px;
  line-height: 1.3;
}

.post-body h2 { font-size: 2rem; }
.post-body h3 { font-size: 1.6rem; }
.post-body h4 { font-size: 1.3rem; }

.post-body p {
  margin-bottom: 24px;
}

.post-body a {
  color: var(--blog-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.post-body a:hover {
  border-bottom-color: var(--blog-cyan);
}

.post-body ul,
.post-body ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.post-body li {
  margin-bottom: 12px;
}

.post-body code {
  background: rgba(0, 212, 255, 0.1);
  color: var(--blog-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
}

.post-body pre {
  background: var(--blog-card);
  border: 1px solid var(--blog-border);
  border-left: 3px solid var(--blog-cyan);
  padding: 24px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: var(--blog-light-gray);
}

/* Tags */
.post-tags {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--blog-border);
}

.post-tags h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blog-white);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.post-tags h4 i {
  color: var(--blog-cyan);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.05);
  border: 2px solid var(--blog-border);
  color: var(--blog-gray);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.tag-badge:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--blog-cyan);
  color: var(--blog-cyan);
}

/* Share Buttons */
.post-share {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--blog-border);
}

.post-share h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blog-white);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.post-share h4 i {
  color: var(--blog-cyan);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--blog-card);
  border: 2px solid var(--blog-border);
  color: var(--blog-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.share-btn.twitter:hover { border-color: #1da1f2; background: rgba(29, 161, 242, 0.1); }
.share-btn.facebook:hover { border-color: #1877f2; background: rgba(24, 119, 242, 0.1); }
.share-btn.linkedin:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.1); }
.share-btn.email:hover { border-color: var(--blog-cyan); background: rgba(0, 212, 255, 0.1); }

.share-btn.twitter i { color: #1da1f2; }
.share-btn.facebook i { color: #1877f2; }
.share-btn.linkedin i { color: #0a66c2; }
.share-btn.email i { color: var(--blog-cyan); }

/* ============================================
   SIDEBAR (Blog Listing)
   ============================================ */
.blog-listing-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-search-form {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--blog-border);
  border-radius: 8px;
  color: var(--blog-white);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: var(--blog-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.search-input::placeholder {
  color: var(--blog-gray);
}

.search-btn {
  padding: 14px 20px;
  background: var(--blog-cyan);
  border: 2px solid var(--blog-cyan);
  border-radius: 8px;
  color: var(--blog-black);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.search-btn:hover {
  background: transparent;
  color: var(--blog-cyan);
  transform: scale(1.05);
}

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

.category-list li {
  margin-bottom: 12px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--blog-border);
  border-radius: 8px;
  color: var(--blog-light-gray);
  text-decoration: none;
  transition: all 0.3s;
}

.category-list a:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--blog-cyan);
  color: var(--blog-white);
  transform: translateX(4px);
}

.category-list .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blog-cyan);
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--blog-border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.recent-post-item:hover {
  background: rgba(0, 212, 255, 0.05);
  border-color: var(--blog-cyan);
  transform: translateX(4px);
}

.recent-post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--blog-cyan);
  border-radius: 8px;
}

.recent-post-date .day {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blog-cyan);
  line-height: 1;
}

.recent-post-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blog-gray);
  text-transform: uppercase;
  margin-top: 2px;
}

.recent-post-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blog-white);
  margin: 0 0 6px;
  line-height: 1.4;
}

.recent-post-info .post-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--blog-gray);
}

.recent-post-info .post-time i {
  color: var(--blog-cyan);
  font-size: 0.75rem;
}

.sidebar-cta .cta-icon {
  font-size: 3rem;
  color: var(--blog-cyan);
  margin-bottom: 16px;
  opacity: 0.6;
}

.sidebar-contact {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid var(--blog-border);
}

.sidebar-contact p {
  color: var(--blog-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

/* ============================================
   SIDEBAR
   ============================================ */
.post-sidebar {
  position: sticky;
  top: 120px;
}

.author-card,
.sidebar-widget,
.sidebar-cta {
  background: var(--blog-card);
  border: 1px solid var(--blog-border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.author-card {
  text-align: center;
}

.author-icon i {
  font-size: 60px;
  color: var(--blog-cyan);
  margin-bottom: 16px;
}

.author-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blog-white);
  margin: 0 0 8px;
}

.author-card p {
  color: var(--blog-gray);
  line-height: 1.6;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blog-white);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-widget h3 i {
  color: var(--blog-cyan);
}

.category-badge-large {
  padding: 12px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--blog-cyan);
  border-radius: 8px;
  color: var(--blog-cyan);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
  border-color: var(--blog-cyan);
  text-align: center;
}

.sidebar-cta h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blog-white);
  margin: 0 0 12px;
}

.sidebar-cta p {
  color: var(--blog-gray);
  margin-bottom: 20px;
}

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

/* ============================================
   RELATED POSTS
   ============================================ */
.related-posts-section {
  padding: 80px 0;
  border-top: 2px solid var(--blog-border);
}

.related-posts-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blog-white);
  margin-bottom: 50px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.related-posts-section h2 i {
  color: var(--blog-cyan);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-post-card {
  background: var(--blog-card);
  border: 1px solid var(--blog-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.related-post-card:hover {
  transform: translateY(-6px);
  border-color: var(--blog-cyan);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.related-post-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--blog-black);
  position: relative;
}

.related-post-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blog-black), var(--blog-dark));
}

.related-post-placeholder i {
  font-size: 3rem;
  color: var(--blog-cyan);
  opacity: 0.2;
}

.related-post-image a {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.related-post-content {
  padding: 24px;
}

.related-post-content h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.related-post-content h4 a {
  color: var(--blog-white);
  text-decoration: none;
  transition: color 0.2s;
}

.related-post-content h4 a:hover {
  color: var(--blog-cyan);
}

.related-post-date {
  color: var(--blog-gray);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.related-post-date i {
  color: var(--blog-cyan);
}

.view-all-posts {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .blog-with-sidebar {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .post-container {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .post-title {
    font-size: 2.2rem;
  }
  
  .blog-with-sidebar {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .blog-listing-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 20px 40px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .blog-section {
    padding: 60px 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 0;
  }
  
  .blog-listing-sidebar {
    grid-template-columns: 1fr;
  }
  
  .post-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }
  
  .post-sidebar {
    position: static;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    justify-content: center;
  }
  
  .blog-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .btn-read-more {
    justify-content: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card,
.related-post-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
