:root {
  --red: #e8181e;
  --red2: #e8181e;
  --dark: #0d0d0d;
  --dark2: #1a2a4a;
  --dark3: #1e3155;
  --blue: #1a4fa0;
  --blue2: #1e5cbf;
  --gold: #d4a843;
  --cream: #fdf6e3;
  --gray: #888;
  --lgray: #f5f5f0;
  --card-bg: #fff;
  --text: #1a1a1a;
  --subtext: #555;
  --border: #e0e0d8;
  --font-head: 'Baloo 2', 'Baloo Tamma 2', sans-serif;
  --font-deva: 'Baloo Tamma 2', 'Baloo 2', sans-serif;
  --font-body: 'Baloo 2', 'Baloo Tamma 2', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--lgray);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh
}

/* TICKER */
.ticker {
  background: var(--red);
  color: #fff;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 1000
}

.ticker-tag {
  background: var(--dark);
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0
}

.ticker-wrap {
  flex: 1;
  overflow: hidden
}

.ticker-text {
  display: inline-flex;
  animation: tick 40s linear infinite;
  white-space: nowrap;
  gap: 60px;
  padding-left: 100%
}

.ticker-text span::before {
  content: "◆ ";
  opacity: .7
}

@keyframes tick {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* HEADER */
header {
  background: var(--blue);
  border-bottom: 3px solid var(--red)
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
  flex-wrap: wrap
}

.brand-name {
  font-family: var(--font-deva);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap
}

.brand-name>span:first-child {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px
}

.brand-update {
  background: var(--red);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(14px, 2.2vw, 22px);
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 2px;
  text-transform: uppercase
}

.brand-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.date-display {
  color: #aaa;
  font-size: 12px;
  text-align: right
}

.date-display strong {
  display: block;
  color: var(--gold);
  font-size: 13px
}

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher {
  position: relative;
  z-index: 400
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 7px 13px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-deva);
  transition: all .2s;
  white-space: nowrap;
  min-width: 130px;
  justify-content: space-between;
  user-select: none
}

.lang-current:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .4)
}

.lang-current.open {
  background: rgba(255, 255, 255, .15);
  border-color: var(--red2)
}

.lc-flag {
  font-size: 17px
}

.lc-label {
  flex: 1;
  text-align: left;
  margin: 0 4px
}

.lc-arrow {
  font-size: 10px;
  opacity: .6;
  transition: transform .25s
}

.lang-current.open .lc-arrow {
  transform: rotate(180deg)
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a2030;
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  min-width: 200px;
  opacity: 0;
  transform: translateY(-10px) scale(.97);
  pointer-events: none;
  transition: opacity .22s, transform .22s
}

.lang-dropdown.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all
}

.lang-dropdown-head {
  padding: 10px 14px 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #666;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  cursor: pointer;
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-deva);
  transition: background .15s, color .15s;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: relative
}

.lang-option:last-child {
  border-bottom: none
}

.lang-option:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff
}

.lang-option.active {
  background: linear-gradient(to right, rgba(192, 57, 43, .35), rgba(192, 57, 43, .1));
  color: #fff
}

.lang-option.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red2)
}

.lo-flag {
  font-size: 20px
}

.lo-info {
  flex: 1
}

.lo-name {
  display: block;
  font-size: 14px;
  font-weight: 700
}

.lo-native {
  display: block;
  font-size: 11px;
  opacity: .55;
  margin-top: 1px
}

.lo-check {
  font-size: 14px;
  opacity: 0;
  transition: opacity .15s
}

.lang-option.active .lo-check {
  opacity: 1
}

/* translating spinner */
.lang-translating {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #d4a843
}

.lang-translating.show {
  display: flex
}

.spin {
  animation: spin .7s linear infinite;
  display: inline-block
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* Auto-detect badge */
.auto-badge {
  background: rgba(212, 168, 67, .18);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 4px;
  letter-spacing: .5px
}

/* FADE on lang switch */
.lang-fade {
  animation: langFade .3s ease
}

@keyframes langFade {
  0% {
    opacity: 0;
    transform: translateY(6px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

/* PAGE TRANSLATE OVERLAY */
.translate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, .6);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(4px)
}

.translate-overlay.show {
  display: flex
}

.translate-overlay .to-icon {
  font-size: 38px;
  animation: spin .8s linear infinite
}

.translate-overlay .to-text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-deva)
}

