/* ============================================
   BLOG SECTION - Premium Redesign
   ============================================ */

/* Hide cookie consent on blog pages */
body:has(.blog-page-container) .cookie-consent {
  display: none !important;
}

/* Blog Section Layout */
.blog-section {
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Section Header */
.blog-section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.8);
  margin-bottom: 16px;
  position: relative;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

.blog-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #f5f5f5;
  position: relative;
  display: block;
  width: 100%;
}

.blog-section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Light mode section header */
body.light-mode .blog-section-label {
  color: rgba(139, 110, 87, 0.9);
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .blog-section-title {
  color: #1a1a1a;
}

body.light-mode .blog-section-subtitle {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .blog-section::before {
  display: none;
}

/* Cards Container */
.blog-cards-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  background: transparent;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: transparent;
}

/* Individual Blog Card */
.blog-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.3s ease;
  will-change: transform;
}

.blog-card-inner {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.blog-card-glow {
  display: none;
}

/* Card Header */
.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.9);
  padding: 6px 14px;
  background: rgba(212, 209, 200, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(212, 209, 200, 0.15);
}

.blog-card-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.blog-card-reading-time svg {
  opacity: 0.6;
}

/* Card Content */
.blog-card-content {
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: #f5f5f5;
  min-height: 3.4em;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Card Footer with Button */
.blog-card-footer {
  margin-top: auto;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.9);
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.blog-card-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.15), rgba(212, 209, 200, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card-btn span {
  position: relative;
  z-index: 1;
}

.blog-card-btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Hover Effects - Desktop only */
@media (hover: hover) and (min-width: 769px) {
  .blog-card:hover {
    transform: translateY(-4px);
  }
  
  .blog-card:hover .blog-card-inner {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  
  .blog-card:hover .blog-card-btn {
    background: rgba(212, 209, 200, 0.1);
    border-color: rgba(212, 209, 200, 0.25);
  }
  
  .blog-card:hover .blog-card-btn svg {
    transform: translateX(4px);
  }
}

/* Disable hover effects on mobile for better performance */
@media (max-width: 768px) {
  .blog-card {
    will-change: auto;
  }
}

/* Light Mode Blog Cards */
body.light-mode .blog-card-inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 245, 0.9) 100%);
  border-color: rgba(139, 110, 87, 0.12);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(139, 110, 87, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .blog-card-category {
  color: rgba(139, 110, 87, 1);
  background: rgba(139, 110, 87, 0.08);
  border-color: rgba(139, 110, 87, 0.15);
}

body.light-mode .blog-card-reading-time {
  color: rgba(26, 26, 26, 0.45);
}

body.light-mode .blog-card-content h3 {
  color: #1a1a1a;
}

body.light-mode .blog-card-content p {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .blog-card-btn {
  color: rgba(139, 110, 87, 1);
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .blog-card-btn::before {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.12), rgba(139, 110, 87, 0.05));
}

@media (hover: hover) {
  body.light-mode .blog-card:hover .blog-card-inner {
    border-color: rgba(139, 110, 87, 0.2);
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.1),
      0 20px 60px rgba(139, 110, 87, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
  }
  
  body.light-mode .blog-card:hover .blog-card-btn {
    background: rgba(139, 110, 87, 0.12);
    border-color: rgba(139, 110, 87, 0.25);
    box-shadow: 0 4px 12px rgba(139, 110, 87, 0.15);
  }
}

/* Responsive Blog Cards */
@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .blog-cards-container {
    padding: 0 32px;
  }
  
  .blog-section {
    padding: 100px 0 120px;
  }
}

@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    background: transparent;
  }
  
  .blog-cards-container {
    padding: 0 20px;
    background: transparent;
  }
  
  .blog-section {
    padding: 80px 0 100px;
    background: transparent;
  }
  
  body.light-mode .blog-section {
    background: #ddd0bf !important;
  }
  
  body.light-mode .blog-cards-container {
    background: #ddd0bf !important;
  }
  
  body.light-mode .blog-cards {
    background: #ddd0bf !important;
  }
  
  .blog-section-header {
    margin-bottom: 40px;
  }
  
  .blog-section-title {
    font-size: 2rem;
  }
  
  .blog-section-subtitle {
    font-size: 0.95rem;
    padding: 0 20px;
  }
  
  .blog-card-inner {
    padding: 24px 20px;
  }
  
  .blog-card-content h3 {
    font-size: 1.1rem;
    min-height: auto;
    line-clamp: unset;
    -webkit-line-clamp: unset;
  }
  
  .blog-card-content p {
    font-size: 0.88rem;
    min-height: auto;
    line-clamp: unset;
    -webkit-line-clamp: unset;
  }
  
  .blog-card-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 60px 0 80px;
  }
  
  .blog-section-label {
    font-size: 10px;
    padding: 6px 16px;
  }
  
  .blog-section-title {
    font-size: 1.75rem;
  }
  
  .blog-card-inner {
    padding: 24px 20px;
  }
  
  .blog-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .blog-card-content h3 {
    font-size: 1.15rem;
  }
}

/* ============================================
   INDIVIDUAL BLOG PAGE STYLES - Premium Redesign
   ============================================ */

/* Blog Page Background and Layout Fix */
body:has(.blog-page-container) {
  background: #0a0a0a;
}

body:has(.blog-page-container) main {
  background: #0a0a0a;
  min-height: auto;
  display: block;
}

body.light-mode:has(.blog-page-container) {
  background: #f5f1eb;
}

body.light-mode:has(.blog-page-container) main {
  background: #f5f1eb;
}

/* CRITICAL: Fix footer on blog pages - match priser.html exactly */
body:has(.blog-page-container) footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
  background: #0a0a0a;
  position: relative;
  z-index: 1;
}

