/**
 * ==========================================================================
 * GAVERIFY.ME - BLOG ARCHITECTURE & ARTICLES STYLESHEET
 * ==========================================================================
 * Centralized styles for the Global Blog Hub (/blogs) and all individual
 * technical guides and articles (/blogs/<slug>).
 * Strictly zero in-page <style> tags allowed.
 * ==========================================================================
 */

/* ==========================================================================
   1. GLOBAL BLOG HERO SECTION
   ========================================================================== */

.blog-hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 95, 241, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(94, 23, 235, 0.06) 0%, transparent 55%),
              #ffffff;
  padding: 2.25rem 0 3.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-hero-content {
  max-width: 780px;
  margin-top: 1rem;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(37, 95, 241, 0.08);
  border: 1px solid rgba(37, 95, 241, 0.2);
  color: #255ff1;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.blog-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.blog-title-gradient {
  background: linear-gradient(135deg, #255ff1 0%, #5E17EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.5rem;
}

/* ==========================================================================
   2. CATEGORY FILTERS BAR
   ========================================================================== */

.blog-filters-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.blog-filter-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f8fafc;
}

.blog-filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.blog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(226, 232, 240, 0.8);
  color: #475569;
}

.blog-filter-btn.active .blog-filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   3. BLOG LIST SECTION & CARDS GRID (Inspired by Reference UI)
   ========================================================================== */

.blog-list-section {
  padding: 3.5rem 0 5rem;
  background: #f8fafc;
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 95, 241, 0.35);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-media.is-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(37, 95, 241, 0.04) 0%, #f1f5f9 100%);
  padding: 1rem;
}

.blog-card-media.is-contain .blog-card-img {
  width: auto;
  height: 90%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

/* Status badge overlay in image top-right (matching sample UI "published" pill) */
.blog-status-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  background: rgba(220, 252, 231, 0.95);
  backdrop-filter: blur(8px);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
  z-index: 2;
}

.blog-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-top {
  flex-grow: 1;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #255ff1;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.blog-card-title a:hover {
  color: #255ff1;
}

.blog-card-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  margin-top: auto;
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: #94a3b8;
  font-weight: 500;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #255ff1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-card-link:hover {
  color: #1a1054;
}

.blog-card-link:hover svg {
  transform: translateX(3px);
}

.blog-card-link svg {
  transition: transform 0.2s ease;
}

/* ==========================================================================
   4. EDITORIAL EMPTY / PREPARATION STATE
   ========================================================================== */

.blog-empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  background: #ffffff;
  border: 1px dashed rgba(203, 213, 225, 0.9);
  border-radius: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.blog-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 95, 241, 0.08);
  border: 1px solid rgba(37, 95, 241, 0.18);
  color: #255ff1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.blog-empty-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.blog-empty-desc {
  font-size: 0.975rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.75rem;
}

.blog-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. SINGLE BLOG ARTICLE READER (Streamlined Aesthetic UI from Reference)
   ========================================================================== */

.blog-reader-page {
  background: #f8fafc;
  min-height: 100vh;
  padding: 1.5rem 0 5rem;
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
}

.blog-reader-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Navigation Bar: Back link + Integrated Breadcrumbs */
.article-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-back-link:hover {
  color: #255ff1;
  transform: translateX(-2px);
}

.article-top-bar .hero-breadcrumb {
  margin-bottom: 0;
}

/* Clean Featured Banner Image (Uncropped, proper aspect ratio, zero forced fill) */
.article-featured-banner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.article-banner-img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Single Aesthetic White Box Reader Panel */
.article-reader-panel {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.04);
  padding: 3.5rem 3.5rem 4rem;
}

