/*
Theme Name: KailashPress
Theme URI:
Author: Kailash
Author URI:
Description: Custom WordPress news theme for the Jandrishti news website. Original HTML/CSS design preserved while WordPress handles the content dynamically.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kailashpress
*/

/* Google Fonts are loaded from functions.php (non-blocking, with preconnect). */

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { text-decoration: none; color: inherit; }
ul,ol {
    list-style:none;
}
main ul,main ol {
    padding: 0 0 0 24px;
    margin: 0;
	list-style:square;
	color:var(--text-primary);
}

/* =========================================================
   ROOT / VARIABLES
   ========================================================= */
:root {
  --brand-primary: #b91c1c;
  --brand-dark: #7f1d1d;
  --brand-accent: #dc2626;
  --brand-light: #fef2f2;

  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #767676;

  --background: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f5f5f5;
  --surface-dark: #1a1a1a;

  --border: #e2e2e2;
  --border-strong: #c8c8c8;

  --breaking: #dc2626;
  --live: #e11d48;
  --success: #15803d;
  --warning: #b45309;
  --error: #dc2626;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);

  --header-h-mobile: 56px;
  --header-h-desktop: 64px;
}

html.dark {
  --brand-primary: #ef4444;
  --brand-dark: #b91c1c;
  --brand-accent: #f87171;
  --brand-light: #450a0a;

  --text-primary: #f0f0f0;
  --text-secondary: #b8b8b8;
  --text-muted: #888888;

  --background: #0f0f0f;
  --surface: #1a1a1a;
  --surface-muted: #242424;
  --surface-dark: #0a0a0a;

  --border: #2a2a2a;
  --border-strong: #3a3a3a;

  --breaking: #ef4444;
  --live: #f43f5e;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
}

/* =========================================================
   GLOBAL
   ========================================================= */
body {
  background-color: var(--background);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 1 auto; }

::selection { background: var(--brand-primary); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface-muted); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.container-news { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: 14px; padding-right: 14px; }
@media (min-width: 768px) { .container-news { padding-left: 24px; padding-right: 24px; } }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.text-balance { text-wrap: balance; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.tap-target { min-height: 32px; min-width: 32px; display: inline-flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
button.icon-btn.hamburger-btn.tap-target {width: 18px;min-width: 18px;}

/* language visibility: default lang = hi */
/* [data-en] { display: none; } */
html[lang="en"] [data-hi] { display: none; }
html[lang="en"] [data-en] { display: inline; }
html[lang="en"] [data-en].block-el { display: block; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; transition: transform .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }

.utility-bar { background: var(--surface-dark); font-size: 12px; display: none; }
@media (min-width: 768px) { .utility-bar { display: block; }.tap-target { min-height: 40px; min-width: 40px;} }
.utility-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 32px;padding-top: 3px; }
.utility-date { color: #fff; }
.utility-links { display: flex; align-items: center; gap: 16px; }
.utility-link { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.utility-link:hover { color: var(--brand-accent); }

.header-main { background: var(--surface); border-bottom: 1px solid var(--border); transition: box-shadow .2s ease; }
.site-header.is-scrolled .header-main { box-shadow: var(--shadow-md); }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h-mobile); }
@media (min-width: 768px) { .header-main-inner { height: var(--header-h-desktop); } }

.header-left { display: flex; align-items: center; gap: 8px; }
.hamburger-btn { display: flex; }
@media (min-width: 768px) { .hamburger-btn { display: none; } }

.brand-logo { display: flex; align-items: center; gap: 5px; }
.brand-mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 3px; font-weight: 800; color: #fff; font-size: 18px; font-family: 'Source Serif 4', serif; }
@media (min-width: 768px) { .brand-mark { width: 36px; height: 36px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--text-primary);font-family:'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif;line-height:1; }
@media (min-width: 768px) { .brand-name { font-size: 18px; } }
.brand-suffix { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--brand-primary); }

.header-search { flex: 1; max-width: 448px; display: none; }
@media (min-width: 768px) { .header-search { display: block; } }
.header-search-btn { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface-muted); color: var(--text-muted); font-size: 14px; }
.header-search-btn:hover { background: var(--border); }

.header-right { display: flex; align-items: center; gap: 4px; }
@media (min-width: 768px) { .header-right { gap: 8px; } }
.icon-btn { position: relative; color: var(--text-primary); }
.mobile-search-btn { display: flex; }
@media (min-width: 768px) { .mobile-search-btn { display: none; } }
.live-pill { display: none; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--live); color: #fff; }
@media (min-width: 640px) { .live-pill { display: flex; } }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse-live 1.4s ease-in-out infinite; }
.notif-dot { position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); }
.theme-switcher-desktop {position: relative;display: flex;align-items: center;justify-content: center;padding-right: 5px;padding-bottom: 2px;}
@media (min-width: 768px) { .theme-switcher-desktop { display: block; } }
@media (max-width: 400px) { .theme-switcher-desktop { display: none; } }
.lang-btn, .login-btn { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 8px; border-radius: 3px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--text-primary); }
.lang-btn span, .login-btn span { display: none; }
@media (min-width: 640px) { .lang-btn span, .login-btn span { display: inline; } }

.theme-menu { position: absolute; right: 0; top: 100%; margin-top: 4px; width: 128px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 50; display: none; overflow: hidden; }
.theme-menu.open { display: block; }
.theme-menu button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; color: var(--text-secondary); }
.theme-menu button:hover { background: var(--surface-muted); }
.theme-menu button.active { color: var(--brand-primary); font-weight: 600; }

/* Primary nav + mega menu */
.primary-nav { background: var(--surface); border-bottom: 1px solid var(--border); display: none; }
@media (min-width: 768px) { .primary-nav { display: block; } }
.primary-nav-list { display: flex; align-items: center; height: 44px; overflow-x: auto; }
.primary-nav-list li { position: relative; }
.primary-nav-link { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--text-primary); }
.primary-nav-link.active, .primary-nav-link:hover, .nav-item.mega-open > .primary-nav-link { border-color: var(--brand-primary); color: var(--brand-primary); }
.chev { width: 12px; height: 12px; opacity: .5; transition: transform .15s ease; }
.nav-item.mega-open .chev { transform: rotate(180deg); }

