/* =========================================================
   ✅ NEWS1 BIHAR JHARKHAND - FRONTEND STYLE (CLEAN FINAL)
   ✅ LiveHindustan Like UI + Responsive
   ========================================================= */

/* ✅ Reset / Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans Devanagari", Arial, sans-serif;
  background: #fff;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #d71920;
}

img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* ✅ Utility */
.text-red {
  color: #d71920;
}

.bg-red {
  background: #d71920;
}

.bg-black {
  background: #111;
}

.text-white {
  color: #fff;
}

/* ✅ Top Bar Responsive Helper */
.topbar-wrap {
  display: flex;
}

/* =========================================================
   ✅ HEADER + NAV BASIC RESPONSIVE SUPPORT
   ========================================================= */

header {
  width: 100%;
}

nav {
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* ✅ Mobile header/search fixes */
@media (max-width:768px) {

  header form {
    width: 100% !important;
    max-width: 100% !important;
  }

  header input[type="text"],
  header input[type="search"] {
    width: 100% !important;
  }

  /* ✅ Topbar stack */
  .topbar-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* ✅ Menu scroll horizontal */
  nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   ✅ BREAKING BAR
   ========================================================= */

.breaking-bar {
  background: #d71920;
  color: #fff;
  padding: 8px 12px;
  font-weight: bold;
}

.breaking-badge {
  background: #111;
  padding: 4px 10px;
  margin-right: 10px;
  border-radius: 4px;
  display: inline-block;
}

/* =========================================================
   ✅ LIVEHINDUSTAN HOME UI FINAL (lh-*)
   (Used in home.php)
   ========================================================= */

.lh-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px;
}

/* ✅ Section Title */
.lh-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
  font-weight: 800;
  font-size: 20px;
}

.lh-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: #d71920;
  display: inline-block;
}

.lh-section-line {
  flex: 1;
  height: 2px;
  background: #d71920;
  opacity: 0.85;
}

/* ✅ 3 Column Grid */
.lh-grid {
  display: grid;
  grid-template-columns: 2.1fr 1.35fr 1fr;
  gap: 18px;
}

/* ✅ Hero Featured */
.lh-hero-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

.lh-hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.lh-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 16px 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.05));
}

/* ✅ News List */
.lh-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.lh-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.lh-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lh-thumb {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.lh-item h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: #111;
}

.lh-meta {
  font-size: 12px;
  color: #777;
}

/* ✅ Right Sidebar Ad */
.lh-right-ad img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* ✅ Right Box */
.lh-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
}

.lh-box-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px 0;
  padding-left: 10px;
  border-left: 4px solid #d71920;
}

.lh-read-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.lh-read-item:last-child {
  border-bottom: none;
}

