/*
Theme Name: YuviNews
Theme URI: https://yuvinews.com
Author: YuviNews Team
Author URI: https://yuvinews.com
Description: Modern Google News-inspired bilingual news aggregation platform fully compliant with Google Search Central November Core Update (Anti-Doorway, Anti-Lookalike, Search Intent First, Outbound Link Sanitizer & E-E-A-T).
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yuvinews
Tags: news, blog, bilingual, google-news, material-design, responsive-layout, featured-images, seo-ready
*/

/* ==========================================================================
   Google News (Material 3) Exact Color System & Design Tokens
   ========================================================================== */
:root {
  /* Google News Canvas & Surfaces */
  --gnews-bg: #f6f8fc;
  --gnews-surface: #ffffff;
  --gnews-surface-container: #e9eef6;
  --gnews-surface-container-high: #f0f4f9;
  --gnews-surface-container-highest: #dfe3e8;

  /* Google News Brand Blue & Active Accents */
  --gnews-primary: #0b57d0;
  --gnews-primary-hover: #0842a0;
  --gnews-primary-container: #c2e7ff;
  --gnews-on-primary-container: #001d35;

  /* Borders & Dividers */
  --gnews-outline: #e3e3e3;
  --gnews-outline-variant: #dadce0;
  --gnews-outline-chip: #747775;

  /* Typography Colors */
  --gnews-on-surface: #1f1f1f;
  --gnews-on-surface-variant: #444746;
  --gnews-on-surface-subtle: #747775;

  /* Status Colors */
  --gnews-error: #b3261e;
  --gnews-badge-red: #d93025;
  --gnews-error-container: #fff8f6;
  --gnews-success: #137333;
  --gnews-success-container: #e6f4ea;

  /* Shapes */
  --gnews-card-radius: 16px;
  --gnews-pill-radius: 9999px;
  --gnews-chip-radius: 8px;
  --gnews-img-radius: 12px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Google Sans", "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  background-color: var(--gnews-bg);
  color: var(--gnews-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gnews-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Header & Search Styles (news.google.com Exact Match)
   ========================================================================== */
.site-header {
  background: var(--gnews-surface);
  border-bottom: 1px solid var(--gnews-outline);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-logo .brand-blue {
  color: var(--gnews-primary);
  font-weight: 700;
}

.site-logo .brand-dark {
  color: var(--gnews-on-surface);
  font-weight: 500;
}

.header-search {
  flex: 1;
  max-width: 680px;
  margin: 0 24px;
}

.search-form-wrap {
  position: relative;
  width: 100%;
}

.search-form-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  height: 46px;
  padding: 0 20px 0 46px;
  border-radius: var(--gnews-pill-radius);
  border: 1px solid transparent;
  background: var(--gnews-surface-container);
  color: var(--gnews-on-surface);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.header-search input:focus {
  background: var(--gnews-surface);
  border-color: transparent;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.header-search input::placeholder {
  color: var(--gnews-on-surface-subtle);
}

.header-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--gnews-pill-radius);
  border: 1px solid var(--gnews-outline-variant);
  background: var(--gnews-surface);
  color: var(--gnews-on-surface-variant);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  background: var(--gnews-surface-container-high);
  color: var(--gnews-primary);
}

/* ==========================================================================
   Category Navigation Bar (Google News Horizontal Tabs)
   ========================================================================== */
.category-nav {
  border-top: 1px solid var(--gnews-outline);
  background: var(--gnews-surface);
}

.category-menu-list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-menu-list::-webkit-scrollbar {
  display: none;
}

.category-menu-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.category-menu-list a {
  color: var(--gnews-on-surface-variant);
  display: inline-block;
  padding: 12px 14px;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
}

.category-menu-list a:hover {
  color: var(--gnews-on-surface);
  background: var(--gnews-surface-container-high);
  border-radius: 8px 8px 0 0;
}

.category-menu-list .active a,
.category-menu-list a.active-tab {
  color: var(--gnews-primary) !important;
  font-weight: 600;
  border-bottom: 3px solid var(--gnews-primary);
}

/* ==========================================================================
   Breaking News Ticker
   ========================================================================== */
.breaking-ticker {
  background: #fff8f6;
  border-bottom: 1px solid #f9dedc;
  padding: 8px 0;
  font-size: 13px;
}

.breaking-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breaking-badge {
  background: var(--gnews-badge-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.breaking-link {
  font-weight: 500;
  color: var(--gnews-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breaking-link:hover {
  color: var(--gnews-primary);
}

/* ==========================================================================
   Section Headers (Google News Blue Header with › Arrow)
   ========================================================================== */
.gnews-section-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 500;
  color: var(--gnews-primary);
  margin: 24px 0 12px;
  cursor: pointer;
}

.gnews-section-header:hover {
  text-decoration: underline;
}

.gnews-section-header .gnews-arrow {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.gnews-section-sub {
  font-size: 12px;
  color: var(--gnews-on-surface-variant);
  margin: -6px 0 16px;
}

/* ==========================================================================
   Main Grid Layout
   ========================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 2.15fr 0.85fr;
  gap: 24px;
  padding: 20px 0 48px;
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .header-search {
    display: none;
  }
}

/* ==========================================================================
   Top Stories Hero Card (Google News Multi-Perspective Card)
   ========================================================================== */
.gnews-hero-card {
  background: var(--gnews-surface);
  border: 1px solid var(--gnews-outline);
  border-radius: var(--gnews-card-radius);
  padding: 20px;
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

.gnews-hero-card:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,0.12), 0 2px 6px rgba(60,64,67,0.06);
  border-color: #c4c7c5;
}

.hero-lead-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--gnews-on-surface);
  margin-bottom: 16px;
  line-height: 1.35;
}

.hero-lead-title a:hover {
  color: var(--gnews-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-media-wrap {
  border-radius: var(--gnews-img-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e8eaed;
  margin-bottom: 12px;
}

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

.gnews-hero-card:hover .hero-media-wrap img {
  transform: scale(1.02);
}

.hero-source-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 6px;
}

.hero-source-badge {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--gnews-primary);
  display: inline-block;
}

.hero-source-name {
  font-weight: 500;
  color: var(--gnews-on-surface-variant);
}

.hero-article-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gnews-on-surface);
  margin-bottom: 6px;
}

.hero-article-title a:hover {
  color: var(--gnews-primary);
}

.hero-article-excerpt {
  font-size: 13.5px;
  color: var(--gnews-on-surface-variant);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Sub-stories on right of Hero */
.hero-substories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.substory-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gnews-outline);
}

.substory-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.substory-source {
  font-size: 11px;
  font-weight: 500;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.substory-title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gnews-on-surface);
  margin-bottom: 4px;
}

