/*
Theme Name: Varadigara
Theme URI: https://varadigara.com
Author: Digizy
Author URI: https://digizy.in
Description: Custom WordPress theme for Varadigara — a Kannada-language independent news and socio-political journalism portal. Mobile-first, vanilla PHP/JS, no build pipeline.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: varadigara
Tags: news, magazine, mobile-first, kannada, news-portal
*/

/* === VARADIGARA FIX — BUG 1 START === */
html {
    max-width: 100%;
}
body {
    overflow-x: clip;     /* clip behaves like hidden but doesn't break sticky */
    max-width: 100%;
}
* {
    box-sizing: border-box;
    max-width: 100%;
}
/* === VARADIGARA FIX — BUG 1 END === */

/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */
:root {
  --vg-primary:        #C0392B;
  --vg-primary-dark:   #A93226;
  --vg-secondary:      #1A1A1A;

  --vg-bg:             #EDE8DF;
  --vg-card-bg:        #F9F7F4;
  --vg-bg-elev:        #FFFFFF;

  --vg-text:           #1A1A1A;
  --vg-meta:           #6B6B6B;
  --vg-border:         #D8D3CA;

  --vg-shadow:         0 2px 8px rgba(0,0,0,.07);
  --vg-shadow-hover:   0 6px 20px rgba(0,0,0,.12);

  --vg-radius:         6px;
  --vg-radius-lg:      12px;

  --vg-font-head:      'Tiro Kannada', Georgia, serif;
  --vg-font-body:      'Noto Sans Kannada', 'Noto Sans', sans-serif;
  --vg-font-headline:  var(--vg-font-head);

  --vg-max:            1160px;
  --vg-article-max:    720px;
  --vg-header-h:       60px;
  --vg-transition:     .18s ease;

  --vg-header-bg:      #C0392B;
  --vg-header-text:    #FFFFFF;
  --vg-footer-bg:      #1A1A1A;
  --vg-footer-text:    #FFFFFF;
}

/* =========================================================
   2. RESET + DOC ROOT
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* CRITICAL: html bg stays white so mobile status bar above sticky red header is white */
  background: #FFFFFF;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--vg-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vg-text);
  background: var(--vg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-radius: 4px; }

a { color: var(--vg-primary); text-decoration: none; transition: color var(--vg-transition); }
a:hover { color: var(--vg-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vg-font-headline);
  color: var(--vg-text);
  margin: 0 0 .6em;
  line-height: 1.3;
  font-weight: 600;
}
p { margin: 0 0 1em; }

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

ul, ol { padding-left: 1.4em; }

.vg-container { max-width: var(--vg-max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .vg-container { padding: 0 24px; } }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: var(--vg-primary);
  color: #FFF;
  padding: 8px 14px;
  border-radius: 6px;
}

/* =========================================================
   3. READING MODES
   ========================================================= */
html[data-mode="warm"], html:not([data-mode]) {
  --vg-bg: #EDE8DF;
  --vg-card-bg: #F9F7F4;
  --vg-bg-elev: #FFFFFF;
  --vg-border: #D8D3CA;
}
html[data-mode="warm"] body, html:not([data-mode]) body { background: #EDE8DF; }

html[data-mode="white"] {
  --vg-bg: #FFFFFF;
  --vg-card-bg: #FFFFFF;
  --vg-bg-elev: #F7F7F7;
  --vg-border: #E8E8E8;
}
html[data-mode="white"] body { background: #FFFFFF; }

html[data-mode="dark"] {
  --vg-bg: #111111;
  --vg-card-bg: #1C1C1C;
  --vg-bg-elev: #232323;
  --vg-border: #333333;
  --vg-text: #E8E6E1;
  --vg-meta: #9A9A9A;
}
html[data-mode="dark"] body { background: #111111; color: #E8E6E1; }

/* =========================================================
   4. HEADER — mobile: hamburger | logo (center) | toggles | logout
   ========================================================= */
.vg-header {
  background: var(--vg-header-bg);
  color: var(--vg-header-text);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  min-height: var(--vg-header-h);
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.vg-header-inner {
  max-width: var(--vg-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  overflow: visible;
}
@media (min-width: 700px) {
  .vg-header-inner {
    padding: 0 20px;
    gap: 14px;
    grid-template-columns: 40px 1fr auto auto;
  }
}
@media (min-width: 1000px) {
  .vg-header-inner {
    padding: 0 32px;
    gap: 24px;
    /* On desktop: [spacer] [logo center] [toggles + logout right] */
    grid-template-columns: 1fr auto 1fr;
  }
  .vg-header-inner > .vg-logo {
    grid-column: 2;
    justify-self: center;
  }
  .vg-header-inner > .vg-reading-toggles,
  .vg-header-inner > .vg-logout-link {
    grid-column: 3;
    justify-self: end;
  }
}

.vg-hamburger {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vg-header-text);
  flex-shrink: 0;
}
.vg-hamburger:hover { background: rgba(255,255,255,0.12); }
.vg-hamburger svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .vg-hamburger { display: none; } }

.vg-logo {
  display: flex;
  align-items: center;
  justify-content: center;       /* logo CENTER on mobile */
  min-width: 0;
  overflow: visible;
}
@media (min-width: 1000px) {
  .vg-logo { justify-content: center; }
  .vg-logo img,
  .vg-logo .vg-logo-img {
    max-height: 72px;
    max-width: 280px;
  }
}

.vg-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--vg-header-text);
  text-decoration: none;
  overflow: visible;
}
.vg-logo img,
.vg-logo .vg-logo-img {
  max-height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.vg-logo-text {
  font-family: var(--vg-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--vg-header-text);
  white-space: nowrap;
}

.vg-logout-link {
  color: var(--vg-header-text);
  font-size: 12px;
  opacity: .7;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.vg-logout-link:hover { opacity: 1; color: var(--vg-header-text); }

/* =========================================================
   5. READING-MODE TOGGLES (SVG icons, in header)
   ========================================================= */
.vg-reading-toggles {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.14);
  padding: 3px;
  border-radius: 999px;
  flex-shrink: 0;
  justify-self: end;
}

.vg-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--vg-header-text);
  font-size: 12px;
  font-weight: 500;
  transition: background var(--vg-transition), color var(--vg-transition);
  flex-shrink: 0;
  line-height: 1;
}
.vg-mode-icon {
  width: 16px;
  height: 16px;
  display: block;
}
.vg-mode-btn .vg-mode-text { display: none; }
@media (min-width: 760px) {
  .vg-mode-btn .vg-mode-text { display: inline; }
  .vg-mode-btn { padding: 6px 10px; }
}
.vg-mode-btn:hover { background: rgba(255,255,255,0.18); }
.vg-mode-btn[aria-pressed="true"] {
  background: #FFFFFF;
  color: var(--vg-primary);
}

/* Focus pill only on single posts */
body:not(.single-post) .vg-mode-btn--focus { display: none; }

/* =========================================================
   6. DESKTOP SECONDARY NAV BAR (below header, ≥1000px)
   ========================================================= */
.vg-nav-bar { display: none; }
@media (min-width: 1000px) {
  .vg-nav-bar {
    display: block;
    background: var(--vg-bg-elev, #FFFFFF);
    border-bottom: 1px solid var(--vg-border);
  }
  .vg-nav-bar-inner {
    max-width: var(--vg-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 44px;
    display: flex;
    align-items: center;
  }
  .vg-nav-bar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
  }
  .vg-nav-bar-menu a {
    color: var(--vg-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--vg-transition), color var(--vg-transition);
  }
  .vg-nav-bar-menu a:hover,
  .vg-nav-bar-menu .current-menu-item > a {
    color: var(--vg-primary);
    border-bottom-color: var(--vg-primary);
  }
  .vg-nav-bar-menu .sub-menu {
    display: none;
    position: absolute;
    background: #FFFFFF;
    border: 1px solid var(--vg-border);
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--vg-shadow);
    z-index: 99;
  }
  .vg-nav-bar-menu li { position: relative; }
  .vg-nav-bar-menu li:hover > .sub-menu { display: block; }
  .vg-nav-bar-menu .sub-menu a {
    display: block;
    padding: 8px 16px;
    border: 0;
    font-size: 13px;
  }
}

/* =========================================================
   7. MOBILE DRAWER
   ========================================================= */
.vg-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.vg-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.vg-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 84%;
  max-width: 320px;
  background: #FFFFFF;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform .26s ease;
  padding: 56px 0 24px;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.18);
}
.vg-drawer.is-open { transform: translateX(0); }

.vg-drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--vg-text);
}

.vg-drawer .vg-drawer-menu,
.vg-drawer ul.vg-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vg-drawer .vg-drawer-menu > li > a,
.vg-drawer ul li a {
  display: block;
  padding: 14px 22px;
  color: var(--vg-text);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--vg-border);
}
.vg-drawer .vg-drawer-menu > li > a:hover {
  background: rgba(0,0,0,0.03);
  color: var(--vg-primary);
}
.vg-drawer .sub-menu { list-style: none; margin: 0; padding: 0; background: rgba(0,0,0,0.025); }
.vg-drawer .sub-menu a { padding-left: 38px; font-size: 14px; }

@media (min-width: 1000px) {
  .vg-drawer, .vg-drawer-overlay { display: none !important; }
}

/* =========================================================
   8. BREAKING TICKER
   ========================================================= */