.translate-overlay .to-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, .15);
  border-radius: 2px;
  overflow: hidden
}

.translate-overlay .to-fill {
  height: 100%;
  background: var(--red2);
  border-radius: 2px;
  animation: fillBar 1.2s ease forwards
}

@keyframes fillBar {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

.latest-link {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  padding: 7px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .2s;
  border: 1px solid rgba(255, 255, 255, .3)
}

.latest-link:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff
}

/* FEATURED SECTION */
.featured-section {
  background: var(--lgray);
  padding: 26px 0 0
}

.featured-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px
}

.featured-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px
}

@media(max-width:800px) {
  .featured-duo {
    grid-template-columns: 1fr;
    gap: 18px
  }
}

.featured-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .11);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: fadeUp .4s ease both;
  border: 1px solid var(--border)
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, .15)
}

.featured-img-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--lgray)
}

@media(max-width:800px) {
  .featured-img-wrap {
    height: 300px
  }
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card:hover .featured-img-wrap img {
  transform: scale(1.04)
}

.featured-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.featured-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px
}

.featured-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .28));
  pointer-events: none
}

.featured-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap
}

.featured-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--dark)
}

.featured-desc {
  color: var(--subtext);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 8px
}

.featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25)
}

.featured-trend-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

/* NAV */
nav {
  background: var(--dark2);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  overflow-x: auto
}

.nav-inner {
  display: flex;
  padding: 0 20px;
  gap: 2px;
  min-width: max-content
}

.nav-btn {
  background: none;
  border: none;
  color: #aaa;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  font-family: var(--font-deva);
  border-bottom: 3px solid transparent;
  white-space: nowrap
}

.nav-btn.active,
.nav-btn:hover {
  color: #fff;
  border-bottom-color: var(--red2)
}

/* SEARCH */
.search-bar {
  background: var(--dark3);
  padding: 12px 24px
}

.search-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative
}

.search-inner input {
  width: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 11px 46px 11px 16px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s
}

.search-inner input::placeholder {
  color: #666
}

.search-inner input:focus {
  border-color: var(--red2)
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none
}

.search-count {
  color: #aaa;
  font-size: 12px;
  text-align: center;
  margin-top: 7px;
  min-height: 16px
}

/* LAYOUT */
.main-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 20px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 26px
}

@media(max-width:940px) {
  .main-layout {
    grid-template-columns: 1fr
  }
}

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent)
}

/* CARDS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 20px;
  margin-bottom: 24px
}

.news-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  animation: fadeUp .4s ease both
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .1)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.card-placeholder {
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px
}

.card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  flex-wrap: wrap
}

.cat-badge {
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase
}

.time-ago {
  color: var(--gray);
  font-size: 12px
}

.card-title {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 7px;
  flex: 1
}

.card-desc {
  color: var(--subtext);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto
}

.card-date {
  font-size: 11px;
  color: var(--gray)
}

.read-btn {
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red);
  padding: 5px 13px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s
}

.read-btn:hover {
  background: var(--red);
  color: #fff
}

.read-more-btn {
  background: var(--red);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s
}

.read-more-btn:hover {
  background: var(--dark)
}

/* PAGINATION */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 6px 0 28px;
  flex-wrap: wrap
}

.page-btn {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all .2s
}

.page-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

.page-btn:hover:not(.active):not(.disabled) {
  border-color: var(--red);
  color: var(--red)
}

.page-btn.disabled {
  opacity: .4;
  pointer-events: none
}

/* SIDEBAR */
.sidebar-section {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06)
}

.sidebar-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 9px;
  margin-bottom: 14px
}

.trend-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer
}

.trend-item:last-child {
  border-bottom: none
}

.trend-item:hover .trend-title {
  color: var(--red)
}

.trend-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  min-width: 26px
}

.trend-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s
}

.trend-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 3px
}

.cat-filter-list {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.cat-filter-btn {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--subtext);
  padding: 8px 13px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-deva);
  text-align: left;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.cat-filter-btn.active,
.cat-filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

.cat-count {
  background: rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px
}