body:has(.blog-page-container) .footer-left {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

body:has(.blog-page-container) .footer-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

body.light-mode:has(.blog-page-container) footer {
  background: #0a0a0a !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

body.light-mode:has(.blog-page-container) footer * {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.light-mode:has(.blog-page-container) footer a {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.light-mode:has(.blog-page-container) footer a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

body.light-mode:has(.blog-page-container) footer .footer-social-icon rect,
body.light-mode:has(.blog-page-container) footer .footer-social-icon circle[fill="none"] {
  stroke: #ffffff !important;
}

body.light-mode:has(.blog-page-container) footer .footer-social-icon circle[fill="#ffffff"] {
  fill: #ffffff !important;
}

@media (max-width: 768px) {
  body:has(.blog-page-container) footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    gap: 16px;
  }
  
  body:has(.blog-page-container) .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  body:has(.blog-page-container) .footer-right {
    justify-content: center;
  }
}

/* Blog Article Container */
.blog-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 48px 120px;
  color: #f5f5f5;
  background: #0a0a0a;
  position: relative;
}

body.light-mode .blog-page-container {
  background: #f5f1eb;
}


/* Back Link - Premium Style */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateX(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Blog Page Header */
.blog-page-header {
  margin-bottom: 80px;
  text-align: center;
  position: relative;
}

.blog-page-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 209, 200, 0.4), transparent);
}

.blog-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f5f5f5;
  text-wrap: balance;
}

/* Blog Meta Info */
.blog-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.blog-meta::before,
.blog-meta::after {
  display: none;
}

/* Blog Content Styles */
.blog-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}

.blog-content p {
  margin-bottom: 32px;
}

.blog-content p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

/* Headings with accent */
.blog-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 500;
  margin: 80px 0 32px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f5f5f5;
  position: relative;
  padding-left: 24px;
}

.blog-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, rgba(212, 209, 200, 0.8), rgba(212, 209, 200, 0.2));
  border-radius: 2px;
}

.blog-content h2::after {
  display: none;
}

.blog-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 56px 0 24px;
  letter-spacing: -0.01em;
  color: #f5f5f5;
}

/* Lists with custom styling */
.blog-content ul {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.blog-content li {
  margin-bottom: 20px;
  padding-left: 36px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.blog-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.8), rgba(212, 209, 200, 0.4));
  border-radius: 50%;
}

.blog-content strong {
  font-weight: 600;
  color: #ffffff;
}

/* Highlighted Quote Box */
.blog-highlight {
  position: relative;
  background: rgba(212, 209, 200, 0.06);
  border: 1px solid rgba(212, 209, 200, 0.12);
  border-left: 4px solid rgba(212, 209, 200, 0.5);
  padding: 28px 32px;
  margin: 40px 0;
  border-radius: 0 12px 12px 0;
}

.blog-highlight::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(212, 209, 200, 0.15);
  pointer-events: none;
}

.blog-highlight p {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  position: relative;
  z-index: 1;
}

.blog-highlight p:last-child {
  margin-bottom: 0;
}

/* Comparison Table */
.comparison-table {
  margin: 48px 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  overflow-x: auto;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: background 0.3s ease;
}

.comparison-row:not(:first-child):hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin: 0 -12px;
  padding: 20px 12px;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:first-child {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 24px;
  margin-bottom: 8px;
}

.comparison-cell {
  text-align: left;
  font-size: 0.95rem;
}

.comparison-cell:not(:first-child) {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Checklist Items */
.checklist-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}

.checklist-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin: 0 0 14px 0;
  font-weight: 500;
  color: #f5f5f5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.blog-cta {
  margin-top: 80px;
  padding: 60px 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 209, 200, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.blog-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #f5f5f5;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-cta p {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.blog-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.blog-cta-button-primary {
  background: rgba(212, 209, 200, 0.15);
  border: 1px solid rgba(212, 209, 200, 0.3);
  color: #f5f5f5;
}

.blog-cta-button-primary:hover {
  background: rgba(212, 209, 200, 0.22);
  border-color: rgba(212, 209, 200, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212, 209, 200, 0.2);
}

.blog-cta-button-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.blog-cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f5f5f5;
  transform: translateY(-3px);
}

/* ============================================
   LIGHT MODE - Blog Pages
   ============================================ */

body.light-mode .blog-page-container {
  color: #1a1a1a;
}

body.light-mode .back-link {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(26, 26, 26, 0.7);
}

body.light-mode .back-link:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-mode .blog-page-header h1 {
  color: #1a1a1a;
}

body.light-mode .blog-page-header::after {
  background: linear-gradient(90deg, transparent, rgba(139, 110, 87, 0.4), transparent);
}

body.light-mode .blog-meta {
  color: rgba(139, 110, 87, 0.8);
}

body.light-mode .blog-content {
  color: rgba(26, 26, 26, 0.85);
}

body.light-mode .blog-content p:first-of-type {
  color: rgba(26, 26, 26, 0.9);
}

body.light-mode .blog-content h2 {
  color: #1a1a1a;
}

body.light-mode .blog-content h2::before {
  background: linear-gradient(180deg, rgba(139, 110, 87, 0.8), rgba(139, 110, 87, 0.2));
}

body.light-mode .blog-content h3 {
  color: #1a1a1a;
}

body.light-mode .blog-content li {
  color: rgba(26, 26, 26, 0.85);
}

body.light-mode .blog-content li::before {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.8), rgba(139, 110, 87, 0.4));
}

body.light-mode .blog-content strong {
  color: #1a1a1a;
}

body.light-mode .blog-highlight {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.06) 0%, rgba(139, 110, 87, 0.02) 100%);
  border-color: rgba(139, 110, 87, 0.12);
  border-left-color: rgba(139, 110, 87, 0.5);
}

body.light-mode .blog-highlight::before {
  color: rgba(139, 110, 87, 0.12);
}

body.light-mode .blog-highlight p {
  color: rgba(26, 26, 26, 0.9);
}

