/* ============================================
   HARYANAWATCH.COM — Design Brief Stylesheet
   Colors: #1E472E | #2E7D32 | #F4C430 | #FFF8E3 | #FFFFFF
   ============================================ */

:root {
  --green-primary: #1E472E;
  --green-secondary: #2E7D32;
  --yellow-accent: #F4C430;
  --cream-bg: #FFF8E3;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --border-light: rgba(30, 71, 46, 0.12);
  --shadow-card: 0 4px 20px rgba(30, 71, 46, 0.08);
  --shadow-hover: 0 8px 30px rgba(30, 71, 46, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --topbar-height: 40px;
  --green-dark: #0f2919;
  --green-darker: #091a10;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.site-body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.site-body > .site-header {
  margin-top: 0;
}

/* ========== SITE HEADER (topbar only) ========== */
.site-header {
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--green-primary);
}

.site-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 992px) {
  .site-container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }

/* ========== TOP BAR ========== */
.top-bar {
  margin: 0;
  padding: 0;
  background: var(--green-primary);
  color: var(--white);
  font-size: 12px;
  width: 100%;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 8px 0;
}

.top-bar-left {
  flex: 1;
  min-width: 0;
}

.top-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--yellow-accent);
  white-space: nowrap;
  line-height: 1.4;
}

.top-date i {
  flex-shrink: 0;
  font-size: 11px;
}

.top-date-text {
  white-space: nowrap;
}

.top-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  user-select: none;
}

.top-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
}

.top-location i {
  color: var(--yellow-accent);
  font-size: 10px;
}

.top-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.top-weather {
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--yellow-accent);
  white-space: nowrap;
}

.top-weather i {
  font-size: 12px;
}

.top-weather-city {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.top-social a:hover {
  color: var(--yellow-accent);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== HEADER BRAND ========== */
.main-header {
  margin: 0;
  padding: 0;
  background: var(--white);
  width: 100%;
}

/* Mobile & tablet — sticky logo header */
@media (max-width: 991px) {
  .main-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 12px rgba(30, 71, 46, 0.1);
  }
}

.header-brand {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo-col {
  flex-shrink: 0;
}

.header-search-col {
  display: flex;
  flex: 1;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.header-actions-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 80px;
}

@media (min-width: 992px) {
  .header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .header-logo-col {
    flex-shrink: 0;
  }

  .header-search-col {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: none;
    margin: 0;
  }

  .header-search-col .search-bar {
    max-width: 520px;
  }
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-accent);
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(30, 71, 46, 0.25);
}

.brand-icon-map {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--yellow-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--green-primary);
  border: 2px solid var(--white);
}

.brand-name {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--green-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-tagline {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid rgba(30, 71, 46, 0.18);
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(30, 71, 46, 0.06);
}

.search-bar:focus-within {
  border-color: var(--green-secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 20px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text-dark);
}

.search-input::placeholder { color: #999; }

.search-btn {
  background: var(--green-primary);
  border: none;
  padding: 11px 20px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover { background: var(--green-secondary); }

.header-date {
  display: none;
}

.btn-mobile-search,
.btn-mobile-menu {
  background: var(--cream-bg);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--green-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-mobile-menu {
  background: var(--green-primary);
  color: var(--yellow-accent);
  border-color: var(--green-primary);
}

.btn-mobile-menu:hover,
.btn-mobile-search:hover {
  transform: scale(1.05);
}

/* ========== NAVIGATION — desktop sticky + premium dropdowns ========== */
.nav-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--green-primary);
  padding: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(30, 71, 46, 0.15);
  overflow: visible;
}

@media (min-width: 992px) {
  .nav-bar {
    display: block;
  }
}

.nav-bar .container-fluid,
.nav-bar .d-flex {
  overflow: visible;
}

.nav-home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-home-btn:hover,
.nav-home-btn.active {
  background: var(--white);
  color: var(--green-primary);
}

.nav-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.nav-scroll-wrap::-webkit-scrollbar { display: none; }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  position: relative;
}

.nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.nav-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}

.nav-menu > li > .nav-link {
  white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active,
.nav-menu > li.hw-dropdown-open > .nav-link {
  color: var(--yellow-accent);
  background: rgba(255,255,255,0.06);
  border-bottom-color: var(--yellow-accent);
}

.nav-menu .nav-chevron {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.nav-menu > li.hw-dropdown-open > .nav-link .nav-chevron {
  transform: rotate(180deg);
}

/* Source submenu hidden on desktop — flyout panel shows clone */
@media (min-width: 992px) {
  .nav-menu > .menu-item-has-children > .sub-menu {
    display: none !important;
  }
}

/* Flyout panel (OceanWP-style mega dropdown) */
.hw-nav-flyout {
  position: fixed;
  top: var(--hw-flyout-top, 0);
  left: var(--hw-flyout-left, 0);
  width: var(--hw-flyout-width, 280px);
  z-index: 10060;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
}

.hw-nav-flyout.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hw-nav-flyout-panel {
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 50px rgba(15, 40, 25, 0.24), 0 0 0 1px rgba(30, 71, 46, 0.08);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(75vh, 560px);
  padding: 6px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 71, 46, 0.35) transparent;
}

.hw-nav-flyout-panel.is-mega {
  padding: 12px 6px 14px;
}

.hw-nav-flyout-panel.is-mega .hw-nav-flyout-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px 4px;
}