.article-panel-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Table of Contents - Clean tree of links matching screenshot */
.article-toc-nav {
  margin: 1.75rem 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.article-toc-tree,
.article-toc-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc-tree {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.article-toc-tree ul {
  padding-left: 1.5rem;
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-toc-tree a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.article-toc-tree a:hover {
  color: #0369a1;
}

/* Article Body Typography inside the White Box */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 1rem;
  scroll-margin-top: 2rem;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 2rem;
}

.article-body p {
  margin: 0 0 1.5rem;
}

.article-body a {
  color: #255ff1;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.article-body a:hover {
  color: #1a1054;
}

/* Quick Summary / Key Takeaways Callout */
.article-summary-card {
  background: linear-gradient(135deg, rgba(37, 95, 241, 0.04) 0%, rgba(94, 23, 235, 0.04) 100%), #ffffff;
  border: 1px solid rgba(37, 95, 241, 0.25);
  border-left: 4px solid #255ff1;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 4px 16px -2px rgba(37, 95, 241, 0.06);
}

.article-summary-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.article-summary-title svg {
  color: #255ff1;
}

.article-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #334155;
}

.article-summary-bullet {
  color: #255ff1;
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Comparison Table */
.article-table-wrap {
  overflow-x: auto;
  margin: 2rem 0 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  background: #ffffff;
}

.article-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.article-comparison-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.article-comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  color: #334155;
  line-height: 1.5;
}

.article-comparison-table tr:last-child td {
  border-bottom: none;
}

.article-comparison-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* Custom Lists */
.article-checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

.article-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Pricing Grid in Blog */
.article-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.article-pricing-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.article-pricing-card:hover {
  transform: translateY(-3px);
  border-color: #255ff1;
  box-shadow: 0 10px 24px -4px rgba(37, 95, 241, 0.12);
}

.article-pricing-card.is-popular {
  border-color: #255ff1;
  background: linear-gradient(180deg, rgba(37, 95, 241, 0.03) 0%, #ffffff 100%);
}

.article-pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #255ff1;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.article-pricing-tier {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.25rem 0 0.35rem;
}

.article-pricing-volume {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.article-pricing-rate {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.article-pricing-rate span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.article-step-card-full {
  grid-column: 1 / -1;
}

.article-pricing-saving {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.article-body .article-pricing-card a.article-pricing-btn {
  display: block;
  text-align: center;
  padding: 0.6rem 0.85rem;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  margin-top: auto;
  transition: all 0.15s ease;
}

.article-body .article-pricing-card.is-popular a.article-pricing-btn,
.article-body .article-pricing-card a.article-pricing-btn:hover {
  background: #255ff1 !important;
  color: #ffffff !important;
}

/* 7-Step Workflow Timeline */
.article-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.article-step-card {
  display: flex;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 1.25rem;
}

.article-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #255ff1;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.article-step-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* FAQ Accordion Section (Expandable UI) */
.article-faq-container {
  margin: 2.25rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.article-faq-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.article-faq-item:hover {
  border-color: rgba(37, 95, 241, 0.35);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.article-faq-item[open] {
  border-color: rgba(37, 95, 241, 0.4);
  box-shadow: 0 4px 16px rgba(37, 95, 241, 0.06);
}

.article-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  background: #ffffff;
  user-select: none;
  transition: background-color 0.15s ease;
}

.article-faq-summary::-webkit-details-marker {
  display: none;
}

.article-faq-item[open] .article-faq-summary {
  background: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.article-faq-summary .article-faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
  text-align: left;
}

.article-faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.article-faq-item:hover .article-faq-chevron {
  background: #e2e8f0;
  color: #0f172a;
}

.article-faq-item[open] .article-faq-chevron {
  transform: rotate(180deg);
  background: rgba(37, 95, 241, 0.12);
  color: #255ff1;
}

.article-faq-body {
  padding: 1.25rem 1.35rem;
  background: #ffffff;
}

.article-faq-body .article-faq-a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.article-faq-q-prefix {
  color: #255ff1;
  font-weight: 800;
  flex-shrink: 0;
}

.article-callout-quote {
  font-style: italic;
  color: #1e293b;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  background: #f1f5f9;
  border-left: 3px solid #255ff1;
  border-radius: 6px;
  margin: 1.25rem 0 1.5rem;
}

.article-analogy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.article-analogy-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #0f172a;
}

.article-analogy-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .article-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .article-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Article CTA Box (Scoped with high specificity to override .article-body typography) */
.article-body .article-cta-box {
  background: linear-gradient(135deg, #090e1a 0%, #111e3b 50%, #1e1b4b 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  margin: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.35);
}

.article-body .article-cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 95, 241, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.article-body .article-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(37, 95, 241, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.article-body .article-cta-box h3.article-cta-title,
.article-body h3.article-cta-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff !important;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.article-body .article-cta-box p.article-cta-desc,
.article-body p.article-cta-desc {
  font-size: 1.025rem;
  line-height: 1.65;
  color: #cbd5e1 !important;
  max-width: 620px;
  margin: 0 0 1.85rem;
}

.article-body .article-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-body .article-cta-box a.article-cta-btn-primary,
.article-body a.article-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  background: #255ff1 !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(37, 95, 241, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-body .article-cta-box a.article-cta-btn-primary:hover,
.article-body a.article-cta-btn-primary:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 95, 241, 0.6);
}

.article-body .article-cta-box a.article-cta-btn-secondary,
.article-body a.article-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.article-body .article-cta-box a.article-cta-btn-primary *,
.article-body a.article-cta-btn-primary * {
  color: #ffffff !important;
  text-decoration: none !important;
}

.article-body .article-cta-box a.article-cta-btn-secondary *,
.article-body a.article-cta-btn-secondary * {
  color: #ffffff !important;
  text-decoration: none !important;
}

.article-body .article-cta-box a.article-cta-btn-secondary svg,
.article-body a.article-cta-btn-secondary svg,
.article-body .article-cta-box a.article-cta-btn-secondary svg path,
.article-body a.article-cta-btn-secondary svg path {
  color: #22c55e !important;
  stroke: #22c55e !important;
}

.article-body .article-cta-box a.article-cta-btn-secondary:hover,
.article-body a.article-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   5b. RELATED ARTICLES COMPONENT
   ========================================================================== */

.article-related-section {
  margin: 3.5rem 0 0.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.article-related-header {
  margin-bottom: 1.75rem;
}

.article-related-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #255ff1;
  background: rgba(37, 95, 241, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.article-related-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.article-related-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.article-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 95, 241, 0.35);
  box-shadow: 0 8px 24px rgba(37, 95, 241, 0.08);
}

.article-body .article-related-media,
.article-related-media {
  display: block;
  width: 100%;
  height: 180px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.article-related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem;
  transition: transform 0.3s ease;
}

.article-related-card:hover .article-related-media img {
  transform: scale(1.03);
}

.article-related-content {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-related-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
  align-self: flex-start;
}

.article-related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.article-body .article-related-card-title a,
.article-related-card-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: color 0.15s ease;
}

.article-body .article-related-card-title a:hover,
.article-related-card-title a:hover {
  color: #255ff1 !important;
}

.article-related-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.article-body .article-related-link,
.article-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #255ff1 !important;
  text-decoration: none !important;
  margin-top: auto;
  transition: gap 0.15s ease, color 0.15s ease;
}

.article-body .article-related-link:hover,
.article-related-link:hover {
  color: #1a1054 !important;
  gap: 0.6rem;
}

@media (max-width: 768px) {
  .article-related-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .blog-card-body {
    padding: 1.25rem;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-meta-row {
    gap: 0.75rem;
  }
  .article-reader-panel {
    padding: 2rem 1.25rem 2.5rem;
    border-radius: 16px;
  }
  .blog-reader-page {
    padding-top: 1rem;
  }
  .article-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