body.light-mode .comparison-table {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .comparison-row {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
}

body.light-mode .comparison-row:not(:first-child):hover {
  background: rgba(0, 0, 0, 0.02);
}

body.light-mode .comparison-row:first-child {
  color: rgba(139, 110, 87, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .comparison-cell:not(:first-child) {
  color: rgba(26, 26, 26, 0.7);
}

body.light-mode .checklist-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .checklist-item::before {
  background: linear-gradient(180deg, rgba(139, 110, 87, 0.6), rgba(139, 110, 87, 0.1));
}

body.light-mode .checklist-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .checklist-item h4 {
  color: #1a1a1a;
}

body.light-mode .checklist-item p {
  color: rgba(26, 26, 26, 0.75);
}

body.light-mode .blog-cta {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .blog-cta::before {
  background: radial-gradient(circle at 50% 0%, rgba(45, 74, 74, 0.06) 0%, transparent 60%);
}

body.light-mode .blog-cta h3 {
  color: #1a1a1a;
}

body.light-mode .blog-cta p {
  color: rgba(26, 26, 26, 0.7);
}

body.light-mode .blog-cta-button-primary {
  background: #2d4a4a;
  border-color: #2d4a4a;
  color: #ffffff;
}

body.light-mode .blog-cta-button-primary:hover {
  background: #1f3535;
  border-color: #1f3535;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(45, 74, 74, 0.3);
}

body.light-mode .blog-cta-button-secondary {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.15);
  color: rgba(26, 26, 26, 0.7);
}

body.light-mode .blog-cta-button-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.25);
  color: #1a1a1a;
  transform: translateY(-3px);
}

/* Speed Test Blog CTA - Compact Version */
.speed-test-blog-cta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.speed-test-blog-cta::before {
  display: none;
}

.speed-test-blog-cta h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #f5f5f5;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-left: 0;
}

.speed-test-blog-cta h2::before {
  display: none !important;
}

.speed-test-blog-cta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.speed-test-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(212, 209, 200, 0.1);
  color: rgba(212, 209, 200, 0.9);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 209, 200, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speed-test-blog-btn:visited {
  color: rgba(212, 209, 200, 0.9);
}

.speed-test-blog-btn:hover {
  background: rgba(212, 209, 200, 0.15);
  border-color: rgba(212, 209, 200, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 209, 200, 0.15);
}

/* Light mode speed test CTA */
body.light-mode .speed-test-blog-cta {
  background: rgba(139, 110, 87, 0.04);
  border: 1px solid rgba(139, 110, 87, 0.12);
}

body.light-mode .speed-test-blog-cta h2 {
  color: #1a1a1a;
}

body.light-mode .speed-test-blog-cta p {
  color: rgba(26, 26, 26, 0.65);
}

body.light-mode .speed-test-blog-btn {
  background: rgba(45, 74, 74, 0.08);
  color: rgba(45, 74, 74, 1);
  border-color: rgba(45, 74, 74, 0.15);
}

body.light-mode .speed-test-blog-btn:visited {
  color: rgba(45, 74, 74, 1);
}

body.light-mode .speed-test-blog-btn:hover {
  background: rgba(45, 74, 74, 0.12);
  border-color: rgba(45, 74, 74, 0.25);
  box-shadow: 0 4px 12px rgba(45, 74, 74, 0.1);
}

/* ============================================
   SEO SHOWCASE CAROUSEL
   ============================================ */

.seo-showcase {
  margin: 48px 0;
  padding: 32px;
  background: rgba(212, 209, 200, 0.04);
  border: 1px solid rgba(212, 209, 200, 0.1);
  border-radius: 20px;
}

@media (max-width: 768px) {
  .seo-showcase {
    padding: 24px 16px;
    margin: 40px 0;
  }
}

.seo-showcase-header {
  text-align: center;
  margin-bottom: 24px;
}

.seo-showcase-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  margin: 0 0 8px;
  color: #f5f5f5;
}

.seo-showcase-header p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.seo-showcase-hint {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-top: 8px !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .seo-showcase-hint {
    display: none;
  }
}

.seo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y pinch-zoom;
  background: #111;
}

.seo-carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  min-height: 300px;
}

.seo-carousel-track:active {
  cursor: grabbing;
}

