/*
Theme Name: News theme by Anubhav kashyap
Theme URI: https://gaunshaharkinayibatein.com
Author: Anubhav Kashyap
Author URI: https://gaunshaharkinayibatein.com
Description: Official News theme by Anubhav kashyap for Gaun Shahar Ki Nayi Batein (गाँव शहर की नई बातें). Modern, ultra-fast news & magazine theme with Virtual Reporter ID Card, Public Reporter Verification, Editable Contact & Social Links, Reels/Shorts Feed, Ad Manager, and Editorial Workflow.
Version: 2.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avanews
Tags: news, newspaper, magazine, blog, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, rtl-language-support, translation-ready, theme-options, entertainment, grid-layout, two-columns, three-columns
*/

/* ==========================================================================
   CSS Variables & Design Tokens (Modern Light / Dark Mode)
   ========================================================================== */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Primary Theme Brand Colors - Matched to Logo (Crimson Red & Golden Amber) */
  --color-primary: #c00000;
  --color-primary-dark: #990000;
  --color-primary-light: #d90429;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-accent-light: #fbbf24;
  --color-gold: #ffbe0b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Category Color Accents */
  --cat-politics: #c00000;
  --cat-tech: #0284c7;
  --cat-business: #0d9488;
  --cat-sports: #ea580c;
  --cat-entertainment: #9333ea;
  --cat-world: #2563eb;
  --cat-lifestyle: #db2777;

  /* Light Theme Palette */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --bg-topbar: #0f172a;
  --text-topbar: #cbd5e1;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --max-width-container: 1280px;
  --header-height: 70px;
  --topbar-height: 40px;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-body: #0b0f19;
  --bg-surface: #131b2e;
  --bg-surface-secondary: #1e293b;
  --bg-topbar: #080c14;
  --text-topbar: #94a3b8;
  --border-color: #243048;
  --border-subtle: #1a2336;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--text-main);
  line-height: 1.3;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
/* ==========================================================================
   20. Bilingual Legal & Policy Hub Styles & Custom Popup
   ========================================================================== */
.legal-policy-main {
  background-color: var(--bg-body);
  padding-bottom: 4rem;
}
.legal-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: 2rem;
}
.legal-badge-pill {
  display: inline-block;
  background: rgba(230, 0, 0, 0.2);
  color: #ff4d4d;
  border: 1px solid #ff4d4d;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.legal-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.legal-meta-date {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.legal-lang-switch-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
}
.lang-switch-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #cbd5e1;
}
.lang-pill-group {
  display: flex;
  gap: 0.5rem;
}
.lang-pill-btn {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #475569;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-pill-btn:hover {
  background: #334155;
  border-color: #94a3b8;
}
.lang-pill-btn.active {
  background: #e60000;
  border-color: #e60000;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(230, 0, 0, 0.5);
}
.legal-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}
.legal-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.legal-nav-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.legal-nav-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}
.legal-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-nav-list li a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}
.legal-nav-list li a:hover,
.legal-nav-list li.active a {
  background: #e60000;
  color: #ffffff;
}
.legal-help-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
}
.legal-help-card h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 0.5rem;
}
.legal-help-card p {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.btn-legal-contact {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}
.legal-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
}
.typography-legal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}
.typography-legal h2:first-child {
  margin-top: 0;
}
.typography-legal p {
  margin-bottom: 1.25rem;
  color: var(--text-main);
}
.typography-legal ul,
.typography-legal ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.typography-legal ol {
  list-style: decimal;
}
.typography-legal li {
  margin-bottom: 0.6rem;
}
.footer-legal-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  font-size: 0.8125rem;
}
.footer-legal-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-legal-links-list a:hover {
  color: #ffffff;
}

/* Custom Popup Modal Styles */
.avanews-custom-popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  z-index: 999999;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.avanews-custom-popup-wrap.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.avanews-custom-popup-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
}
.avanews-custom-popup-inner {
  display: block;
}