.substory-title a:hover {
  color: var(--gnews-primary);
}

.substory-meta {
  font-size: 11px;
  color: var(--gnews-on-surface-variant);
}

/* Pill Button ("See more headlines and perspectives") */
.gnews-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gnews-surface-container-high);
  color: var(--gnews-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--gnews-pill-radius);
  border: none;
  margin-top: 18px;
  text-align: center;
  transition: background 0.15s ease;
  width: 100%;
  cursor: pointer;
}

.gnews-pill-btn:hover {
  background: #e3e8f0;
  color: var(--gnews-primary-hover);
}

/* ==========================================================================
   Standard News Cards (Feed Items with Right Thumbnail)
   ========================================================================== */
.news-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card {
  background: var(--gnews-surface);
  border-radius: var(--gnews-card-radius);
  border: 1px solid var(--gnews-outline);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,0.12), 0 2px 6px rgba(60,64,67,0.06);
  border-color: #c4c7c5;
}

.news-card-content {
  flex: 1;
}

.news-meta {
  font-size: 12px;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-source-tag {
  font-weight: 500;
  color: var(--gnews-on-surface-variant);
}

.news-card h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--gnews-on-surface);
}

.news-card h3 a:hover {
  color: var(--gnews-primary);
}

.news-card p {
  font-size: 13px;
  color: var(--gnews-on-surface-variant);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.news-card-thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--gnews-img-radius);
  overflow: hidden;
  flex-shrink: 0;
  background: #e8eaed;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gnews-surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gnews-on-surface-variant);
  font-size: 11px;
  font-weight: 600;
}

