/* ==========================================================================
   EDITORIAL 3-COLUMN LAYOUT & NEWSPAPER COMPONENTS
   Matching Patrika / LiveMint Authentic Style
   ========================================================================== */

/* 1. Masthead & Category Navigation */
.site-masthead {
  border-bottom: 1px solid var(--border-divider);
  padding: 0.75rem 0;
  background: #ffffff;
}

.masthead-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.portal-brand-link:hover {
  opacity: 0.92;
}

.site-header-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .site-header-logo {
    height: 40px;
    max-width: 190px;
  }
}

.portal-brand-link h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.portal-brand-link span {
  color: #ea580c;
}

.masthead-search-box {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  border: 1px solid #e5e7eb;
  width: 260px;
}

.masthead-search-box input {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
  width: 100%;
}

/* Category Navigation Bar (Horizontal Clean Menu) */
.category-menu-bar {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  overflow-x: auto;
}

.category-nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.category-nav-item a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  padding: 0.45rem 0;
  display: block;
  position: relative;
  transition: color 0.15s ease;
}

.category-nav-item a:hover {
  color: #111827;
}

.category-nav-item.active a {
  color: #111827;
  border-bottom: 3px solid #111827;
  font-weight: 800;
}

/* 2. The 3-Column Editorial Grid (Exact Patrika Structure) */
.editorial-three-column-grid {
  display: grid;
  grid-template-columns: 280px 1.8fr 320px;
  gap: 2rem;
  padding: 1.75rem 0 2.5rem;
  border-bottom: 1px solid var(--border-divider);
}

/* Left Column: Latest Hindi News (Vertical List) */
.col-latest-news {
  border-right: 1px solid var(--border-divider);
  padding-right: 1.5rem;
}

.column-header-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #111827;
}

.latest-news-list {
  display: flex;
  flex-direction: column;
}

.latest-news-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-divider);
  cursor: pointer;
  transition: background 0.15s ease;
}

.latest-news-item:hover .news-item-title {
  color: #0284c7;
}

.news-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  margin-bottom: 0.35rem;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: #6b7280;
}

.news-item-cat {
  color: #4b5563;
  font-weight: 700;
}

/* Middle Column: Big Center Lead Story */
.col-center-lead {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-lead-article {
  cursor: pointer;
}

.main-lead-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 0.6rem;
  transition: color 0.15s ease;
}

.main-lead-article:hover .main-lead-title {
  color: #0284c7;
}

.main-lead-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.85rem;
}

.main-lead-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border-radius: 4px;
}

.main-lead-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-lead-article:hover .main-lead-image-wrap img {
  transform: scale(1.02);
}

.main-lead-snippet {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Secondary Story in Center Column */
.secondary-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border-top: 1px solid var(--border-divider);
  padding-top: 1.25rem;
}

.sub-lead-card {
  cursor: pointer;
}

.sub-lead-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.sub-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-lead-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
}

.sub-lead-card:hover .sub-lead-title {
  color: #0284c7;
}

/* Right Column: Clean Single Ad & Trending News */
.col-right-sidebar {
  border-left: 1px solid var(--border-divider);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Clean Standard AdSense Container */
.sidebar-ad-wrapper {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
  text-align: center;
  border-radius: 4px;
}

.ad-subtle-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Trending News (Green outlined numbers 1, 2, 3) */
.trending-heading-bar {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}

.trending-patrika-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trending-patrika-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
}

.trending-rank-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #16a34a; /* Vibrant Green from screenshot */
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
  width: 24px;
}

.trending-patrika-item:hover .trending-story-title {
  color: #0284c7;
}

.trending-story-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
}

/* 3. Category Sections & Magazine Shelves */
.category-shelf-section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-divider);
}

.shelf-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.5rem;
}

.shelf-title-bar h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
}

.shelf-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.shelf-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shelf-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}

.shelf-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.shelf-card:hover .shelf-card-thumb img {
  transform: scale(1.03);
}

.shelf-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
}

.shelf-card:hover .shelf-card-title {
  color: #0284c7;
}

/* In-Feed Native Ad Unit between shelves */
.in-feed-ad-banner {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  text-align: center;
  margin: 2rem 0;
}

/* 4. Full Article Reader Modal (Clean Editorial View) */
.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #ffffff;
  overflow-y: auto;
  display: none;
}

.reader-modal.active {
  display: block;
}

