/* ============================================
   Blog Pages — Refreshed Design
   ============================================ */

/* --- Blog Hero --- */
.blog-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDFA 50%, #FFF7ED 100%) !important;
  color: #1A1A2E !important;
  padding: 64px 0 48px !important;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero h1 {
  color: #1A1A2E !important;
  font-size: 42px;
  font-weight: 700;
}

.blog-hero .text-gradient {
  background: linear-gradient(105deg, #00B4D8 0%, #7C3AED 50%, #FF6B2B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero .subtitle {
  color: #6B7280 !important;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
}

.blog-hero .breadcrumb-nav,
.blog-hero .breadcrumb-nav a,
.blog-hero .breadcrumb-nav li {
  color: #6B7280 !important;
}

.blog-hero .breadcrumb-nav a:hover {
  color: #00B4D8 !important;
}

/* --- Filter Bar --- */
.blog-filters {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.filter-btn {
  background: #F1F5F9;
  color: #6B7280;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #E2E8F0;
  color: #1A1A2E;
}

.filter-btn.active {
  background: #00B4D8 !important;
  color: #FFFFFF !important;
  border-color: #00B4D8 !important;
}

/* --- Article Grid Background --- */
.blog-grid-section {
  background: #F8FAFC;
}

/* --- Blog Cards Enhanced --- */
.blog-card-v2 {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #00B4D8;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h2 a {
  color: #1A1A2E;
  transition: color 0.2s;
}

.blog-card-body h2 a:hover {
  color: #00B4D8;
}

.blog-category-teal {
  background: rgba(0, 180, 216, 0.1) !important;
  color: #00B4D8 !important;
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.blog-category-purple {
  background: rgba(124, 58, 237, 0.1) !important;
  color: #7C3AED !important;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.blog-category-orange {
  background: rgba(255, 107, 43, 0.1) !important;
  color: #FF6B2B !important;
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.blog-meta {
  color: #9CA3AF;
  font-size: 13px;
}

.blog-meta a {
  color: #00B4D8;
  font-weight: 500;
}

/* --- Article Header --- */
.article-header {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDFA 50%, #FFF7ED 100%) !important;
  color: #1A1A2E !important;
  padding: 48px 0 0 !important;
  position: relative;
}

.article-header h1 {
  color: #1A1A2E !important;
}

.article-header .breadcrumb-nav,
.article-header .breadcrumb-nav a,
.article-header .breadcrumb-nav li {
  color: #6B7280 !important;
}

.article-header .breadcrumb-nav a:hover {
  color: #00B4D8 !important;
}

.article-header .article-category {
  background: rgba(0, 180, 216, 0.1);
  color: #00B4D8;
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.article-header .article-byline {
  color: #6B7280 !important;
}

.article-header .article-byline a {
  color: #00B4D8 !important;
}

/* --- Article Body --- */
.article-body {
  background: #FFFFFF;
}

.article-body h2 {
  color: #1A1A2E;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 12px;
}

.article-body h3 {
  color: #1A1A2E;
}

.article-body a {
  color: #00B4D8;
  text-decoration: underline;
  text-decoration-color: rgba(0, 180, 216, 0.3);
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #0097B2;
  text-decoration-color: #00B4D8;
}

.article-body blockquote {
  border-left: 4px solid #00B4D8;
  background: #F0FDFA;
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: #1A1A2E;
  font-style: italic;
}

.article-body .comparison-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.article-body .comparison-table thead {
  background: linear-gradient(135deg, #0F2B46, #132F4C) !important;
}

.article-body .comparison-table th {
  color: #FFFFFF;
  padding: 14px 16px;
  font-weight: 600;
}

.article-body .comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
}

.article-body .comparison-table tbody tr:hover {
  background: #F8FAFC;
}

/* --- Related Articles Section --- */
.related-articles {
  background: #F8FAFC;
}

/* --- Newsletter / CTA Section --- */
.blog-cta-section {
  background: linear-gradient(135deg, #0F2B46 0%, #132F4C 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.blog-cta-section h2 {
  color: #FFFFFF;
}

.blog-cta-section p {
  color: #94A3B8;
}