.hw-nav-flyout-panel.is-mega .nav-link {
  border-radius: 8px;
}

.hw-nav-flyout-panel::-webkit-scrollbar {
  width: 6px;
}

.hw-nav-flyout-panel::-webkit-scrollbar-thumb {
  background: rgba(30, 71, 46, 0.35);
  border-radius: 6px;
}

.hw-nav-flyout-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--yellow-accent));
}

.hw-nav-flyout-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hw-nav-flyout-menu .sub-menu-item,
.hw-nav-flyout-menu .menu-item {
  margin: 0;
}

.hw-nav-flyout-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  border-bottom: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}

.hw-nav-flyout-menu .nav-link:first-child {
  border-radius: 0;
}

.hw-nav-flyout-menu .nav-link:hover,
.hw-nav-flyout-menu .nav-link.active {
  color: var(--green-primary);
  background: rgba(30, 71, 46, 0.07);
  border-left-color: var(--yellow-accent);
  padding-left: 20px;
}

.hw-nav-flyout-menu .nav-sub-icon {
  width: 18px;
  text-align: center;
  color: var(--green-primary);
  opacity: 0.85;
  font-size: 13px;
}

.hw-nav-flyout-menu .nav-link-text {
  flex: 1;
}

/* Mobile / fallback inline submenu */
@media (max-width: 991.98px) {
  .hw-nav-flyout { display: none !important; }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    padding: 0;
    display: none;
  }

  .nav-menu .menu-item-has-children.open > .sub-menu {
    display: block;
  }
}

.nav-hamburger {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--yellow-accent);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin: 6px 0 6px auto;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-hamburger:hover {
  background: var(--yellow-accent);
  color: var(--green-primary);
  border-color: var(--yellow-accent);
}

.nav-mobile-label {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  margin-left: 12px;
  flex-grow: 1;
}

/* ========== BREAKING BAR — full width ========== */
.breaking-bar {
  width: 100%;
  background: var(--cream-bg);
  padding: 0;
  margin-top: 2px;
  border-bottom: 1px solid var(--border-light);
}

.breaking-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--cream-bg);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  min-height: 44px;
}

.breaking-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-primary);
  color: var(--yellow-accent);
  font-size: 13px;
  font-weight: 800;
  padding: 0 28px 0 20px;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  letter-spacing: 0.3px;
  position: relative;
  min-width: 160px;
}

.breaking-pulse {
  width: 7px;
  height: 7px;
  background: var(--yellow-accent);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.breaking-ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--cream-bg);
  min-width: 0;
}

.breaking-ticker {
  display: flex;
  animation: scrollLeft 28s linear infinite;
  white-space: nowrap;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.breaking-ticker .sep {
  color: var(--yellow-accent);
  font-size: 8px;
}

.breaking-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
  padding: 0 16px;
  background: var(--cream-bg);
  border-left: 1px solid var(--border-light);
}

.breaking-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-light);
  background: var(--cream-bg);
  border-radius: 50%;
  color: var(--green-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.breaking-arrow:hover {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

/* ========== MAIN CONTENT ========== */
.main-content {
  padding-bottom: 20px;
}

/* ========== HERO ========== */
.hero-section {
  padding: 20px 0 0;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.hero-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.hero-img-wrap {
  position: relative;
  height: 420px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,71,46,0.92) 0%, rgba(30,71,46,0.3) 50%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  color: var(--white);
}

.hero-cat {
  display: inline-block;
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.hero-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.9;
  margin: 8px 0 12px;
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.hero-excerpt {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 16px;
  max-width: 90%;
  font-weight: 400;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 6px;
  transition: var(--transition);
}

.hero-btn:hover {
  background: var(--white);
  transform: translateX(4px);
}

/* ========== TRENDING PANEL ========== */
.trending-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.trending-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-bg);
}

.trending-heading i {
  color: var(--yellow-accent);
  font-size: 16px;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.trend-item:last-child { border-bottom: none; }

.trend-item:hover {
  background: var(--cream-bg);
  padding-left: 10px;
}

.trend-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--yellow-accent);
  min-width: 24px;
  flex-shrink: 0;
}

.trend-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.trend-text p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--text-dark);
}