.reader-nav-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.reader-back-btn {
  font-weight: 700;
  font-size: 0.92rem;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reader-back-btn:hover {
  color: #0284c7;
}

.reader-article-container {
  max-width: 820px;
  margin: 2rem auto 5rem;
  padding: 0 1rem;
}

.reader-article-headline {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 0.85rem;
}

.reader-meta-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.reader-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 1.75rem;
}

.reader-prose {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #374151;
}

.reader-prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: #111827;
}

.reader-prose p {
  margin-bottom: 1.25rem;
}

.reader-prose ul, .reader-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.reader-prose li {
  margin-bottom: 0.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .editorial-three-column-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .col-latest-news {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-divider);
    padding-bottom: 1.5rem;
  }

  .col-right-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-divider);
    padding-top: 1.5rem;
  }

  .shelf-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .secondary-lead-row {
    grid-template-columns: 1fr;
  }

  .shelf-cards-grid {
    grid-template-columns: 1fr;
  }

  .main-lead-title {
    font-size: 1.4rem;
  }

  .reader-article-headline {
    font-size: 1.5rem;
  }
}


/* ==========================================================================
   MAIN EDITORIAL POSTS SECTION & NUMBERED PAGINATION
   ========================================================================== */

.main-articles-section {
  padding: 2.5rem 0;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-main-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.section-sub-desc {
  font-size: 0.92rem;
  color: #6b7280;
  margin-bottom: 0;
}

.posts-count-badge {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
}

/* Category Filter Pills */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}

.category-pill-btn {
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-pill-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.category-pill-btn.active {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

.pill-badge {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.76rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
}

.category-pill-btn.active .pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 3-Column Responsive Card Grid */
.main-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.post-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.post-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  overflow: hidden;
}

.post-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumb-wrap img {
  transform: scale(1.03);
}

.post-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

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

.post-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
  color: #111827;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.post-card:hover .post-card-title {
  color: #ea580c;
}

.post-card-snippet {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 0.85rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-card-read-link {
  font-weight: 800;
  color: #0284c7;
  transition: transform 0.15s ease;
}

.post-card:hover .post-card-read-link {
  transform: translateX(3px);
  color: #ea580c;
}

/* Balanced Grid In-Feed Ad Card */
.grid-infeed-ad-card {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  margin: 0.75rem 0;
  position: relative;
  min-height: 120px;
}

/* Numbered Pagination Styling */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
}

.pagination-flex {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-numbers-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pagination-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}

.pagination-btn:hover:not(.disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

.pagination-btn.active {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

.pagination-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #e5e7eb;
  background: #f9fafb;
}

.pagination-dots {
  padding: 0 0.4rem;
  color: #9ca3af;
  font-weight: 700;
  font-size: 1.1rem;
}

.no-posts-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .main-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .main-posts-grid {
    grid-template-columns: 1fr;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   5. PREMIUM EDITORIAL READER COMPONENTS (LiveMint / Indian Express Style)
   ========================================================================== */

/* Breadcrumbs */
.reader-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.reader-breadcrumb a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
}

.reader-breadcrumb a:hover {
  text-decoration: underline;
}

.reader-breadcrumb .bc-sep {
  color: #94a3b8;
  font-size: 0.8rem;
}

.reader-breadcrumb .bc-current {
  color: #1e293b;
  font-weight: 600;
}

/* Category strip & byline */
.reader-category-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.meta-bullet {
  color: #cbd5e1;
}

.reader-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.author-info-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.author-role {
  font-size: 0.78rem;
  color: #64748b;
}

.reader-stats-flex {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
}

.stat-verified {
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

.stat-views {
  color: #64748b;
  font-weight: 500;
}

/* 1. Quick Answer Callout Card */
.reader-quick-answer-card {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.08);
}

.reader-quick-answer-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reader-quick-answer-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #166534;
  font-weight: 500;
}

/* 2. Document Profile Card (Official Key Facts) */
.reader-doc-profile-card {
  margin: 2rem 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.doc-profile-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.doc-profile-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.doc-profile-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.doc-profile-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.15rem 0 0;
}

/* 3. Dedicated Table of Contents (TOC) Component */
.reader-toc-card {
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  overflow: hidden;
}

.reader-toc-header {
  background: #f1f5f9;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.reader-toc-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toc-icon {
  font-size: 1.2rem;
}

.toc-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.toc-count-pill {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-weight: 700;
}