.cat-filter-btn.active .cat-count {
  background: rgba(255, 255, 255, .2)
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  z-index: 2000;
  overflow-y: auto;
  padding: 16px;
  align-items: flex-start;
  justify-content: center
}

.modal-overlay.open {
  display: flex
}

.modal-box {
  background: var(--card-bg);
  max-width: 780px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: auto;
  animation: slideUp .28s ease
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.modal-close {
  display: block;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 11px 18px;
  width: 100%;
  text-align: right;
  cursor: pointer;
  font-size: 20px
}

.modal-placeholder {
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 85px
}

.modal-content {
  padding: 26px 30px 34px
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  flex-wrap: wrap
}

.modal-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 13px
}

.modal-author {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 18px;
  border-left: 3px solid var(--red);
  padding-left: 11px
}

.modal-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--subtext)
}

.modal-body p {
  margin-bottom: 13px
}

/* NO RESULTS */
.no-results {
  text-align: center;
  padding: 55px 20px;
  color: var(--gray)
}

.no-results .icon {
  font-size: 50px;
  margin-bottom: 12px
}

.no-results h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 7px
}

.hero-placeholder {
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px
}

.trend-star {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 1.5px
}

footer {
  background: var(--blue);
  color: #aaa;
  padding: 28px 24px;
  text-align: center
}

footer strong {
  color: var(--gold)
}

/* ── TALUKA FILTER BAR ── */
.taluka-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 6px;
  background: linear-gradient(135deg, rgba(26, 42, 74, .06) 0%, rgba(212, 168, 67, .06) 100%);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.taluka-filter-bar::-webkit-scrollbar {
  display: none;
}

.taluka-filter-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.taluka-filter-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--subtext);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
  transition: all .18s;
}

.taluka-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.taluka-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  font-weight: 700;
}

.taluka-filter-btn.clear-btn {
  border-color: var(--red);
  color: var(--red);
}

.taluka-filter-btn.clear-btn:hover {
  background: var(--red);
  color: #fff;
}

/* ── TALUKA BADGE on cards/modal ── */
.taluka-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(212, 168, 67, .15);
  border: 1px solid rgba(212, 168, 67, .3);
  color: var(--gold, #d4a843);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: .4px;
  font-family: var(--font-body);
}

.modal-taluka-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  flex-wrap: wrap;
}

/* MAHARASHTRA PAGE */
.maharashtra-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 1500;
  overflow-y: auto;
  padding: 16px
}

.maharashtra-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center
}

.maharashtra-box {
  background: #fff;
  max-width: 900px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin: auto;
  animation: slideUp .28s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3)
}

.mh-header {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.mh-header h2 {
  font-family: var(--font-deva);
  font-size: 22px;
  font-weight: 900
}

.mh-header p {
  font-size: 13px;
  opacity: .8;
  margin-top: 3px
}

.mh-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s
}

.mh-close:hover {
  background: rgba(255, 255, 255, .35)
}

.mh-body {
  padding: 24px 26px
}

.mh-district {
  margin-bottom: 20px
}

.mh-district-title {
  font-family: var(--font-deva);
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  border-left: 4px solid var(--red);
  padding-left: 12px;
  margin-bottom: 12px
}

.taluka-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.taluka-btn {
  background: #f0f4ff;
  border: 1.5px solid #c5d3f0;
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-deva);
  transition: all .2s
}

.taluka-btn:hover,
.taluka-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

.mh-news-section {
  margin-top: 20px;
  border-top: 2px solid #e8eef8;
  padding-top: 18px
}

.mh-news-section-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px
}

.mh-news-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #e0e0d8, transparent)
}

.mh-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px
}

.mh-news-card {
  background: var(--lgray);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s
}

.mh-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1)
}

.mh-news-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block
}

.mh-news-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, #e8eef8, #d0daf5)
}

.mh-news-body {
  padding: 12px
}

.mh-news-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5px;
  color: var(--dark)
}

.mh-news-meta {
  font-size: 11px;
  color: var(--gray)
}

.mh-empty {
  text-align: center;
  padding: 30px;
  color: var(--gray);
  font-size: 14px
}

@media(max-width:600px) {
  .mh-body {
    padding: 16px
  }

  .mh-header {
    padding: 16px
  }
}

@media(max-width:580px) {
  .header-top {
    gap: 10px
  }

  .modal-content {
    padding: 18px
  }
}