.vg-ticker {
  background: #2A1714;
  color: #FFFFFF;
  border-bottom: 2px solid var(--vg-primary);
  overflow: hidden;
}
.vg-ticker-inner {
  max-width: var(--vg-max);
  margin: 0 auto;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.vg-ticker-label {
  background: var(--vg-primary);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  flex-shrink: 0;
  margin-left: 12px;
}
.vg-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.vg-ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: vgTickerScroll 60s linear infinite;
}
.vg-ticker-track a { color: #FFFFFF; font-weight: 500; }
.vg-ticker-track a:hover { color: #F5C8C0; }
@keyframes vgTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   9. FINANCIAL TICKER — labels only, auto-scrolling
   ========================================================= */
.vg-fin-ticker {
  background: #FFFFFF;
  border-bottom: 1px solid var(--vg-border);
  overflow: hidden;
}
html[data-mode="dark"] .vg-fin-ticker {
  background: #1C1C1C;
  border-bottom-color: var(--vg-border);
}
.vg-fin-ticker-track {
  display: flex;
  gap: 36px;
  padding: 7px 16px;
  white-space: nowrap;
  animation: vgTickerScroll 14s linear infinite;
  width: max-content;
}
.vg-fin-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vg-fin-label {
  color: var(--vg-text);
  font-weight: 700;
  letter-spacing: .8px;
  font-size: 12px;
}
.vg-fin-value {
  color: var(--vg-text);
  font-weight: 600;
  font-size: 12px;
  font-feature-settings: "tnum" 1;
}
.vg-fin-delta {
  font-size: 11px;
  font-weight: 700;
  font-feature-settings: "tnum" 1;
}
.vg-fin-delta.is-up   { color: #1B9E4A; }
.vg-fin-delta.is-down { color: #C0392B; }

/* =========================================================
   10. CURRENCY CARDS — flags + codes only, auto-scrolling
   ========================================================= */
.vg-gulf-cards {
  overflow: hidden;
  margin: 14px 0 16px;
  padding: 0 0 4px;
}
.vg-gulf-track {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  animation: vgTickerScroll 16s linear infinite;
  width: max-content;
  padding: 0 8px;
}
.vg-gulf-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
  font-size: 13px;
}
.vg-gulf-flag { font-size: 18px; line-height: 1; }
.vg-gulf-code {
  color: var(--vg-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}
.vg-gulf-rate {
  color: var(--vg-primary);
  font-size: 13px;
  font-weight: 700;
  font-feature-settings: "tnum" 1;
  margin-left: 2px;
}

/* =========================================================
   11. READING PROGRESS BAR — sits at very top, above header
   ========================================================= */
.vg-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0,0,0,0.05);
  z-index: 999;             /* above sticky header */
  pointer-events: none;
}
.vg-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #0f5132;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  transition: width .12s linear;
}
body:not(.single-post) .vg-progress { display: none; }

/* =========================================================
   12. FRONT-PAGE GRID
   ========================================================= */
.vg-front { padding-bottom: 40px; }
.vg-front-container {
  max-width: var(--vg-max);
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .vg-front-container { grid-template-columns: 1fr 320px; gap: 28px; }
  .vg-front-sidebar {
    position: sticky;
    top: calc(var(--vg-header-h) + 16px);
    align-self: start;
  }
}
.vg-front-main { min-width: 0; }
.vg-front-main > * { min-width: 0; }
.vg-front-sidebar > * + * { margin-top: 22px; }

.vg-mobile-card-sections { display: block; margin: 14px 0; }
@media (min-width: 900px) {
  .vg-mobile-card-sections { display: none; }
}

/* HERO Rotator (homepage) */
.vg-hero {
  position: relative;
  margin-bottom: 22px;
  border-radius: var(--vg-radius-lg);
  overflow: hidden;
  background: var(--vg-card-bg);
  box-shadow: var(--vg-shadow);
}
.vg-hero-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--vg-border);
}
@media (min-width: 700px) { .vg-hero-stage { aspect-ratio: 16 / 8; } }

.vg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.vg-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.vg-hero-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #FFFFFF;
  position: relative;
}
.vg-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vg-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
}
.vg-hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px 56px;
  color: #FFFFFF;
  z-index: 2;
}
@media (min-width: 700px) { .vg-hero-body { padding: 22px 28px 64px; } }
.vg-hero-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #FFFFFF;
  background: var(--vg-primary);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.vg-hero-title {
  font-family: var(--vg-font-head);
  font-size: 22px;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 700px) { .vg-hero-title { font-size: 30px; } }
.vg-hero-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.vg-hero-controls {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 3;
}
.vg-hero-prev,
.vg-hero-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--vg-transition);
}
.vg-hero-prev:hover,
.vg-hero-next:hover { background: rgba(255,255,255,0.35); }
.vg-hero-dots {
  display: flex;
  gap: 6px;
}
.vg-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background .2s ease, transform .2s ease;
}
.vg-hero-dot.is-active {
  background: #FFFFFF;
  transform: scale(1.3);
}

/* (Legacy single-featured kept for backward compat in case theme is upgraded with leftover markup) */
.vg-featured {
  background: var(--vg-card-bg);
  border-radius: var(--vg-radius-lg);
  overflow: hidden;
  box-shadow: var(--vg-shadow);
  margin-bottom: 18px;
  border: 1px solid var(--vg-border);
}
.vg-featured-media-link { display: block; }
.vg-featured-media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--vg-border);
}
.vg-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.vg-featured-body { padding: 14px 16px 18px; }
@media (min-width: 600px) { .vg-featured-body { padding: 18px 20px 22px; } }
.vg-featured-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--vg-primary);
  margin-bottom: 8px;
}
.vg-featured-title {
  font-family: var(--vg-font-head);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
}
@media (min-width: 600px) { .vg-featured-title { font-size: 26px; } }
.vg-featured-title a { color: var(--vg-text); }
.vg-featured-title a:hover { color: var(--vg-primary); }
.vg-featured-meta { font-size: 13px; color: var(--vg-meta); }

.vg-list { list-style: none; padding: 0; margin: 0 0 22px; }
.vg-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 4px;        /* small horizontal padding so headlines aren't flush left */
  border-bottom: 1px solid var(--vg-border);
}
.vg-list-item:last-child { border-bottom: none; }
.vg-list-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vg-list-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--vg-primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  text-decoration: none;
}
.vg-list-title {
  font-family: var(--vg-font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vg-list-title a { color: var(--vg-text); }
.vg-list-title a:hover { color: var(--vg-primary); }
.vg-list-meta { font-size: 12px; color: var(--vg-meta); margin-top: auto; }
.vg-list-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: var(--vg-radius);
  overflow: hidden;
  background: var(--vg-border);
}
.vg-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) {
  .vg-list-title { font-size: 17px; line-height: 1.5; }
  .vg-list-thumb { flex-basis: 120px; width: 120px; height: 120px; }
}

.vg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--vg-primary);
}
.vg-section-head h2 {
  font-family: var(--vg-font-head);
  font-size: 19px;
  margin: 0;
  color: var(--vg-text);
}
.vg-section-head .vg-more {
  font-size: 13px;
  color: var(--vg-primary);
  text-decoration: none;
  font-weight: 600;
}

.vg-pagination {
  margin: 30px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.vg-pagination .page-numbers {
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--vg-card-bg);
  color: var(--vg-text);
  text-decoration: none;
  border: 1px solid var(--vg-border);
  font-size: 14px;
}
.vg-pagination .page-numbers:hover { border-color: var(--vg-primary); }
.vg-pagination .page-numbers.current {
  background: var(--vg-primary);
  color: #FFFFFF;
  border-color: var(--vg-primary);
}

/* =========================================================
   13. ARCHIVE / SEARCH / PAGE
   ========================================================= */
.vg-archive-head { max-width: var(--vg-max); margin: 0 auto; padding: 24px 16px 8px; }
.vg-archive-title {
  font-family: var(--vg-font-head);
  font-size: 26px;
  color: var(--vg-text);
  margin: 0 0 8px;
}
.vg-archive-desc { color: var(--vg-meta); font-size: 14px; margin: 0; }

.vg-page { max-width: 760px; margin: 0 auto; padding: 24px 16px 60px; }
.vg-page-title { font-family: var(--vg-font-head); font-size: 28px; margin: 0 0 20px; color: var(--vg-text); }

.vg-404 { text-align: center; padding: 80px 20px; }
.vg-404 p { color: var(--vg-meta); }

/* =========================================================
   14. ARTICLE PAGE
   ========================================================= */
.vg-article-wrap {
  max-width: var(--vg-article-max);
  margin: 0 auto;
  padding: 20px 16px 48px;
}
@media (min-width: 700px) { .vg-article-wrap { padding: 28px 20px 60px; } }

.vg-article-header { margin-bottom: 18px; }

.vg-article-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--vg-primary);
  margin-right: 8px;
  text-decoration: none;
}
.vg-article-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 3px;
}

.vg-article-title {
  font-family: var(--vg-font-head);
  font-size: 28px;
  line-height: 1.25;
  margin: 12px 0 12px;
  color: var(--vg-text);
}
@media (min-width: 700px) { .vg-article-title { font-size: 36px; } }

.vg-article-excerpt {
  font-size: 17px;
  line-height: 1.55;
  color: var(--vg-meta);
  margin: 0 0 18px;
  font-style: italic;
}

/* Meta-only line (replaces byline) */
.vg-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--vg-meta);
  margin: 0 0 14px;
  padding: 12px 0;
  border-top: 1px solid var(--vg-border);
  border-bottom: 1px solid var(--vg-border);
}
.vg-meta-sep { opacity: .5; }

/* Listen button (headphone + min) */
.vg-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  font-size: 14px;
  color: var(--vg-text);
  font-weight: 500;
  transition: all var(--vg-transition);
}
.vg-listen-btn:hover {
  background: var(--vg-primary);
  color: #FFFFFF;
  border-color: var(--vg-primary);
}
.vg-listen-icon { color: currentColor; flex-shrink: 0; }
.vg-listen-text { font-weight: 600; }
.vg-listen-time {
  color: var(--vg-meta);
  font-size: 13px;
  font-weight: 600;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--vg-border);
}
.vg-listen-btn:hover .vg-listen-time {
  color: rgba(255,255,255,0.85);
  border-left-color: rgba(255,255,255,0.3);
}