@media (max-width: 991px) {
  .legal-layout-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   21. Mobile Header, Ticker & Rashifal Responsive Polish
   ========================================================================== */
.header-cta-pill {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.utility-cta-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ticker-marquee-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 15px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 15px), transparent 100%);
}
.ticker-marquee-track {
  display: flex !important;
  align-items: center;
  width: max-content !important;
  white-space: nowrap !important;
  animation: avanewsMarquee 42s linear infinite;
  will-change: transform;
}
@media (hover: hover) {
  .ticker-marquee-wrapper:hover .ticker-marquee-track {
    animation-play-state: paused !important;
  }
}
.ticker-marquee-wrapper.is-paused .ticker-marquee-track {
  animation-play-state: paused !important;
}
.ticker-marquee-set {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
}
.ticker-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 18px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  color: var(--text-main, #1e293b);
  flex-shrink: 0 !important;
}
.ticker-bullet {
  font-size: 0.55rem;
  color: #ef4444;
  display: inline-block;
  vertical-align: middle;
}
.ticker-cat {
  color: var(--color-primary, #e60000);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}
.ticker-link {
  color: var(--text-main, #1e293b) !important;
  text-decoration: none !important;
  display: inline !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  transition: color 0.15s ease;
}
.ticker-link:hover {
  color: var(--color-primary, #e60000) !important;
  text-decoration: underline !important;
}
.ticker-time {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  background: var(--bg-surface-secondary, #f1f5f9);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
@keyframes avanewsMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
  .utility-cta-buttons {
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .header-cta-pill {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
  }
  /* Mobile Ticker Polish */
  .ticker-container {
    padding: 0 8px !important;
  }
  .ticker-inner {
    height: 36px !important;
    gap: 6px !important;
  }
  .ticker-badge {
    padding: 0.22rem 0.5rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.02em !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .ticker-text-desktop {
    display: none !important;
  }
  .ticker-text-mobile {
    display: inline !important;
    font-weight: 800 !important;
  }
  .ticker-cat {
    font-size: 0.72rem !important;
  }
  .ticker-marquee-wrapper {
    height: 36px !important;
  }
  .ticker-marquee-track {
    animation-duration: 26s !important;
  }
  .ticker-item {
    font-size: 0.78rem !important;
    padding: 0 10px !important;
    gap: 4px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .ticker-link {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  .ticker-time, .ticker-nav-controls {
    display: none !important;
  }
  /* Rashifal Standalone Mobile Responsive Polish */
  .avanews-rashifal-container {
    padding: 0.85rem 0.65rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.5rem !important;
  }
  .rashi-detail-card {
    padding: 1rem 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .r-card-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }
  .r-badge-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }
  .r-big-symbol {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    flex-shrink: 0 !important;
    font-size: 1.5rem !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .r-sign-title {
    font-size: 1.2rem !important;
    margin: 0 0 0.25rem 0 !important;
  }
  .r-meta-tags {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    font-size: 0.78rem !important;
  }
  .r-score-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.4rem 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-sm) !important;
  }
  .r-score-circle .pct-num {
    font-size: 1.15rem !important;
    display: inline-block !important;
  }
  .r-score-circle .pct-lbl {
    font-size: 0.75rem !important;
    display: inline-block !important;
  }
  .r-summary-text {
    font-size: 0.9rem !important;
    padding: 0.75rem 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }
  .r-aspects-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    margin-bottom: 1rem !important;
  }
  .r-aspect-box {
    padding: 0.65rem 0.75rem !important;
  }
  .r-lucky-strip {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
    padding: 0.65rem 0.75rem !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
  }
  .lucky-item {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .r-remedy-box {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.8125rem !important;
  }
  .interactive-hero-banner {
    padding: 1.25rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
  }
  .hub-title {
    font-size: 1.35rem !important;
  }
  .hub-desc {
    font-size: 0.85rem !important;
  }
  .rashifal-tabs-scroll {
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  .r-tab-pill-btn {
    padding: 0.38rem 0.75rem !important;
    font-size: 0.78rem !important;
  }
}
/* ==========================================================================
   22. Homepage Rashifal Compact Redirect Banner & Header Pill
   ========================================================================== */
.homepage-rashifal-strip-container {
  margin: 1.25rem auto;
}
.homepage-rashifal-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  border: 1px solid #4f46e5;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 15px rgba(49, 46, 129, 0.25);
  text-decoration: none;
  transition: all var(--transition-fast);
  color: #ffffff;
}
.homepage-rashifal-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 46, 129, 0.4);
  border-color: #f59e0b;
}
.r-strip-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.r-strip-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.r-strip-badge {
  display: inline-block;
  background: #f59e0b;
  color: #000;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
.r-strip-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}
.r-strip-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #f59e0b;
  color: #000;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.homepage-rashifal-banner-card:hover .r-strip-cta-btn {
  background: #fbbf24;
  transform: scale(1.03);
}
.header-cta-pill.rashifal-btn {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fbbf24 !important;
  border: 1px solid #4338ca;
}

@media (max-width: 768px) {
  .homepage-rashifal-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .r-strip-left {
    gap: 0.75rem;
  }
  .r-strip-icon {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
  .r-strip-title {
    font-size: 0.95rem;
  }
  .r-strip-right {
    width: 100%;
  }
  .r-strip-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 1rem;
  }
}
/* ==========================================================================
   23. White Navbar Links & White Hero News Titles Contrast Polish
   ========================================================================== */
.primary-menu-list a,
.primary-menu-list li a,
.primary-nav-container a {
  color: #ffffff !important;
  text-decoration: none;
}
.primary-menu-list a:hover,
.primary-menu-list li a:hover {
  color: var(--color-primary-light) !important;
}
.primary-menu-list ul.sub-menu a {
  color: var(--text-main) !important;
}
.primary-menu-list ul.sub-menu a:hover {
  color: var(--color-primary) !important;
}
.hero-main-title,
.hero-main-title a {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
  text-decoration: none;
}
.hero-main-title a:hover {
  color: var(--color-primary-light) !important;
}
.hero-sub-title,
.hero-sub-title a {
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9) !important;
  text-decoration: none;
}
.hero-sub-title a:hover {
  color: var(--color-primary-light) !important;
}
.hero-card-content {
  color: #ffffff !important;
}
/* ==========================================================================
   24. Single Post Full Responsive Engine (All Mobile Phones 320px - 768px)
   ========================================================================== */

/* Tablet & Mobile Breakpoint (<= 768px) */
@media (max-width: 768px) {
  /* Layout Containers */
  .single-post-main {
    padding: 0.5rem 0 2rem;
  }
  .single-post-main .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .single-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
    width: 100%;
  }
  .single-article-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .single-sticky-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 1.5rem;
    position: static !important;
  }

  /* Breadcrumbs */
  .avanews-breadcrumbs {
    font-size: 0.75rem;
    padding: 0.4rem 0;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .avanews-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  /* Article Header Badges */
  .entry-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
  }
  .single-cat-badge,
  .badge-breaking,
  .badge-exclusive,
  .badge-trending,
  .badge-factcheck,
  .badge-live-pulse {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
  }

  /* Article Title & Subtitle */
  .entry-title {
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    margin: 0.4rem 0 0.6rem !important;
    word-break: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.01em;
  }
  .entry-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  /* Author Meta Row */
  .entry-author-meta {
    padding: 0.65rem 0;
    margin-bottom: 1rem;
    gap: 0.65rem;
    align-items: flex-start;
  }
  .author-avatar-wrap img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
  }
  .author-details {
    font-size: 0.8125rem;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
  }
  .author-name {
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
  }
  .post-timestamps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  /* Social Share Buttons */
  .avanews-share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    width: 100%;
  }
  .share-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
  }
  .share-buttons-group {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 0.35rem;
    width: 100%;
  }
  .share-btn {
    width: 100%;
    justify-content: center;
    padding: 0.4rem 0.35rem;
    font-size: 0.7rem;
    gap: 0.25rem;
    border-radius: var(--radius-sm);
  }
  .share-btn .btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Featured Media & Videos */
  .entry-media-wrap {
    margin: 1rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
  }
  .entry-featured-image {
    margin: 0;
    width: 100%;
  }
  .entry-featured-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 340px;
    object-fit: cover;
    display: block;
  }
  .entry-featured-image figcaption {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    color: var(--text-muted);
    background: var(--bg-surface-secondary);
    line-height: 1.4;
  }
  .entry-video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100% !important;
    border-radius: var(--radius-md);
  }
  .entry-video-player iframe,
  .entry-video-player video,
  .entry-video-player embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
  }

  /* Article Content Typography */
  .typography-news {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .typography-news p {
    margin-bottom: 1.25rem;
  }
  .typography-news h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin: 1.5rem 0 0.65rem !important;
  }
  .typography-news h3 {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    margin: 1.25rem 0 0.5rem !important;
  }
  .typography-news h4 {
    font-size: 1.05rem !important;
    margin: 1rem 0 0.4rem !important;
  }
  .typography-news blockquote {
    padding: 0.75rem 1rem !important;
    margin: 1.25rem 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }
  .typography-news img,
  .typography-news figure {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .typography-news .alignleft,
  .typography-news .alignright,
  .typography-news figure.alignleft,
  .typography-news figure.alignright {
    float: none !important;
    width: 100% !important;
    margin: 1rem 0 !important;
  }
  .typography-news table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    font-size: 0.8125rem;
  }
  .typography-news iframe,
  .typography-news embed,
  .typography-news object {
    max-width: 100% !important;
  }
  .wp-block-embed,
  .wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  /* Tags Row */
  .entry-tags-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0;
  }
  .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .tag-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
  }

  /* Reporter Bio Box */
  .reporter-bio-card {
    padding: 1rem;
    margin: 1.5rem 0;
    gap: 0.85rem;
    border-radius: var(--radius-md);
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .bio-avatar img {
    width: 60px !important;
    height: 60px !important;
  }
  .reporter-header-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .reporter-contact-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .reporter-btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 8px;
  }
  .reporter-social-links {
    justify-content: center;
    margin-top: 0.5rem;
  }

  /* Next / Prev Cards */
  .post-navigation-cards {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin: 1.5rem 0 !important;
  }
  .nav-card {
    padding: 0.85rem;
  }
  .nav-card-title {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  /* Related Stories */
  .related-stories-section {
    margin-top: 2rem;
  }
  .related-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .related-stories-section .card-thumb-wrap {
    height: 220px !important;
    aspect-ratio: 16 / 9 !important;
  }
  .related-stories-section .card-thumb-wrap img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
  }

  /* Comments Form on Mobile */
  #comments {
    margin-top: 2rem;
  }
  .comment-respond input[type="text"],
  .comment-respond input[type="email"],
  .comment-respond input[type="url"],
  .comment-respond textarea {
    width: 100% !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
  .comment-form .form-submit input[type="submit"] {
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

/* Compact Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .single-post-main .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .entry-title {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
  .entry-subtitle {
    font-size: 0.875rem;
  }
  .typography-news {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  .typography-news p {
    margin-bottom: 1.1rem;
  }
  .share-buttons-group {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .share-btn.share-whatsapp {
    grid-column: span 2;
    padding: 0.55rem;
    font-size: 0.8125rem;
  }
  .entry-featured-image img {
    max-height: 240px;
  }
}

/* Ultra-Compact Screens (<= 360px) */
@media (max-width: 360px) {
  .single-post-main .container {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
  .entry-title {
    font-size: 1.2rem !important;
  }
  .post-timestamps {
    font-size: 0.68rem;
  }
  .share-buttons-group {
    grid-template-columns: 1fr;
  }
  .share-btn.share-whatsapp {
    grid-column: span 1;
  }
}
/* ==========================================================================
   25. Brand Red Primary Navbar & Airy Light Topbar Styling
   ========================================================================== */

/* Topbar Light Styling */
.site-topbar {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.site-topbar a,
.topbar-nav a {
  color: #475569 !important;
  font-weight: 500;
}
.site-topbar a:hover,
.topbar-nav a:hover {
  color: #dc2626 !important;
}
.lang-dropdown-toggle {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}
.lang-dropdown-toggle:hover {
  background: #f1f5f9 !important;
}

/* Primary Navbar Brand Red Gradient */
.site-primary-navbar {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%) !important;
  border-bottom: 2px solid #7f1d1d !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.22) !important;
}
.primary-menu-list > li > a {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.45rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.primary-menu-list > li > a:hover {
  color: #fef08a !important;
}
.primary-menu-list > li > a::after {
  background: #ffffff !important;
}
.primary-menu-list > li.current-menu-item > a {
  color: #ffffff !important;
}
.primary-menu-list > li.current-menu-item > a::after {
  background: #ffffff !important;
  width: 100%;
}
.nav-home-icon {
  color: #ffffff !important;
}
.nav-home-icon:hover {
  color: #fef08a !important;
}

/* Shorts Pill Button in High-Contrast White/Red */
.nav-reels-pill-btn {
  background: #ffffff !important;
  color: #dc2626 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
.nav-reels-pill-btn:hover {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  transform: scale(1.04);
}

/* Search and Dark Mode Toggles */
.theme-mode-toggle,
.nav-search-toggle {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.theme-mode-toggle:hover,
.nav-search-toggle:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}
.mobile-menu-btn {
  color: #ffffff !important;
}
.mobile-menu-btn span {
  background-color: #ffffff !important;
}

/* Dark Mode Theme Adjustment */
[data-theme="dark"] .site-topbar {
  background: #0b0f19 !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid #1e293b !important;
}
[data-theme="dark"] .site-topbar a {
  color: #94a3b8 !important;
}
[data-theme="dark"] .lang-dropdown-toggle {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}
[data-theme="dark"] .site-primary-navbar {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%) !important;
  border-bottom: 2px solid #450a0a !important;
}

/* Popup Backdrop Protection - Zero Ghost Blur */
.avanews-popup-backdrop {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.65) !important;
}
.avanews-popup-backdrop.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Reels Sound Toggle & Active Control */
.reel-sound-toggle-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.reel-sound-toggle-pill:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: scale(1.05);
  border-color: #ffffff;
}
.reel-sound-toggle-pill.is-unmuted {
  background: #10b981;
  border-color: #059669;
}
.reel-slide-item {
  transition: opacity 0.2s ease;
}
.reel-slide-item:not(.is-active-reel) iframe,
.reel-slide-item:not(.is-active-reel) video {
  pointer-events: none;
}
.reel-slide-item.is-active-reel iframe,
.reel-slide-item.is-active-reel video {
  pointer-events: auto;
}

/* Reporter Bio Enhancements */
.reporter-email-btn {
  background: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.reporter-email-btn:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}
.reporter-archive-row {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
}
.reporter-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563eb !important;
  text-decoration: none;
  padding: 0.45rem 1rem;
  background: #eff6ff;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  transition: all 0.2s ease;
}
.reporter-archive-btn:hover {
  background: #2563eb;
  color: #ffffff !important;
}

/* Reporter Pending Verification Gating Card */
.reporter-pending-gate-card {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}
.reporter-pending-gate-card .gate-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.reporter-pending-gate-card h3 {
  font-size: 1.35rem;
  color: #92400e;
  margin: 0 0 0.5rem 0;
}
.reporter-pending-gate-card .gate-subtitle {
  font-size: 0.95rem;
  color: #b45309;
  font-weight: 600;
  margin-bottom: 1rem;
}
.reporter-pending-gate-card .gate-desc {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 1.25rem auto;
}
.reporter-pending-gate-card .gate-support-info {
  display: inline-block;
  background: #fef3c7;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #92400e;
}

/* ==========================================================================
   Header Topbar Reporter Login Button
   ========================================================================== */
.topbar-reporter-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.32rem 0.85rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.topbar-reporter-btn span {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}
.topbar-reporter-btn svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
}
.topbar-reporter-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45) !important;
}
.topbar-reporter-btn.logged-in {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.topbar-reporter-btn.logged-in:hover {
  background: #047857 !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.45) !important;
}

/* ==========================================================================
   Reporter Registration Page - 100% Responsive & Barcode / UPI QR Fix
   ========================================================================== */
.reporter-form-wrapper {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.reporter-reg-form {
  width: 100%;
  box-sizing: border-box;
}

.form-section-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.08));
  box-sizing: border-box;
  width: 100%;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  line-height: 1.4;
  word-break: break-word;
}