/* ══════════════════════════════════════════════════════════════
   ADS DISPLAY LAYER — NagarUpdate.in
   Pure UI redesign: animations, shadows, timer, responsive
   All function names / JS logic unchanged
   ══════════════════════════════════════════════════════════════ */

/* ── Brand slogan ── */
.brand-slogan {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .72);
  font-style: italic;
  letter-spacing: .6px;
  margin-top: 4px;
  font-family: var(--font-deva, 'Baloo Tamma 2', sans-serif)
}

/* ── Base ad unit ── */
.ad-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease
}

.ad-unit:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .1)
}

.ad-unit a {
  display: block;
  width: 100%;
  height: 100%
}

.ad-unit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease
}

.ad-unit:hover img {
  transform: scale(1.03)
}

.ad-unit--hidden {
  display: none !important
}

/* ── Ad label pill ── */
.ad-label {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 7px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, .15)
}

/* ── Timer countdown ── */
.ad-timer {
  position: absolute;
  bottom: 7px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 8px 2px 5px;
  border-radius: 20px;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: opacity .4s
}

.ad-timer-ring {
  width: 13px;
  height: 13px;
  position: relative;
  flex-shrink: 0
}

.ad-timer-ring svg {
  width: 13px;
  height: 13px;
  transform: rotate(-90deg)
}

.ad-timer-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 2.2
}

.ad-timer-ring circle.progress {
  stroke: #4ade80;
  stroke-linecap: round;
  stroke-dasharray: 28.27;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke .5s ease
}

.ad-timer-text {
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap
}

/* ── AdSense wrapper ── */
.ad-adsense-wrap {
  width: 100%;
  overflow: hidden;
  text-align: center
}

/* ── Header banner ad ── */
.ad-header-banner {
  width: 100%;
  max-height: 100px;
  background: linear-gradient(to right, #0d0d0d, #141414);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid rgba(192, 57, 43, .2);
  animation: adSlideDown .55s cubic-bezier(.22, 1, .36, 1) both
}

.ad-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 79, 160, .06) 0%, transparent 50%, rgba(232, 24, 30, .06) 100%);
  pointer-events: none
}

.ad-header-banner .ad-unit {
  width: 100%;
  max-height: 100px;
  min-height: 55px;
  border-radius: 0;
  border: none;
  background: transparent
}

.ad-header-banner .ad-unit:hover {
  transform: none;
  box-shadow: none
}

.ad-header-banner .ad-unit:hover img {
  transform: none
}

.ad-header-banner img {
  object-fit: contain;
  max-height: 100px;
  width: auto;
  max-width: 100%;
  margin: 0 auto
}

@keyframes adSlideDown {
  from {
    opacity: 0;
    max-height: 0
  }

  to {
    opacity: 1;
    max-height: 100px
  }
}

/* ── Sidebar ad ── */
.ad-sidebar-slot {
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  animation: adFadeUp .6s ease both;
  animation-delay: .2s;
  opacity: 0;
  animation-fill-mode: forwards
}

.ad-sidebar-slot .ad-unit {
  width: 100%;
  min-height: 200px;
  max-height: 280px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden
}

/* ── Between posts ad ── */
.ad-between-posts {
  grid-column: 1/-1;
  width: 90%;
  min-height: 500px;
  max-height: 250px;
  border-radius: 14px;
  overflow: hidden;
  margin: 6px 0 10px;
  animation: adScaleIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
  position: relative
}

.ad-between-posts::before {
  content: 'SPONSORED';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  padding: 2px 10px;
  border-radius: 0 0 8px 8px;
  z-index: 3;
  pointer-events: none
}

.ad-between-posts .ad-unit {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .07);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .22)
}

@keyframes adScaleIn {
  from {
    opacity: 0;
    transform: scaleY(.85)
  }

  to {
    opacity: 1;
    transform: scaleY(1)
  }
}

/* ── Below article ad ── */
.ad-article-slot {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  animation: adFadeUp .5s ease both;
  animation-delay: .15s;
  opacity: 0;
  animation-fill-mode: forwards
}

.ad-article-slot::before {
  content: '— Advertisement —';
  display: block;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, .3);
  margin-bottom: 10px;
  text-transform: uppercase
}