.seo-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.seo-carousel-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.seo-carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .seo-carousel-slide img {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

.seo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.seo-carousel-btn:hover {
  background: rgba(212, 209, 200, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.seo-carousel-prev {
  left: 12px;
}

.seo-carousel-next {
  right: 12px;
}

.seo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.seo-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.seo-carousel-dot:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.seo-carousel-dot.active {
  background: rgba(212, 209, 200, 0.8);
  border-color: rgba(212, 209, 200, 0.8);
}

.seo-showcase-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 20px 0 0;
  font-style: italic;
}

/* Light mode carousel */
body.light-mode .seo-showcase {
  background: rgba(139, 110, 87, 0.04);
  border-color: rgba(139, 110, 87, 0.1);
}

body.light-mode .seo-carousel {
  background: #f5f5f5;
}

body.light-mode .seo-showcase-header h3 {
  color: #1a1a1a;
}

body.light-mode .seo-showcase-header p {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .seo-showcase-hint {
  color: rgba(26, 26, 26, 0.4) !important;
}

body.light-mode .seo-carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

body.light-mode .seo-carousel-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .seo-carousel-dot {
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .seo-carousel-dot:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

body.light-mode .seo-carousel-dot.active {
  background: rgba(139, 110, 87, 0.8);
  border-color: rgba(139, 110, 87, 0.8);
}

body.light-mode .seo-showcase-note {
  color: rgba(26, 26, 26, 0.5);
}

/* SEO Image Lightbox */
.seo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.seo-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.seo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
}

.seo-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.seo-lightbox.active .seo-lightbox-content {
  transform: scale(1);
}

.seo-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.seo-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.seo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.seo-lightbox-prev,
.seo-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.seo-lightbox-prev {
  left: 20px;
}

.seo-lightbox-next {
  right: 20px;
}

.seo-lightbox-prev:hover,
.seo-lightbox-next:hover {
  background: rgba(212, 209, 200, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .seo-lightbox-prev,
  .seo-lightbox-next {
    width: 40px;
    height: 40px;
  }
  
  .seo-lightbox-prev {
    left: 10px;
  }
  
  .seo-lightbox-next {
    right: 10px;
  }
  
  .seo-lightbox-prev svg,
  .seo-lightbox-next svg {
    width: 20px;
    height: 20px;
  }
}

/* Desktop only - make carousel images clickable */
@media (hover: hover) and (pointer: fine) {
  .seo-carousel-slide img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .seo-carousel-slide img:hover {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

/* WordPress Warning Box */
.wp-warning-box {
  margin: 32px 0;
  padding: 20px 24px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  border-left: 4px solid rgba(255, 180, 0, 0.6);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wp-warning-box svg {
  flex-shrink: 0;
  stroke: rgba(255, 180, 0, 0.9);
  margin-top: 2px;
}

.wp-warning-box > div {
  flex: 1;
}

.wp-warning-title {
  margin: 0 0 8px 0;
  color: rgba(255, 180, 0, 0.95);
  font-size: 1rem;
  line-height: 1.4;
}

.wp-warning-title strong {
  color: rgba(255, 180, 0, 0.95);
  font-weight: 600;
}

.wp-warning-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

body.light-mode .wp-warning-box {
  background: rgba(255, 180, 0, 0.1);
  border-color: rgba(255, 180, 0, 0.25);
  border-left-color: rgba(255, 180, 0, 0.7);
}

body.light-mode .wp-warning-box svg {
  stroke: rgba(200, 140, 0, 0.9);
}

body.light-mode .wp-warning-title {
  color: rgba(200, 140, 0, 1);
}

body.light-mode .wp-warning-title strong {
  color: rgba(200, 140, 0, 1);
}

body.light-mode .wp-warning-text {
  color: rgba(26, 26, 26, 0.85);
}

/* Security Threats Section */
.security-threats {
  margin: 48px 0;
  display: grid;
  gap: 20px;
}

.security-threat-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(-40px);
}

.security-threat-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.security-threat-item:nth-child(1) { transition-delay: 0.1s; }
.security-threat-item:nth-child(2) { transition-delay: 0.25s; }
.security-threat-item:nth-child(3) { transition-delay: 0.4s; }

.security-threat-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(8px);
}

.security-threat-item:hover .security-threat-icon {
  animation: securityPulse 1s ease-in-out infinite;
}

@keyframes securityPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 209, 200, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(212, 209, 200, 0.2); }
}

.security-threat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 209, 200, 0.08);
  border: 1px solid rgba(212, 209, 200, 0.15);
}

.security-threat-icon svg {
  stroke: rgba(212, 209, 200, 0.8);
}

.security-threat-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #f5f5f5;
}

.security-threat-content p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.security-solution-box {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.08) 0%, rgba(212, 209, 200, 0.02) 100%);
  border: 1px solid rgba(212, 209, 200, 0.15);
  border-left: 4px solid rgba(212, 209, 200, 0.5);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.security-solution-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212, 209, 200, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.security-solution-box p {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.security-solution-box p:last-child {
  margin-bottom: 0;
}

/* Light mode Security elements */
body.light-mode .security-threat-item {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .security-threat-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .security-threat-icon {
  background: rgba(139, 110, 87, 0.08);
  border-color: rgba(139, 110, 87, 0.15);
}

body.light-mode .security-threat-icon svg {
  stroke: rgba(139, 110, 87, 0.8);
}

body.light-mode .security-threat-content h4 {
  color: #1a1a1a;
}

body.light-mode .security-threat-content p {
  color: rgba(26, 26, 26, 0.7);
}

/* Security Training Box */
.security-training-box {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.15) 0%, rgba(168, 144, 128, 0.08) 100%);
  border: 2px solid rgba(139, 115, 85, 0.35);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(139, 115, 85, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.security-training-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 100% 0%, rgba(168, 144, 128, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.security-training-box p {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.security-training-box p:last-child {
  margin-bottom: 0;
}

body.light-mode .security-training-box {
  background: linear-gradient(135deg, rgba(255, 218, 185, 0.4) 0%, rgba(255, 228, 196, 0.2) 100%);
  border-color: rgba(222, 184, 135, 0.5);
  box-shadow: 0 8px 32px rgba(222, 184, 135, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-mode .security-training-box::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 218, 185, 0.4) 0%, transparent 60%);
}

body.light-mode .security-training-box p {
  color: rgba(26, 26, 26, 0.85);
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

body.light-mode .security-solution-box {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.08) 0%, rgba(139, 110, 87, 0.02) 100%);
  border-color: rgba(139, 110, 87, 0.15);
  border-left-color: rgba(139, 110, 87, 0.5);
}

body.light-mode .security-solution-box::before {
  background: radial-gradient(circle at 100% 0%, rgba(139, 110, 87, 0.08) 0%, transparent 50%);
}

body.light-mode .security-solution-box p {
  color: rgba(26, 26, 26, 0.85);
}

/* Security Stats Highlight */
.security-stats-highlight {
  margin: 48px 0;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.12) 0%, rgba(212, 209, 200, 0.04) 100%);
  border: 2px solid rgba(212, 209, 200, 0.25);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.security-stats-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 209, 200, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.security-stat-large {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.security-stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  color: rgba(212, 209, 200, 0.95);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.security-stats-highlight.revealed .security-stat-number {
  opacity: 1;
  transform: scale(1);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(212, 209, 200, 0.3); }
  50% { text-shadow: 0 0 40px rgba(212, 209, 200, 0.6), 0 0 60px rgba(212, 209, 200, 0.3); }
}

.security-stat-label {
  display: block;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.3s;
}

.security-stats-highlight.revealed .security-stat-label {
  opacity: 1;
  transform: translateY(0);
}

.security-stat-note {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}

.security-stats-highlight.revealed .security-stat-note {
  opacity: 1;
  transform: translateY(0);
}

body.light-mode .security-stats-highlight {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.12) 0%, rgba(139, 110, 87, 0.04) 100%);
  border-color: rgba(139, 110, 87, 0.3);
}

body.light-mode .security-stats-highlight::before {
  background: radial-gradient(circle at 50% 0%, rgba(139, 110, 87, 0.15) 0%, transparent 60%);
}

