/* ===== BLOG / ARTICLE STYLES ===== */

/* Article page layout */
.article-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,245,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,160,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}
.article-orb {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(#00f5a0, transparent 70%);
  border-radius: 50%; top: -200px; left: 50%;
  transform: translateX(-50%);
  filter: blur(90px); opacity: 0.08; pointer-events: none;
}
.article-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,245,160,0.1); border: 1px solid rgba(0,245,160,0.25);
  color: #00f5a0; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  max-width: 780px; margin: 0 auto 1.25rem;
}
.article-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.82rem; color: #4a5568; margin-top: 1rem;
}
.article-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* Article body */
.article-body {
  max-width: 760px; margin: 0 auto;
  padding: 0 1.5rem 5rem;
  font-size: 1rem; line-height: 1.8; color: #c8d3e8;
}
.article-body h2 {
  font-size: 1.5rem; font-weight: 800;
  color: #f0f4ff; margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}
.article-body h3 {
  font-size: 1.15rem; font-weight: 700;
  color: #f0f4ff; margin: 1.75rem 0 0.6rem;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body strong { color: #f0f4ff; }
.article-body a { color: #00f5a0; text-decoration: none; border-bottom: 1px solid rgba(0,245,160,0.3); }
.article-body a:hover { border-bottom-color: #00f5a0; }
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.article-body li { color: #8896b0; }
.article-body li strong { color: #f0f4ff; }

/* Callout boxes */
.callout {
  border-radius: 14px; padding: 1.25rem 1.5rem;
  margin: 2rem 0; display: flex; gap: 1rem; align-items: flex-start;
}
.callout-info {
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.2);
}
.callout-warn {
  background: rgba(255,210,0,0.07);
  border: 1px solid rgba(255,210,0,0.2);
}
.callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout p { margin: 0; font-size: 0.9rem; color: #8896b0; line-height: 1.7; }
.callout strong { color: #f0f4ff; }

/* Comparison table */
.comp-table {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0; font-size: 0.88rem;
  background: #111827; border-radius: 14px; overflow: hidden;
}
.comp-table th {
  background: #1a2236; padding: 0.85rem 1rem;
  text-align: left; font-weight: 700; color: #f0f4ff;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.comp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #8896b0;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .yes { color: #00f5a0; font-weight: 700; }
.comp-table .no  { color: #ff5f57; }
.comp-table .mid { color: #ffd200; }

/* CTA box */
.article-cta {
  background: linear-gradient(135deg, rgba(0,245,160,0.07), rgba(0,217,245,0.05));
  border: 1px solid rgba(0,245,160,0.25);
  border-radius: 20px; padding: 2.5rem; text-align: center;
  margin: 3rem 0;
}
.article-cta h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.article-cta p  { font-size: 0.9rem; color: #8896b0; margin-bottom: 1.5rem; line-height: 1.7; }
.cta-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
  color: #030a05; font-weight: 800; font-size: 0.95rem;
  padding: 0.85rem 2rem; border-radius: 100px;
  text-decoration: none; border: none;
  box-shadow: 0 4px 20px rgba(0,245,160,0.3);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cta-btn-primary:hover {
  box-shadow: 0 8px 35px rgba(0,245,160,0.5);
  transform: translateY(-2px);
  border: none;
}
.cta-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: #00f5a0;
  border: 1px solid rgba(0,245,160,0.3);
  font-weight: 700; font-size: 0.9rem;
  padding: 0.75rem 1.75rem; border-radius: 100px;
  text-decoration: none; margin-left: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}
.cta-btn-secondary:hover {
  background: rgba(0,245,160,0.08);
  border-color: rgba(0,245,160,0.6);
}

/* Related articles */
.related-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 5rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
  margin-top: 2rem;
}
.related-card {
  background: #111827; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 1.5rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.3s, transform 0.3s;
  display: block;
}
.related-card:hover { border-color: rgba(0,245,160,0.25); transform: translateY(-3px); }
.related-card .rc-tag {
  font-size: 0.7rem; font-weight: 700; color: #00f5a0;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem;
}
.related-card h4 { font-size: 0.92rem; color: #f0f4ff; line-height: 1.4; margin-bottom: 0.4rem; }
/* Force correct color on anchor-based cards (overrides :link/:visited browser defaults) */
a.related-card,
a.related-card:link,
a.related-card:visited,
a.related-card:hover,
a.related-card:active {
  color: #f0f4ff;
  text-decoration: none;
}
a.related-card h4 { color: #f0f4ff; }
a.related-card .rc-tag { color: #00f5a0; }
a.related-card p { color: #4a5568; }


/* Blog index cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.blog-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: #f0f4ff;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f5a0, #00d9f5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(0,245,160,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(0,245,160,0.06);
}
.blog-card:hover::before { opacity: 1; }
.bc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #00f5a0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  display: inline-block;
}
.blog-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f4ff;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.blog-card p {
  font-size: 0.875rem;
  color: #8896b0;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.bc-meta {
  font-size: 0.75rem;
  color: #4a5568;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── FORCE card colors (browser :link/:visited have very high specificity) ── */
.blog-card,
.blog-card:link,
.blog-card:visited,
.blog-card:hover,
.blog-card:active,
.blog-card:focus {
  color: #f0f4ff !important;
  text-decoration: none !important;
}
.blog-card .bc-tag  { color: #00f5a0 !important; }
.blog-card h2       { color: #f0f4ff !important; text-decoration: none !important; }
.blog-card p        { color: #8896b0 !important; }
.blog-card .bc-meta,
.blog-card .bc-meta span { color: #4a5568 !important; }

.related-card,
.related-card:link,
.related-card:visited,
.related-card:hover,
.related-card:active {
  color: #f0f4ff !important;
  text-decoration: none !important;
}
.related-card h4         { color: #f0f4ff !important; }
.related-card .rc-tag    { color: #00f5a0 !important; }
.related-card p          { color: #4a5568 !important; }

/* Responsive */
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 1.25rem; }
  .cta-btn-secondary { margin-left: 0; margin-top: 0.75rem; }
  .article-cta .btn-row { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

