/* ============================================
   Article Pages — Utkal Adda
   ============================================ */

/* ---- Hero ---- */
.article-hero {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #0047ab 0%, #00a8ff 100%);
  color: white;
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.article-category {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-date {
  opacity: 0.85;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  font-weight: 800;
}

.article-excerpt {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 680px;
  line-height: 1.8;
}

/* ---- Layout ---- */
.article-content {
  padding: 4rem 0;
  background: #fff;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Image ---- */
.article-image {
  width: 100%;
  border-radius: 16px;
  margin: 1.5rem 0 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 71, 171, 0.1);
  display: block;
}

/* ---- H2 ---- */
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 3rem 0 1.25rem;
  color: #0047ab;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e4ecff;
  position: relative;
}

.article-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, #0047ab, #00a8ff);
  border-radius: 2px;
}

/* ---- H3 ---- */
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  color: #1a1a2e;
  padding-left: 1rem;
  border-left: 3px solid #00a8ff;
  line-height: 1.5;
}

/* Override h3 style inside CTA */
.article-cta h3 {
  border: none;
  padding: 0;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* ---- Body Text ---- */
.article-body p {
  line-height: 1.9;
  margin-bottom: 1.35rem;
  color: #3d3d3d;
  font-size: 1rem;
}

/* ---- Unordered Lists ---- */
.article-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.75rem;
  background: #fafbff;
  border-radius: 12px;
  border: 1px solid #e4ecff;
  overflow: hidden;
}

.article-body ul li {
  padding: 0.75rem 1.25rem 0.75rem 2.75rem;
  position: relative;
  color: #3d3d3d;
  line-height: 1.7;
  border-bottom: 1px solid #eef1ff;
  font-size: 0.975rem;
}

.article-body ul li:last-child {
  border-bottom: none;
}

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 1rem;
  color: #0047ab;
  font-weight: 700;
  top: 0.75rem;
}

/* ---- Ordered Lists ---- */
.article-body ol {
  list-style: none;
  padding-left: 0;
  counter-reset: ol-counter;
  margin-bottom: 1.75rem;
}

.article-body ol li {
  padding: 0.9rem 1.25rem 0.9rem 3.25rem;
  position: relative;
  color: #3d3d3d;
  line-height: 1.7;
  counter-increment: ol-counter;
  background: #fafbff;
  border: 1px solid #e4ecff;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  font-size: 0.975rem;
}

.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0047ab, #00a8ff);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 26px;
}

/* Bold in lists */
.article-body ul li strong,
.article-body ol li strong {
  color: #0047ab;
  font-weight: 700;
}

/* ---- Info Box ---- */
.info-box {
  background: linear-gradient(135deg, #eef3ff, #e4eeff);
  border-left: 4px solid #0047ab;
  padding: 1.1rem 1.5rem 1.1rem 3.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
  position: relative;
}

.info-box::before {
  content: 'i';
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #0047ab;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  line-height: 22px;
  font-style: italic;
}

.info-box p {
  margin: 0;
  color: #1a2e5e;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- CTA Block ---- */
.article-cta {
  background: linear-gradient(135deg, #0047ab 0%, #0069d9 50%, #00a8ff 100%);
  padding: 3rem;
  text-align: center;
  border-radius: 20px;
  margin: 3rem 0;
  color: white;
  box-shadow: 0 16px 48px rgba(0, 71, 171, 0.3);
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.article-cta::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.article-cta p {
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* ---- Related Articles ---- */
.related-articles {
  padding: 4rem 0;
  background: #f4f6fb;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.related-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 71, 171, 0.15);
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.related-card-content {
  padding: 1.25rem;
  border-top: 3px solid #0047ab;
}

.related-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #1a1a2e;
  line-height: 1.45;
  font-weight: 700;
}

.related-card p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .article-hero {
    padding: 90px 0 50px;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-excerpt {
    font-size: 1rem;
  }

  .article-body {
    padding: 0 1rem;
  }

  .article-body h2 {
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
  }

  .article-body h3 {
    font-size: 1rem;
  }

  .article-cta {
    padding: 2rem 1.5rem;
  }

  .article-cta h3 {
    font-size: 1.2rem;
  }
}
