/* ============================================
   Blog Layout Styles
   Extracted from blog-layout.blade.php
   ============================================ */

body {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(56, 93, 152, 0.12), transparent 60%),
    radial-gradient(900px 420px at 92% -10%, rgba(72, 198, 178, 0.11), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #f8fafc 48%, #ffffff 100%);
  color: #0f172a;
}

.web-light-theme {
  position: relative;
  isolation: isolate;
}

.web-light-theme::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px) saturate(130%);
}

.hover-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.9);
}

.gradient-primary {
  background: linear-gradient(135deg, #385d98 0%, #48c6b2 100%);
}

.web-light-theme .text-gray-900 { color: #0f172a; }
.web-light-theme .text-gray-700 { color: #334155; }
.web-light-theme .text-gray-600 { color: #475569; }
.web-light-theme .text-gray-500 { color: #64748b; }
.web-light-theme .text-gray-100 { color: #f1f5f9; }
.web-light-theme .bg-gray-100 { background-color: #f1f5f9; }
.web-light-theme .bg-gray-200 { background-color: #e2e8f0; }
.web-light-theme .hover\:bg-gray-50:hover { background-color: #f8fafc; }
.web-light-theme .hover\:bg-gray-200:hover { background-color: #e2e8f0; }

.web-light-theme a.text-blue-600 { color: #385d98; }
.web-light-theme a.text-blue-600:hover { color: #2f4f84; }
.web-light-theme a.hover\:text-blue-600:hover { color: #385d98; }
.web-light-theme a.hover\:text-blue-800:hover { color: #2f4f84; }

.web-light-theme .sticky {
  top: 110px;
}

.rounded-full {
  border-radius: 9999px;
}

/* Match initial spacing with main layout */
.web-light-theme .container.pt-20 {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .web-light-theme .container.pt-20 {
    padding-top: 1rem;
  }
}

.blog-pagination-shell {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ============================================
   DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] body {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(56,93,152,0.15), transparent 60%),
    radial-gradient(900px 420px at 92% -10%, rgba(45,212,191,0.1), transparent 58%),
    linear-gradient(180deg, #0a0f1c 0%, #111827 48%, #0f172a 100%);
  color: #f1f5f9;
}

[data-theme="dark"] .web-light-theme::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
}

[data-theme="dark"] .glass-effect {
  background: rgba(15,23,42,0.8) !important;
  border-color: rgba(255,255,255,0.08) !important;
  box-shadow: 0 18px 32px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .web-light-theme .text-gray-900 { color: #f1f5f9 !important; }
[data-theme="dark"] .web-light-theme .text-gray-700 { color: #cbd5e1 !important; }
[data-theme="dark"] .web-light-theme .text-gray-600 { color: #94a3b8 !important; }
[data-theme="dark"] .web-light-theme .text-gray-500 { color: #64748b !important; }
[data-theme="dark"] .web-light-theme .text-gray-100 { color: #cbd5e1 !important; }
[data-theme="dark"] .web-light-theme .bg-gray-100 { background-color: #1e293b !important; }
[data-theme="dark"] .web-light-theme .bg-gray-200 { background-color: #334155 !important; }
[data-theme="dark"] .web-light-theme .hover\:bg-gray-50:hover { background-color: #1e293b !important; }
[data-theme="dark"] .web-light-theme .hover\:bg-gray-200:hover { background-color: #334155 !important; }
[data-theme="dark"] .web-light-theme a.text-blue-600 { color: #60a5fa !important; }
[data-theme="dark"] .web-light-theme a.text-blue-600:hover { color: #93c5fd !important; }
[data-theme="dark"] .web-light-theme a.hover\:text-blue-600:hover { color: #60a5fa !important; }
[data-theme="dark"] .web-light-theme a.hover\:text-blue-800:hover { color: #93c5fd !important; }