.trend-text small {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== MOBILE SIDEBAR ========== */
body.sidebar-open {
  overflow: hidden;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 71, 46, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(30, 71, 46, 0.2);
  overflow-y: auto;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: var(--white);
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon.sm {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.sidebar-logo {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--yellow-accent);
  line-height: 1.2;
}

.sidebar-tagline {
  display: block;
  font-size: 11px;
  opacity: 0.8;
}

.sidebar-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-close:hover {
  background: var(--yellow-accent);
  color: var(--green-primary);
}

.sidebar-search {
  margin: 14px 16px 10px;
  flex-shrink: 0;
}

.sidebar-search-form {
  display: flex;
  background: var(--cream-bg);
  border: 2px solid var(--border-light);
  border-radius: 30px;
  overflow: hidden;
}

.sidebar-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.sidebar-search-form button {
  background: var(--green-primary);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-search-form button:hover {
  background: var(--green-secondary);
}

.sidebar-nav {
  padding: 4px 8px 12px;
  flex: 1;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 10px 14px 6px;
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.sidebar-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(30, 71, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-link-icon i {
  color: var(--green-secondary);
  font-size: 14px;
}

.sidebar-link-label {
  flex: 1;
  line-height: 1.3;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--cream-bg);
  color: var(--green-primary);
  border-left-color: var(--yellow-accent);
}

.sidebar-link.active .sidebar-link-icon {
  background: var(--green-primary);
}

.sidebar-link.active .sidebar-link-icon i {
  color: var(--yellow-accent);
}

.sidebar-menu-item.has-children {
  margin: 4px 6px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #fff;
  overflow: hidden;
}

.sidebar-menu-item.has-children.open {
  border-color: rgba(30, 71, 46, 0.2);
  box-shadow: 0 4px 14px rgba(30, 71, 46, 0.08);
}

.sidebar-item-row {
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(30, 71, 46, 0.04), transparent);
}

.sidebar-item-row .sidebar-link {
  flex: 1;
  margin: 0;
  border-radius: 0;
  border-left: none;
}

.sidebar-submenu-toggle {
  width: 46px;
  border: none;
  border-left: 1px solid var(--border-light);
  background: var(--cream-bg);
  color: var(--green-primary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-submenu-toggle:hover {
  background: var(--green-primary);
  color: var(--yellow-accent);
}

.sidebar-menu-item.open .sidebar-submenu-toggle {
  background: var(--green-primary);
  color: var(--yellow-accent);
}

.sidebar-menu-item.open .sidebar-submenu-toggle i {
  transform: rotate(180deg);
}

.sidebar-submenu-toggle i {
  transition: transform 0.25s ease;
  font-size: 12px;
}

.sidebar-submenu {
  display: none;
  padding: 6px 8px 10px;
  background: var(--cream-bg);
  border-top: 1px solid var(--border-light);
}

.sidebar-menu-item.open .sidebar-submenu {
  display: block;
}

.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  margin: 2px 0;
  transition: var(--transition);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.sidebar-sublink-icon {
  width: 16px;
  text-align: center;
  color: var(--green-secondary);
  font-size: 12px;
  opacity: 0.85;
}

.sidebar-sublink:hover,
.sidebar-sublink.active {
  background: #fff;
  color: var(--green-primary);
  border-left-color: var(--yellow-accent);
  padding-left: 18px;
}

.sidebar-sublink.active .sidebar-sublink-icon {
  color: var(--yellow-accent);
}

.sidebar-extras {
  padding: 0 12px 12px;
  flex-shrink: 0;
}

.sidebar-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 4px;
}

.sidebar-quick a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--cream-bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  transition: var(--transition);
}

.sidebar-quick a:hover {
  background: var(--green-primary);
  color: var(--white);
}

.sidebar-quick a i { color: var(--yellow-accent); font-size: 14px; }
.sidebar-quick a:hover i { color: var(--white); }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  background: var(--cream-bg);
  flex-shrink: 0;
}

.sidebar-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sidebar-social a {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.sidebar-social a:hover {
  background: var(--green-primary);
  color: var(--yellow-accent);
}

.sidebar-copy {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

/* ========== MOBILE SEARCH MODAL ========== */
.mobile-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 71, 46, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.mobile-search-box {
  display: flex;
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.mobile-search-modal.active .mobile-search-box {
  transform: translateY(0);
}

.mobile-search-box input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

.mobile-search-box button {
  background: var(--green-primary);
  border: none;
  color: var(--white);
  padding: 14px 20px;
  cursor: pointer;
  font-size: 16px;
}

/* remove old breaking-bar section styles - moved to header */

/* ========== SECTIONS ========== */
.section-block {
  padding: 32px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  flex-shrink: 0;
}

.view-all-link:hover {
  color: var(--green-primary);
  gap: 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--green-primary);
}

.title-bar {
  width: 5px;
  height: 28px;
  background: var(--yellow-accent);
  border-radius: 3px;
}

/* ========== NEWS CARDS ========== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 16px;
}

.cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.cat-tag.politics { background: #FFEBEE; color: #C62828; }
.cat-tag.jobs { background: #E8F5E9; color: var(--green-secondary); }
.cat-tag.farming { background: #FFF8E1; color: #F57F17; }
.cat-tag.education { background: #E3F2FD; color: #1565C0; }
.cat-tag.crime { background: #F3E5F5; color: #6A1B9A; }
.cat-tag.haryana { background: var(--cream-bg); color: var(--green-primary); }

.news-card h5 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.news-card .news-time {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-see-more,
button.btn-see-more {
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 30px;
  transition: var(--transition);
}

.btn-see-more:hover {
  background: var(--green-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30,71,46,0.3);
}

/* Skeleton */
.skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, #f0ebe0 25%, #faf6ee 50%, #f0ebe0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body { padding: 16px; }

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #f0ebe0 25%, #faf6ee 50%, #f0ebe0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 8px;
}

.skeleton-line.w-25 { width: 25%; }
.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-100 { width: 100%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== WIDGETS ========== */
.widget-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.widget-header h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-bg);
}

.widget-header i { color: var(--yellow-accent); }

.weather-main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.weather-temp {
  display: flex;
  align-items: flex-start;
}

.temp-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--green-primary);
  line-height: 1;
}