.mega-menu { position: fixed; left: 0; right: 0; top: calc(32px + var(--header-h-desktop) + 45px); z-index: 49; background: var(--surface); box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: none; }
.mega-menu.open { display: block; animation: slide-down .15s ease; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 20px 0; }
.mega-col-info { grid-column: span 12; }
@media (min-width: 768px) { .mega-col-info { grid-column: span 3; } }
@media (min-width: 1024px) { .mega-col-info { grid-column: span 2; } }
.mega-col-info h3 { font-size: 16px; margin-bottom: 4px; color: var(--brand-primary); }
.mega-col-info > p { font-size: 12px; line-height: 1.4; color: var(--text-muted); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.mega-sub-list a { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; font-size: 14px; border-radius: 3px; color: var(--text-secondary); }
.mega-sub-list a:hover { background: var(--surface-muted); }
.mega-sub-list a span { display: inline-flex; opacity: 0; transition: opacity .15s ease; color: var(--brand-primary); }
.mega-sub-list a:hover span { opacity: 1; }
.mega-col-stories { grid-column: span 12; }
@media (min-width: 768px) { .mega-col-stories { grid-column: span 6; } }
@media (min-width: 1024px) { .mega-col-stories { grid-column: span 7; } }
.mega-col-stories h4, .mega-col-info + * h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 12px; }
.mega-stories-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .mega-stories-grid { grid-template-columns: 1fr 1fr; } }
.mega-story { display: flex; gap: 12px; padding: 8px; border-radius: 3px; text-align: left; }
.mega-story:hover { background: var(--surface-muted); }
.mega-story img { width: 80px; height: 80px; flex-shrink: 0; object-fit: cover; border-radius: 3px; }
.mega-story h5 { font-size: 12px; line-height: 1.3; color: var(--text-primary); }
.mega-story span { font-size: 10px; color: var(--text-muted); display: block; margin-top: 4px; }
.mega-empty { font-size: 12px; color: var(--text-muted); }
.mega-col-promo { grid-column: span 12; }
@media (min-width: 768px) { .mega-col-promo { grid-column: span 3; } }
.mega-promo-card { background: var(--surface-muted); border: 1px solid var(--border); border-radius: 5px; padding: 16px; }
.mega-promo-card h4 { font-size: 14px; color: var(--brand-primary); margin-bottom: 4px; }
.mega-promo-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 12px; }
.mega-view-all { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; padding: 10px; border-radius: 3px; font-size: 14px; font-weight: 700; border: 1px solid var(--brand-primary); color: var(--brand-primary); }
.mega-view-all:hover { background: var(--surface-muted); }

/* Trending bar */
.trending-bar { background: var(--surface-muted); border-bottom: 1px solid var(--border); display: none; }
@media (min-width: 1024px) { .trending-bar { display: block; } }
.trending-bar-inner { display: flex; align-items: center; gap: 12px; height: 36px; overflow: hidden; }
.trending-label { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: var(--brand-primary); }
.trending-items { display: flex; align-items: center; gap: 16px; overflow-x: auto; }
.trending-items a { font-size: 12px; white-space: nowrap; font-weight: 500; color: var(--text-secondary); }
.trending-items a:hover { color: var(--brand-primary); }

/* Breaking ticker */
.breaking-ticker { display: flex; align-items: center; overflow: hidden; background: var(--brand-dark); color: #fff; }
.breaking-label { display: flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 6px 12px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.breaking-label .live-dot { background: #fff; }
.breaking-track-wrap { flex: 1; overflow: hidden; position: relative; }
.breaking-track { display: flex; align-items: center; gap: 32px; white-space: nowrap; font-size: 14px; animation: ticker 30s linear infinite; }
.breaking-track.paused { animation-play-state: paused; }
.breaking-track a { color: rgba(255,255,255,.9); }
.breaking-track a:hover { color: #fff; }
.breaking-track a span { color: rgba(255,255,255,.5); margin-left: 8px; font-size: 12px; }
.ticker-toggle { flex-shrink: 0; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.ticker-toggle:hover { background: rgba(0,0,0,.2); }

/* Mobile drawer */
.mobile-drawer-overlay { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-drawer-overlay.open { display: block; }
@media (min-width: 768px) { .mobile-drawer-overlay { display: none !important; } }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: fade-in .2s ease; }
.mobile-drawer { position: absolute; left: 0; top: 0; bottom: 0; width: 85%; max-width: 360px; overflow-y: auto; background: var(--surface); animation: slide-in-left .2s ease; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 56px; border-bottom: 1px solid var(--border); }
.mobile-drawer-head .brand-logo .brand-name { font-size: 16px; }
.mobile-drawer nav { padding: 8px 0; }
.mobile-nav-link, .mobile-cat-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--text-primary); text-align: left; }
.mobile-cat-toggle { justify-content: space-between; }
.mobile-nav-link:hover, .mobile-cat-toggle:hover { background: var(--surface-muted); }
.mobile-cat-toggle svg.chev { transition: transform .15s ease; }
.mobile-cat-item.open .chev { transform: rotate(180deg); }
.mobile-cat-sub { display: none; background: var(--surface-muted); padding-bottom: 8px; }
.mobile-cat-item.open .mobile-cat-sub { display: block; }
.mobile-cat-sub a { display: block; padding: 8px 16px 8px 32px; font-size: 12px; color: var(--text-secondary); }
.mobile-drawer-utils { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.mobile-theme-block { border-top: 1px solid var(--border); margin-top: 8px; padding: 12px 16px; }
.mobile-theme-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-theme-row span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.mobile-theme-options { display: flex; gap: 8px; }
.mobile-theme-options button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; font-size: 12px; border-radius: 3px; border: 1px solid var(--border); color: var(--text-secondary); }
.mobile-theme-options button.active { border-color: var(--brand-primary); background: var(--brand-light); color: var(--brand-primary); }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 70; display: none; }
.search-overlay.open { display: block; }
.search-overlay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: fade-in .2s ease; }
.search-overlay-panel { position: absolute; top: 0; left: 0; right: 0; max-height: 80vh; overflow-y: auto; background: var(--surface); animation: slide-down .2s ease; }
.search-overlay-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border: 1px solid #00000021;
    border-radius: 5px;
    padding-left: 15px;
}
.search-overlay-form input { flex: 1; background: transparent; outline: none; font-size: 16px; color: var(--text-primary);border:none; }
.search-overlay-head { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.search-chip-group h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; color: var(--text-muted); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.search-chip { padding: 6px 12px; border-radius: 3px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); color: var(--text-secondary); }
.search-chip:hover { background: var(--surface-muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--surface-dark); border-top: 1px solid var(--border); margin-top: 48px; color: #a0a0a0; }
.footer-promo { border-bottom: 1px solid #2a2a2a; padding: 20px 0; }
.footer-promo-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; text-align: center; }
@media (min-width: 768px) { .footer-promo-inner { flex-direction: row; text-align: left; } }
.footer-promo-left { display: flex; align-items: center; gap: 12px; }
.footer-promo-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: var(--brand-primary); color: #fff; }
.footer-promo-left h3 { font-size: 16px; color: var(--text-primary); }
.footer-promo-left p { font-size: 12px;line-height:1.75; }
.footer-promo-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-primary); white-space: nowrap; }
.footer-promo-btn:hover { transform: scale(1.05); }
.footer-promo-btn.full-center { width: 100%; justify-content: center; }