/* ==========================================================================
   Sidebar & Location Chips (Google News Local News Widget)
   ========================================================================== */
.sidebar-widget,
.widget {
  background: var(--gnews-surface);
  border: 1px solid var(--gnews-outline);
  border-radius: var(--gnews-card-radius);
  padding: 18px;
  margin-bottom: 18px;
}

.widget-title,
.widgettitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--gnews-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title a {
  color: var(--gnews-primary);
}

.gnews-chips-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.gnews-chip {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--gnews-chip-radius);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gnews-chip.active {
  background: var(--gnews-primary-container);
  color: var(--gnews-on-primary-container);
  border: none;
}

.gnews-chip.outline {
  background: var(--gnews-surface);
  border: 1px solid var(--gnews-outline-chip);
  color: var(--gnews-on-surface-variant);
}

.gnews-chip.outline:hover {
  background: var(--gnews-surface-container-high);
  color: var(--gnews-on-surface);
}

.widget ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.widget li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gnews-outline);
  font-size: 13.5px;
  line-height: 1.4;
}

.widget li:last-child {
  border-bottom: none;
}

.widget li a {
  font-weight: 500;
  color: var(--gnews-on-surface);
}

.widget li a:hover {
  color: var(--gnews-primary);
}

/* ==========================================================================
   Your Topics Grid (3-column Topic Cards like Google News)
   ========================================================================== */
.your-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.topic-box {
  background: var(--gnews-surface);
  border: 1px solid var(--gnews-outline);
  border-radius: var(--gnews-card-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.topic-box-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--gnews-on-surface);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.topic-box-title a:hover {
  color: var(--gnews-primary);
}

/* ==========================================================================
   Single Post Article Reader (2,000 - 2,500 Words Long-Form Typography)
   ========================================================================== */
.article-container {
  max-width: 860px;
  margin: 24px auto 40px;
  padding: 32px 32px;
  background: var(--gnews-surface);
  border: 1px solid var(--gnews-outline);
  border-radius: var(--gnews-card-radius);
  box-shadow: 0 1px 3px rgba(60,64,67,0.08);
}

.article-breadcrumbs {
  font-size: 13px;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.article-breadcrumbs a {
  color: var(--gnews-primary);
  font-weight: 500;
}

.article-breadcrumbs .sep {
  color: var(--gnews-outline-chip);
}

.article-breadcrumbs .current-crumb {
  color: var(--gnews-on-surface-subtle);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-header h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 16px;
  color: var(--gnews-on-surface);
  letter-spacing: -0.3px;
}

.article-deck {
  font-size: 17px;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 18px;
  line-height: 1.6;
  font-weight: 400;
  border-left: 3px solid var(--gnews-primary);
  padding-left: 14px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--gnews-outline);
  border-bottom: 1px solid var(--gnews-outline);
  font-size: 13px;
  color: var(--gnews-on-surface-variant);
  margin-bottom: 20px;
}

.meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.author-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gnews-primary);
  display: inline-block;
}

.dot-sep {
  color: var(--gnews-outline-chip);
}