.ad-article-slot .ad-unit {
  width: 100%;
  min-height: 100px;
  max-height: 180px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1), 0 1px 4px rgba(0, 0, 0, .06);
  overflow: hidden
}

/* ── Shared keyframes ── */
@keyframes adFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ── Responsive ── */
@media(max-width:768px) {
  .ad-header-banner {
    max-height: 72px
  }

  .ad-header-banner .ad-unit {
    max-height: 72px;
    min-height: 44px
  }

  .ad-header-banner img {
    max-height: 72px
  }

  .ad-sidebar-slot .ad-unit {
    min-height: 100px;
    max-height: 200px
  }

  .ad-between-posts {
    min-height: 72px;
    max-height: 100px;
    border-radius: 10px
  }

  .ad-article-slot .ad-unit {
    min-height: 80px;
    max-height: 140px
  }

  .ad-unit:hover {
    transform: none
  }

  .ad-unit:hover img {
    transform: none
  }
}

@media(max-width:480px) {
  .ad-header-banner {
    max-height: 56px
  }

  .ad-header-banner .ad-unit {
    min-height: 38px;
    max-height: 56px
  }

  .ad-header-banner img {
    max-height: 56px
  }

  .ad-between-posts {
    min-height: 60px;
    max-height: 88px;
    border-radius: 8px
  }

  .ad-timer {
    font-size: 9px;
    padding: 2px 6px
  }
}

/* ── Video ad unit ── */
.ad-unit video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ad-unit--video {
  cursor: pointer
}

.ad-unit--video:hover video {
  opacity: .9
}

.ad-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .0);
  transition: background .25s;
  pointer-events: none;
  z-index: 3
}

.ad-unit--video:hover .ad-video-play-overlay {
  background: rgba(0, 0, 0, .15)
}

.ad-video-play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
  border: 2px solid rgba(255, 255, 255, .3)
}

.ad-unit--video:hover .ad-video-play-btn {
  opacity: 1;
  transform: scale(1)
}

/* ═══ SOCIAL MEDIA BUTTONS ═══ */
.social-btns {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s, transform .15s;
  line-height: 1;
}

.social-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.social-btn svg {
  flex-shrink: 0;
}

.social-fb {
  background: #1877f2;
}

.social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-yt {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(255, 0, 0, 0.45);
  letter-spacing: .3px;
  gap: 7px;
}

.social-yt:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(255, 0, 0, 0.6);
}

.social-yt svg {
  width: 26px !important;
  height: 26px !important;
}

.social-btns-footer {
  justify-content: center;
  margin: 12px 0 6px;
  gap: 10px;
}

.social-btns-footer .social-btn {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.social-btns-footer .social-yt {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 10px;
  gap: 8px;
}

.social-btns-footer .social-yt svg {
  width: 30px !important;
  height: 30px !important;
}

/* ═══ CATEGORY NAMES — EXTRA BOLD & HIGHLIGHTED ═══ */
.cat-filter-btn {
  font-weight: 800 !important;
  font-family: var(--font-deva) !important;
  letter-spacing: .3px;
}

.cat-filter-btn.active {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(232, 24, 30, .35);
}

.nav-item {
  font-weight: 800 !important;
  font-family: var(--font-deva) !important;
}

.nav-item.active {
  font-weight: 800 !important;
}

@media (max-width: 600px) {
  .social-btns {
    gap: 5px;
  }

  .social-btn {
    padding: 5px 7px;
    font-size: 0;
  }

  .social-btn svg {
    width: 20px;
    height: 20px;
  }

  .social-yt {
    padding: 6px 10px;
    font-size: 0;
  }

  .social-yt svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* ===============================
   🔥 FEATURED IMAGE FINAL FIX
   =============================== */

  .featured-img-wrap {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #eee;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }

  /* Image full cover */
  .featured-img-wrap img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease;
  }

  /* Hover zoom effect */
  .featured-card:hover .featured-img-wrap img {
    transform: scale(1.05);
  }

  /* Remove all old conflicts */
  .featured-img-wrap img[style] {
    height: 100% !important;
    width: 100% !important;
  }

  /* Mobile responsive */
  @media (max-width: 768px) {
    .featured-img-wrap {
      height: 220px;
    }
  }
}