.footer-newsletter { border-bottom: 1px solid #2a2a2a; padding: 24px 0; }
.footer-newsletter-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (min-width: 768px) { .footer-newsletter-inner { flex-direction: row; } }
.footer-newsletter-text { flex: 1; }
.footer-newsletter-text h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.footer-newsletter-text p { font-size: 14px; }
.footer-newsletter-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
@media (min-width: 640px) { .footer-newsletter-form { flex-direction: row; width: auto; } }
.footer-newsletter-input { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 3px; border: 1px solid #3a3a3a; background: #1a1a1a; }
@media (min-width: 640px) { .footer-newsletter-input { width: 256px; } }
.footer-newsletter-input input { flex: 1; background: transparent; outline: none; font-size: 14px; color: #fff; min-width: 0; }
.footer-newsletter-submit { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-primary); white-space: nowrap; }

.footer-main { padding: 40px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-brand-col { grid-column: span 2; }
@media (min-width: 640px) { .footer-brand-col { grid-column: span 4; } }
@media (min-width: 1024px) { .footer-brand-col { grid-column: span 2; } }
.footer-brand-row { display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.footer-brand-row .brand-name { font-size: 18px; color: #fff; }
.footer-brand-row .brand-suffix { color: var(--brand-accent); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; max-width: 320px; }
.footer-apps-label { font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; color: #707070; }
.footer-apps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-app-btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 3px; border: 1px solid #333; }
.footer-app-btn:hover { border-color: var(--brand-accent); }
.footer-app-btn .line1 { font-size: 9px; color: #707070; }
.footer-app-btn .line2 { font-size: 12px; font-weight: 700; color: #fff; }
.footer-social { display: flex; align-items: center; gap: 8px; }
.footer-social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 3px; border: 1px solid #333; color: #a0a0a0; }
.footer-social a:hover { transform: scale(1.1); }
.footer-col h3 { font-size: 13px; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--brand-accent); }

.footer-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid #2a2a2a; }
.footer-contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .footer-contact-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-contact-icon { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: rgba(239,68,68,.15); color: var(--brand-accent); }
.footer-contact-item a:hover { color: var(--brand-accent); }

.footer-bottom { border-top: 1px solid #2a2a2a; padding: 16px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }
.footer-bottom-inner p { font-size: 12px; color: #707070; }
.footer-legal-links { display: flex; align-items: center; gap: 16px; }
.footer-legal-links a { font-size: 12px; color: #707070; }
.footer-legal-links a:hover { color: var(--brand-accent); }

/* =========================================================
   TRENDING / BADGES
   ========================================================= */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 3px; line-height: 1.4; }
.badge-breaking { background: var(--breaking); color: #fff; }
.badge-live { background: var(--live); color: #fff; }
.badge-category { background: var(--brand-light); color: var(--brand-primary); }
html.dark .badge-category { background: rgba(239,68,68,.15); color: var(--brand-accent); }
.badge-exclusive { background: #1e293b; color: #fff; }
.badge-opinion { background: #4338ca; color: #fff; }
.badge-explainer { background: #0e7490; color: #fff; }
.badge-factcheck { background: #92400e; color: #fff; }
.badge-success { background: var(--success); color: #fff; }

/* =========================================================
   SECTION / CARD
   ========================================================= */
.section { padding: 16px 14px; }
@media (min-width: 768px) { .section { padding: 24px; } }
@media (max-width: 767px) {.section,.container-news {padding-left: 14px;padding-right: 14px;}
    .section:has(.container-news) {padding-left: 0;padding-right: 0;}
}
.section-muted { background: var(--surface-muted); }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.section-title { font-family: 'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
@media (min-width: 768px) { .section-title { font-size: 28px; } }
.section-title::before { content: ''; display: inline-block; width: 4px; height: 24px; background: var(--brand-primary); border-radius: 2px; flex-shrink: 0; }
.section-title-row .section-title { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.section-link { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--brand-primary); white-space: nowrap;padding-right:5px; }
.section-link:hover { text-decoration: underline; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; transition: box-shadow .2s ease; }
.card-hover:hover { box-shadow: var(--shadow-md); }
.card-pad { padding: 16px; }

/* News card variants */
.news-card { display: block; }
.news-card-img-wrap { position: relative; overflow: hidden; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover img { transform: scale(1.05); }

.card-hero .news-card-img-wrap { aspect-ratio: 16/9; }
.card-hero .grad-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.3) 55%, transparent); }
.card-hero .hero-badges { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 8px; }
.card-hero .hero-bookmark { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: rgba(0,0,0,.4); }
.card-hero .hero-bookmark:hover { background: rgba(0,0,0,.6); }
.card-hero .hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; }
@media (min-width: 768px) { .card-hero .hero-content { padding: 24px; } }
.card-hero .hero-content h2 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; color: #fff; }
@media (min-width: 768px) { .card-hero .hero-content h2 { font-size: 28px; } }
@media (min-width: 1024px) { .card-hero .hero-content h2 { font-size: 32px; } }
.card-hero .hero-sub { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 12px; display: none; }
@media (min-width: 768px) { .card-hero .hero-sub { display: block; } }
.card-hero .hero-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,.6); }

.card-compact { display: flex; gap: 12px; align-items: flex-start; }
.card-compact .news-card-img-wrap { width: 80px; height: 80px; flex-shrink: 0; border-radius: 3px; }
@media (min-width: 768px) { .card-compact .news-card-img-wrap { width: 96px; height: 96px; } }
.card-compact .compact-body { flex: 1; min-width: 0; }
.card-compact h3 { font-size: 13px; line-height: 1.35; }
.card-compact:hover h3 { color: var(--brand-primary); }
.card-compact .compact-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.compact-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--brand-primary); }

.card-standard .news-card-img-wrap { aspect-ratio: 16/9; }
.card-standard .std-bookmark { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .2s ease; }
.card-standard:hover .std-bookmark { opacity: 1; }
.card-standard .std-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; }
.card-standard .std-body { padding: 12px; }
@media (min-width: 768px) { .card-standard .std-body { padding: 16px; } }
.card-standard .std-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-primary); display: block; margin-bottom: 6px; }
.card-standard h3 { font-size: 14px; line-height: 1.35; margin-bottom: 8px; }
@media (min-width: 768px) { .card-standard h3 { font-size: 16px; } }
.card-standard:hover h3 { color: var(--brand-primary); }
.card-standard .std-excerpt { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
@media (min-width: 768px) { .card-standard .std-excerpt { font-size: 14px; } }
.card-standard .std-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); }

.card-horizontal { display: flex; flex-direction: column; }
@media (min-width: 640px) { .card-horizontal { flex-direction: row; } }
.card-horizontal .news-card-img-wrap { aspect-ratio: 16/9; flex-shrink: 0; }
@media (min-width: 640px) { .card-horizontal .news-card-img-wrap { width: 40%; aspect-ratio: auto; } }
.card-horizontal .hz-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; }
.card-horizontal .hz-body { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card-horizontal .hz-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-primary); margin-bottom: 6px; display: block; }
.card-horizontal h3 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }
@media (min-width: 768px) { .card-horizontal h3 { font-size: 18px; } }
.card-horizontal:hover h3 { color: var(--brand-primary); }
.card-horizontal .hz-excerpt { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.card-horizontal .hz-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }

.card-list { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.card-list:last-child { border-bottom: none; }
.card-list .list-body { flex: 1; min-width: 0; }
.list-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-primary); display: block; margin-bottom: 4px; }
.card-list h3 { font-size: 13px; line-height: 1.35; margin-bottom: 4px; }
.card-list:hover h3 { color: var(--brand-primary); }
.card-list .list-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); }
.card-list .news-card-img-wrap { width: 64px; height: 64px; flex-shrink: 0; border-radius: 3px; }
@media (min-width: 768px) { .card-list .news-card-img-wrap { width: 80px; height: 80px; } }