.lh-read-item img {
  width: 90px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.lh-read-item a {
  color: #111;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
}

/* ✅ Trending Tags */
.lh-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lh-tags-label {
  color: #d71920;
  font-weight: 800;
}

.lh-tag {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.lh-tag:hover {
  border-color: #d71920;
  color: #d71920;
}

/* ✅ Responsive for Home */
@media (max-width: 992px) {
  .lh-grid {
    grid-template-columns: 1fr;
  }

  .lh-hero-card img {
    height: 240px;
  }

  .lh-hero-title {
    font-size: 18px;
    line-height: 26px;
  }

  .lh-thumb {
    width: 110px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .lh-container {
    padding: 10px;
  }

  .lh-thumb {
    width: 95px;
    height: 65px;
  }

  .lh-item h4 {
    font-size: 14px;
    line-height: 19px;
  }
}

/* =========================================================
   ✅ CATEGORY BLOCKS (cat-*)
   ========================================================= */

.cat-block {
  margin-top: 22px;
}

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  border-left: 4px solid #d71920;
  padding-left: 10px;
}

.cat-head a {
  font-size: 14px;
  font-weight: 700;
  color: #d71920;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.cat-big {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.cat-big img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cat-big h4 {
  margin: 10px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-mini {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.cat-mini:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-mini img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.cat-mini a {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.cat-mini a:hover {
  color: #d71920;
}

@media(max-width:992px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-big img {
    height: 200px;
  }
}

/* =========================================================
   ✅ FOOTER
   ========================================================= */
footer {
  background: #111;
  color: #fff;
  padding: 20px 12px;
  margin-top: 30px;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #ffd2d2;
}

/* =========================================================
   ✅ LIVEHINDUSTAN STYLE HEADER + MENU (STICKY + MEGA SMOOTH)
   ========================================================= */

.lh-sticky-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
}

.lh-header-row {
  max-width: 1200px;
  margin: auto;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lh-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lh-hamburger {
  background: #d71920;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  display: none;
}

.lh-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.lh-tool-btn {
  background: #f2f2f2;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lh-tool-btn:hover {
  background: #ffecec;
  color: #d71920;
}

.lh-tools select {
  padding: 9px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.lh-search-form {
  display: flex;
  gap: 8px;
  min-width: 220px;
  max-width: 420px;
  flex: 1;
}

.lh-search-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
}

.lh-search-form input:focus {
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.15);
}

.lh-search-form button {
  padding: 10px 14px;
  background: #d71920;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

/* ✅ MAIN MENU */
.lh-menu {
  background: #d71920;
  padding: 10px;
}

.lh-menu-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  overflow: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.lh-menu-inner a {
  color: #fff;
  font-weight: 800;
  padding: 6px 6px;
}

@media(max-width:768px) {
  .lh-menu-inner {
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}


/* ✅ Hide header tools in Mobile */
@media(max-width:768px) {

  .lh-tool-btn,
  #stateSelect,
  #citySelect {
    display: none !important;
  }
}

.lh-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 99999;
  transition: 0.25s ease;
}

.lh-drawer.open {
  left: 0;
}

.lh-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
}

.lh-drawer-overlay.show {
  display: block;
}

/* ✅ Mega menu dropdown */
.lh-mega-item {
  position: relative;
  display: inline-block;
}

.lh-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 520px;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: none;
  transform: translateY(10px);
  opacity: 0;
  transition: 0.2s ease;
  z-index: 99999;
}

.lh-mega-item:hover .lh-mega-dropdown {
  display: block;
  transform: translateY(0px);
  opacity: 1;
}

.lh-mega-dropdown h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #d71920;
  font-weight: 900;
}

.lh-mega-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lh-mega-links a {
  width: 48%;
  color: #111;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
}

.lh-mega-links a:hover {
  background: #ffecec;
  color: #d71920;
}

/* ✅ Mobile Drawer */
.lh-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
}

.lh-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 99999;
  padding: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  overflow: auto;
  transition: 0.25s ease;
}

.lh-drawer.open {
  left: 0;
}

.lh-drawer-overlay.show {
  display: block;
}

.lh-drawer a {
  display: block;
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 800;
  color: #111;
}

.lh-drawer a:hover {
  color: #d71920;
}

/* ✅ Responsive */
@media(max-width:992px) {

  .lh-hamburger {
    display: inline-block;
  }

  .lh-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .lh-search-form {
    width: 100%;
    max-width: 100%;
  }

  .lh-mega-dropdown {
    display: none !important;
  }
}

/* =========================================================
   ✅ MOBILE BOTTOM BAR + MODERN POPUP MENU (FINAL FIXED ✅)
   ========================================================= */

/* ✅ FORCE HIDE by default (Desktop + all screens) */
.mobile-bottom-bar,
.mobile-search-popup,
.mobile-menu-overlay,
.mobile-popup-menu {
  display: none !important;
}