.vg-tts-player {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: 999px;
}
.vg-tts-player.is-on { display: flex; }
.vg-tts-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vg-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vg-tts-btn--stop { background: #6B6B6B; }
.vg-tts-status { font-size: 13px; color: var(--vg-meta); flex: 1; }

.vg-featured-img { margin: 0 0 20px; }
.vg-featured-img img { width: 100%; height: auto; border-radius: var(--vg-radius); display: block; }
.vg-featured-caption { font-size: 12px; color: var(--vg-meta); margin-top: 6px; line-height: 1.4; }

.vg-article-body {
  font-family: var(--vg-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--vg-text);
}
.vg-article-body p { margin: 0 0 1.2em; }
.vg-article-body h2,
.vg-article-body h3,
.vg-article-body h4 {
  font-family: var(--vg-font-head);
  margin: 1.6em 0 0.6em;
  color: var(--vg-text);
}
.vg-article-body h2 { font-size: 24px; }
.vg-article-body h3 { font-size: 20px; }
.vg-article-body h4 { font-size: 17px; }
.vg-article-body a {
  color: var(--vg-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.vg-article-body img { margin: 1.4em auto; border-radius: var(--vg-radius); }
.vg-article-body blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  background: var(--vg-card-bg);
  border-left: 3px solid var(--vg-primary);
  border-radius: 0 var(--vg-radius) var(--vg-radius) 0;
  font-style: italic;
}
.vg-article-body ul, .vg-article-body ol { margin: 0 0 1.2em 1.4em; }
.vg-article-body figure { margin: 1.4em 0; }

/* =========================================================
   15. WHATSAPP CHANNEL CTA
   ========================================================= */
.vg-wa-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 10px;
  color: #FFFFFF !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease, box-shadow .25s ease;
}
.vg-wa-cta.is-visible { opacity: 1; transform: translateY(0); }
.vg-wa-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  animation: vgWaShimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vgWaShimmer {
  0% { left: -50%; }
  60% { left: 110%; }
  100% { left: 110%; }
}
.vg-wa-cta:hover { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45); transform: translateY(-1px); color: #FFFFFF; }
.vg-wa-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: vgWaPulse 2s ease-in-out infinite;
}
@keyframes vgWaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.vg-wa-cta-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.vg-wa-cta-line1 { font-weight: 700; font-size: 14px; color: #FFFFFF; }
.vg-wa-cta-line2 { font-size: 12px; color: rgba(255,255,255,0.88); margin-top: 1px; }
.vg-wa-cta-arrow { font-size: 22px; font-weight: 600; color: #FFFFFF; flex-shrink: 0; transition: transform .2s ease; }
.vg-wa-cta:hover .vg-wa-cta-arrow { transform: translateX(4px); }

/* =========================================================
   16. CORRECTION + SOURCE BLOCKS
   ========================================================= */
.vg-correction {
  margin: 22px 0;
  padding: 12px 16px;
  background: #FFF8E1;
  border-left: 3px solid #E0A53C;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5C4400;
}
.vg-correction-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .5px;
  margin-right: 4px;
}

.vg-source-block {
  margin: 22px 0;
  padding: 12px 16px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
  font-size: 14px;
}
.vg-source-label {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--vg-meta);
  margin-bottom: 4px;
}
.vg-source-block a { color: var(--vg-primary); word-break: break-all; }

/* =========================================================
   17. SHARE BAR — icons + copy toast + device share
   ========================================================= */
.vg-share-section { margin: 30px 0 22px; }

.vg-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.vg-share-label {
  font-size: 13px;
  color: var(--vg-meta);
  font-weight: 600;
  margin-right: 4px;
}
.vg-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform var(--vg-transition);
}
.vg-share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.vg-share-btn:hover { transform: translateY(-2px); }

.vg-share-wa     { background: #25D366; }
.vg-share-fb     { background: #1877F2; }
.vg-share-x      { background: #1A1A1A; }
.vg-share-copy   { background: #6B6B6B; }
.vg-share-copy.is-copied { background: #27AE60; }
.vg-share-image  { background: #8E44AD; }
.vg-share-image.is-busy { opacity: .55; cursor: progress; }
.vg-share-device { background: var(--vg-primary); }

/* Copy toast */
.vg-copy-toast {
  position: absolute;
  bottom: -36px;
  left: 0;
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.vg-copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.vg-copy-toast[hidden] { display: none; }

/* =========================================================
   18. FOLLOW US BAR (positioned after featured image)
   ========================================================= */
.vg-follow-bar {
  border: 1.5px solid var(--vg-border);
  border-radius: var(--vg-radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--vg-card-bg);
  margin: 0 0 20px;
}
.vg-follow-label {
  font-family: var(--vg-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--vg-text);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.vg-follow-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.vg-follow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform var(--vg-transition);
}
.vg-follow-btn svg { width: 18px; height: 18px; fill: currentColor; }
.vg-follow-btn:hover { transform: translateY(-2px); }
.vg-follow-wa { background: #25D366; }
.vg-follow-fb { background: #1877F2; }
.vg-follow-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.vg-follow-x  { background: #1A1A1A; }
.vg-follow-yt { background: #FF0000; }
.vg-follow-tg { background: #29A6E0; }
.vg-follow-gn { background: #1A73E8; }

/* =========================================================
   19. REACTIONS — Vuukle-style, single line
   ========================================================= */
.vg-reactions {
  margin: 24px 0;
  padding: 14px 12px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
}
.vg-react-prompt {
  text-align: center;
  font-size: 13px;
  color: var(--vg-meta);
  margin-bottom: 12px;
}
.vg-react-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: space-between;
}
@media (min-width: 480px) { .vg-react-row { gap: 8px; } }

.vg-react-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 2px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  transition: background var(--vg-transition), border-color var(--vg-transition), transform var(--vg-transition);
  position: relative;
}
.vg-react-btn:hover {
  background: rgba(192, 57, 43, 0.06);
  transform: translateY(-2px);
}
.vg-react-btn.is-selected {
  background: rgba(192, 57, 43, 0.12);
  border-color: var(--vg-primary);
}
.vg-react-emoji {
  font-size: 28px;
  line-height: 1.1;
  display: block;
}
@media (max-width: 360px) { .vg-react-emoji { font-size: 24px; } }
.vg-react-label {
  font-size: 11px;
  color: var(--vg-meta);
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.vg-react-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--vg-primary);
  font-feature-settings: "tnum" 1;
}
.vg-react-btn.is-selected::after {
  content: "✕";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--vg-primary);
  color: #FFF;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* =========================================================
   20. POLL
   ========================================================= */
.vg-poll {
  margin: 24px 0;
  padding: 16px;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
}
.vg-poll-q { font-family: var(--vg-font-head); font-size: 18px; margin: 0 0 14px; color: var(--vg-text); }
.vg-poll-options { display: flex; flex-direction: column; gap: 8px; }
.vg-poll-option {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--vg-bg-elev);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
  text-align: left;
  transition: border-color var(--vg-transition);
}
.vg-poll-option:not(:disabled):hover { border-color: var(--vg-primary); }
.vg-poll-option.is-voted { border-color: var(--vg-primary); font-weight: 600; }
.vg-poll-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(192, 57, 43, 0.14);
  transition: width .4s ease;
  z-index: 0;
}
.vg-poll-option > .vg-poll-text,
.vg-poll-option > .vg-poll-pct { position: relative; z-index: 1; }
.vg-poll-text { flex: 1; }
.vg-poll-pct { font-weight: 700; color: var(--vg-primary); font-size: 13px; }
.vg-poll-total { margin-top: 10px; font-size: 12px; color: var(--vg-meta); text-align: right; }

/* General Poll Card (for [vg_poll] shortcode) — distinct from inline article poll */
.vg-poll-card {
	background: var(--vg-card-bg);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--vg-border);
	margin: 22px 0;
	font-family: var(--vg-font-body);
}
.vg-poll-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px 10px;
	border-bottom: 1px solid var(--vg-border);
}
.vg-poll-icon { font-size: 18px; }
.vg-poll-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--vg-primary);
	flex: 1;
}
.vg-poll-closed-badge {
	font-size: 10px;
	background: #6B6B6B;
	color: #FFFFFF;
	padding: 2px 8px;
	border-radius: 10px;
	letter-spacing: 0.5px;
}
.vg-poll-card .vg-poll-question {
	padding: 16px 16px 12px;
	font-family: var(--vg-font-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--vg-text);
	margin: 0;
}
.vg-poll-card .vg-poll-options {
	padding: 0 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.vg-poll-option-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: var(--vg-bg-elev, #FFFFFF);
	border: 1.5px solid var(--vg-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	font-family: var(--vg-font-body);
	color: var(--vg-text);
	cursor: pointer;
	text-align: left;
	transition: border-color 0.2s, background 0.2s;
}
.vg-poll-option-btn:hover {
	border-color: var(--vg-primary);
	background: rgba(192, 57, 43, 0.04);
}
.vg-poll-option-btn:disabled { opacity: .65; cursor: progress; }
.vg-poll-option-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid var(--vg-border);
	flex-shrink: 0;
	transition: border-color 0.2s;
}
.vg-poll-option-btn:hover .vg-poll-option-dot { border-color: var(--vg-primary); }
.vg-poll-result {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--vg-bg-elev, #FFFFFF);
}
.vg-poll-result-bar {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: var(--pct, 0%);
	background: rgba(192, 57, 43, 0.14);
	border-radius: 10px;
	transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.vg-poll-result-text {
	position: relative;
	z-index: 1;
	font-size: 14px;
	flex: 1;
	color: var(--vg-text);
}
.vg-poll-result-pct {
	position: relative;
	z-index: 1;
	font-size: 14px;
	font-weight: 700;
	color: var(--vg-primary);
}
.vg-poll-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px 14px;
	font-size: 12px;
}
.vg-poll-footer .vg-poll-total { color: var(--vg-meta); margin: 0; text-align: left; }
.vg-poll-cta { color: var(--vg-primary); font-weight: 600; }

/* Poll rotation wrapper */

.vg-poll-rotation {
  position: relative;
  height: auto;
}

.vg-poll-rotation > * {
  display: none;
  width: 100%;
}

.vg-poll-rotation > .is-active {
  display: block;
}

/* =========================================================
   English Summary (SEO/Accessibility) block
   ========================================================= */
.vg-english-summary {
	background: var(--vg-card-bg);
	border: 1px solid var(--vg-border);
	border-left: 4px solid var(--vg-primary);
	border-radius: 0 10px 10px 0;
	padding: 14px 16px;
	margin: 24px 0;
}
.vg-summary-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--vg-primary);
	margin-bottom: 6px;
	font-family: sans-serif;
}
.vg-summary-text {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--vg-meta);
	margin: 0;
}

/* =========================================================
   21. SUPPORT BLOCK
   ========================================================= */
.vg-support {
  margin: 26px 0;
  padding: 22px 18px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1714 100%);
  color: #FFFFFF;
  border-radius: var(--vg-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.vg-support-headline { font-family: var(--vg-font-head); font-size: 20px; font-weight: 700; margin: 0; color: #FFFFFF; }
.vg-support-body { font-size: 14px; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.85); }
.vg-support-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vg-support-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--vg-primary);
  color: #FFFFFF !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: background var(--vg-transition);
}
.vg-support-cta:hover { background: var(--vg-primary-dark); color: #FFFFFF; }
.vg-support-upi { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.85); }
.vg-support-upi-id { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 4px; font-family: monospace; cursor: pointer; }
.vg-support-upi-id.is-copied { background: var(--vg-primary); color: #FFFFFF; }
.vg-support-qr img { border: 4px solid rgba(255,255,255,0.95); border-radius: 6px; }

/* =========================================================
   22. AD SLOTS
   ========================================================= */
.vg-ad-slot { margin: 24px 0; text-align: center; overflow: hidden; min-height: 0; }
.vg-ad-slot:empty { display: none; }
.vg-ad-slot img { max-width: 100%; height: auto; margin: 0 auto; display: block; }
.vg-ad-slot a { display: inline-block; }

.vg-ad-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--vg-border);
  padding: 6px 8px 8px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.vg-ad-sticky-content { flex: 1; text-align: center; overflow: hidden; }
.vg-ad-sticky-content img { max-width: 100%; height: auto; }
.vg-ad-sticky-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--vg-meta);
  flex-shrink: 0;
  background: rgba(0,0,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1000px) { .vg-ad-sticky { display: none; } }