.temp-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 6px;
}

.weather-city {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.weather-city i { color: var(--green-secondary); margin-right: 4px; }

.weather-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.weather-icon {
  margin-left: auto;
  font-size: 42px;
  color: var(--yellow-accent);
}

.weather-details {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--cream-bg);
  border-bottom: 1px solid var(--cream-bg);
  margin-bottom: 12px;
}

.weather-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.weather-detail i { color: var(--green-secondary); font-size: 16px; }
.weather-detail strong { color: var(--text-dark); font-size: 14px; }

.widget-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-secondary);
  transition: var(--transition);
}

.widget-link:hover { color: var(--green-primary); gap: 10px; }

/* Jobs Widget */
.job-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.job-item:last-of-type { border-bottom: none; }

.job-item:hover {
  background: var(--cream-bg);
  padding-left: 12px;
}

.job-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-accent);
  font-size: 16px;
  flex-shrink: 0;
}

.job-info p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.job-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.job-badge {
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ========== VIDEOS & STORIES ========== */
.stories-home-section {
  padding-top: 8px;
  padding-bottom: 12px;
}

.stories-home-top {
  padding-top: 16px;
  padding-bottom: 16px;
  margin-bottom: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.stories-home-top .section-title {
  font-size: 20px;
}

.stories-home-top .section-header {
  margin-bottom: 12px;
}

.stories-home-top .stories-scroll {
  padding-bottom: 4px;
}

.media-section {
  padding-bottom: 48px;
}

.media-block {
  margin-bottom: 36px;
}

.media-block:last-child {
  margin-bottom: 0;
}

.section-title .story-icon {
  color: #E1306C;
  font-size: 20px;
}

.section-title-video {
  gap: 12px;
}

.video-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  padding-left: 2px;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.3);
}

.videos-block {
  margin-top: 8px;
}

.videos-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}

@media (min-width: 576px) {
  .videos-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .videos-home-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
  }
}

.videos-home-grid .video-card {
  height: 100%;
  min-width: 0;
}

.stories-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-secondary) var(--cream-bg);
}

.stories-scroll::-webkit-scrollbar { height: 5px; }
.stories-scroll::-webkit-scrollbar-track { background: var(--cream-bg); border-radius: 3px; }
.stories-scroll::-webkit-scrollbar-thumb { background: var(--green-secondary); border-radius: 3px; }

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 76px;
  transition: var(--transition);
}

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, var(--yellow-accent), var(--green-secondary), #E1306C);
  transition: var(--transition);
}

.story-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
}

.story-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  max-width: 76px;
  line-height: 1.3;
}

.story-item:hover .story-ring,
.story-item.active .story-ring {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(30, 71, 46, 0.2);
}

.story-item.active span {
  color: var(--green-primary);
  font-weight: 700;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 71, 46, 0.2);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 17px;
  padding-left: 3px;
  transition: var(--transition);
}

.video-card:hover .video-play {
  background: var(--yellow-accent);
  color: var(--green-primary);
  border-color: var(--yellow-accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.video-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-body .cat-tag {
  align-self: flex-start;
  margin-bottom: 8px;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
}

.video-body h5 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-dark);
  margin: 0 0 auto;
  padding-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  transition: color 0.2s;
}

.video-card:hover .video-body h5 {
  color: var(--green-primary);
}

.video-body small {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.video-body small i {
  color: var(--green-primary);
  font-size: 11px;
}

.video-body small .meta-dot {
  color: #aaa;
  margin: 0 2px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--green-darker) 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--yellow-accent);
  margin-top: 24px;
}

.footer-main {
  padding: 48px 0 40px;
}