.toc-toggle-action {
  background: transparent;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.toc-toggle-action:hover {
  background: #e2e8f0;
}

.reader-toc-ordered-list {
  padding: 1.15rem 1.5rem 1.25rem 2.75rem;
  margin: 0;
  list-style-type: decimal;
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 640px) {
  .reader-toc-ordered-list {
    columns: 1;
    padding-left: 2rem;
  }
}

.reader-toc-ordered-list li {
  margin-bottom: 0.65rem;
  break-inside: avoid;
}

.toc-jump-link {
  color: #1e40af;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 500;
  transition: color 0.15s ease;
  display: block;
}

.toc-jump-link:hover {
  color: #ea580c;
  text-decoration: underline;
}

.toc-jump-link.active {
  color: #ea580c;
  font-weight: 700;
}

/* 4. Responsive HTML Tables (Editorial Tables) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
  line-height: 1.55;
}

.editorial-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}

.editorial-table th {
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.editorial-table th:last-child {
  border-right: none;
}

.editorial-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
}

.editorial-table td:first-child {
  font-weight: 600;
  color: #0f172a;
  background: #fafbfc;
  width: 25%;
  min-width: 140px;
}

.editorial-table td:last-child {
  border-right: none;
}

.editorial-table tbody tr:nth-child(even) {
  background: #fdfdfd;
}

.editorial-table tbody tr:hover {
  background: #f1f5f9;
}

.editorial-table tbody tr:last-child td {
  border-bottom: none;
}

/* 5. Editorial Prose Elements */
.reader-prose-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
}

.editorial-section-heading {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 2.25rem 0 0.85rem;
  color: #0f172a;
  line-height: 1.35;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #f1f5f9;
}

.editorial-subheading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
  color: #1e293b;
}

.editorial-prose-list {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 0.5rem;
}

.editorial-prose-list li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.editorial-callout-note {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
  font-size: 0.98rem;
  color: #1e40af;
  font-weight: 500;
  line-height: 1.65;
}

.prose-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-link:hover {
  color: #ea580c;
}

/* In-Article Ad Banner */
.editorial-in-article-ad {
  margin: 2.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  text-align: center;
}

.editorial-in-article-ad .ad-notice {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* 6. FAQs Accordion Block */
.reader-faq-block {
  margin: 3.5rem 0 2rem;
  border-top: 2px solid #e2e8f0;
  padding-top: 2rem;
}

.faq-block-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.faq-block-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.faq-block-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.faq-block-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.faq-accordion-btn {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  padding: 1rem 1.25rem;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s ease;
}

.faq-accordion-btn:hover {
  background: #f1f5f9;
}

.faq-toggle-sign {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
}

.faq-accordion-body {
  padding: 1.15rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.faq-accordion-body p {
  margin: 0;
}

/* 7. Official Portal Links & Helplines Card */
.reader-sources-card {
  margin: 2.5rem 0 3.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1.5rem;
}

.sources-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.sources-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.sources-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #166534;
  margin: 0;
}

.sources-subtitle {
  font-size: 0.85rem;
  color: #15803d;
  margin: 0.2rem 0 0;
}

.sources-buttons-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sources-portal-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sources-portal-btn.primary {
  background: #16a34a;
  color: #ffffff;
}

.sources-portal-btn.primary:hover {
  background: #15803d;
}

.sources-portal-btn.secondary {
  background: #ffffff;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.sources-portal-btn.secondary:hover {
  background: #dcfce7;
}

/* ==========================================================================
   EDITORIAL AUTHOR BIO CARD & E-E-A-T AUTHOR SYSTEM
   ========================================================================== */

.reader-author-bio-card {
  margin: 2.5rem 0 2rem 0;
  padding: 1.5rem 1.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ea580c;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.author-bio-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ea580c;
  margin-bottom: 0.85rem;
}

.author-bio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.author-bio-avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.author-bio-details {
  flex: 1;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.author-bio-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.author-verified-tag {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.author-bio-role {
  font-size: 0.86rem;
  color: #475569;
  font-weight: 600;
  margin-top: 0.2rem;
}

.author-bio-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  margin: 0.6rem 0 1rem 0;
}

.author-expertise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.author-expertise-tag {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.post-card-author {
  font-weight: 700;
  color: #1e3a8a;
}


/* ==========================================================================
   MASTER EDITORIAL ARCHITECTURE ENHANCEMENTS (113-POINT RULEBOOK)
   Homepage Category Sections, Layout Variations, Reader Highlights,
   Related Articles Grid, Multi-Column Footer & Compliant Ad Wrappers
   ========================================================================== */

/* 1. HOMEPAGE CATEGORY SECTIONS */
.homepage-category-sections {
  margin: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.editorial-cat-section {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.editorial-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.editorial-sec-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.editorial-sec-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.3;
}

.editorial-sec-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.editorial-sec-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a8a;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  background: #eff6ff;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.editorial-sec-viewall:hover {
  background: #1e3a8a;
  color: #ffffff;
}

/* 2. SECTION LAYOUT 1: SCHEME FEATURED LAYOUT (Lead 55% + 4 Sub Cards 45%) */
.scheme-featured-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .scheme-featured-layout {
    grid-template-columns: 1fr;
  }
}

.scheme-lead-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scheme-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.scheme-lead-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 52%;
  background: #0f172a;
  overflow: hidden;
}

.scheme-lead-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scheme-lead-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scheme-lead-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.scheme-lead-snippet {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.scheme-sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.scheme-sub-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.scheme-sub-item:hover {
  background: #f1f5f9;
}

.scheme-sub-thumb {
  width: 90px;
  height: 65px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.scheme-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scheme-sub-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.scheme-sub-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 0.3rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scheme-sub-meta {
  font-size: 0.75rem;
  color: #64748b;
}

/* 3. SECTION LAYOUT 2: JOBS RECRUITMENT TABLE + CARDS */
.job-table-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.job-quick-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.job-quick-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.job-quick-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.job-quick-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

.job-quick-table tr:hover td {
  background: #f8fafc;
}

.job-table-link-btn {
  display: inline-block;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.job-table-link-btn:hover {
  background: #0369a1;
}

/* 4. SECTION LAYOUT 3: DOCUMENT GUIDE GRID (4-Up Card Grid) */
.doc-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .doc-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .doc-grid-layout {
    grid-template-columns: 1fr;
  }
}

.doc-guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.doc-guide-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #1e3a8a;
  overflow: hidden;
}

.doc-guide-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doc-guide-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-guide-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0.25rem 0 0.5rem 0;
  flex: 1;
}

.doc-guide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #64748b;
}