.card-video .news-card-img-wrap, .video-tile .news-card-img-wrap { aspect-ratio: 16/9; }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.video-tile:hover .play-circle, .card-video:hover .play-circle, .featured-video:hover .play-circle { background: var(--brand-primary); }
.play-circle.sm { width: 40px; height: 40px; }
.play-circle.xs { width: 32px; height: 32px; }
.play-circle.lg { width: 64px; height: 64px; }
.video-duration { position: absolute; bottom: 8px; right: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 3px; }
.video-tile .std-body, .card-video .std-body { padding: 10px; }
.video-tile h3, .card-video h3 { font-size: 14px; line-height: 1.35; }
.video-tile:hover h3, .card-video:hover h3 { color: var(--brand-primary); }
.video-tile .std-meta, .card-video .std-meta { margin-top: 6px; }

.photo-tile { position: relative; overflow: hidden; border-radius: 3px; }
.photo-tile .news-card-img-wrap { aspect-ratio: 4/3; }
.photo-tile .grad-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); }
.photo-tile .photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; }
.photo-tile .photo-caption h3, .photo-tile .photo-caption p { color: #fff; font-size: 12px; line-height: 1.35; }

/* Grids used across pages */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4-photo { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-4-photo { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4-photo { grid-template-columns: repeat(6, 1fr); } }
.grid-4-video { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .grid-4-video { grid-template-columns: repeat(4, 1fr); } }
.grid-hero { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-hero { grid-template-columns: 2fr 1fr; } }
.grid-sidebar { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-sidebar { grid-template-columns: repeat(12, 1fr); } }
.col-main { grid-column: 1 / -1; }
@media (min-width: 1024px) { .col-main { grid-column: span 8; } }
.col-side { grid-column: 1 / -1; margin-top: 24px; }
@media (min-width: 1024px) { .col-side { grid-column: span 4; margin-top: 0; } }
.col-side-sticky { position: static; }
@media (min-width: 1024px) { .col-side-sticky { position: sticky; top: 128px; } }
.side-stack { display: flex; flex-direction: column; gap: 24px; }
.stack-3 { display: flex; flex-direction: row; gap: 12px; }
.stack-3.grid-hero-right,.flex-column {flex-direction: column;}

/* =========================================================
   AD SLOTS
   ========================================================= */
.ad-leaderboard { position: relative; width: 100%; overflow: hidden; border-radius: 8px; background: linear-gradient(110deg, var(--brand-dark), var(--brand-primary) 58%, #dc2626); }
.ad-leaderboard .ad-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; padding: 16px 20px; }
@media (min-width: 768px) { .ad-leaderboard .ad-inner { min-height: 100px; padding: 16px 32px; } }
.ad-leaderboard .ad-left { display: flex; align-items: center; gap: 12px; }
.ad-icon-circle { display: none; width: 44px; height: 44px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.15); }
@media (min-width: 640px) { .ad-icon-circle { display: flex; } }
.ad-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.75); background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 999px; }
.ad-leaderboard h3 { color: #fff; font-size: 16px; margin-top: 4px; }
@media (min-width: 768px) { .ad-leaderboard h3 { font-size: 20px; } }
.ad-leaderboard p { color: rgba(255,255,255,.8); font-size: 11px; margin-top: 4px; }
.ad-cta-white { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 6px; background: #fff; color: var(--brand-dark); font-size: 13px; font-weight: 700; }
.ad-cta-white:hover { transform: scale(1.05); }

.ad-on-sidebar { width: 100%; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); }
.ad-sidebar-inner { padding: 16px; background: linear-gradient(145deg, var(--surface-muted), var(--brand-light)); }
.ad-sidebar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ad-sidebar-tag { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-primary); }
.ad-on-sidebar h3 { font-size: 20px; }
.ad-on-sidebar > .ad-sidebar-inner > p { font-size: 12px; margin-top: 8px; line-height: 1.5; color: var(--text-secondary); }
.ad-sidebar-points { margin-top: 16px; font-size: 12px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 8px; }
.ad-sidebar-points .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-primary); display: inline-block; margin-right: 8px; }
.ad-sidebar-cta { margin-top: 16px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand-primary); }
.ad-sidebar-cta:hover { transform: scale(1.02); }
.ad-sidebar-phone { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brand-primary); }

.ad-incontent { border-radius: 8px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.ad-incontent-inner { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
@media (min-width: 640px) { .ad-incontent-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px; } }
.ad-incontent-left { display: flex; align-items: flex-start; gap: 12px; }
.ad-incontent-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--brand-light); color: var(--brand-primary); }
.ad-incontent-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-primary);line-height:2; }
.ad-incontent h3 { font-size: 18px; margin-top: 2px; }
.ad-incontent-left p { font-size: 12px; margin-top: 4px; color: var(--text-secondary); }
.ad-incontent-cta { width: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; border: 1px solid var(--brand-primary); color: var(--brand-primary); }
@media (min-width: 640px) { .ad-incontent-cta { width: auto; } }
.ad-incontent-cta:hover { background: var(--surface-muted); }

/* =========================================================
   PAGE HEADER (category/utility pages)
   ========================================================= */
.page-hero { padding: 24px 0; background: var(--surface-muted); }
@media (min-width: 768px) { .page-hero { padding: 32px 0; } }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 12px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .current { color: var(--text-primary); }
.breadcrumb svg { width: 12px; height: 12px; }
.page-title { font-size: 28px; margin-bottom: 8px; }
@media (min-width: 768px) { .page-title { font-size: 36px; } }
.page-desc { font-size: 14px; max-width: 640px; color: var(--text-secondary); }
@media (min-width: 768px) { .page-desc { font-size: 16px; } }

/* =========================================================
   MARKET / WEATHER / HOROSCOPE
   ========================================================= */
.market-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.market-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.market-row:last-child { border-bottom: none; }
.market-name { font-size: 14px; font-weight: 600; }
.market-value { font-size: 14px; font-weight: 700; text-align: right; }
.market-change { font-size: 12px; font-weight: 500; text-align: right; }
.market-change.up { color: var(--success); }
.market-change.down { color: var(--error); }