/* ✅ ONLY show on mobile */
@media(max-width:768px) {

  body {
    padding-bottom: 80px;
  }

  /* ✅ Bottom Bar */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 999999 !important;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.10);
  }

  .mobile-bottom-bar a,
  .mobile-bottom-bar button {
    flex: 1;
    text-align: center;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 800;
    color: #111;
    cursor: pointer;
    padding: 8px 0;
  }

  .mobile-bottom-bar .icon {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
  }

  /* ✅ Center Floating More Button */
  .mobile-more-btn-wrap {
    flex: 1;
    text-align: center;
    position: relative;
    top: -18px;
  }

  .mobile-more-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(145deg, #d71920, #ff3038);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow:
      0 8px 18px rgba(215, 25, 32, 0.35),
      inset 0 2px 6px rgba(255, 255, 255, 0.35),
      inset 0 -3px 6px rgba(0, 0, 0, 0.20);
  }

  .mobile-more-btn:active {
    transform: scale(0.96);
  }

  /* ✅ Overlay */
  .mobile-menu-overlay {
    display: none !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999998;
  }

  .mobile-menu-overlay.show {
    display: block !important;
  }

  /* ✅ Popup Menu Box */
  .mobile-popup-menu {
    display: none !important;
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    width: 92%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    padding: 14px;
    animation: popUp 0.18s ease;
  }

  .mobile-popup-menu.show {
    display: block !important;
  }

  @keyframes popUp {
    from {
      transform: translateX(-50%) translateY(15px);
      opacity: 0;
    }

    to {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
  }

  .popup-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  .popup-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: #d71920;
  }

  .popup-close {
    background: #111;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
  }

  .popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .popup-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
    font-weight: 800;
    color: #111;
    font-size: 13px;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.06),
      inset 0 2px 4px rgba(255, 255, 255, 0.5);
  }

  .popup-item:hover {
    border-color: #d71920;
    color: #d71920;
    transform: translateY(-1px);
    transition: 0.15s ease;
  }

  .popup-item span {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
  }

  /* ✅ Mobile Search Popup */
  .mobile-search-popup {
    display: none !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 75px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 999999;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.18);
  }

  .mobile-search-popup.show {
    display: block !important;
  }

  .mobile-search-popup input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
  }

  .mobile-search-popup button {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #d71920;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  /* ✅ FORCE HOMEPAGE RESPONSIVE FIX */
  @media (max-width: 992px) {

    .lh-grid {
      grid-template-columns: 1fr !important;
    }

    .lh-hero-card img {
      height: 220px !important;
    }

    .lh-hero-title {
      font-size: 18px !important;
      line-height: 26px !important;
    }

    .lh-thumb {
      width: 95px !important;
      height: 65px !important;
    }

    .lh-container {
      padding: 10px !important;
    }
  }

  /* ✅ EXTRA SMALL MOBILE */
  @media (max-width: 480px) {

    .lh-item {
      gap: 10px !important;
    }

    .lh-item h4 {
      font-size: 14px !important;
      line-height: 19px !important;
    }
  }

  /* ✅ HEADER MOBILE FIX */
  @media(max-width:768px) {

    .lh-header-row {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
    }

    .lh-tools {
      width: 100% !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
    }

    .lh-tools select {
      width: 100% !important;
    }

    .lh-search-form {
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  /* ===================================================
   ✅ FINAL RESPONSIVE FIX (HOME + HEADER + MENU)
   =================================================== */

  /* ✅ Header + Tools stacking */
  @media(max-width:768px) {

    .lh-header-row {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
    }

    .lh-tools {
      width: 100% !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
      gap: 10px !important;
    }

    .lh-tool-btn {
      width: 100% !important;
      justify-content: center !important;
    }

    .lh-tools select {
      width: 100% !important;
    }

    .lh-search-form {
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  /* ✅ Home Page 3 columns -> 1 column */
  @media(max-width:992px) {

    .lh-grid {
      grid-template-columns: 1fr !important;
    }

    .lh-hero-card img {
      height: 220px !important;
    }

    .lh-hero-title {
      font-size: 18px !important;
      line-height: 26px !important;
    }

    .lh-thumb {
      width: 95px !important;
      height: 65px !important;
    }

    .lh-container {
      padding: 10px !important;
    }
  }

  /* ✅ Extra small mobile */
  @media(max-width:480px) {

    .lh-item {
      gap: 10px !important;
    }

    .lh-item h4 {
      font-size: 14px !important;
      line-height: 19px !important;
    }

    .lh-section-title {
      font-size: 18px !important;
    }
  }

  /* =========================================================
   ✅ THEME COLOR OVERRIDES
   ========================================================= */

  /* 🏛️ Govt Style (Blue) */
  body.theme-govt .text-red {
    color: #003366 !important;
  }

  body.theme-govt .bg-red {
    background: #003366 !important;
  }

  body.theme-govt a:hover {
    color: #003366 !important;
  }

  body.theme-govt .breaking-bar {
    background: #003366 !important;
  }

  body.theme-govt .lh-section-title::before {
    background: #003366 !important;
  }

  body.theme-govt .lh-section-line {
    background: #003366 !important;
  }

  body.theme-govt .lh-box-title {
    border-left-color: #003366 !important;
  }

  body.theme-govt .cat-head h3 {
    border-left-color: #003366 !important;
  }

  body.theme-govt .cat-head a {
    color: #003366 !important;
  }

  body.theme-govt .lh-hamburger {
    background: #003366 !important;
  }

  body.theme-govt .lh-tool-btn:hover {
    color: #003366 !important;
    background: #e6f0ff !important;
  }

  body.theme-govt .lh-search-form input:focus {
    border-color: #003366 !important;
  }

  body.theme-govt .lh-search-form button {
    background: #003366 !important;
  }

  body.theme-govt .lh-menu {
    background: #003366 !important;
  }

  body.theme-govt .mobile-more-btn {
    background: linear-gradient(145deg, #003366, #004080) !important;
    box-shadow: 0 8px 18px rgba(0, 51, 102, 0.35) !important;
  }

  body.theme-govt .popup-head h3 {
    color: #003366 !important;
  }

  body.theme-govt .popup-item:hover {
    border-color: #003366 !important;
    color: #003366 !important;
  }

  body.theme-govt .mobile-search-popup button {
    background: #003366 !important;
  }

  body.theme-govt .footer-wrap {
    border-top-color: #003366 !important;
  }

  body.theme-govt .footer-col h3 {
    border-left-color: #003366 !important;
  }

  body.theme-govt .playstore-btn {
    background: #003366 !important;
  }

  body.theme-govt #backToTopBtn {
    background: #003366 !important;
  }

  body.theme-govt .footer-container-above {
    background: linear-gradient(135deg, #003366 0%, #002244 70%) !important;
  }

  /* 🔮 Purple Style */
  body.theme-purple .text-red {
    color: #6f42c1 !important;
  }

  body.theme-purple .bg-red {
    background: #6f42c1 !important;
  }

  body.theme-purple a:hover {
    color: #6f42c1 !important;
  }

  body.theme-purple .breaking-bar {
    background: #6f42c1 !important;
  }

  body.theme-purple .lh-section-title::before {
    background: #6f42c1 !important;
  }

  body.theme-purple .lh-section-line {
    background: #6f42c1 !important;
  }

  body.theme-purple .lh-box-title {
    border-left-color: #6f42c1 !important;
  }

  body.theme-purple .cat-head h3 {
    border-left-color: #6f42c1 !important;
  }

  body.theme-purple .cat-head a {
    color: #6f42c1 !important;
  }

  body.theme-purple .lh-hamburger {
    background: #6f42c1 !important;
  }

  body.theme-purple .lh-tool-btn:hover {
    color: #6f42c1 !important;
    background: #f3e5f5 !important;
  }

  body.theme-purple .lh-search-form input:focus {
    border-color: #6f42c1 !important;
  }

  body.theme-purple .lh-search-form button {
    background: #6f42c1 !important;
  }

  body.theme-purple .lh-menu {
    background: #6f42c1 !important;
  }

  body.theme-purple .mobile-more-btn {
    background: linear-gradient(145deg, #6f42c1, #8e44ad) !important;
    box-shadow: 0 8px 18px rgba(111, 66, 193, 0.35) !important;
  }

  body.theme-purple .popup-head h3 {
    color: #6f42c1 !important;
  }

  body.theme-purple .popup-item:hover {
    border-color: #6f42c1 !important;
    color: #6f42c1 !important;
  }

  body.theme-purple .mobile-search-popup button {
    background: #6f42c1 !important;
  }

  body.theme-purple .footer-wrap {
    border-top-color: #6f42c1 !important;
  }

  body.theme-purple .footer-col h3 {
    border-left-color: #6f42c1 !important;
  }

  body.theme-purple .playstore-btn {
    background: #6f42c1 !important;
  }

  body.theme-purple #backToTopBtn {
    background: #6f42c1 !important;
  }

  body.theme-purple .footer-container-above {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 70%) !important;
  }

  /* 📰 Newspaper (Black) */
  body.theme-newspaper .text-red,
  body.theme-newspaper a:hover {
    color: #111 !important;
  }

  body.theme-newspaper .bg-red,
  body.theme-newspaper .breaking-bar,
  body.theme-newspaper .lh-section-title::before,
  body.theme-newspaper .lh-section-line,
  body.theme-newspaper .lh-hamburger,
  body.theme-newspaper .lh-search-form button,
  body.theme-newspaper .lh-menu,
  body.theme-newspaper .mobile-search-popup button,
  body.theme-newspaper .playstore-btn,
  body.theme-newspaper #backToTopBtn {
    background: #111 !important;
  }

  body.theme-newspaper .lh-box-title,
  body.theme-newspaper .cat-head h3,
  body.theme-newspaper .footer-col h3 {
    border-left-color: #111 !important;
  }

  body.theme-newspaper .cat-head a {
    color: #111 !important;
  }

  body.theme-newspaper .lh-tool-btn:hover {
    color: #111 !important;
    background: #ddd !important;
  }

  body.theme-newspaper .mobile-more-btn {
    background: linear-gradient(145deg, #111, #333) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35) !important;
  }

  body.theme-newspaper .footer-wrap {
    border-top-color: #111 !important;
  }

  body.theme-newspaper .footer-container-above {
    background: linear-gradient(135deg, #222 0%, #000 70%) !important;
  }

  /* ==============================
   ✅ NEWS1BIHARJHARKHAND.COM
   ✅ LIVEHINDUSTAN STYLE CSS
   ✅ CLEAN + RESPONSIVE + FINAL
   ============================== */

  /* ✅ Base Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Noto Sans Devanagari", Arial, sans-serif;
    background: #fff;
    color: #111;
    line-height: 1.5;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  a:hover {
    color: #d71920;
  }

  /* ✅ Container */
  .lh-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px;
  }

  /* ✅ Sticky Header Wrapper */
  .lh-sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
  }

  /* ✅ Header Row */
  .lh-header-row {
    max-width: 1200px;
    margin: auto;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ✅ Logo + Hamburger */
  .lh-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .lh-hamburger {
    background: #111;
    color: #fff;
    border: none;
    padding: 5px 9px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
  }

  /* ✅ Header Tools (Photo/Video/Dropdown/Search) */
  .lh-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .lh-tool-btn {
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    color: #111;
  }

  .lh-tool-btn:hover {
    background: #fff0f0;
    border-color: #d71920;
    color: #d71920;
  }

  /* ✅ Dropdown */
  #stateSelect,
  #citySelect {
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    outline: none;
    background: #fff;
  }

  /* ✅ Search Form */
  .lh-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 320px;
    max-width: 100%;
  }

  .lh-search-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
  }

  .lh-search-form button {
    background: #d71920;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
  }

  /* ==============================
   ✅ MENU (Scrollable + Dropdown)
   ============================== */
  .lh-menu {
    background: #d71920;
    position: sticky;
    top: 62px;
    z-index: 998;
  }

  .lh-menu-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 12px;

    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .lh-menu-inner::-webkit-scrollbar {
    display: none;
  }

  .lh-menu-link {
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
  }

  .lh-menu-link:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* ✅ Dropdown */
  .lh-dropdown {
    position: relative;
    display: inline-block;
  }

  .lh-dropdown-box {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 9999;
  }

  .lh-dropdown-box a {
    display: block;
    padding: 10px 12px;
    color: #111;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
  }

  .lh-dropdown-box a:last-child {
    border-bottom: none;
  }

  .lh-dropdown-box a:hover {
    background: #fff0f0;
    color: #d71920;
  }

  @media(min-width:769px) {
    .lh-dropdown:hover .lh-dropdown-box {
      display: block;
    }
  }

  /* ==============================
   ✅ SECTION TITLE
   ============================== */
  .lh-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px 0;
    font-weight: 900;
    font-size: 20px;
  }

  .lh-section-title::before {
    content: "";
    width: 4px;
    height: 18px;
    background: #d71920;
    display: inline-block;
  }

  .lh-section-line {
    flex: 1;
    height: 2px;
    background: #d71920;
    opacity: 0.8;
  }

  /* ==============================
   ✅ HERO GRID (3 Columns)
   ============================== */
  .lh-grid {
    display: grid;
    grid-template-columns: 2.1fr 1.35fr 1fr;
    gap: 18px;
    margin-top: 12px;
  }

  /* ✅ Hero Card */
  .lh-hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
  }

  .lh-hero-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .lh-hero-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.05));
  }

  /* ✅ List Items */
  .lh-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
  }

  .lh-item {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
  }

  .lh-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .lh-thumb {
    width: 120px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .lh-item h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 20px;
    color: #111;
  }

  .lh-meta {
    font-size: 12px;
    color: #777;
  }

  /* ==============================
   ✅ SIDEBAR BOX (Trending)
   ============================== */
  .lh-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
  }

  .lh-box-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 12px 0;
    padding-left: 10px;
    border-left: 4px solid #d71920;
  }

  .lh-read-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .lh-read-item:last-child {
    border-bottom: none;
  }

  .lh-read-item a {
    color: #111;
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
  }

  /* ==============================
   ✅ CATEGORY BLOCKS
   ============================== */
  .cat-block {
    margin-top: 22px;
  }

  .cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .cat-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    border-left: 4px solid #d71920;
    padding-left: 10px;
  }

  .cat-head a {
    font-size: 14px;
    font-weight: 900;
    color: #d71920;
  }

  .cat-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
  }

  .cat-big {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .cat-big img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .cat-big h4 {
    margin: 10px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 900;
  }

  .cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cat-mini {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
  }

  .cat-mini:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .cat-mini img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
  }

  .cat-mini a {
    font-size: 14px;
    font-weight: 800;
    color: #111;
  }

  /* ==============================
   ✅ RESPONSIVE (Tablet + Mobile)
   ============================== */
  @media (max-width: 992px) {

    .lh-grid {
      grid-template-columns: 1fr;
    }

    .lh-hero-card img {
      height: 240px;
    }

    .lh-hero-title {
      font-size: 18px;
      line-height: 26px;
    }

    .cat-grid {
      grid-template-columns: 1fr;
    }

    .cat-big img {
      height: 200px;
    }

    .lh-tools {
      width: 100%;
      justify-content: flex-start;
    }

    /* ✅ Hide tools in mobile (we will show in Drawer) */
    .lh-tool-btn,
    #stateSelect,
    #citySelect {
      display: none;
    }

  }

  @media (max-width: 480px) {

    .lh-container {
      padding: 10px;
    }

    .lh-thumb {
      width: 95px;
      height: 65px;
    }

    .lh-item h4 {
      font-size: 14px;
      line-height: 19px;
    }

    .lh-search-form {
      width: 100%;
    }

  }

  /* ✅ Drawer basics (overlay is inline) */
  #drawerMenu a {
    text-decoration: none;
  }

  /* ✅ Topbar Social Icons */
  .topbar-icons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .topbar-icons a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .topbar-icons a svg {
    width: 16px;
    height: 16px;
  }

  /* ✅ Mobile topbar single line */
  @media(max-width:768px) {

    .topbar-wrap {
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 6px !important;
    }

    .topbar-wrap div:first-child {
      font-size: 11px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 46%;
    }

    .topbar-wrap div:last-child {
      gap: 6px !important;
      flex-wrap: nowrap !important;
      white-space: nowrap;
    }

    .topbar-icons a {
      width: 22px;
      height: 22px;
      border-radius: 6px;
    }

    .topbar-icons a svg {
      width: 14px;
      height: 14px;
    }
  }

  /* ✅ Topbar Icons Hover Glow */
  .topbar-icons a {
    transition: all 0.25s ease;
  }

  .topbar-icons a:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 12px rgba(215, 25, 32, 0.65);
  }

  /* ✅ Make SVG smoother */
  .topbar-icons a svg {
    transition: all 0.25s ease;
  }
  
  .lh-category-sticky{
  display:block !important;
}

.lh-category-scroll{
  display:flex !important;
}

  .topbar-icons a:hover svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
  }
  
  
  
  
  
  .footer-container-above{
  clear: both;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