.read-time-badge {
  background: var(--gnews-surface-container);
  color: var(--gnews-primary-hover);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.fact-check-badge {
  background: #e6f4ea;
  color: #137333;
  padding: 4px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #ceead6;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 10px 0;
}

.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gnews-on-surface-variant);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.share-btn:hover { opacity: 0.9; }
.share-wa { background: #25D366; }
.share-tg { background: #0088cc; }
.share-tw { background: #0F1419; }
.share-fb { background: #1877F2; }
.share-copy { background: #5f6368; color: #fff; }

.article-featured-image {
  border-radius: var(--gnews-img-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.featured-caption {
  font-size: 12.5px;
  color: var(--gnews-on-surface-variant);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Table of Contents */
.toc-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0 32px;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.toc-toggle-btn {
  background: none;
  border: none;
  color: var(--gnews-primary);
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.toc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0 0 4px !important;
}

.toc-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.toc-list a {
  color: var(--gnews-primary);
  text-decoration: none;
  display: inline-block;
}

.toc-list a:hover {
  text-decoration: underline;
}

/* Article Body Typography */
.article-body {
  font-size: 18px;
  line-height: 1.85;
  color: #1f1f1f;
  word-break: break-word;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  line-height: 1.35;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 28px;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 8px;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

/* Tags Wrap */
.article-tags-wrap {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e3e3e3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  background: var(--gnews-surface-container);
  color: var(--gnews-primary-hover);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tag-chip:hover {
  background: #dfe3e8;
  color: var(--gnews-primary);
}

/* Trust & Editorial Box */
.editorial-trust-box {
  background: #f0f4f9;
  border-radius: 12px;
  padding: 20px;
  margin: 32px 0;
  border-left: 4px solid var(--gnews-primary);
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 32px 0;
}

.author-avatar-letter {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gnews-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.desk-badge {
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.author-desc {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.5;
}

/* Post Navigation */
.post-navigation-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e3e3e3;
  padding-top: 20px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
}

.post-navigation-bar a {
  color: var(--gnews-primary);
}

.post-navigation-bar a span {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}

/* Related News Section */
.related-news-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #e2e8f0;
}

.related-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.related-thumb-link {
  display: block;
  height: 130px;
  overflow: hidden;
}

.related-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-placeholder {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 700;
}

.related-card-content {
  padding: 12px 14px;
}

.related-date {
  font-size: 11.5px;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}

.related-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.related-title a:hover {
  color: var(--gnews-primary);
}

@media (max-width: 768px) {
  .article-container {
    padding: 20px 16px;
    margin: 12px 0 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .article-header h1 {
    font-size: 24px;
  }
  .article-body {
    font-size: 16.5px;
    line-height: 1.75;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--gnews-surface);
  border-top: 1px solid var(--gnews-outline);
  margin-top: 60px;
  padding: 44px 0 24px;
  font-size: 13px;
  color: var(--gnews-on-surface-variant);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gnews-on-surface);
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-grid li {
  margin-bottom: 8px;
  list-style: none !important;
}

.footer-bottom {
  border-top: 1px solid var(--gnews-outline);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* Footer Badges & Authority Styling */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.trust-badge {
  display: inline-block;
  background: rgba(11, 87, 208, 0.08);
  color: #0b57d0;
  border: 1px solid rgba(11, 87, 208, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}

.footer-syndication-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px dashed var(--gnews-outline);
  margin-bottom: 16px;
}

.syndication-title {
  font-weight: 600;
  color: var(--gnews-on-surface);
  font-size: 12.5px;
}

.syndication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.syn-badge {
  display: inline-flex;
  align-items: center;
  background: var(--gnews-surface-container);
  border: 1px solid var(--gnews-outline);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 11.5px;
  color: var(--gnews-on-surface);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.syn-badge:hover {
  background: #0b57d0;
  color: #fff !important;
  border-color: #0b57d0;
}

/* Single Post Authority Reference Box (E-E-A-T) */
.authority-reference-box {
  background: #f8fafd;
  border: 1px solid #c2e7ff;
  border-left: 4px solid #0b57d0;
  border-radius: 8px;
  padding: 16px;
  margin: 28px 0;
}

.authority-ref-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #041e49;
  margin-bottom: 10px;
}

.authority-ref-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-ref-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #747775;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #1f1f1f !important;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}

.auth-ref-pill:hover {
  background: #edf2fa;
  border-color: #0b57d0;
  color: #0b57d0 !important;
}

.auth-ref-pill.internal-trust {
  border-color: #0b57d0;
  color: #0b57d0 !important;
  background: #f0f7ff;
}