.weather-mini-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.weather-mini-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.weather-mini-row:last-child { border-bottom: none; }
.weather-mini-temp { display: flex; align-items: center; gap: 8px; }
.weather-mini-temp .t { font-size: 14px; font-weight: 700; }
.weather-mini-temp .c { font-size: 12px; color: var(--text-muted); }

.horo-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.horo-mini { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border-radius: 3px;background: var(--surface-muted); }
.horo-mini:hover { background: var(--surface-muted); }
.horo-mini .sign { font-size: 14px; font-weight: 700; color: var(--brand-primary); }
.horo-mini .lucky { font-size: 10px; color: var(--text-muted); }

.zodiac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
@media (min-width: 640px) { .zodiac-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .zodiac-grid { grid-template-columns: repeat(6, 1fr); } }
.zodiac-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); }
.zodiac-btn.active { border-color: var(--brand-primary); background: var(--brand-light); }
.zodiac-btn .name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.zodiac-btn.active .name { color: var(--brand-primary); }
.zodiac-btn .en { font-size: 10px; color: var(--text-muted); }

.horo-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.horo-avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-light); font-size: 16px; font-weight: 800; color: var(--brand-primary); flex-shrink: 0; }
.horo-avatar svg {
    width: 28px;
}
.horo-detail-head h2 { font-size: 20px; }
.horo-detail-head p { font-size: 14px; color: var(--text-muted); }
.horo-prediction { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.horo-facets { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .horo-facets { grid-template-columns: 1fr 1fr; } }
.horo-facet { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 3px; background: var(--surface-muted); }
.horo-facet .facet-label { font-size: 11px; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 2px; color: var(--text-muted); }
.horo-facet p { font-size: 14px; }
.horo-lucky { display: flex; align-items: center; gap: 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.horo-lucky-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.horo-lucky-item b { color: var(--text-primary); }

.weather-main-card { padding: 24px; margin-bottom: 24px; background: linear-gradient(135deg, var(--brand-light), var(--surface)); }
.weather-main-inner { display: flex; flex-direction: column; align-items: self-start; gap: 24px; text-align: center; }
@media (min-width: 768px) { .weather-main-inner { flex-direction: row; text-align: left; }.weather-main-inner .weather-main-city {
    min-width: 33%;
} }
.weather-main-city h2 { font-size: 20px; margin-bottom: 4px; }
.weather-main-city .date { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.weather-temp-row { display: flex; align-items: center; gap: 8px; justify-content: center; }
@media (min-width: 768px) { .weather-temp-row { justify-content: flex-start; } }
.weather-temp-row .big { font-size: 48px; font-weight: 800; }
.weather-cond { font-size: 14px; font-weight: 600; margin-top: 4px; color: var(--text-secondary); }
.weather-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; flex: 1; width: 100%; }
.weather-detail-item { display: flex; align-items: center; gap: 8px; }
.weather-detail-item .label { font-size: 11px; display: block; color: var(--text-muted); }
.weather-detail-item .value { font-size: 14px; font-weight: 700; }
.forecast-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.forecast-day:nth-child(n+4) {display: none;}
@media (min-width: 768px) { .forecast-grid { grid-template-columns: repeat(3, 1fr); } }
.forecast-day { text-align: center; padding: 12px; }
.forecast-day .d { font-size: 12px; font-weight: 600; display: block; margin-bottom: 4px; color: var(--text-muted); }
.forecast-day .hi { font-weight: 700; font-size: 14px; display: block; }
.forecast-day .lo { font-size: 12px; display: block; color: var(--text-muted); }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .city-grid { grid-template-columns: repeat(6, 1fr); } }
.city-card { text-align: center; padding: 12px; }
.city-card h3 { font-size: 14px; margin-bottom: 4px; }

/* =========================================================
   MOST READ
   ========================================================= */
.most-read-list { display: flex; flex-direction: column; }
.most-read-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); text-align: left; width: 100%; }
.most-read-item:last-child { border-bottom: none; }
.most-read-item:hover { background: var(--surface-muted); }
.most-read-rank { font-family: 'Source Serif 4', serif; font-weight: 800; font-size: 24px; line-height: 1; flex-shrink: 0; width: 32px; color: var(--text-muted); }
.most-read-item.top .most-read-rank { color: var(--brand-primary); }
.most-read-item h3 { font-size: 14px; line-height: 1.35; }
.most-read-views { font-size: 12px; display: block; margin-top: 2px; color: var(--text-muted); }

/* =========================================================
   ARTICLE
   ========================================================= */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: var(--border); }