body.light-mode .security-stat-number {
  color: rgba(139, 110, 87, 0.95);
}

body.light-mode .security-stat-label {
  color: rgba(26, 26, 26, 0.8);
}

body.light-mode .security-stat-note {
  color: rgba(26, 26, 26, 0.6);
}

/* WordPress Cost Breakdown */
.wp-cost-breakdown {
  margin: 48px 0;
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.wp-cost-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.6s ease forwards;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wp-cost-item:nth-child(1) { animation-delay: 0.1s; }
.wp-cost-item:nth-child(2) { animation-delay: 0.2s; }
.wp-cost-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wp-cost-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(8px);
}

.wp-cost-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 209, 200, 0.08);
  border: 1px solid rgba(212, 209, 200, 0.15);
}

.wp-cost-icon svg {
  stroke: rgba(212, 209, 200, 0.8);
}


.wp-cost-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #f5f5f5;
}

.wp-cost-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.wp-cost-content p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.wp-cost-content strong {
  color: rgba(212, 209, 200, 0.9);
  font-weight: 600;
}

.wp-total-cost {
  margin: 48px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.1) 0%, rgba(212, 209, 200, 0.03) 100%);
  border: 2px solid rgba(212, 209, 200, 0.2);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wp-total-cost::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 209, 200, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.wp-total-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.wp-total-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: rgba(212, 209, 200, 0.95);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.wp-total-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

.wp-result-text {
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin: 48px 0 !important;
}

.wp-alternative-box {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.08) 0%, rgba(212, 209, 200, 0.02) 100%);
  border: 1px solid rgba(212, 209, 200, 0.15);
  border-left: 4px solid rgba(212, 209, 200, 0.5);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.wp-alternative-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212, 209, 200, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.wp-alternative-box p {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.wp-alternative-box p:last-child {
  margin-bottom: 0;
}

.wp-alternative-closing {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 209, 200, 0.15);
  font-size: 1.1rem;
  text-align: center;
  color: rgba(212, 209, 200, 0.95) !important;
}

body.light-mode .wp-alternative-closing {
  border-top-color: rgba(139, 110, 87, 0.15);
  color: rgba(139, 110, 87, 0.95) !important;
}

/* Light mode WordPress elements */
body.light-mode .wp-cost-item {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .wp-cost-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .wp-cost-icon {
  background: rgba(139, 110, 87, 0.08);
  border-color: rgba(139, 110, 87, 0.15);
}

body.light-mode .wp-cost-icon svg {
  stroke: rgba(139, 110, 87, 0.8);
}

body.light-mode .wp-cost-content h4 {
  color: #1a1a1a;
}

body.light-mode .wp-cost-content p {
  color: rgba(26, 26, 26, 0.7);
}

body.light-mode .wp-cost-content strong {
  color: rgba(139, 110, 87, 0.9);
}

body.light-mode .wp-total-cost {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.1) 0%, rgba(139, 110, 87, 0.03) 100%);
  border-color: rgba(139, 110, 87, 0.25);
}

body.light-mode .wp-total-cost::before {
  background: radial-gradient(circle at 50% 0%, rgba(139, 110, 87, 0.12) 0%, transparent 60%);
}

body.light-mode .wp-total-label {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .wp-total-number {
  color: rgba(139, 110, 87, 0.95);
}

body.light-mode .wp-total-note {
  color: rgba(26, 26, 26, 0.5);
}

body.light-mode .wp-result-text {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .wp-alternative-box {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.08) 0%, rgba(139, 110, 87, 0.02) 100%);
  border-color: rgba(139, 110, 87, 0.15);
  border-left-color: rgba(139, 110, 87, 0.5);
}

body.light-mode .wp-alternative-box::before {
  background: radial-gradient(circle at 100% 0%, rgba(139, 110, 87, 0.08) 0%, transparent 50%);
}

body.light-mode .wp-alternative-box p {
  color: rgba(26, 26, 26, 0.85);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .seo-showcase {
    padding: 24px 16px;
    margin: 32px 0;
  }
  
  .seo-carousel-track {
    min-height: 250px;
  }
  
  .seo-carousel-slide {
    padding: 16px;
  }
  
  .seo-carousel-slide img {
    max-height: 350px;
  }
  
  .seo-carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .seo-carousel-prev {
    left: 8px;
  }
  
  .seo-carousel-next {
    right: 8px;
  }
  
  .seo-carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .wp-cost-breakdown {
    margin: 32px 0;
    width: 100%;
    max-width: 100%;
  }
  
  .wp-cost-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .wp-cost-icon {
    width: 40px;
    height: 40px;
  }
  
  .wp-cost-icon svg {
    width: 24px;
    height: 24px;
  }
  
  
  .wp-total-cost {
    padding: 24px 20px;
    margin: 32px 0;
  }
  
  .wp-total-number {
    font-size: 2rem;
  }
  
  .wp-cost-content h4 {
    font-size: 1rem;
  }
  
  .wp-cost-content {
    width: 100%;
    max-width: 100%;
  }
  
  .wp-cost-content h4 {
    font-size: 1rem;
    word-wrap: break-word;
  }
  
  .wp-cost-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .wp-alternative-box {
    padding: 24px 20px;
    margin: 32px -16px;
    border-radius: 0;
    border-left-width: 4px;
    border-right: none;
  }
  
  .wp-result-text {
    font-size: 1rem;
    margin: 32px 0 !important;
  }
  
  .wp-warning-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }
  
  .wp-warning-box svg {
    width: 20px;
    height: 20px;
  }
  
  .security-threat-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  
  .security-threat-icon {
    width: 40px;
    height: 40px;
  }
  
  .security-threat-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .security-threat-content h4 {
    font-size: 1.1rem;
  }
  
  .security-threat-content p {
    font-size: 0.9rem;
  }
  
  .security-solution-box {
    padding: 24px 20px;
    margin: 32px -16px;
    border-radius: 0;
    border-left-width: 4px;
    border-right: none;
  }
  
  .security-training-box {
    padding: 24px 20px;
    margin: 32px -16px;
    border-radius: 0;
    border-left-width: 4px;
    border-right: none;
  }
  
  .security-stats-highlight {
    padding: 32px 20px;
    margin: 32px 0;
  }
  
  .security-stat-number {
    font-size: 3rem;
  }
  
  .security-stat-label {
    font-size: 0.95rem;
  }
  
  .security-stat-note {
    font-size: 0.9rem;
  }
}