.footer-logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow-accent);
  letter-spacing: -0.3px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 6px 0 14px;
  font-weight: 500;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 320px;
}

.footer-logo-img {
  margin-bottom: 12px;
}

.footer-logo-img img {
  max-height: 56px;
  width: auto;
}

.footer-custom-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.footer-custom-text p:last-child {
  margin-bottom: 0;
}

.hw-footer-layout-centered .footer-desc,
.hw-footer-layout-centered .footer-custom-text {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(244, 196, 48, 0.35);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--yellow-accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-size: 15px;
}

.footer-social a:hover {
  background: var(--yellow-accent);
  color: var(--green-darker);
  border-color: var(--yellow-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(244, 196, 48, 0.3);
}

.footer-bottom {
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pause breaking ticker on hover */
.breaking-ticker:hover {
  animation-play-state: paused;
}

/* ========== INNER PAGES ========== */
.inner-page {
  padding-top: 0;
  padding-bottom: 48px;
}

.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  margin-bottom: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: #bbb;
  margin-left: 4px;
}

.breadcrumb-list a {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-list a:hover {
  color: var(--green-secondary);
}

.breadcrumb-list li:last-child span {
  color: var(--text-dark);
  font-weight: 600;
}

/* Category page header */
.category-page {
  background: var(--cream-bg);
}

.category-header {
  position: relative;
  padding: 28px 0 32px;
  margin-bottom: 8px;
  overflow: hidden;
}

.category-watermark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-55%);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 900;
  color: rgba(30, 71, 46, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.category-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-primary);
  color: var(--yellow-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 71, 46, 0.2);
}

.category-header-text {
  flex: 1;
  min-width: 200px;
}

.category-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: var(--green-primary);
  margin: 0 0 4px;
  line-height: 1.2;
}

.category-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.category-count {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-primary);
  box-shadow: var(--shadow-card);
}

.category-layout {
  padding-top: 8px;
}

.category-page .news-card-body {
  padding: 18px 20px 20px;
}

.category-page .news-card h5 {
  font-size: 16px;
  line-height: 1.5;
}

.category-page .news-card:hover h5 {
  color: var(--green-primary);
}

.page-hero {
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: #fff;
  padding: 32px 0;
  margin-bottom: 32px;
}

.page-hero-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}

.page-hero-desc {
  margin: 0;
  opacity: 0.85;
  font-size: 15px;
}

.search-page-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  max-width: 520px;
}

.search-page-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.search-page-btn {
  padding: 12px 24px;
  background: var(--yellow-accent);
  color: var(--green-primary);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.search-count {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

/* ========== ARTICLE PAGE ========== */
.article-page {
  background: var(--cream-bg);
  padding-top: 8px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green-primary), var(--yellow-accent));
  z-index: 10000;
  transition: width 0.1s linear;
}

.article-layout {
  padding-top: 12px;
}

.article-sidebar {
  position: sticky;
  top: 16px;
  align-self: flex-start;
}

.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.article-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.article-top--meta .article-meta--solo {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.article-top--meta .article-meta--solo i {
  margin-right: 4px;
}

.article-top .cat-tag {
  margin-bottom: 0;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.article-top .cat-tag:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.font-size-toggle {
  display: flex;
  gap: 4px;
  background: var(--cream-bg);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border-light);
}

.font-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.font-btn:hover {
  color: var(--green-primary);
}

.font-btn.active {
  background: var(--green-primary);
  color: var(--white);
}

.article-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--text-dark);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta i {
  color: var(--green-primary);
  font-size: 12px;
}

.article-img-wrap {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-body {
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}

.article-body.font-sm { font-size: 15px; line-height: 1.85; }
.article-body.font-md { font-size: 17px; line-height: 1.9; }
.article-body.font-lg { font-size: 19px; line-height: 1.95; }

.article-body p {
  margin-bottom: 18px;
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-share a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-bg);
  color: var(--green-primary);
  text-decoration: none;
  transition: var(--transition);
}

.article-share a:hover {
  background: var(--yellow-accent);
  transform: translateY(-2px);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-tags-label i {
  color: var(--green-primary);
}

.article-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cream-bg);
  color: var(--green-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.article-tag:hover {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.article-share {
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-decoration: none;
}

.article-nav-link:hover {
  border-color: var(--green-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.article-nav-next {
  text-align: right;
}

.article-nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.article-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-section {
  margin-top: 36px;
  padding-top: 8px;
}

.related-section .section-title {
  margin-bottom: 20px;
}

.article-page .news-card img {
  height: 160px;
}

.static-page {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  max-width: 900px;
}

.static-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--green-primary);
}

.static-page h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--green-primary);
}

.static-page ul {
  padding-left: 20px;
}

.static-page li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.contact-info i {
  color: var(--green-primary);
  width: 20px;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--green-primary);
}

.contact-form .form-control {
  border-radius: 8px;
  border-color: #ddd;
  font-family: inherit;
}