html[data-mode="dark"] .vg-ad-sticky { background: #1A1A1B; border-top-color: var(--vg-border); }

/* =========================================================
   24. POST-ARTICLE STORY SECTIONS (Connected / What else / Across)
   ========================================================= */
.vg-story-section { margin: 30px 0; }
.vg-story-section-title {
  font-family: var(--vg-font-head);
  font-size: 20px;
  margin: 0 0 14px;
  padding: 0 4px 8px;
  border-bottom: 2px solid var(--vg-primary);
  color: var(--vg-text);
}

/* Connected Stories — 2-col cards */
.vg-story-grid--connected {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  padding: 0 4px;            /* breathing room — fixes left-cropping */
}
.vg-story-card {
  display: flex;
  flex-direction: column;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--vg-transition), box-shadow var(--vg-transition);
}
.vg-story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vg-shadow-hover);
}
.vg-story-thumb { aspect-ratio: 16 / 9; background: var(--vg-border); overflow: hidden; }
.vg-story-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vg-story-text { padding: 12px 14px; }
.vg-story-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--vg-primary);
  margin-bottom: 4px;
}
.vg-story-headline {
  font-family: var(--vg-font-head);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: var(--vg-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* What Else Is Happening — list with thumbs */
.vg-whatelse-list {
  list-style: none;
  margin: 0;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .vg-whatelse-list { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.vg-whatelse-item a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px 4px;
}
.vg-whatelse-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: var(--vg-radius);
  overflow: hidden;
  background: var(--vg-border);
}
.vg-whatelse-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vg-whatelse-text { flex: 1; min-width: 0; }
.vg-whatelse-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vg-primary);
  margin-bottom: 4px;
}
.vg-whatelse-title {
  font-family: var(--vg-font-head);
  font-size: 14px;
  line-height: 1.4;
  color: var(--vg-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vg-whatelse-item a:hover .vg-whatelse-title { color: var(--vg-primary); }

/* Across Varadigara — discovery grid */
.vg-across-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 4px;
}
@media (min-width: 600px) {
  .vg-across-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .vg-across-grid { grid-template-columns: repeat(4, 1fr); }
}
.vg-across-card {
  display: flex;
  flex-direction: column;
  background: var(--vg-card-bg);
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--vg-transition);
}
.vg-across-card:hover { transform: translateY(-2px); }
.vg-across-thumb { aspect-ratio: 4 / 3; background: var(--vg-border); overflow: hidden; }
.vg-across-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vg-across-text { padding: 8px 10px 10px; }
.vg-across-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vg-primary);
  margin-bottom: 3px;
}
.vg-across-headline {
  font-family: var(--vg-font-head);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  color: var(--vg-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   25. CARD WIDGETS — base shell (carousel & headers)
   See assets/css/kidi-nudi.css for card-specific styling.
   ========================================================= */
.vg-card-widget { margin: 28px 0; }
.vg-cw-head { margin-bottom: 12px; }
.vg-cw-title {
  font-family: var(--vg-font-head);
  font-size: 20px;
  margin: 0;
  color: var(--vg-text);
}
.vg-card-widget--bordered {
  padding: 14px;
  border: 1px solid var(--vg-border);
  border-radius: var(--vg-radius);
}

/* =========================================================
   26. WIDGET ZONES
   ========================================================= */
.vg-widget-zone { margin: 22px 0; }
.vg-widget-zone--article-top { margin: 0 0 18px; }
.vg-widget-zone .widget { margin-bottom: 18px; }
.vg-widget-zone .widget-title,
.vg-front-sidebar .widget-title {
  font-family: var(--vg-font-head);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--vg-text);
}
.vg-front-sidebar { font-family: var(--vg-font-body); }

/* =========================================================
   27. FOOTER
   ========================================================= */
.vg-footer {
  background: var(--vg-footer-bg);
  color: var(--vg-footer-text);
  padding: 36px 16px 20px;
  margin-top: 40px;
}
.vg-footer-inner { max-width: var(--vg-max); margin: 0 auto; }
.vg-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
@media (min-width: 700px) { .vg-footer-cols { grid-template-columns: repeat(3, 1fr); } }
.vg-footer-col h4 {
  font-family: var(--vg-font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--vg-footer-text);
  margin: 0 0 10px;
  opacity: .9;
}
.vg-footer-col ul { list-style: none; margin: 0; padding: 0; }
.vg-footer-col li { margin-bottom: 6px; }
.vg-footer-col a {
  color: var(--vg-footer-text);
  font-size: 14px;
  text-decoration: none;
  opacity: .8;
}
.vg-footer-col a:hover { color: var(--vg-footer-text); opacity: 1; }

.vg-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0;
}
.vg-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--vg-footer-text);
  transition: background var(--vg-transition);
}
.vg-footer-social a:hover { background: rgba(255,255,255,0.18); }
.vg-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.vg-footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--vg-footer-text);
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 12px;
}
.vg-footer-disclaimer {
  font-size: 11px;
  color: var(--vg-footer-text);
  opacity: .5;
  text-align: center;
  margin: 8px 0;
  line-height: 1.5;
}
/* Digizy backlink — barely visible against any footer background */
.vg-footer-digizy {
  display: inline-block;
  font-size: 10px;
  color: var(--vg-footer-text);
  opacity: 0.18;            /* near-invisible */
  margin-left: 6px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.vg-footer-digizy:hover { opacity: 0.45; color: var(--vg-footer-text); }

/* =========================================================
   28. QUOTE TOOLTIP (share-as-image trigger)
   ========================================================= */
.vg-quote-tooltip {
  position: absolute;
  z-index: 70;
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  user-select: none;
}
.vg-quote-tooltip[hidden] { display: none; }

/* Share-as-image flash overlay — screenshot animation */
.vg-shot-flash {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  animation: vgFlash .6s ease-out;
}
@keyframes vgFlash {
  0%   { opacity: 0; }
  20%  { opacity: 0.92; }
  100% { opacity: 0; }
}

/* =========================================================
   29. ARTICLE WIDGET AREAS
   ========================================================= */
.vg-article-widgets { margin: 26px 0; }

/* =========================================================
   30. RESPONSIVE TWEAKS (final)
   ========================================================= */
@media (max-width: 480px) {
  .vg-article-title { font-size: 24px; }
  .vg-featured-title { font-size: 20px; }
  .vg-section-head h2 { font-size: 17px; }
  .vg-share-bar .vg-share-label { width: 100%; margin-bottom: 4px; }
}


.vg-poll-header {
  margin-bottom: 14px;
}

.vg-poll-q {
  margin-top: 10px;
}
.tts-highlight {
	background: rgba(192, 57, 43, 0.10);
	border-left: 3px solid var(--vg-primary);
	padding-left: 10px;
	border-radius: 4px;
	transition: all 0.25s ease;
}
html {
	scroll-behavior: smooth;
}
/* === VG KANNADA SUMMARY — START === */

.vg-kannada-summary {
    position: relative;
    margin: 20px 0 24px;
    padding: 14px 16px 14px 20px;
    background: rgba(192,57,43,0.04);
    border-left: 4px solid var(--vg-primary, #C0392B);
    border-radius: 0 10px 10px 0;
    font-family: inherit;
}

.vg-ks-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--vg-primary, #C0392B);
    margin-bottom: 8px;
    font-family: inherit;
}

.vg-ks-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--vg-text, #1A1A1A);
    margin: 0;
    font-weight: 500;
}

/* Dark mode */
html[data-mode="dark"] .vg-kannada-summary {
    background: rgba(192,57,43,0.08);
}

/* === VG KANNADA SUMMARY — END === */
/* =========================================================
 * iOS INSTALL BANNER — shows once for iOS Safari users
 * ========================================================= */

.vg-ios-install {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom));  /* clear iOS home indicator */
	background: #FFFFFF;
	border-top: 1px solid var(--vg-border);
	box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
	z-index: 999;                                              /* above sticky header */
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: var(--vg-font-body);
}

.vg-ios-install.is-visible {
	transform: translateY(0);
}

.vg-ios-install.is-leaving {
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-ios-install-icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
}

.vg-ios-install-text {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}

.vg-ios-install-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--vg-text);
	margin-bottom: 2px;
}