/* ============================================
   COMPACT BLOG LAYOUT - New streamlined design
   ============================================ */

.blog-compact .blog-page-header {
  margin-bottom: 48px;
}

.blog-compact .blog-page-header h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin-bottom: 16px;
}

.blog-compact .blog-meta {
  font-size: 12px;
  gap: 0;
}

.blog-compact .blog-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 48px 0 20px;
}

.blog-compact .blog-content p {
  margin-bottom: 20px;
}

.blog-compact .blog-content ul {
  margin: 20px 0;
}

.blog-compact .blog-content li {
  margin-bottom: 12px;
  font-size: 1rem;
}

/* Stats Grid - Visual impact cards */
.blog-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.blog-stat-card {
  background: rgba(212, 209, 200, 0.06);
  border: 1px solid rgba(212, 209, 200, 0.12);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.blog-stat-card:hover {
  background: rgba(212, 209, 200, 0.1);
  border-color: rgba(212, 209, 200, 0.2);
  transform: translateY(-2px);
}

.blog-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  color: #f5f5f5;
  line-height: 1;
}

.blog-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* Light mode stats */
body.light-mode .blog-stat-card {
  background: rgba(139, 110, 87, 0.06);
  border-color: rgba(139, 110, 87, 0.12);
}

body.light-mode .blog-stat-card:hover {
  background: rgba(139, 110, 87, 0.1);
  border-color: rgba(139, 110, 87, 0.2);
}

body.light-mode .blog-stat-number {
  color: #1a1a1a;
}

body.light-mode .blog-stat-label {
  color: rgba(26, 26, 26, 0.6);
}

/* Mid-page CTA - More prominent */
.blog-cta-mid {
  margin: 48px 0;
  background: linear-gradient(135deg, rgba(212, 209, 200, 0.12) 0%, rgba(212, 209, 200, 0.04) 100%);
  border: 2px solid rgba(212, 209, 200, 0.2);
}

.blog-cta-mid h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

body.light-mode .blog-cta-mid {
  background: linear-gradient(135deg, rgba(139, 110, 87, 0.12) 0%, rgba(139, 110, 87, 0.04) 100%);
  border-color: rgba(139, 110, 87, 0.2);
}

/* Responsive stats grid */
@media (max-width: 600px) {
  .blog-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 40px 0;
    padding: 0;
  }
  
  .blog-stat-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 14px;
    text-align: left;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
  }
  
  .blog-stat-number {
    font-size: 1.5rem;
    flex-shrink: 0;
    min-width: fit-content;
    white-space: nowrap;
  }
  
  .blog-stat-label {
    text-align: right;
    flex: 1;
    font-size: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }
}

/* ============================================
   RESPONSIVE - Blog Pages
   ============================================ */