.contact-form .form-control:focus {
  border-color: var(--green-secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Sidebar trending widget */
.sidebar-trend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.sidebar-trend-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-trend-item:hover {
  padding-left: 4px;
}

.sidebar-trend-item p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.sidebar-trend-item:hover p {
  color: var(--green-primary);
}

.sidebar-trend-item small {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-trend-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--cream-bg);
  color: var(--green-primary);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trending-widget .widget-header h4 i {
  color: #e65100;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.empty-state i {
  font-size: 48px;
  color: var(--green-primary);
  opacity: 0.4;
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-size: 16px;
  margin-bottom: 20px;
}

.error-404 .error-code {
  font-size: 80px;
  font-weight: 900;
  color: var(--green-primary);
  opacity: 0.2;
  display: block;
  line-height: 1;
}

.error-404 h1 {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-bottom: 12px;
}

/* ========== VIDEO PAGE ========== */
.video-page {
  background: var(--cream-bg);
  padding-top: 8px;
}

.video-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  margin: 10px 0 14px;
  color: var(--text-dark);
}

.video-excerpt {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 8px;
}

/* ========== STORIES PAGE ========== */
.stories-page-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 24px;
  margin-bottom: 8px;
  scrollbar-width: thin;
}

.stories-page-scroll::-webkit-scrollbar { height: 5px; }
.stories-page-scroll::-webkit-scrollbar-thumb { background: var(--green-secondary); border-radius: 3px; }

.stories-grid {
  margin-bottom: 32px;
}

.story-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.story-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  pointer-events: none;
}

.story-card-text-overlay p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.story-card:hover .story-card-img img {
  transform: scale(1.05);
}

.story-card-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.story-card-body {
  padding: 16px;
}

.story-card-body h5 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 6px;
  color: var(--text-dark);
}

.story-card-body small {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== STORY VIEWER (fullscreen stream) ========== */
body.story-viewer-open {
  overflow: hidden;
  background: #000;
}

.hw-story-stream {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  background: #000;
}

.hw-story-stream .story-viewer {
  position: relative;
  inset: auto;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #111;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.story-viewer-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 12px 12px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}

.story-progress-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.story-progress-seg {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-seg i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--white);
  border-radius: 2px;
}

.story-progress-seg.done i { width: 100%; }
.story-progress-seg.active i {
  animation: storyProgress 5s linear forwards;
}

@keyframes storyProgress {
  from { width: 0; }
  to { width: 100%; }
}

.story-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.story-viewer-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.story-viewer-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow-accent);
}

.story-viewer-user strong {
  display: block;
  font-size: 14px;
}

.story-viewer-user small {
  font-size: 11px;
  opacity: 0.8;
}

.story-viewer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.story-viewer-close:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
}

.story-viewer-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.story-slide img,
.story-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-slide-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0.88) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.story-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 72px 20px 36px;
  color: #fff;
  pointer-events: none;
}

.story-slide-content--cover { justify-content: center; }
.story-slide-content--quote  { justify-content: center; text-align: center; }
.story-slide-content--cta    { justify-content: center; text-align: center; pointer-events: auto; }

/* ---- TEMPLATE: COVER (NDTV title slide) ---- */
.story-tpl-cover {
  text-align: center;
}

.story-tpl-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow-accent);
  margin-bottom: 10px;
}

.story-tpl-cat {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 14px;
}

.story-tpl-cover-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.story-tpl-cover-intro {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.92;
  margin: 0 0 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.story-tpl-swipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.7;
  animation: storySwipe 2s ease-in-out infinite;
}

@keyframes storySwipe {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ---- TEMPLATE: INTRO ---- */
.story-tpl-intro-head {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.3;
}

.story-tpl-intro-text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.92;
}

/* ---- TEMPLATE: POINT (numbered, NDTV listicle) ---- */
.story-tpl-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 12px;
}

.story-tpl-point-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.story-tpl-point-text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.92;
}

/* ---- TEMPLATE: EXPLAIN ---- */
.story-tpl-explain-head {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}

.story-tpl-explain-text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
  opacity: 0.92;
}

.story-tpl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-accent);
  text-decoration: none;
  pointer-events: auto;
}

.story-tpl-link:hover { color: #fff; }

/* ---- TEMPLATE: QUOTE / HIGHLIGHT ---- */
.story-tpl-quote-text {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 14px;
  border: none;
  padding: 0;
  color: var(--yellow-accent);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.story-tpl-quote-sub {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

/* ---- TEMPLATE: CTA ---- */
.story-tpl-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--yellow-accent);
  color: var(--green-primary);
  border-radius: 50%;
  font-size: 22px;
  margin: 0 auto 16px;
}

.story-tpl-cta-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.story-tpl-cta-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 0 20px;
}

.story-tpl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s;
  pointer-events: auto;
}