.vg-ios-install-steps {
	font-size: 12px;
	color: var(--vg-meta);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.vg-ios-install-steps strong {
	color: var(--vg-primary);
	font-weight: 600;
}

.vg-ios-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: #007AFF;             /* iOS system blue */
	color: #FFFFFF;
	border-radius: 5px;
	vertical-align: middle;
}

.vg-ios-install-arrow {
	color: var(--vg-meta);
	margin: 0 2px;
}

.vg-ios-install-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0,0,0,0.05);
	color: var(--vg-meta);
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.vg-ios-install-close:hover {
	background: rgba(0,0,0,0.1);
	color: var(--vg-text);
}

/* Animated pointer-arrow at bottom-center, pointing at Safari's share icon */
.vg-ios-install-pointer {
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 16px;
	background: #FFFFFF;
	border-right: 1px solid var(--vg-border);
	border-bottom: 1px solid var(--vg-border);
	rotate: 45deg;
	animation: vgIosPointerBob 1.8s ease-in-out infinite;
}

@keyframes vgIosPointerBob {
	0%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); }
	50%      { transform: translateX(-50%) translateY(4px) rotate(45deg); }
}

/* Dark mode */
html[data-mode="dark"] .vg-ios-install {
	background: #1C1C1C;
	border-top-color: #333;
}
html[data-mode="dark"] .vg-ios-install-pointer {
	background: #1C1C1C;
	border-right-color: #333;
	border-bottom-color: #333;
}
html[data-mode="dark"] .vg-ios-install-close {
	background: rgba(255,255,255,0.08);
	color: #999;
}
html[data-mode="dark"] .vg-ios-install-close:hover {
	background: rgba(255,255,255,0.15);
	color: #FFF;
}
/* =========================================================
 * SHARE-AS-IMAGE — always-visible label above the button
 * ========================================================= */

/* Wrapper for the share-image button + hint */
.vg-share-image-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vg-share-image {
	position: relative;
	background: linear-gradient(135deg, #8E44AD 0%, #C0392B 100%) !important;
	box-shadow: 0 4px 18px rgba(142, 68, 173, 0.5);
}

.vg-share-image:hover {
	transform: translateY(-2px) scale(1.05);
}

.vg-share-image.is-busy {
	animation: none !important;
}

/* Always-on pulse */
body.vg-hint-on .vg-share-image {
	animation: vgShareImagePulse 2.4s ease-in-out infinite;
}

@keyframes vgShareImagePulse {
	0%, 100% { box-shadow: 0 4px 18px rgba(142, 68, 173, 0.5); }
	50%      { box-shadow: 0 4px 28px rgba(142, 68, 173, 1), 0 0 0 8px rgba(142, 68, 173, 0.18); }
}

/* The label — anchored to the button */
.vg-share-hint {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	display: block;
	width: max-content;
	max-width: 90vw;
	background: linear-gradient(135deg, #1A1A1A 0%, #2A1714 100%);
	color: #FFFFFF;
	font-family: var(--vg-font-body);
	padding: 9px 14px;
	border-radius: 14px;
	white-space: nowrap;
	text-align: left;
	box-shadow:
		0 8px 24px rgba(0,0,0,0.35),
		0 0 0 2px rgba(192, 57, 43, 0.5);
	z-index: 50;
	pointer-events: none;
	animation: vgHintBob 2.6s ease-in-out 0.8s infinite;
}

.vg-share-hint.is-hidden {
	opacity: 0;
	animation: none;
	transition: opacity 0.25s ease;
}

/* Inner row — emoji + text side by side */
.vg-share-hint-inner {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vg-share-hint-emoji {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.vg-share-hint-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.vg-share-hint-main {
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: 0.2px;
}

.vg-share-hint-sub {
	font-size: 10.5px;
	font-weight: 500;
	color: #25D366;
	margin-top: 1px;
	letter-spacing: 0.2px;
}

/* Arrow pointing straight down at the button center */
.vg-share-hint::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #2A1714;
	filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}

@keyframes vgHintBob {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%      { transform: translateX(-50%) translateY(-5px); }
}

/* Containers must allow the hint to render outside their bounds */
.vg-share-bar  { position: relative; }
.vg-share-image { position: relative; }

/* Smaller variant on narrow phones */
@media (max-width: 480px) {
	.vg-share-hint {
		padding: 8px 12px;
	}
	.vg-share-hint-inner { gap: 8px; }
	.vg-share-hint-emoji { font-size: 18px; }
	.vg-share-hint-main  { font-size: 12px; }
	.vg-share-hint-sub   { font-size: 10px; }
}

@media (max-width: 380px) {
	.vg-share-hint-sub { font-size: 9.5px; }
}
/* =========================================================
 * READERS ARE READING — auto-scrolling horizontal ticker
 * Works both on homepage and inside article body.
 * ========================================================= */

.vg-readers-ticker {
	margin: 28px 0;
	overflow: hidden;
	position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.vg-readers-ticker-track {
	display: flex;
	gap: 14px;
	width: max-content;
	will-change: transform;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* Card — base styling, with overrides for article-body context */
.vg-readers-ticker .vg-readers-card,
.vg-article-body .vg-readers-ticker .vg-readers-card {
	flex: 0 0 auto;
	width: 180px;
	display: flex;
	flex-direction: column;
	background: var(--vg-card-bg);
	border: 1px solid var(--vg-border);
	border-radius: var(--vg-radius);
	overflow: hidden;
	text-decoration: none;   /* override .vg-article-body a underline */
	color: var(--vg-text);   /* override .vg-article-body a red color */
	transition: transform var(--vg-transition), box-shadow var(--vg-transition);
	margin: 0;
	padding: 0;
}

.vg-readers-ticker .vg-readers-card:hover,
.vg-article-body .vg-readers-ticker .vg-readers-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--vg-shadow-hover);
	text-decoration: none;
	color: var(--vg-text);
}

.vg-readers-ticker .vg-readers-card-thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--vg-border);
	overflow: hidden;
	margin: 0;
}

.vg-readers-ticker .vg-readers-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0;
}

.vg-readers-ticker .vg-readers-card-text {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.vg-readers-ticker .vg-readers-card-cat {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--vg-primary);
	text-decoration: none;
	line-height: 1.2;
}