@media (max-width: 768px) {
  .blog-page-container {
    padding: 120px 20px 80px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .back-link {
    margin-bottom: 40px;
    padding: 12px 20px;
    font-size: 12px;
  }
  
  .blog-page-header {
    margin-bottom: 60px;
  }
  
  .blog-page-header::after {
    bottom: -30px;
    width: 60px;
  }
  
  .blog-page-header h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
    margin-bottom: 20px;
  }
  
  .blog-meta {
    font-size: 11px;
    gap: 16px;
  }
  
  .blog-content {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .blog-content p:first-of-type {
    font-size: 1.1rem;
  }
  
  .blog-content h2 {
    font-size: 1.4rem;
    margin: 56px 0 24px;
    padding-left: 20px;
  }
  
  .blog-content h2::before {
    width: 2px;
    top: 4px;
    bottom: 4px;
  }
  
  .blog-content h3 {
    font-size: 1.2rem;
    margin: 40px 0 20px;
  }
  
  .blog-content p {
    margin-bottom: 24px;
  }
  
  .blog-content ul {
    margin: 24px 0;
  }
  
  .blog-content li {
    margin-bottom: 16px;
    padding-left: 28px;
    font-size: 0.95rem;
  }
  
  .blog-content li::before {
    width: 6px;
    height: 6px;
    top: 9px;
  }
  
  .blog-highlight {
    padding: 24px 20px;
    margin: 36px 0;
    border-left-width: 3px;
    border-radius: 0 12px 12px 0;
  }
  
  .blog-highlight::before {
    font-size: 3rem;
    top: 12px;
    left: 14px;
  }
  
  .blog-highlight p {
    font-size: 1rem;
  }
  
  .comparison-table {
    padding: 24px 20px;
    margin: 40px 0;
    border-radius: 16px;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left !important;
    padding: 16px 0;
  }
  
  .comparison-row:first-child {
    display: none;
  }
  
  .comparison-cell {
    text-align: left !important;
  }
  
  .comparison-cell:not(:first-child) {
    text-align: left;
    padding-left: 0;
    font-size: 0.9rem;
  }
  
  .comparison-cell:first-child {
    font-weight: 600;
    margin-bottom: 4px;
  }
  
  .checklist-item {
    padding: 24px 20px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  
  .checklist-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .checklist-item p {
    font-size: 0.95rem;
  }
  
  .blog-cta {
    padding: 32px 20px;
    margin-top: 60px;
    border-radius: 16px;
  }
  
  .blog-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .blog-cta p {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  .blog-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .blog-cta-button {
    padding: 16px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .blog-page-container {
    padding: 100px 16px 60px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .back-link {
    padding: 10px 16px;
    font-size: 11px;
    margin-bottom: 32px;
  }
  
  .blog-page-header h1 {
    font-size: 1.5rem;
  }
  
  .blog-content {
    font-size: 0.95rem;
  }
  
  .blog-content h2 {
    font-size: 1.25rem;
    margin: 48px 0 20px;
    padding-left: 16px;
  }
  
  .blog-content h3 {
    font-size: 1.1rem;
    margin: 36px 0 16px;
  }
  
  .blog-content li {
    padding-left: 24px;
    font-size: 0.9rem;
  }
  
  .blog-highlight {
    padding: 20px 16px;
    margin: 28px 0;
  }
  
  .blog-highlight::before {
    font-size: 2.5rem;
    top: 8px;
    left: 10px;
  }
  
  .comparison-table {
    padding: 20px 16px;
  }
  
  .checklist-item {
    padding: 20px 16px;
  }
  
  .blog-cta {
    padding: 28px 16px;
    margin-top: 48px;
  }
  
  .blog-cta h3 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  
  .blog-cta p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .blog-page-container {
    padding: 90px 16px 50px;
  }
  
  .blog-page-header h1 {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }
  
  .blog-content {
    font-size: 0.95rem;
  }
  
  .blog-content h2 {
    font-size: 1.4rem;
    margin: 35px 0 16px;
  }
  
  .blog-content h3 {
    font-size: 1.2rem;
    margin: 28px 0 14px;
  }
  
  .blog-content li {
    padding-left: 24px;
    font-size: 0.9rem;
  }
  
  .blog-highlight {
    padding: 16px;
  }
  
  .comparison-table {
    padding: 16px;
  }
  
  .checklist-item {
    padding: 16px;
  }
  
  .blog-cta {
    padding: 28px 16px;
  }
}

/* ============================================
   RELATED POSTS SECTION
   ============================================ */

.related-posts-section {
  margin-top: 80px;
  margin-bottom: 0;
  padding-top: 60px;
  padding-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-posts-header {
  text-align: center;
  margin-bottom: 48px;
}

.related-posts-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 12px;
  color: #f5f5f5;
  letter-spacing: -0.02em;
  padding-left: 0;
}

.related-posts-header h2::before {
  display: none;
}

.related-posts-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}

@media (max-width: 1100px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 900px;
  }
}

.related-post-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-post-card,
.related-post-card:link,
.related-post-card:visited,
.related-post-card:hover,
.related-post-card:active {
  color: inherit !important;
  text-decoration: none !important;
}

.related-post-card h3,
.related-post-card:link h3,
.related-post-card:visited h3,
.related-post-card:hover h3,
.related-post-card:active h3 {
  color: #f5f5f5 !important;
}

.related-post-link,
.related-post-card:link .related-post-link,
.related-post-card:visited .related-post-link,
.related-post-card:hover .related-post-link,
.related-post-card:active .related-post-link {
  color: rgba(212, 209, 200, 0.9) !important;
}

.related-post-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.related-post-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.8);
  padding: 6px 12px;
  background: rgba(212, 209, 200, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(212, 209, 200, 0.12);
  margin-bottom: 16px;
}

.related-post-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #f5f5f5;
}

.related-post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(212, 209, 200, 0.9);
  transition: gap 0.3s ease;
}

.related-post-card:hover .related-post-link {
  gap: 12px;
}

