/* ============================================================
   Programmatic SEO pages — polished template styling
   ============================================================ */

.seo-hero {
  background: linear-gradient(135deg, #0f2a5c 0%, #004aad 60%, #0a6bd6 100%);
  color: #fff;
  padding: 44px 0 38px;
}
.seo-hero .crumbs { font-size: .85rem; opacity: .85; margin-bottom: 14px; }
.seo-hero .crumbs a { color: #cfe0ff; text-decoration: none; }
.seo-hero .crumbs a:hover { text-decoration: underline; }
.seo-hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 800;
}
.seo-hero .hero-sub { font-size: 1.02rem; opacity: .92; max-width: 760px; line-height: 1.65; }
.seo-hero .hero-tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.seo-hero .hero-tag {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

/* Sticky TOC chips */
.seo-toc {
  background: #fff;
  border-bottom: 1px solid #e6ecf5;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.seo-toc-in {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.seo-toc a {
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition: all .15s ease;
}
.seo-toc a:hover { background: #004aad; color: #fff; border-color: #004aad; }

/* Article body — sidebar layout ke andar full width leta hai */
.seo-body { max-width: 860px; margin: 0 auto; padding: 34px 16px 50px; }
.cgt-layout .seo-body { max-width: none; padding: 34px 0 50px; }
.seo-body-wrap { padding-top: 0; }
.seo-body h2 {
  font-size: 1.4rem;
  color: #0f2a5c;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8effc;
  scroll-margin-top: 70px;
}
.seo-body p { line-height: 1.8; color: #333; margin: 0 0 16px; font-size: 1.01rem; }
.seo-body ul, .seo-body ol { line-height: 1.85; margin: 0 0 18px; padding-left: 24px; color: #333; }
.seo-body li { margin: 5px 0; }
.seo-body a { color: #004aad; }

/* Tables — styled, mobile-scroll */
.seo-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: .95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.seo-body thead th {
  background: linear-gradient(135deg, #0f2a5c, #004aad);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: .84rem;
  letter-spacing: .3px;
}
.seo-body tbody td { padding: 11px 14px; border-bottom: 1px solid #eef2f8; vertical-align: top; }
.seo-body tbody tr:nth-child(even) td { background: #f8fafd; }
.seo-body tbody tr:hover td { background: #f0f6ff; }
.seo-table-scroll { overflow-x: auto; }

/* Course CTA box */
.seo-cta {
  background: linear-gradient(135deg, #fff8ec, #fff);
  border: 1px solid #ffe1a8;
  border-left: 6px solid #F5A623;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.seo-cta .cta-txt { flex: 1; min-width: 220px; }
.seo-cta h3 { margin: 0 0 6px; font-size: 1.12rem; color: #92400e; }
.seo-cta p { margin: 0; color: #555; font-size: .95rem; }
.seo-cta .btn-cta {
  background: linear-gradient(135deg, #F5A623, #e08900);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 166, 35, .35);
  transition: transform .15s ease;
}
.seo-cta .btn-cta:hover { transform: translateY(-2px); }

/* Related reading */
.seo-related {
  background: #f7f9fc;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 30px;
}
.seo-related h2 { border: 0; margin: 0 0 12px; font-size: 1.15rem; }
.seo-related ul { list-style: none; padding: 0; margin: 0; }
.seo-related li { padding: 8px 0; border-bottom: 1px dashed #e2e8f0; margin: 0; }
.seo-related li:last-child { border-bottom: 0; }
.seo-related a { font-weight: 600; text-decoration: none; }
.seo-related a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .seo-hero { padding: 30px 0 26px; }
  .seo-body { padding: 24px 14px 40px; }
  .seo-body h2 { font-size: 1.2rem; }
  .seo-cta { padding: 18px; }
}