.reading-progress-bar { height: 100%; width: 0%; background: var(--brand-primary); }
.article-headline { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
@media (min-width: 768px) { .article-headline { font-size: 28px; } }
@media (min-width: 1024px) { .article-headline { font-size: 32px; } }
.article-subtitle { font-size: 16px; line-height: 1.5; margin-bottom: 16px; color: var(--text-secondary); }
@media (min-width: 768px) { .article-subtitle { font-size: 18px; } }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta .updated {line-height:1;}
.article-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.tool-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 3px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.tool-btn:hover { background: var(--surface-muted); }
.tool-btn.bookmarked { color: var(--brand-primary); border-color: var(--brand-primary); }
.rate-select { font-size: 12px; padding: 6px 8px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); }
.font-size-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.font-size-row > span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.font-size-btns { display: flex; align-items: center; gap: 4px; }
.fsz-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 3px; border: 1px solid var(--border); font-weight: 700; }
.article-hero-figure { margin-bottom: 16px; }
.article-hero-figure img { width: 100%; border-radius: 3px; overflow: hidden; }
.article-hero-figure figcaption { font-size: 12px; margin-top: 8px; color: var(--text-muted); }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 24px; margin-top: 20px; margin-bottom: 10px; }
.article-body h3 { font-size: 20px; margin-top: 24px; margin-bottom: 12px; }
.article-body a { color: var(--brand-primary); text-decoration: underline; font-weight: 500; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-tags a { padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); color: var(--text-secondary); }
.article-tags a:hover { background: var(--surface-muted); }
.author-card { padding: 16px; margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.author-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card h3 { font-size: 14px; }
.author-card .desig { font-size: 12px; margin-top: 2px; color: var(--brand-primary); }
.author-card p { font-size: 12px; line-height: 1; color: var(--text-secondary); }

/* Comments */
.comments-section { margin-top: 24px; }
.comment-form { margin-bottom: 16px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; margin-bottom: 8px; outline: none; resize: none; }
.comment-form button { padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-primary); }
.comment-item { padding: 12px; margin-bottom: 12px; }
.comment-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.comment-head .name { font-weight: 600; font-size: 14px; }
.comment-head .time { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; line-height: 1.5; margin-bottom: 8px; color: var(--text-secondary); }
.comment-like { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.comment-like:hover { color: var(--brand-primary); }

.share-modal-overlay { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; }
.share-modal-overlay.open { display: flex; }
.share-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.share-modal { position: relative; max-width: 380px; width: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; }
.share-modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.share-modal h3 { font-size: 18px; margin-bottom: 16px; }
.share-option { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 3px; border: 1px solid var(--border); margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.share-option:hover { background: var(--surface-muted); }

/* =========================================================
   CATEGORY / SEARCH / PAGINATION
   ========================================================= */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.page-btn { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 3px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.page-btn[disabled] { opacity: .4; cursor: default; }
.page-num { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 3px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.page-num.active { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }

.search-box-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
@media (min-width: 640px) { .search-box-row { flex-direction: row; align-items: center; } }
.search-input-wrap { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); }
.search-input-wrap input { flex: 1; background: transparent; outline: none; font-size: 14px; min-width: 0;border:none; }
.search-select { padding: 10px 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; outline: none; width: 100%; }
@media (min-width: 640px) { .search-select { width: auto; } }
.filter-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.filter-tab { padding: 6px 12px; border-radius: 3px; font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid var(--border); }
.filter-tab.active { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 3px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); color: var(--text-secondary); }
.chip:hover { background: var(--surface-muted); }

.empty-state { text-align: center; padding: 64px 16px; }
.empty-state svg { margin: 0 auto 16px; color: var(--text-muted); }
.empty-state h2 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 16px; color: var(--text-muted); }
.empty-state .btn-primary { display: inline-flex; padding: 10px 20px; }

/* =========================================================
   VIDEOS / PHOTOS / LIVE TV
   ========================================================= */
.featured-video { position: relative; margin-bottom: 24px; }
.featured-video .news-card-img-wrap { aspect-ratio: 16/9; }
.featured-video .std-body { padding: 16px; }
.featured-video h2 { font-size: 20px; margin-bottom: 8px; }
@media (min-width: 768px) { .featured-video h2 { font-size: 24px; } }
.featured-video:hover h2 { color: var(--brand-primary); }
.live-now-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 16px; }
.live-now-overlay h2 { color: #fff; margin-top: 8px; }

.lightbox-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 80vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 3px; }
.lightbox-caption { text-align: center; color: #fff; margin-top: 12px; font-size: 14px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; color: #fff; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border-radius: 50%; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.schedule-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.schedule-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 3px; }
.schedule-item:hover { background: var(--surface-muted); }
.schedule-time { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; flex-shrink: 0; width: 56px; color: var(--brand-primary); }
.schedule-item h3 { font-size: 14px; font-weight: 600; }
.schedule-item p { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   NOTIFICATIONS / NEWSLETTER
   ========================================================= */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; }
.notif-item.unread { background: var(--brand-light); border-color: var(--brand-primary); }
.notif-item .notif-body { flex: 1; }
.notif-item h3 { font-size: 14px; margin-bottom: 4px; }
.notif-item .notif-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.notif-actions { display: flex; gap: 4px; flex-shrink: 0; }
.notif-actions button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 3px; color: var(--text-muted); }
.notif-actions button:hover { background: var(--surface-muted); }

.newsletter-form-row { display: flex; flex-direction: column; gap: 8px; max-width: 480px; margin-bottom: 24px; padding: 16px; }
@media (min-width: 640px) { .newsletter-form-row { flex-direction: row; } }
.newsletter-form-row .search-input-wrap { flex: 1; }
.newsletter-form-row button { padding: 10px 20px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-primary); }
.newsletter-card { padding: 16px; }
.newsletter-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.newsletter-card-left { display: flex; align-items: center; gap: 8px; }
.newsletter-card-left .emoji { font-size: 24px; }
.newsletter-card h3 { font-size: 16px; }
.newsletter-card .time { font-size: 12px; color: var(--text-muted); }
.newsletter-card p { font-size: 14px; color: var(--text-secondary); }
.sub-toggle { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 3px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); white-space: nowrap; }
.sub-toggle.subbed { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }

/* =========================================================
   AUTH
   ========================================================= */
.auth-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-logo { width: 48px; height: 48px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 3px; color: #fff; font-size: 24px; font-weight: 800; font-family: 'Source Serif 4', serif; }
.auth-head h1 { font-size: 24px; }
.auth-head p { font-size: 14px; margin-top: 4px; color: var(--text-muted); }
.auth-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.auth-field label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 4px; color: var(--text-secondary); }
.auth-input-wrap { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 3px; border: 1px solid var(--border); }
.auth-input-wrap input { flex: 1; background: transparent; outline: none; font-size: 14px; min-width: 0;border:none; }
.btn-primary { width: 100%; padding: 10px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-primary); text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-link { width: 100%; text-align: center; font-size: 12px; color: var(--text-muted); }
.btn-link:hover { color: var(--brand-primary); }
.auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.auth-switch a, .auth-switch button { font-weight: 700; color: var(--brand-primary); }

/* =========================================================
   404
   ========================================================= */
.notfound-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 0 16px; text-align: center; }
.notfound-wrap .code { font-size: 72px; margin-bottom: 8px; color: var(--brand-primary); }
@media (min-width: 768px) { .notfound-wrap .code { font-size: 120px; } }
.notfound-wrap h2 { font-size: 22px; margin-bottom: 8px; }
.notfound-wrap p { font-size: 14px; margin-bottom: 24px; color: var(--text-muted); }
.notfound-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-outline { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 700; border: 1px solid var(--border); }

/* =========================================================
   MOBILE STICKY AD
   ========================================================= */
.ad-mobile-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); background: var(--surface); }
.ad-mobile-sticky p:first-child { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-mobile-sticky p:last-child { font-size: 10px; color: var(--text-muted); }
.ad-mobile-sticky button { flex-shrink: 0; display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand-primary); }

/* =========================================================
   TOAST
   ========================================================= */