.story-tpl-cta-btn:hover {
  color: var(--green-primary);
  transform: translateY(-2px);
}

/* Ad slide */
.story-slide--ad,
.story-tpl-ad { background: #111; }

.story-slide-ad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 40px;
  z-index: 2;
}

.story-ad-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.6);
  width: 100%;
}

.story-ad-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.4);
}

.story-ad-box {
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 40px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.story-ad-placeholder small {
  font-size: 11px;
  opacity: 0.5;
}

/* Legacy caption — keep for compat */
.story-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}

.story-slide-caption p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.story-tap-zone {
  position: absolute;
  top: 80px;
  bottom: 0;
  width: 35%;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}

.story-tap-prev { left: 0; }
.story-tap-next { right: 0; }

.story-viewer-next-link {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-accent);
  color: var(--green-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 15;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.story-viewer-next-link:hover {
  color: var(--green-primary);
  transform: translateX(-50%) translateY(-2px);
}

@media (min-width: 481px) {
  .story-viewer {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-img-wrap { height: 340px; }
  .hero-title { font-size: 24px; }
  .brand-name { font-size: 22px; }
}

@media (max-width: 768px) {
  .top-bar-inner { gap: 8px; min-height: 36px; padding: 7px 0; }
  .top-bar-left, .top-bar-right { gap: 8px; }
  .top-social { gap: 4px; }
  .header-brand { padding: 12px 0; }
  .brand-name { font-size: 20px; }
  .brand-icon { width: 42px; height: 42px; font-size: 18px; }
  .hero-img-wrap { height: 280px; }
  .hero-title { font-size: 20px; }
  .hero-excerpt { display: none; }
  .hero-content { padding: 20px; }
  .section-title { font-size: 20px; }
  .breaking-badge { font-size: 11px; padding: 0 16px; padding-right: 24px; }
  .breaking-ticker { font-size: 12px; }
  .breaking-nav { padding: 0 8px; }
  .trending-panel { margin-top: 0; }
}

@media (max-width: 576px) {
  .top-bar { font-size: 11px; }
  .top-bar-inner { padding: 8px 0; gap: 10px; }
  .top-meta { gap: 0; }
  .top-date-text {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }
  .top-bar-right { gap: 8px; }
  .top-link { min-width: 24px; min-height: 24px; font-size: 11px; }
  .top-social a { width: 24px; height: 24px; font-size: 11px; }
  .breaking-badge { font-size: 11px; padding: 0 22px 0 14px; min-width: 130px; }
  .breaking-nav { padding: 0 10px; }
  .hero-img-wrap { height: 220px; }
  .hero-title { font-size: 17px; }
  .brand-name { font-size: 18px; }
  .brand-icon { width: 40px; height: 40px; font-size: 16px; }
  .hero-btn { font-size: 12px; padding: 8px 16px; }
  .story-ring { width: 62px; height: 62px; }
  .story-item { min-width: 66px; }
  .category-header { padding: 20px 0 24px; }
  .category-header-inner { gap: 12px; }
  .category-icon { width: 48px; height: 48px; font-size: 18px; }
  .category-count { width: 100%; justify-content: center; margin-top: 4px; }
  .article-content { padding: 20px 18px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; }
  .article-sidebar { position: static; }
}

.video-player-native {
  width: 100%;
  border-radius: 8px;
  background: #000;
  max-height: 70vh;
}

/* WordPress custom logo */
.brand-logo-wrap .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.brand-logo-wrap .custom-logo {
  max-height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* Widget titles in sidebar/footer */
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hw-green-dark, #1e472e);
  margin-bottom: 12px;
}

/* Infinite reading / story stream */
.hw-article-stream .hw-article-item + .hw-article-item {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hw-article-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0 28px;
  position: relative;
}

.hw-article-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(30, 71, 46, 0.15), transparent);
}