.related-post-link svg {
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-link svg {
  transform: translateX(2px);
}

/* Light mode related posts */
body.light-mode .related-posts-section {
  border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .related-posts-header h2 {
  color: #1a1a1a;
}

body.light-mode .related-posts-header p {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .related-post-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .related-post-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-mode .related-post-category {
  color: rgba(139, 110, 87, 0.9);
  background: rgba(139, 110, 87, 0.08);
  border-color: rgba(139, 110, 87, 0.12);
}

body.light-mode .related-post-card,
body.light-mode .related-post-card:link,
body.light-mode .related-post-card:visited,
body.light-mode .related-post-card:hover,
body.light-mode .related-post-card:active {
  color: inherit !important;
}

body.light-mode .related-post-card h3,
body.light-mode .related-post-card:link h3,
body.light-mode .related-post-card:visited h3,
body.light-mode .related-post-card:hover h3,
body.light-mode .related-post-card:active h3 {
  color: #1a1a1a !important;
}

body.light-mode .related-post-card p {
  color: rgba(26, 26, 26, 0.6);
}

body.light-mode .related-post-link,
body.light-mode .related-post-card:link .related-post-link,
body.light-mode .related-post-card:visited .related-post-link,
body.light-mode .related-post-card:hover .related-post-link,
body.light-mode .related-post-card:active .related-post-link {
  color: rgba(139, 110, 87, 0.9) !important;
}

/* Responsive related posts */
@media (max-width: 768px) {
  .related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
  }
  
  .related-posts-header {
    margin-bottom: 32px;
  }
  
  .related-posts-header h2 {
    font-size: 1.8rem;
    padding-left: 0 !important;
  }
  
  .related-posts-header h2::before {
    display: none !important;
  }
  
  .related-posts-header p {
    font-size: 0.95rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }
  
  .related-post-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  
  .related-post-category {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 14px;
  }
  
  .related-post-card h3 {
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  
  .related-post-link {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .related-posts-section {
    margin-top: 48px;
    padding-top: 32px;
  }
  
  .related-posts-header h2 {
    font-size: 1.6rem;
    padding-left: 0 !important;
  }
  
  .related-posts-header h2::before {
    display: none !important;
  }
  
  .related-posts-header p {
    font-size: 0.9rem;
  }
  
  .related-posts-grid {
    gap: 14px;
  }
  
  .related-post-card {
    padding: 20px 18px;
    border-radius: 12px;
  }
  
  .related-post-category {
    font-size: 9px;
    padding: 5px 10px;
    margin-bottom: 12px;
  }
  
  .related-post-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  .related-post-link {
    font-size: 11px;
  }
}

/* ============================================
   PERFORMANCE METRICS SECTION
   ============================================ */

.performance-metrics {
  margin: 48px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.performance-metric-item {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.performance-metric-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.performance-metric-image {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.performance-metric-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 250px;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  object-fit: contain;
}

.performance-metric-source {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0 8px;
}

/* Light mode performance metrics */
body.light-mode .performance-metric-item {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .performance-metric-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-mode .performance-metric-image img {
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .performance-metric-source {
  color: rgba(26, 26, 26, 0.5);
}

/* Responsive performance metrics */
@media (max-width: 768px) {
  .performance-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .performance-metric-item {
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .performance-metric-image {
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .performance-metric-image img {
    border-radius: 6px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
  }
  
  .performance-metric-source {
    font-size: 0.7rem;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .performance-metrics {
    margin: 32px 0;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .performance-metric-item {
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .performance-metric-image {
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }
  
  .performance-metric-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
  }
  
  .performance-metric-source {
    font-size: 0.65rem;
    padding: 0;
  }
}

/* Reading Progress Circle */
.reading-progress-circle {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 60px;
  height: 60px;
  z-index: 998;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.reading-progress-circle.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.reading-progress-circle.completed {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.reading-progress-circle.show-checkmark .progress-ring-progress {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  margin: auto;
  transform: scale(0);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: #d4d1c8;
}

.reading-progress-circle.show-checkmark .progress-checkmark {
  transform: scale(1);
  opacity: 1;
}

body.light-mode .progress-checkmark {
  stroke: #22c55e;
}

.progress-ring {
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 8px rgba(212, 209, 200, 0.3));
}

.progress-ring-circle {
  stroke: rgba(212, 209, 200, 0.2);
  fill: none;
  stroke-width: 3;
}

.progress-ring-progress {
  stroke: var(--accent, #d4d1c8);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s ease;
}

/* Share Card */
.reading-share-card {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 209, 200, 0.15);
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reading-share-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.reading-share-card-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(212, 209, 200, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.reading-share-card-close:hover {
  color: var(--accent, #d4d1c8);
}

.reading-time-display {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent, #d4d1c8);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.reading-share-message {
  font-size: 1rem;
  color: rgba(245, 245, 245, 0.9);
  margin-bottom: 20px;
  line-height: 1.5;
}

.reading-share-button {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent, #d4d1c8) 0%, #bfbcb3 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.reading-share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 209, 200, 0.3);
}

.reading-share-button:active {
  transform: translateY(0);
}

.reading-share-button svg {
  width: 18px;
  height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reading-progress-circle {
    bottom: 100px;
    right: auto;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 60px;
  }
  
  .reading-share-card {
    bottom: 90px;
    top: auto;
    right: 20px;
    left: 20px;
    max-width: none;
    padding: 20px;
  }
  
  .reading-time-display {
    font-size: 1.75rem;
  }
  
  .reading-share-message {
    font-size: 0.9rem;
  }
  
  .reading-share-button {
    padding: 12px 20px;
    font-size: 0.9rem;
    pointer-events: all;
    position: relative;
    z-index: 1000;
  }
}

/* Speed Reader Bubble */
.speed-reader-bubble {
  position: absolute;
  top: -44px;
  left: 24px;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.25);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: rgba(255, 220, 130, 0.95);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.speed-reader-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: rgba(255, 200, 87, 0.12);
  border-right: 1px solid rgba(255, 200, 87, 0.25);
  border-bottom: 1px solid rgba(255, 200, 87, 0.25);
  transform: rotate(45deg);
}

.reading-share-card.visible .speed-reader-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .speed-reader-bubble {
    top: -40px;
    left: 20px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  
  .speed-reader-bubble::after {
    left: 16px;
    width: 8px;
    height: 8px;
  }
}

/* Light mode adjustments */
body.light-mode .speed-reader-bubble {
  background: rgba(180, 130, 50, 0.1);
  border-color: rgba(180, 130, 50, 0.25);
  color: rgba(140, 100, 40, 0.95);
}

body.light-mode .speed-reader-bubble::after {
  background: rgba(180, 130, 50, 0.1);
  border-right-color: rgba(180, 130, 50, 0.25);
  border-bottom-color: rgba(180, 130, 50, 0.25);
}

body.light-mode .reading-share-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
  border-color: rgba(10, 10, 10, 0.1);
  color: #1a1a1a;
}

body.light-mode .reading-share-message {
  color: #2d2d2d;
}

body.light-mode .reading-share-message span {
  color: #8b6e57 !important;
}

body.light-mode .reading-share-card-close {
  color: rgba(10, 10, 10, 0.5);
}

body.light-mode .reading-share-card-close:hover {
  color: #0a0a0a;
}


/* ============================================
   MOBILE EXPANDABLE BLOG CARDS
   ============================================ */

/* Hide expand button on desktop */
.blog-card-expand {
  display: none;
}

/* Mobile expandable cards */
@media (max-width: 768px) {
  /* Show expand button */
  .blog-card-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
  }

  .blog-card-expand svg {
    transition: transform 0.3s ease;
    color: rgba(212, 209, 200, 0.9);
  }

  /* Expanded state - rotate chevron */
  .blog-card.expanded .blog-card-expand svg {
    transform: rotate(180deg);
  }

  /* Light mode expand button */
  body.light-mode .blog-card-expand {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
  }

  body.light-mode .blog-card-expand svg {
    color: rgba(139, 110, 87, 0.9);
  }

  /* Collapsed state - hide content and footer */
  .blog-card .blog-card-content p,
  .blog-card .blog-card-footer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  }

  /* Expanded state - show content and footer */
  .blog-card.expanded .blog-card-content p {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
  }

  .blog-card.expanded .blog-card-footer {
    max-height: 100px;
    opacity: 1;
    margin-top: 20px;
  }

  /* Adjust card inner padding for collapsed state */
  .blog-card .blog-card-inner {
    padding: 20px;
  }

  .blog-card.expanded .blog-card-inner {
    padding: 24px 20px;
  }

  /* Keep header row layout */
  .blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important;
    gap: 12px;
  }

  /* Title always visible */
  .blog-card-content h3 {
    margin-bottom: 0;
    transition: margin 0.3s ease;
  }

  .blog-card.expanded .blog-card-content h3 {
    margin-bottom: 0;
  }
}