.toast-stack { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.toast { padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; color: #fff; background: var(--surface-dark); animation: slide-up .2s ease; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* =========================================================
   STATIC PAGES / MAX WIDTH
   ========================================================= */
.max-w-article { max-width: 720px; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes pulse-live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.animate-fade-in { animation: fade-in .3s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   RESPONSIVE HELPERS
   ========================================================= */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }
.hide-desktop { display: block; }
@media (min-width: 768px) { .hide-desktop { display: none; } }

/* =========================================================
   GENERATED SPACING/TYPE UTILITIES (from inline-style sweep)
   ========================================================= */
.gen-u33 { margin-bottom:24px; }
.gen-u52 { position:absolute;top:12px;left:12px; }
.gen-u54 { position:absolute;top:8px;left:8px; }
.gen-u15 { font-size:10px;text-transform:uppercase;color:rgba(255,255,255,.7);display:block;margin-bottom:2px; }
.gen-u13 { font-size:10px;color:rgba(255,255,255,.5); }
.gen-u35 { margin-bottom:8px; }
.gen-u43 { overflow:hidden; }
.gen-u1 { aspect-ratio:16/9;background:#000;position:relative; }
.gen-u42 { opacity:.4; }
.gen-u39 { margin-top:8px; }
.gen-u37 { margin-top:24px; }
.gen-u30 { grid-template-columns:repeat(2,1fr);gap:12px; }
.gen-u53 { position:absolute;top:6px;left:6px;font-size:9px; }
.gen-u51 { padding:8px; }
.gen-u16 { font-size:12px; }
.gen-u18 { font-size:14px;font-weight:700; }
.gen-u49 { padding:20px; }
.gen-u5 { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px; }
.gen-u34 { margin-bottom:4px; }
.gen-u4 { display:flex;align-items:center;gap:8px;margin-bottom:2px; }
.gen-u14 { font-size:10px;font-weight:700;text-transform:uppercase;color:var(--brand-primary); }
.gen-u55 { width:6px;height:6px;border-radius:50%;background:var(--brand-primary);display:inline-block; }
.gen-u48 { padding:16px;margin-bottom:24px; }
.gen-u31 { margin-bottom:12px; }
.gen-u3 { color:var(--brand-primary); }
.gen-u11 { flex:1; }
.gen-u17 { font-size:12px;color:var(--text-muted); }
.gen-u32 { margin-bottom:16px; }
.gen-u19 { font-size:14px;margin-bottom:16px;color:var(--text-muted); }
.gen-u47 { padding:12px;display:flex;align-items:center;gap:12px; }
.gen-u56 { width:80px;height:80px;object-fit:cover;border-radius:3px;flex-shrink:0; }
.gen-u12 { flex:1;min-width:0; }
.gen-u8 { display:flex;gap:8px;flex-shrink:0; }
.gen-u57 { width:auto; }
.gen-u45 { padding-top:16px;padding-bottom:24px; }
.gen-u41 { margin:24px 0; }
.gen-u38 { margin-top:24px;display:flex;flex-direction:column;gap:12px;max-width:480px; }
.gen-u46 { padding:10px 12px;border-radius:3px;border:1px solid var(--border);background:var(--surface);font-size:14px;resize:none; }
.gen-u7 { display:flex;gap:12px;width:100%; }
.gen-u6 { display:flex;flex:1;flex-direction:row; }
.gen-u44 { padding-top:16px;padding-bottom:16px; }
.gen-u10 { display:grid;grid-template-columns:1fr;gap:16px; }
.gen-u9 { display:grid;gap:24px;grid-template-columns:1fr; }
.gen-u36 { margin-top:16px; }
.gen-u50 { padding:32px;text-align:center; }
.gen-u40 { margin:0 auto;padding:0;max-width:420px; }.notif-icon-breaking { background: var(--breaking); color: #fff; }
.notif-icon-sports { background: var(--success); color: #fff; }
.notif-icon-business { background: var(--warning); color: #fff; }
.notif-icon-personalized { background: var(--surface-muted); color: var(--text-primary); }

/* ICON (inline SVG replacing lucide-react icons — sized to match surrounding text) */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.icon-fill { fill: currentColor; stroke: none; }
.utility-link .icon, .theme-switcher-toggle .icon, [data-lang-toggle] .icon, .lang-btn .icon { font-size: 14px; }
.ticker-toggle .icon { font-size: 12px; }
.primary-nav-link .icon:first-child { font-size: 14px; margin-right: 2px; }
.tool-btn .icon, .comment-like .icon { font-size: 14px; }
.footer-social a .icon, .app-btn .icon { font-size: 16px; }
.footer-contact-item .icon { font-size: 16px; }
.horo-detail-item .icon, .horo-lucky-item .icon { font-size: 18px; }
.weather-detail-item .icon { font-size: 20px; }

/* =========================================================
   JANDRISHTI - Invisible Google Translate
   ========================================================= */

#google_translate_element,
.jandrishti-google-translate,
#google_translate_element .goog-te-gadget,
#google_translate_element .goog-te-gadget-simple {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    max-width: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-ftab,
.goog-te-spinner-pos {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    border: 0 !important;
}
iframe.skiptranslate {display: none !important;visibility: hidden !important;}
html,body {margin: 0 !important;padding: 0 !important;top: 0 !important;}
.site-header {margin-top: 0 !important;}
.goog-te-banner-frame,iframe.skiptranslate {display: none !important;}

.flex-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap:40px;
}
.contact-form-wrapper h2 {
    padding: 5px 0 5px;
}
.fluentform {
    padding-top: 15px;
}
.fluentform,
.fluentform_wrapper {
    font-family: inherit;
}

/* Form spacing */
.fluentform .ff-el-group {
    margin-bottom: 14px !important;
}

/* Labels */
.fluentform .ff-el-form-label {
    margin-bottom: 7px !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.fluentform .ff-el-required {
    color: #d71920 !important;
}

/* Inputs */
.fluentform .ff-el-form-control {
    width: 100% !important;
    min-height: 40px !important;

    padding: 10px 13px !important;

    border: 1px solid #dcdcdc !important;
    border-radius: 5px !important;

    background: #fff !important;
    color: #222 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;

    box-shadow: none !important;
    outline: none !important;

    transition: all .2s ease !important;
}

/* Placeholder */
.fluentform .ff-el-form-control::placeholder {
    color: #929292 !important;
    opacity: 1 !important;
}

/* Hover */
.fluentform .ff-el-form-control:hover {
    border-color: #c9c9c9 !important;
}

/* Focus */
.fluentform .ff-el-form-control:focus {
    border-color: #d71920 !important;
    box-shadow: 0 0 0 2px rgba(215, 25, 32, .07) !important;
}

/* Textarea */
.fluentform textarea.ff-el-form-control {
    min-height: 105px !important;
    resize: vertical;
}

/* Select */
.fluentform select.ff-el-form-control {
    min-height: 42px !important;
    cursor: pointer;
}

.fluentform .ff-btn-submit-wrapper {
    margin-top: 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.fluentform .ff-btn-submit {
    width: 100% !important;

    min-height: 42px !important;
    padding: 10px 20px !important;

    border: 1px solid #c9161d !important;
    border-radius: 4px !important;

    background: #c9161d !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    cursor: pointer;

    box-shadow: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease !important;
}

/* Button hover */
.fluentform .ff-btn-submit:hover {
    background: #a91218 !important;
    border-color: #a91218 !important;
    color: #fff !important;

    transform: translateY(-1px);
}

/* Button active */
.fluentform .ff-btn-submit:active {
    transform: translateY(0);
}

.fluentform .ff-el-form-check {
    margin-top: 5px !important;
}

.fluentform .ff-el-form-check-input {
    accent-color: #c9161d;
}

.fluentform .ff-el-form-check-label {
    color: #555 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.fluentform .error {
    margin-top: 5px !important;
    color: #c9161d !important;
    font-size: 12px !important;
}

/* Error field */
.fluentform .has-error,
.fluentform .is-invalid {
    border-color: #c9161d !important;
}

.fluentform .ff-message-success {
    margin-top: 15px !important;
    padding: 12px 14px !important;

    border: 1px solid #d8eadb !important;
    border-radius: 5px !important;

    background: #f6fbf7 !important;
    color: #286b38 !important;

    font-size: 14px !important;
}

.fluentform input[type="file"].ff-el-form-control {
    padding: 7px 10px !important;
}

@media (max-width: 767px) {

    .fluentform .ff-el-group {
        margin-bottom: 12px !important;
    }

    .fluentform .ff-el-form-control {
        min-height: 42px !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    .fluentform textarea.ff-el-form-control {
        min-height: 100px !important;
    }

    .fluentform .ff-btn-submit {
        min-height: 43px !important;
    }
	.login-btn span {
      font-size: 0;
    }
	.lang-btn, .login-btn{
		gap:0;
	}
	.stack-3{
		display: grid;
        grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.stack-3 .gen-u6,.mobile-column .gen-u6 {
      display: unset;
    }
	.footer-desc {
    max-width: 460px;
}
}

/* ==========================================================================
   Additions (bug fixes) - no existing rule was changed
   ========================================================================== */

/* Login / register / forgot messages had no styling at all. */
.auth-error,
.auth-success {
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 3px;
  border: 1px solid;
  font-size: 13px;
  line-height: 1.5;
}
.auth-error {
  color: var(--error);
  border-color: var(--error);
  background: rgba(220, 38, 38, .08);
}
.auth-success {
  color: var(--success);
  border-color: var(--success);
  background: rgba(21, 128, 61, .08);
}
.auth-error a,
.auth-success a {
  font-weight: 700;
  text-decoration: underline;
}

/* Comment like button: liked state (now stored on the server). */
.comment-like.liked { color: var(--brand-primary); }

.article-hero-figure {
    position: relative;
}

.article-hero-figure::after {
    content: "" !important;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 40px;
    background-image: url("https://www.jandrishti.in/wp-content/uploads/2026/09/jandrishti-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-sizing: border-box;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
    .news-card-img-wrap::after {
        top: 7px;
        right: 7px;
        width: 50px;
        height: 30px;
    }
	.flex-row {grid-template-columns: 1fr;gap: 0px;}
	.site-footer {margin-top: 24px;}
}

.kp-author-page {
	padding-top: 16px;
	padding-bottom: 32px;
}

@media (min-width: 768px) {
	.kp-author-page {
		padding-top: 24px;
		padding-bottom: 48px;
	}
}

/* Breadcrumb */
.kp-author-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 16px;
}

.kp-author-breadcrumb a {
	color: var(--text-muted);
}

.kp-author-breadcrumb a:hover {
	color: var(--brand-primary);
}

.kp-author-breadcrumb svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

/* Author profile */
.kp-author-profile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	margin-bottom: 28px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 5px;
	overflow: hidden;
}

@media (min-width: 640px) {
	.kp-author-profile {
		flex-direction: row;
		align-items: center;
		padding: 24px;
	}
}

@media (min-width: 768px) {
	.kp-author-profile {
		gap: 24px;
		padding: 28px;
		margin-bottom: 32px;
	}
}

/* Small red brand accent */
.kp-author-profile::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--brand-primary);
}

/* Avatar */
.kp-author-avatar {
	width: 88px;
	height: 88px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--brand-light);
	box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
	.kp-author-avatar {
		width: 104px;
		height: 104px;
	}
}

.kp-author-avatar-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-light);
	color: var(--brand-primary);
	font-family: 'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif;
	font-size: 36px;
	font-weight: 800;
}

/* Profile content */
.kp-author-profile-content {
	flex: 1;
	min-width: 0;
}

.kp-author-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--brand-primary);
}

.kp-author-kicker svg {
	width: 13px;
	height: 13px;
}

.kp-author-name {
	font-family: 'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--text-primary);
}

@media (min-width: 768px) {
	.kp-author-name {
		font-size: 36px;
	}
}

.kp-author-role {
	margin-top: 5px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand-primary);
}

.kp-author-bio {
	margin-top: 10px;
	max-width: 760px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-secondary);
}