/* 5. SECTION LAYOUT 4: GADGETS SPECS GRID */
.gadgets-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .gadgets-grid-layout {
    grid-template-columns: 1fr;
  }
}

.gadget-spec-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gadget-spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.gadget-spec-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0f172a;
  overflow: hidden;
}

.gadget-spec-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gadget-spec-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gadget-spec-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0.35rem 0 0.6rem;
}

.gadget-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.gadget-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* 6. SECTION LAYOUT 5: DIGITAL SERVICES STEP CARDS */
.digital-steps-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .digital-steps-layout {
    grid-template-columns: 1fr;
  }
}

.digital-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.digital-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.digital-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
}

.digital-step-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.digital-step-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 7. READER VIEW: KEY HIGHLIGHTS BOX */
.reader-highlights-box {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.reader-highlights-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 0.75rem;
}

.reader-highlights-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #1e293b;
  font-size: 0.94rem;
  line-height: 1.7;
}

.reader-highlights-list li {
  margin-bottom: 0.4rem;
}

/* 8. READER VIEW: RELATED ARTICLES GRID */
.reader-related-section {
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.75rem;
  border-top: 2px solid #e2e8f0;
}

.reader-related-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.reader-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reader-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.reader-related-thumb {
  position: relative;
  width: 100%;
  padding-top: 52%;
  background: #0f172a;
  overflow: hidden;
}

.reader-related-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-related-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.reader-related-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.4rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.reader-related-card-meta {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

/* 9. EDITORIAL MULTI-COLUMN FOOTER */
.editorial-multi-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  border-top: 4px solid #1e3a8a;
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .footer-grid-4col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid-4col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col-title {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 1.1rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: #ea580c;
}

.footer-desc-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0.75rem 0 1rem;
}

.footer-independence-badge {
  display: inline-block;
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-box {
  background: #1e293b;
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid #334155;
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-contact-box a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-legal {
  line-height: 1.5;
}

.footer-bottom-sitemap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-sitemap a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-bottom-sitemap a:hover {
  color: #ffffff;
}

/* 10. COMPLIANT EDITORIAL AD WRAPPER */
.editorial-ad-slot {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1.25rem 0.75rem;
  margin: 2rem auto;
  text-align: center;
  max-width: 760px;
}

.ad-subtle-notice {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* 11. IN-BODY EDITORIAL FIGURES & IMAGES */
.editorial-article-figure {
  margin: 2.2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.editorial-article-figure img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.editorial-article-figure figcaption {
  padding: 0.65rem 1rem;
  background: #f8fafc;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  font-weight: 500;
  line-height: 1.4;
}

.reader-hero-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