/* Headline — explicit override of article-body's h-tag inheritance */
.vg-readers-ticker .vg-readers-card-title,
.vg-article-body .vg-readers-ticker .vg-readers-card-title {
	font-family: var(--vg-font-head);
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
	margin: 0;
	padding: 0;
	color: var(--vg-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vg-readers-ticker .vg-readers-card:hover .vg-readers-card-title {
	color: var(--vg-primary);
}

/* Slightly larger on wider screens */
@media (min-width: 700px) {
	.vg-readers-ticker .vg-readers-card { width: 200px; }
	.vg-readers-ticker .vg-readers-card-title { font-size: 14px; }
}
/* =========================================================
 * DESKTOP REFACTOR — header / article sidebar / home sidebar
 * All rules wrapped in @media (min-width: 1000px)
 * Mobile layout is UNCHANGED.
 * ========================================================= */

@media (min-width: 1000px) {

	/* ---------- HEADER: logo left, menu center, toggles right ---------- */

	.vg-header-inner {
		grid-template-columns: auto 1fr auto !important;
		gap: 28px;
	}

	.vg-header-inner > .vg-logo {
		grid-column: 1;
		justify-self: start;
	}

	.vg-header .vg-logo {
		justify-content: flex-start;
	}

	.vg-header .vg-logo-img {
		max-height: 80px;
		max-width: 320px;
	}

	.vg-header-inner > .vg-header-nav {
		grid-column: 2;
		justify-self: center;
		display: flex;
		align-items: center;
	}

	.vg-header-inner > .vg-reading-toggles,
	.vg-header-inner > .vg-logout-link {
		grid-column: 3;
		justify-self: end;
	}

	/* In-header menu styling */
	.vg-header-nav { display: block; }
	.vg-header-nav-menu {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		gap: 22px;
		align-items: center;
	}
	.vg-header-nav-menu > li { position: relative; }
	.vg-header-nav-menu a {
		color: var(--vg-header-text);
		font-size: 14px;
		font-weight: 500;
		text-decoration: none;
		padding: 8px 4px;
		opacity: 0.92;
		transition: opacity var(--vg-transition);
		white-space: nowrap;
	}
	.vg-header-nav-menu a:hover {
		opacity: 1;
		color: var(--vg-header-text);
	}
	.vg-header-nav-menu .current-menu-item > a {
		opacity: 1;
		text-decoration: underline;
		text-underline-offset: 6px;
		text-decoration-thickness: 2px;
	}
	.vg-header-nav-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		background: #FFFFFF;
		border: 1px solid var(--vg-border);
		border-radius: 6px;
		list-style: none;
		margin: 0;
		padding: 8px 0;
		min-width: 200px;
		box-shadow: var(--vg-shadow);
		z-index: 110;
	}
	.vg-header-nav-menu li:hover > .sub-menu { display: block; }
	.vg-header-nav-menu .sub-menu a {
		display: block;
		padding: 8px 16px;
		font-size: 13px;
		color: var(--vg-text);
		opacity: 1;
	}
	.vg-header-nav-menu .sub-menu a:hover {
		background: rgba(0,0,0,0.04);
		color: var(--vg-primary);
	}

	/* Hide the secondary nav-bar below header — menu now lives inside */
	.vg-nav-bar { display: none !important; }

	/* Hide top reading progress bar on desktop (sidebar shows it instead) */
	.vg-progress { display: none !important; }


	/* ---------- ARTICLE PAGE: 2-column layout ---------- */

	.vg-article-wrap {
		max-width: var(--vg-max);
		padding: 28px 24px 60px;
	}

	.vg-article-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 36px;
		align-items: start;
	}

	.vg-article-main {
		min-width: 0;
		max-width: var(--vg-article-max);
		margin: 0 auto;
	}

	/* Sidebar shell */
	.vg-article-sidebar {
		position: sticky;
		top: 88px;  /* clears sticky header */
		max-height: calc(100vh - 100px);
		overflow-y: auto;
		scrollbar-width: thin;
	}
	.vg-article-sidebar::-webkit-scrollbar { width: 4px; }
	.vg-article-sidebar::-webkit-scrollbar-thumb { background: var(--vg-border); border-radius: 4px; }

	.vg-article-sidebar-inner {
		display: flex;
		flex-direction: column;
		gap: 18px;
		padding-bottom: 24px;
	}
	
	/* Ensure about banner border shows on desktop */
	.vg-article-body .vg-about-banner,
	.vg-article-main .vg-about-banner,
	.vg-article-layout .vg-about-banner {
		border-top: 1.5px solid #C0392B !important;
		border-right: 1.5px solid #C0392B !important;
		border-bottom: 1.5px solid #C0392B !important;
		border-left: 1.5px solid #C0392B !important;
		outline: none !important;
		box-shadow: none !important;
		box-sizing: border-box !important;
	}

	/* ---------- HOMEPAGE: sidebar layout + sticky behavior ---------- */

	.vg-front-container {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.vg-front-sidebar {
		min-width: 0;
		position: sticky;
		top: 96px;
		align-self: start;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		padding-top: 4px;
		scrollbar-width: thin;
	}
	.vg-front-sidebar::-webkit-scrollbar { width: 4px; }
	.vg-front-sidebar::-webkit-scrollbar-thumb {
		background: var(--vg-border);
		border-radius: 4px;
	}

	/* Spacing between auto-populated sidebar blocks */
	.vg-home-sidebar-auto {
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	/* ---------- SHARED SIDEBAR BLOCK STYLING ---------- */

	.vg-aside-block {
		background: var(--vg-card-bg);
		border: 1px solid var(--vg-border);
		border-radius: var(--vg-radius);
		padding: 14px 16px;
	}

	.vg-aside-title {
		font-family: var(--vg-font-head);
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.6px;
		color: var(--vg-text);
		margin: 0 0 12px;
		padding-bottom: 8px;
		border-bottom: 2px solid var(--vg-primary);
	}

	.vg-aside-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.vg-aside-list-item {
		padding: 8px 0;
		border-bottom: 1px solid var(--vg-border);
	}
	.vg-aside-list-item:last-child { border-bottom: none; }

	.vg-aside-list-link {
		display: flex;
		gap: 10px;
		align-items: flex-start;
		text-decoration: none;
		color: var(--vg-text);
	}
	.vg-aside-list-link:hover .vg-aside-list-title {
		color: var(--vg-primary);
	}

	.vg-aside-list-thumb {
		flex: 0 0 64px;
		width: 64px;
		height: 64px;
		border-radius: 4px;
		overflow: hidden;
		background: var(--vg-border);
	}
	.vg-aside-list-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.vg-aside-list-title {
		font-family: var(--vg-font-head);
		font-size: 13px;
		line-height: 1.4;
		font-weight: 600;
		color: var(--vg-text);
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* Trending — ranked list */
	.vg-aside-list-item--ranked .vg-aside-list-link {
		gap: 12px;
		align-items: center;
	}
	.vg-aside-rank {
		flex: 0 0 28px;
		font-family: var(--vg-font-head);
		font-size: 24px;
		font-weight: 700;
		color: var(--vg-primary);
		line-height: 1;
		text-align: center;
	}


	/* ---------- ARTICLE SIDEBAR: progress ring ---------- */

	.vg-aside-progress {
		display: flex;
		align-items: center;
		gap: 12px;
		justify-content: flex-start;
	}
	.vg-aside-progress-ring {
		position: relative;
		width: 48px;
		height: 48px;
		flex-shrink: 0;
	}
	.vg-aside-progress-ring svg {
		transform: rotate(-90deg);
	}
	.vg-aside-progress-bg {
		fill: none;
		stroke: var(--vg-border);
		stroke-width: 4;
	}
	.vg-aside-progress-fg {
		fill: none;
		stroke: var(--vg-primary);
		stroke-width: 4;
		stroke-linecap: round;
		stroke-dasharray: 125.66;     /* 2 * π * 20 */
		stroke-dashoffset: 125.66;    /* starts at 0% */
		transition: stroke-dashoffset 0.18s linear;
	}
	.vg-aside-progress-pct {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 11px;
		font-weight: 700;
		color: var(--vg-primary);
		font-family: var(--vg-font-body);
	}
	.vg-aside-progress-label {
		font-size: 12px;
		color: var(--vg-meta);
		font-weight: 500;
	}


	/* ---------- ARTICLE SIDEBAR: share row ---------- */

	.vg-aside-share-row {
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
	}
	.vg-aside-share-btn {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #FFFFFF;
		transition: transform var(--vg-transition);
		text-decoration: none;
	}
	.vg-aside-share-btn:hover { transform: translateY(-2px); }
	.vg-aside-share-wa   { background: #25D366; }
	.vg-aside-share-fb   { background: #1877F2; }
	.vg-aside-share-x    { background: #1A1A1A; }
	.vg-aside-share-copy { background: #6B6B6B; }
	.vg-aside-share-copy.is-copied { background: #27AE60; }


	/* ---------- SOCIAL FOLLOW CARD ---------- */

	.vg-aside-follow-row {
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
	}
	.vg-aside-follow-btn {
		width: 34px;
		height: 34px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #FFFFFF;
		font-family: var(--vg-font-body);
		font-weight: 700;
		font-size: 13px;
		text-decoration: none;
		transition: transform var(--vg-transition);
	}
	.vg-aside-follow-btn:hover { transform: translateY(-2px); }
	.vg-aside-follow-wa { background: #25D366; }
	.vg-aside-follow-fb { background: #1877F2; }
	.vg-aside-follow-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
	.vg-aside-follow-x  { background: #1A1A1A; }
	.vg-aside-follow-tg { background: #29A6E0; }
	.vg-aside-follow-yt { background: #FF0000; }

	.vg-aside-ad { padding: 0; }
	.vg-aside-ad .vg-ad-slot { margin: 0; }
}

/* Mobile defense in depth — hide desktop-only sidebars and nav */
@media (max-width: 999px) {
	.vg-article-sidebar { display: none; }
	.vg-front-sidebar   { display: none; }
	.vg-header-nav      { display: none; }
}
/* Focus mode — hide the entire article sidebar so reading is distraction-free */
html[data-mode="focus"] .vg-article-sidebar {
	display: none !important;
}

/* In focus mode, restore article column to centered single-column layout */
html[data-mode="focus"] .vg-article-layout {
	grid-template-columns: minmax(0, 1fr);
}
html[data-mode="focus"] .vg-article-main {
	margin: 0 auto;
}
/* =========================================================
 * CONTACT US PAGE
 * ========================================================= */

.vg-contact-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 8px 0 40px;
}

.vg-contact-intro {
	font-size: 17px;
	line-height: 1.6;
	color: var(--vg-text);
	margin: 0 0 32px;
	text-align: center;
}

.vg-contact-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 28px;
}

@media (min-width: 700px) {
	.vg-contact-cards {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

.vg-contact-card {
	display: block;
	padding: 26px 22px;
	background: var(--vg-card-bg);
	border: 1px solid var(--vg-border);
	border-left: 4px solid var(--vg-primary);
	border-radius: var(--vg-radius);
	text-decoration: none !important;
	color: var(--vg-text);
	transition: transform var(--vg-transition), box-shadow var(--vg-transition), border-color var(--vg-transition);
}

.vg-contact-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--vg-shadow-hover);
	border-left-color: var(--vg-primary-dark);
	color: var(--vg-text);
}

.vg-contact-card-icon {
	font-size: 32px;
	line-height: 1;
	margin-bottom: 14px;
}

.vg-contact-card-title {
	font-family: var(--vg-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--vg-text);
	margin: 0 0 10px;
}

.vg-contact-card-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--vg-meta);
	margin: 0 0 14px;
}

.vg-contact-card-email {
	display: inline-block;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
	font-size: 14px;
	font-weight: 600;
	color: var(--vg-primary);
	border-bottom: 1px dashed var(--vg-primary);
	padding-bottom: 1px;
}

.vg-contact-card:hover .vg-contact-card-email {
	color: var(--vg-primary-dark);
	border-bottom-color: var(--vg-primary-dark);
}

.vg-contact-note {
	background: rgba(192, 57, 43, 0.04);
	border-left: 3px solid var(--vg-primary);
	padding: 14px 18px;
	border-radius: 0 var(--vg-radius) var(--vg-radius) 0;
	margin: 0 0 24px;
}

.vg-contact-note p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--vg-text);
}

.vg-contact-about {
	text-align: center;
	padding: 20px 16px;
	border-top: 1px solid var(--vg-border);
	margin-top: 12px;
}

.vg-contact-about p {
	margin: 0;
	font-size: 14px;
	font-style: italic;
	color: var(--vg-meta);
	line-height: 1.6;
}

/* Dark mode tweaks */
html[data-mode="dark"] .vg-contact-note {
	background: rgba(192, 57, 43, 0.12);
}
/* =========================================================
 * SHARE-AS-IMAGE CTA — prominent banner under Kannada Summary
 * ========================================================= */

.vg-sc-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 22px 0;
	padding: 14px 16px;
	background: linear-gradient(135deg, #8E44AD 0%, #C0392B 100%);
	color: #FFFFFF;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	font-family: var(--vg-font-body);
	box-shadow: 0 4px 16px rgba(142, 68, 173, 0.32);
	position: relative;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vg-sc-cta:hover,
.vg-sc-cta:focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(142, 68, 173, 0.5);
	outline: none;
}

.vg-sc-cta:active {
	transform: translateY(0);
}

/* Animated shine sweep — diagonal, different from WhatsApp's horizontal shimmer */
.vg-sc-cta::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -60%;
	width: 40%;
	height: 200%;
	background: linear-gradient(
		115deg,
		transparent 0%,
		rgba(255, 255, 255, 0.18) 50%,
		transparent 100%
	);
	transform: skewX(-20deg);
	animation: vgScShine 3.2s ease-in-out infinite;
	pointer-events: none;
}

@keyframes vgScShine {
	0%   { left: -60%; }
	60%  { left: 130%; }
	100% { left: 130%; }
}

/* Icon container — subtle camera "snap" animation */
.vg-sc-cta-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	animation: vgScSnap 2.6s ease-in-out infinite;
}

@keyframes vgScSnap {
	0%, 88%, 100% { transform: scale(1); }
	92%           { transform: scale(0.85); }
	95%           { transform: scale(1.08); }
}

.vg-sc-cta-icon svg {
	display: block;
}

.vg-sc-cta-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.vg-sc-cta-line1 {
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: 0.2px;
}

.vg-sc-cta-line2 {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
	margin-top: 2px;
}

.vg-sc-cta-arrow {
	flex-shrink: 0;
	font-size: 22px;
	font-weight: 600;
	color: #FFFFFF;
	transition: transform 0.18s ease;
	padding-left: 4px;
}

.vg-sc-cta:hover .vg-sc-cta-arrow {
	transform: translateX(5px);
}

/* Busy state — while share is processing */
.vg-sc-cta.is-busy {
	opacity: 0.65;
	cursor: progress;
}

.vg-sc-cta.is-busy .vg-sc-cta-icon {
	animation: vgScSpin 0.9s linear infinite;
}

@keyframes vgScSpin {
	to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
	.vg-sc-cta {
		padding: 12px 14px;
		gap: 12px;
	}
	.vg-sc-cta-icon { width: 36px; height: 36px; }
	.vg-sc-cta-line1 { font-size: 14px; }
	.vg-sc-cta-line2 { font-size: 11px; }
}
/* =========================================================
 * ABOUT US PAGE — Aged Letter / Royal Manuscript Aesthetic
 * Cohesive parchment theme with varied sectional treatments.
 * ========================================================= */

.vg-about-letter {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 20px 60px;
	font-family: var(--vg-font-body);
	color: #2C1810; /* deep ink brown */
	background:
		linear-gradient(to bottom, #FBF5E9, #F5EDD8 50%, #FBF5E9);
	border: 1px solid rgba(101, 67, 33, 0.18);
	border-radius: 2px;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.6) inset,
		0 2px 20px rgba(101, 67, 33, 0.12),
		0 0 60px rgba(101, 67, 33, 0.08);
	overflow: hidden;
}

/* Paper grain overlay (SVG noise via data URI) */
.vg-about-paper {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.25  0 0 0 0 0.1  0 0 0 0.08 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
	mix-blend-mode: multiply;
}

/* Slight torn-paper edge feel */
.vg-about-letter::before,
.vg-about-letter::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 12px;
	pointer-events: none;
}
.vg-about-letter::before {
	top: 0;
	background: linear-gradient(to bottom, rgba(101, 67, 33, 0.10), transparent);
}
.vg-about-letter::after {
	bottom: 0;
	background: linear-gradient(to top, rgba(101, 67, 33, 0.10), transparent);
}

/* ---------- HERO ---------- */
.vg-about-hero {
	position: relative;
	text-align: center;
	padding: 30px 16px 28px;
	z-index: 2;
}
.vg-about-ornament-top {
	color: #C0392B;
	opacity: 0.75;
	margin: 0 0 14px;
	line-height: 0;
}
.vg-about-ornament-top svg {
	display: inline-block;
}
.vg-about-title {
	font-family: var(--vg-font-head);
	font-size: 62px;
	font-weight: 700;
	color: #C0392B;
	margin: 0 0 10px;
	line-height: 1;
	letter-spacing: -1px;
	text-shadow: 0 1px 0 rgba(101, 67, 33, 0.12);
}
.vg-about-subtitle {
	font-family: var(--vg-font-head);
	font-size: 19px;
	font-weight: 500;
	color: #5C3317;
	margin: 0 0 22px;
	letter-spacing: 0.6px;
	font-style: italic;
}
.vg-about-flourish {
	width: 120px;
	height: 1px;
	margin: 18px auto 24px;
	background: linear-gradient(to right, transparent, rgba(139, 69, 19, 0.5) 30%, rgba(139, 69, 19, 0.5) 70%, transparent);
}
.vg-about-flourish svg { display: none; }

.vg-about-hero-text {
	font-family: var(--vg-font-head);
	font-size: 18px;
	line-height: 1.78;
	color: #3D2817;
	margin: 0;
	font-style: italic;
}

/* ---------- ORNAMENTAL DIVIDERS ---------- */
.vg-about-divider {
	position: relative;
	text-align: center;
	margin: 36px 0 30px;
	z-index: 2;
}
.vg-about-divider span {
	display: inline-block;
	background: transparent;
	padding: 0 14px;
	font-size: 22px;
	color: #8B4513;
	opacity: 0.6;
	position: relative;
	z-index: 2;
}
.vg-about-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 20%;
	right: 20%;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(139, 69, 19, 0.4) 30%, rgba(139, 69, 19, 0.4) 70%, transparent);
}

/* Torn page divider — different feel */
.vg-about-divider--torn {
	height: 22px;
	margin: 40px -20px 30px;
}
.vg-about-divider--torn::before {
	left: 0;
	right: 0;
	top: 50%;
	height: 8px;
	background:
		linear-gradient(to right, transparent, rgba(101, 67, 33, 0.25) 20%, rgba(101, 67, 33, 0.35) 50%, rgba(101, 67, 33, 0.25) 80%, transparent);
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'><path d='M0,4 L5,2 L10,5 L15,3 L20,6 L25,2 L30,4 L35,5 L40,2 L45,5 L50,3 L55,6 L60,2 L65,4 L70,5 L75,3 L80,5 L85,2 L90,4 L95,5 L100,3 L100,8 L0,8 Z' fill='black'/></svg>");
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'><path d='M0,4 L5,2 L10,5 L15,3 L20,6 L25,2 L30,4 L35,5 L40,2 L45,5 L50,3 L55,6 L60,2 L65,4 L70,5 L75,3 L80,5 L85,2 L90,4 L95,5 L100,3 L100,8 L0,8 Z' fill='black'/></svg>");
}
.vg-about-divider--torn span { display: none; }

/* ---------- CONTENT SECTIONS ---------- */
.vg-about-section {
	position: relative;
	margin: 30px 0;
	z-index: 2;
}
.vg-about-section-label {
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #C0392B;
	margin: 0 0 18px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(192, 57, 43, 0.5);
	display: inline-block;
}
.vg-about-section p {
	font-family: var(--vg-font-head);
	font-size: 17px;
	line-height: 1.85;
	color: #2C1810;
	margin: 0 0 18px;
}
.vg-about-section p:last-child { margin-bottom: 0; }

/* ---------- SECTION 1: CHAPTER (drop cap) ---------- */
.vg-about-with-dropcap {
	clear: both;
}
.vg-about-dropcap {
	float: left;
	font-family: var(--vg-font-head);
	font-size: 64px;
	line-height: 0.85;
	font-weight: 700;
	color: #C0392B;
	margin: 6px 12px 0 0;
	padding-right: 4px;
	text-shadow: 1px 1px 0 rgba(101, 67, 33, 0.15);
}

/* ---------- SECTION 2: JOURNAL (date stamp) ---------- */
.vg-about-section--journal {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 20px;
	align-items: start;
}
.vg-about-datestamp {
	background: linear-gradient(135deg, #FAF0DC, #F0DFB8);
	border: 1.5px solid #8B4513;
	border-radius: 4px;
	padding: 10px 6px;
	text-align: center;
	font-family: 'Georgia', serif;
	color: #5C3317;
	box-shadow: 0 2px 0 rgba(101, 67, 33, 0.15);
	transform: rotate(-3deg);
	margin-top: 6px;
}
.vg-about-datestamp-month {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.2px;
	color: #C0392B;
	margin-bottom: 2px;
}
.vg-about-datestamp-day {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* ---------- SECTION 3: MILESTONE (postmark) ---------- */
.vg-about-section--milestone {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
	align-items: start;
}
.vg-about-postmark {
	width: 110px;
	height: 110px;
	border: 2.5px double #C0392B;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	transform: rotate(-8deg);
	opacity: 0.85;
	box-shadow: inset 0 0 0 1px rgba(192, 57, 43, 0.2);
}
.vg-about-postmark-inner {
	text-align: center;
	font-family: 'Georgia', serif;
	color: #C0392B;
}
.vg-about-postmark-top,
.vg-about-postmark-bot {
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.vg-about-postmark-center {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	margin: 4px 0;
}
.vg-about-postmark-center span {
	font-size: 9px;
	letter-spacing: 1.5px;
}

/* ---------- SECTION 4: PAUSE (somber) ---------- */
.vg-about-section--pause {
	filter: saturate(0.85);
}
.vg-about-section--pause p {
	color: #3D2817;
	font-style: normal;
}
.vg-about-section--pause .vg-about-section-label {
	color: #6E2A1F;
	border-bottom-color: rgba(110, 42, 31, 0.5);
}

/* ---------- SECTION 5: RETURN (warmer) ---------- */
.vg-about-section--return {
	position: relative;
}
.vg-about-section--return::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(to bottom, transparent, rgba(192, 57, 43, 0.35) 50%, transparent);
	border-radius: 3px;
}
.vg-about-section--return .vg-about-section-label {
	color: #C0392B;
	font-weight: 700;
}

/* ---------- SECTION 6: ANONYMOUS ---------- */
.vg-about-section--anon p {
	font-style: italic;
	color: #5C3317;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	font-size: 17.5px;
}
.vg-about-section--anon .vg-about-section-label {
	display: block;
	text-align: center;
	margin: 0 auto 18px;
	border-bottom: none;
	position: relative;
	padding-bottom: 12px;
}
.vg-about-section--anon .vg-about-section-label::after {
	content: "❦";
	position: absolute;
	bottom: -4px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 14px;
	color: #8B4513;
	opacity: 0.6;
}

/* ---------- PLEDGE CARD ---------- */
.vg-about-pledge {
	position: relative;
	background:
		linear-gradient(135deg, #FAF0DC, #F5E5C8);
	border: 1.5px solid rgba(192, 57, 43, 0.4);
	border-radius: 4px;
	padding: 32px 28px 80px;
	margin: 48px 0 28px;
	box-shadow:
		0 2px 0 rgba(101, 67, 33, 0.1),
		0 6px 18px rgba(192, 57, 43, 0.1);
	z-index: 2;
}
/* Decorative corners */
.vg-about-pledge-corner {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 2px solid #C0392B;
	opacity: 0.7;
}
.vg-about-pledge-corner--tl { top: 8px; left: 8px;  border-right: none; border-bottom: none; }
.vg-about-pledge-corner--tr { top: 8px; right: 8px; border-left:  none; border-bottom: none; }
.vg-about-pledge-corner--bl { bottom: 8px; left: 8px;  border-right: none; border-top: none; }
.vg-about-pledge-corner--br { bottom: 8px; right: 8px; border-left:  none; border-top: none; }

.vg-about-pledge-label {
	font-family: 'Georgia', serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.4px;
	color: #C0392B;
	margin: 0 0 22px;
	padding-bottom: 10px;
	border-bottom: 1.5px solid rgba(192, 57, 43, 0.5);
	display: inline-block;
}
.vg-about-pledge-intro,
.vg-about-pledge-closing {
	font-family: var(--vg-font-head);
	font-size: 17px;
	line-height: 1.6;
	color: #2C1810;
	margin: 0 0 14px;
	font-weight: 600;
}
.vg-about-pledge-closing {
	margin-top: 20px;
	font-style: italic;
	color: #5C3317;
}
.vg-about-pledge-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.vg-about-pledge-list li {
	font-family: var(--vg-font-head);
	font-size: 16.5px;
	line-height: 1.7;
	color: #2C1810;
	padding: 14px 0 14px 32px;
	position: relative;
	border-bottom: 1px dashed rgba(192, 57, 43, 0.3);
}
.vg-about-pledge-list li:last-child { border-bottom: none; }
.vg-about-pledge-list li::before {
	content: "❖";
	position: absolute;
	left: 0;
	top: 13px;
	color: #C0392B;
	font-size: 18px;
}

/* WAX SEAL */
.vg-about-seal {
	position: absolute;
	bottom: -32px;
	right: 24px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #E55A4A, #8B1A0F 70%);
	box-shadow:
		0 4px 12px rgba(139, 26, 15, 0.45),
		inset 0 -3px 0 rgba(0,0,0,0.18),
		inset 0 2px 3px rgba(255,255,255,0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(-12deg);
	z-index: 3;
}
.vg-about-seal-inner {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 240, 220, 0.55);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.vg-about-seal-name {
	font-family: var(--vg-font-head);
	font-size: 13px;
	font-weight: 700;
	color: #FBF5E9;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
	line-height: 1;
	letter-spacing: 0.3px;
}
.vg-about-seal-year {
	font-family: 'Georgia', serif;
	font-size: 10px;
	font-weight: 700;
	color: rgba(251, 245, 233, 0.85);
	letter-spacing: 1.2px;
	margin-top: 1px;
}
/* ---------- SIGNATURE ---------- */
.vg-about-signature-wrap {
	position: relative;
	text-align: right;
	margin: 56px 24px 8px auto;
	padding-right: 16px;
	z-index: 2;
}
.vg-about-signature-from {
	font-family: 'Georgia', serif;
	font-size: 17px;
	color: #5C3317;
	margin: 0 0 8px;
	font-style: italic;
	opacity: 0.8;
}
.vg-about-signature-line {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 6px;
}
.vg-about-signature-text {
	font-family: var(--vg-font-head);
	font-size: 36px;
	font-weight: 700;
	color: #1F1207; /* deep ink, near black-brown */
	letter-spacing: -0.5px;
	transform: rotate(-3deg);
	display: inline-block;
	text-shadow:
		1px 1px 0 rgba(31, 18, 7, 0.04),
		0 0 2px rgba(31, 18, 7, 0.18);

	/* Pen-draw reveal — animated by JS */
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1.6s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.vg-about-signature-wrap.is-drawn .vg-about-signature-text {
	clip-path: inset(0 0 0 0);
}

/* Pen icon — animated alongside the text */
.vg-about-pen {
	opacity: 0;
	transform: translateX(-180px) rotate(-15deg);
	transition: opacity 0.3s ease, transform 1.6s cubic-bezier(0.65, 0.05, 0.36, 1);
	filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}
.vg-about-signature-wrap.is-drawn .vg-about-pen {
	opacity: 1;
	transform: translateX(0) rotate(-15deg);
}
.vg-about-signature-wrap.is-drawn.is-done .vg-about-pen {
	transition: transform 0.4s ease 0.2s, opacity 0.4s ease 1.4s;
	transform: translateX(8px) rotate(-8deg);
	opacity: 0.85;
}

/* Underline stroke that "draws" beneath the signature */
.vg-about-signature-stroke {
	display: block;
	width: 0;
	height: 2px;
	background: linear-gradient(to right, transparent, #1F1207 20%, #1F1207 80%, transparent);
	margin: 4px 0 0 auto;
	max-width: 220px;
	transition: width 1.4s cubic-bezier(0.65, 0.05, 0.36, 1) 0.4s;
	opacity: 0.55;
}
.vg-about-signature-wrap.is-drawn .vg-about-signature-stroke {
	width: 220px;
}

/* ---------- DARK MODE TWEAKS ---------- */
html[data-mode="dark"] .vg-about-letter {
	background: linear-gradient(to bottom, #2A1F12, #1F1610 50%, #2A1F12);
	border-color: rgba(192, 145, 87, 0.2);
	color: #E8D9B8;
}
html[data-mode="dark"] .vg-about-paper { opacity: 0.18; }
html[data-mode="dark"] .vg-about-title { color: #E55A4A; }
html[data-mode="dark"] .vg-about-subtitle,
html[data-mode="dark"] .vg-about-pledge-closing,
html[data-mode="dark"] .vg-about-signature-from { color: #C9A876; }
html[data-mode="dark"] .vg-about-section p,
html[data-mode="dark"] .vg-about-pledge-list li,
html[data-mode="dark"] .vg-about-pledge-intro { color: #E8D9B8; }
html[data-mode="dark"] .vg-about-section--pause p { color: #C9B895; }
html[data-mode="dark"] .vg-about-section-label,
html[data-mode="dark"] .vg-about-pledge-label,
html[data-mode="dark"] .vg-about-dropcap { color: #E55A4A; }
html[data-mode="dark"] .vg-about-pledge {
	background: linear-gradient(135deg, #382B1C, #2D2218);
	border-color: rgba(229, 90, 74, 0.4);
}
html[data-mode="dark"] .vg-about-signature-text { color: #F5E8C8; }
html[data-mode="dark"] .vg-about-signature-stroke {
	background: linear-gradient(to right, transparent, #F5E8C8 20%, #F5E8C8 80%, transparent);
}
html[data-mode="dark"] .vg-about-datestamp {
	background: linear-gradient(135deg, #3A2E1C, #2D2218);
	color: #E8D9B8;
}
html[data-mode="dark"] .vg-about-datestamp-month { color: #E55A4A; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
	.vg-about-letter { padding: 16px 14px 40px; margin: 0 8px; }

	.vg-about-title { font-size: 44px; }
	.vg-about-subtitle { font-size: 16px; }
	.vg-about-hero-text { font-size: 16px; line-height: 1.75; }

	.vg-about-section { margin: 24px 0; }
	.vg-about-section p { font-size: 16px; line-height: 1.78; }
	.vg-about-section-label { font-size: 11.5px; letter-spacing: 1.6px; }

	.vg-about-dropcap { font-size: 52px; line-height: 0.9; margin: 4px 8px 0 0; }

	/* Section 2: stack date stamp above body */
	.vg-about-section--journal {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.vg-about-datestamp {
		width: 76px;
		margin: 0 0 6px;
	}

	/* Section 3: stack postmark above body */
	.vg-about-section--milestone {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.vg-about-postmark {
		width: 96px;
		height: 96px;
		margin: 0 0 6px;
	}

	.vg-about-pledge { padding: 24px 18px 70px; }
	.vg-about-pledge-list li { font-size: 15.5px; padding: 12px 0 12px 28px; }
    .vg-about-seal { width: 80px; height: 80px; right: 16px; bottom: -28px; }
	.vg-about-seal-inner { width: 66px; height: 66px; }
	.vg-about-seal-name { font-size: 11px; }
	.vg-about-seal-year { font-size: 9px; letter-spacing: 1px; }
	.vg-about-signature-text { font-size: 30px; }
	.vg-about-signature-stroke { max-width: 180px; }
	.vg-about-signature-wrap.is-drawn .vg-about-signature-stroke { width: 180px; }

	.vg-about-divider--torn { margin: 32px -14px 26px; }
}

/* =========================================================
 * VARADIGARA INTRO BANNER — after every article
 * ========================================================= */

.vg-about-banner {
	margin: 32px 0;
	padding: 24px 20px;
	background: #FBF5E9;
	border-top: 1.5px solid var(--vg-primary) !important;
	border-right: 1.5px solid var(--vg-primary) !important;
	border-bottom: 1.5px solid var(--vg-primary) !important;
	border-left: 1.5px solid var(--vg-primary) !important;
	border-radius: 10px;
	box-sizing: border-box;
}

.vg-about-banner-label {
	font-family: var(--vg-font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--vg-primary);
	margin: 0 0 14px;
}

.vg-about-banner-text {
	font-family: var(--vg-font-head);
	font-size: 16px;
	line-height: 1.85;
	color: #3D2817;
	margin: 0 0 20px;
}

.vg-about-banner-btn {
	display: inline-block;
	background: var(--vg-primary);
	color: #FFFFFF;
	padding: 11px 22px;
	border-radius: 6px;
	font-family: var(--vg-font-body);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.18s ease;
}

.vg-about-banner-btn:hover {
	opacity: 0.88;
	color: #FFFFFF;
	text-decoration: none;
}

/* Dark mode adjustment */
html[data-mode="dark"] .vg-about-banner {
	background: rgba(251, 245, 233, 0.06);
	border-color: var(--vg-primary);
}

html[data-mode="dark"] .vg-about-banner-text {
	color: var(--vg-text);
}