@media (min-width: 768px) {
	.kp-author-bio {
		font-size: 15px;
	}
}

/* Author stats */
.kp-author-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.kp-author-stat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid var(--border);
	border-radius: 3px;
	background: var(--surface-muted);
	font-size: 11px;
	color: var(--text-secondary);
}

.kp-author-stat strong {
	color: var(--text-primary);
	font-weight: 700;
}

.kp-author-stat svg {
	width: 14px;
	height: 14px;
	color: var(--brand-primary);
}

/* Social links */
.kp-author-socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}

.kp-author-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--border);
	border-radius: 3px;
	color: var(--text-secondary);
	background: var(--surface);
	font-size: 11px;
	font-weight: 700;
}

.kp-author-socials a:hover {
	border-color: var(--brand-primary);
	color: var(--brand-primary);
	background: var(--brand-light);
}

/* Article section */
.kp-author-articles {
	min-width: 0;
}

.kp-author-articles .section-title-row {
	margin-bottom: 16px;
}

.kp-author-empty {
	padding-top: 32px;
	padding-bottom: 48px;
}

/* Article card equal height */
.kp-author-article-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.kp-author-article-card > a {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.kp-author-article-card .std-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kp-author-article-card .std-meta {
	margin-top: auto;
	padding-top: 4px;
}

/* Sidebar cards */
.kp-author-sidebar-card {
	padding: 16px;
}

.kp-author-sidebar-title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--border);
	font-family: 'Source Serif 4', 'Noto Serif Devanagari', Georgia, serif;
	font-size: 20px;
	font-weight: 800;
}

.kp-author-sidebar-title::before {
	content: '';
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: var(--brand-primary);
	flex-shrink: 0;
}

/* Most read card */
.kp-author-most-read {
	padding: 4px 0 0;
}

.kp-author-most-read .most-read-item {
	padding-left: 0;
	padding-right: 0;
}

/* Pagination */
.kp-author-pagination {
	margin-top: 28px;
}

.kp-author-pagination .page-num {
	color: var(--text-primary);
}

.kp-author-pagination .page-num:hover {
	border-color: var(--brand-primary);
	color: var(--brand-primary);
}

.kp-author-pagination .page-num.active {
	color: #fff;
}

/* Mobile spacing */
@media (max-width: 639px) {
	.kp-author-profile {
		margin-left: 0;
		margin-right: 0;
	}

	.kp-author-name {
		font-size: 26px;
	}

	.kp-author-stats {
		gap: 6px;
	}
}
.horoscope-intro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.horoscope-seo-content {
    margin-top: 36px;
}
.weather-intro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.breaking-track a span {
    display: none;
}