.form-field input,
.form-field textarea,
.dash-select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color, #cbd5e1);
  border-radius: var(--radius-md, 8px);
  background: var(--bg-surface-secondary, #f8fafc);
  color: var(--text-main, #1e293b);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input[type="file"] {
  padding: 0.6rem 0.85rem;
  background: #ffffff;
  cursor: pointer;
  max-width: 100% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-field input:focus,
.form-field textarea:focus,
.dash-select:focus {
  outline: none;
  border-color: var(--color-primary, #dc2626) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
  background: #ffffff;
}

/* UPI Payment & QR Barcode Section */
.upi-payment-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  background: var(--bg-surface-secondary, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

.upi-qr-column {
  flex: 0 0 220px;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-frame {
  background: #ffffff !important;
  padding: 12px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.upi-qr-image {
  width: 196px !important;
  height: 196px !important;
  min-width: 196px !important;
  min-height: 196px !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 6px !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.qr-scan-hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  margin-top: 0.65rem;
  text-align: center;
  line-height: 1.35;
}

.upi-details-column {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.fee-badge-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fee-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main, #1e293b);
}

.fee-amount {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm, 6px);
  display: inline-block;
  white-space: nowrap;
}

.upi-id-copy-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.upi-vpa-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vpa-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.vpa-box code {
  background: #ffffff;
  border: 1px solid var(--border-color, #cbd5e1);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm, 6px);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary, #dc2626);
  letter-spacing: 0.02em;
  word-break: break-all;
  max-width: 100%;
}

.vpa-copy-btn {
  background: var(--color-primary, #dc2626);
  color: #ffffff !important;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.vpa-copy-btn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.payee-name-sub {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.payment-instructions-box {
  background: #fef2f2;
  border-left: 4px solid var(--color-primary, #dc2626);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
  font-size: 0.8125rem;
  color: #991b1b;
  line-height: 1.5;
  box-sizing: border-box;
  width: 100%;
}

.payment-instructions-box p {
  margin: 0;
}

.form-submit-row {
  margin-top: 2rem;
  width: 100%;
}

.reporter-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reporter-submit-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

/* Responsive Overhaul for Mobile & Tablet */
@media (max-width: 768px) {
  .reporter-register-main {
    padding: 1.5rem 0.5rem !important;
  }
  .reporter-register-hero {
    margin-bottom: 1.5rem !important;
    padding: 0 0.5rem !important;
  }
  .register-hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }
  .register-hero-desc {
    font-size: 0.92rem !important;
  }
  .form-section-card {
    padding: 1.25rem 1rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 10px !important;
  }
  .section-card-header h3 {
    font-size: 1.05rem !important;
  }
  /* Grid collapses to clean single column */
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .form-field.full-width {
    grid-column: 1 !important;
  }
  /* UPI Barcode Box: Vertical stack, centered, never squeezed */
  .upi-payment-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 1.25rem 0.85rem !important;
  }
  .upi-qr-column {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  .qr-frame {
    padding: 10px !important;
  }
  .upi-qr-image {
    width: 180px !important;
    height: 180px !important;
    min-width: 180px !important;
    min-height: 180px !important;
  }
  .upi-details-column {
    flex: 0 0 auto !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  .fee-badge-highlight {
    justify-content: center !important;
  }
  .upi-id-copy-row {
    align-items: center !important;
    width: 100% !important;
  }
  .vpa-box {
    justify-content: center !important;
    width: 100% !important;
  }
  .vpa-box code {
    font-size: 0.95rem !important;
    padding: 0.45rem 0.75rem !important;
  }
  .payment-instructions-box {
    text-align: left !important;
    font-size: 0.78rem !important;
  }
  .onboarding-review-notice {
    font-size: 0.8125rem !important;
    padding: 12px 10px !important;
  }
  .reporter-submit-btn {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  .form-section-card {
    padding: 1rem 0.75rem !important;
  }
  .upi-qr-image {
    width: 165px !important;
    height: 165px !important;
    min-width: 165px !important;
    min-height: 165px !important;
  }
  .form-field input,
  .form-field textarea {
    font-size: 0.875rem !important;
    padding: 0.65rem 0.75rem !important;
  }
  .vpa-box {
    flex-direction: column !important;
    gap: 0.4rem !important;
  }
  .vpa-copy-btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   26. Related News & Updates - Proportional Responsive Image & Card Engine
   ========================================================================== */
.related-stories-section {
  margin-top: 2.75rem !important;
  padding-top: 1.75rem !important;
  border-top: 2px solid var(--border-color, #e2e8f0) !important;
}

.related-stories-section .section-title-wrap {
  margin-bottom: 1.25rem !important;
}

.related-stories-section .section-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
}

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

.related-stories-section .grid-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--bg-surface, #ffffff) !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.related-stories-section .grid-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Tall, proportional news image (no squashing, no thin letterboxing) */
.related-stories-section .card-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background-color: var(--bg-surface-secondary, #f1f5f9) !important;
}

.related-stories-section .card-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.related-stories-section .grid-card:hover .card-thumb-wrap img {
  transform: scale(1.05) !important;
}

.related-stories-section .card-info {
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.related-stories-section .card-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0.4rem 0 0.5rem !important;
}

.related-stories-section .card-title a {
  color: var(--text-main, #0f172a) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.related-stories-section .card-title a:hover {
  color: var(--color-primary, #dc2626) !important;
}

.related-stories-section .card-excerpt {
  font-size: 0.8125rem !important;
  color: var(--text-muted, #64748b) !important;
  line-height: 1.45 !important;
  margin-top: auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .related-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .related-stories-section .card-thumb-wrap {
    height: 210px !important;
  }
}

@media (max-width: 580px) {
  .related-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .related-stories-section .card-thumb-wrap {
    height: 220px !important;
    aspect-ratio: 16 / 9 !important;
  }
  .related-stories-section .card-title {
    font-size: 1.05rem !important;
  }
}

/* ==========================================================================
   27. AvaNews Pro - Premium Comments & Discussion Section Overhaul
   ========================================================================== */
#comments.comments-area {
  margin-top: 3rem !important;
  padding: 2.25rem !important;
  background: var(--bg-surface, #ffffff) !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Header & Title */
.comments-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 2px solid var(--border-color, #e2e8f0) !important;
  margin-bottom: 1.75rem !important;
}

.comments-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.comments-count-pill {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
}

/* Reply Box & Form Wrapper */
.comment-respond {
  margin-top: 1.5rem !important;
  padding: 1.75rem !important;
  background: var(--bg-surface-secondary, #f8fafc) !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

.reply-header-wrap {
  margin-bottom: 1rem !important;
}

.comment-reply-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.comment-reply-title #cancel-comment-reply-link {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  background: #ffffff !important;
  border: 1px solid #fca5a5 !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 6px !important;
  margin-left: auto !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.comment-reply-title #cancel-comment-reply-link:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}

/* Logged In Status Card */
.comment-logged-in-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 10px !important;
  margin-bottom: 1.25rem !important;
}

.logged-in-user-info {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

.logged-in-user-info img {
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  object-fit: cover !important;
}

.logged-in-name {
  font-size: 0.875rem !important;
  color: var(--text-main, #334155) !important;
}

.logged-in-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.logged-action-pill {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.3rem 0.7rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.logged-action-pill.edit-profile {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}

.logged-action-pill.edit-profile:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

.logged-action-pill.logout {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}

.logged-action-pill.logout:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}

/* Fallback default logged-in-as */
.logged-in-as {
  font-size: 0.875rem !important;
  color: var(--text-muted, #64748b) !important;
  margin-bottom: 1rem !important;
  padding: 0.5rem 0.75rem !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
}

.logged-in-as a {
  color: #dc2626 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.logged-in-as a:hover {
  text-decoration: underline !important;
}

/* Guidelines Notes */
.comment-notes {
  font-size: 0.8125rem !important;
  color: var(--text-muted, #64748b) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.5 !important;
}

/* Form Fields Layout */
.comment-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.comment-form-row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
}

.comment-form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  width: 100% !important;
}

.comment-form-field label,
.comment-form p > label {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--text-main, #1e293b) !important;
  display: block !important;
}

.comment-form-field label .required,
.comment-form .required {
  color: #dc2626 !important;
  font-weight: 800 !important;
}

.input-with-icon {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.input-with-icon .input-icon {
  position: absolute !important;
  left: 0.85rem !important;
  font-size: 0.95rem !important;
  pointer-events: none !important;
  opacity: 0.7 !important;
}

.input-with-icon input {
  padding-left: 2.5rem !important;
}

/* Universal Inputs & Textarea Styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.85rem 1rem !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border-color, #cbd5e1) !important;
  border-radius: 10px !important;
  font-size: 0.9375rem !important;
  font-family: inherit !important;
  color: var(--text-main, #0f172a) !important;
  line-height: 1.5 !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.comment-form textarea,
.comment-respond textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.comment-form input:focus,
.comment-form textarea:focus,
.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none !important;
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
  background: #ffffff !important;
}

/* Submit Button Overhaul (Never 1995 grey!) */
.form-submit {
  margin: 0.5rem 0 0 0 !important;
  padding: 0 !important;
}

.avanews-comment-submit-btn,
.comment-form .form-submit input[type="submit"],
.comment-respond input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 0.85rem 2rem !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
  transition: all 0.25s ease !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

.avanews-comment-submit-btn:hover,
.comment-form .form-submit input[type="submit"]:hover,
.comment-respond input[type="submit"]:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.42) !important;
  color: #ffffff !important;
}

.avanews-comment-submit-btn:active,
.comment-form .form-submit input[type="submit"]:active,
.comment-respond input[type="submit"]:active {
  transform: translateY(0) !important;
}

/* Comment List (Discussion Stream) */
.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem 0 !important;
}

.comment-list .comment {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--border-color, #e2e8f0) !important;
}

.comment-list > .comment:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.comment-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.comment-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-bottom: 0.35rem !important;
}

.comment-author {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.comment-author .avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #e2e8f0 !important;
}

.comment-author .fn {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
  font-style: normal !important;
}

.comment-author .fn a {
  color: inherit !important;
  text-decoration: none !important;
}

.comment-author .fn a:hover {
  color: #dc2626 !important;
}

.comment-metadata {
  font-size: 0.78rem !important;
  color: var(--text-muted, #64748b) !important;
}

.comment-metadata a {
  color: inherit !important;
  text-decoration: none !important;
}

.comment-content {
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  color: var(--text-main, #334155) !important;
  margin: 0.35rem 0 !important;
}

.comment-content p {
  margin: 0 0 0.5rem 0 !important;
}

.comment-content p:last-child {
  margin-bottom: 0 !important;
}

.reply {
  margin-top: 0.35rem !important;
}

.comment-reply-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.comment-reply-link:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}

/* Threaded Child Comments */
.comment-list .children {
  list-style: none !important;
  padding-left: 2rem !important;
  margin: 1rem 0 0 0 !important;
  border-left: 2.5px solid #e2e8f0 !important;
}

/* Empty State */
.empty-comments-box {
  text-align: center !important;
  padding: 2.5rem 1.5rem !important;
  background: var(--bg-surface-secondary, #f8fafc) !important;
  border: 1.5px dashed var(--border-color, #cbd5e1) !important;
  border-radius: 12px !important;
  margin-bottom: 1.5rem !important;
}

.empty-comment-icon {
  font-size: 2.5rem !important;
  display: block !important;
  margin-bottom: 0.6rem !important;
}

.empty-comment-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
  margin: 0 0 0.35rem 0 !important;
}

.empty-comment-sub {
  font-size: 0.875rem !important;
  color: var(--text-muted, #64748b) !important;
  margin: 0 !important;
}

/* Dark Mode Support */
[data-theme="dark"] #comments.comments-area {
  background: #0f172a !important;
  border-color: #1e293b !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .comments-title,
[data-theme="dark"] .comment-reply-title,
[data-theme="dark"] .empty-comment-title,
[data-theme="dark"] .comment-form-field label,
[data-theme="dark"] .comment-author .fn {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .comment-respond {
  background: #1e293b !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .comment-logged-in-box,
[data-theme="dark"] .logged-in-as,
[data-theme="dark"] .comment-body {
  background: #1e293b !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .logged-in-name,
[data-theme="dark"] .comment-content {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .comment-form input[type="text"],
[data-theme="dark"] .comment-form input[type="email"],
[data-theme="dark"] .comment-form input[type="url"],
[data-theme="dark"] .comment-form textarea,
[data-theme="dark"] .comment-respond input[type="text"],
[data-theme="dark"] .comment-respond input[type="email"],
[data-theme="dark"] .comment-respond input[type="url"],
[data-theme="dark"] .comment-respond textarea {
  background: #0b0f19 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .empty-comments-box {
  background: #1e293b !important;
  border-color: #334155 !important;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  #comments.comments-area {
    padding: 1.25rem 0.85rem !important;
    margin-top: 2rem !important;
    border-radius: 12px !important;
  }
  .comment-respond {
    padding: 1.25rem 0.85rem !important;
  }
  .comment-form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .comment-logged-in-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  .logged-in-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .avanews-comment-submit-btn,
  .comment-form .form-submit input[type="submit"],
  .comment-respond input[type="submit"] {
    width: 100% !important;
  }
  .comment-list .children {
    padding-left: 1rem !important;
  }
}