.hw-article-divider span {
  position: relative;
  z-index: 1;
  background: var(--cream-bg, #fff8e3);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green, #1e472e);
  border: 1px solid rgba(30, 71, 46, 0.12);
}

.hw-article-divider i {
  margin-right: 6px;
  opacity: 0.85;
}

.hw-stream-sentinel,
.hw-infinite-sentinel {
  height: 4px;
  width: 100%;
  pointer-events: none;
}

.hw-infinite-loader {
  margin-top: 8px;
}

.hw-infinite-loader[hidden] {
  display: none !important;
}

.hw-stream-loader,
.hw-story-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  color: var(--text-muted, #666);
  font-size: 14px;
}

.hw-story-loader {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
}

.hw-stream-end {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted, #666);
}

.hw-stream-loader-spin {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(30, 71, 46, 0.2);
  border-top-color: var(--primary-green, #1e472e);
  border-radius: 50%;
  animation: hwSpin 0.8s linear infinite;
}

.hw-story-loader .hw-stream-loader-spin {
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
}

@keyframes hwSpin {
  to { transform: rotate(360deg); }
}

/* ========== ACCESSIBILITY — Skip link ========== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: var(--green-primary);
  clip: auto;
  clip-path: none;
  color: #fff;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  height: auto;
  left: 1rem;
  line-height: 1.4;
  padding: 0.75rem 1.25rem;
  position: fixed;
  top: 1rem;
  width: auto;
  z-index: 100000;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* ========== COMMENTS ========== */
.article-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 1.25rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.comment-list .comment {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.comment-list .children {
  list-style: none;
  margin: 1rem 0 0 1.5rem;
  padding: 0;
}

.hw-comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hw-comment-form input[type="text"],
.hw-comment-form input[type="email"],
.hw-comment-form input[type="url"],
.hw-comment-form textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.hw-comment-form .form-submit input {
  background: var(--green-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

/* ========== AUTHOR ARCHIVE ========== */
.author-header .author-avatar img {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.full-width-page .page-content {
  max-width: 900px;
  margin: 0 auto;
}

/* ========== STICKY / COMPACT HEADER ========== */
.hw-site-header {
  position: relative;
  z-index: 1000;
  background: var(--cream-bg);
}

body.hw-sticky-enabled .hw-site-header.hw-header-style-sticky,
body.hw-sticky-enabled .hw-site-header.hw-header-style-compact,
body.hw-sticky-enabled .hw-site-header.hw-header-style-default {
  position: sticky;
  top: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hw-site-header.is-stuck {
  box-shadow: 0 4px 24px rgba(30, 71, 46, 0.12);
}

.hw-site-header.hw-header-style-compact.is-scrolled .brand-tagline,
.hw-site-header.hw-header-style-compact.is-scrolled .header-search-col {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: opacity 0.2s ease, max-height 0.2s ease;
}

.hw-site-header.hw-header-style-compact.is-scrolled .main-header {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.hw-site-header.hw-header-style-compact.is-scrolled .brand-icon {
  transform: scale(0.88);
  transition: transform 0.2s ease;
}

body.hw-header-scrolled .nav-bar {
  box-shadow: inset 0 1px 0 var(--border-light);
}

/* ========== BOXED LAYOUT ========== */
body.hw-width-boxed .hw-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== LAYOUT COLUMNS ========== */
.hw-layout-columns.hw-sidebar-left .hw-content-col {
  order: 2;
}

@media (min-width: 992px) {
  .hw-layout-columns .order-lg-1 { order: 1 !important; }
  .hw-layout-columns .order-lg-2 { order: 2 !important; }
}

/* ========== v4 — Header presets ========== */
body.hw-header-preset-centered .header-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

body.hw-header-preset-centered .header-logo-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

body.hw-header-preset-centered .header-search-col {
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

body.hw-header-preset-transparent:not(.hw-header-scrolled) .hw-site-header {
  background: transparent;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
}

body.hw-header-preset-transparent:not(.hw-header-scrolled) .main-header,
body.hw-header-preset-transparent:not(.hw-header-scrolled) .nav-bar {
  background: rgba(30, 71, 46, 0.92);
}

body.hw-header-preset-transparent.home .main-content {
  padding-top: 0;
}

body.hw-no-topbar .top-bar {
  display: none !important;
}

/* ========== Ad slots ========== */
.hw-ad-slot {
  margin: 0.75rem auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.hw-ad-header {
  max-width: 970px;
}

.hw-ad-in-article {
  margin: 1.5rem 0;
  padding: 0.75rem;
  background: rgba(30, 71, 46, 0.04);
  border-radius: var(--radius-md);
}

/* ========== Author box ========== */
.author-box {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.author-box-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.author-box-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.author-box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.author-box-name {
  margin: 0.15rem 0 0.5rem;
  font-size: 1.15rem;
}

.author-box-name a {
  color: var(--green-primary);
}

.author-box-bio {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.author-box-link {
  font-weight: 600;
  color: var(--green-secondary);
}

.article-meta--solo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.article-views,
.article-author-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== Scroll to top ========== */
.hw-scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--green-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30, 71, 46, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hw-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hw-scroll-top:hover {
  background: var(--green-secondary);
}

/* ========== Pagination ========== */
.hw-pagination,
.navigation.pagination {
  margin-top: 2rem;
}

.hw-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.hw-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--green-primary);
  font-weight: 600;
}

.hw-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

/* ========== WooCommerce basics ========== */
.woocommerce-page .woocommerce-breadcrumb {
  margin-bottom: 1rem;
}

.woocommerce ul.products {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
}

.woocommerce .button,
.woocommerce button.button {
  background: var(--green-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
}

/* ========== Footer layouts ========== */
.hw-footer-layout-centered .footer-social {
  justify-content: center;
}

.hw-lang-switcher a {
  color: var(--yellow-accent);
  font-weight: 600;
  margin-left: 0.5rem;
}
