* {
  font-family: 'Adorsho Lipi', sans-serif;
}

:root {
  --nh-red: #c0392b;
  --nh-red-dark: #96281b;
  --nh-red-bg: #fdf3f2;
  --nh-white: #ffffff;
  --nh-gray-900: #1a1a1a;
  --nh-gray-700: #3d3d3d;
  --nh-gray-500: #6b6b6b;
  --nh-gray-300: #d4d4d4;
  --nh-gray-100: #f5f5f5;
  --nh-border: 1px solid #e2e2e2;
  --nh-shadow: 0 1px 5px rgba(0, 0, 0, .07);
  --nh-radius: 5px;
  --nh-font: 'Adorsho Lipi', sans-serif;
  --nh-tr: .17s ease;
}

    .nd-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 16px;
    }

    .nd-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 40px;
      align-items: start;
    }

    /* Article */
    .nd-article {}

    .nd-breadcrumb {
      font-size: 13px;
      color: #888;
      margin-bottom: 14px;
    }

    .nd-breadcrumb a {
      color: #c0392b;
      text-decoration: none;
    }

    .nd-breadcrumb span {
      margin: 0 6px;
    }

    .nd-cat-badge {
      display: inline-block;
      background: #c0392b;
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 3px;
      margin-bottom: 12px;
      text-decoration: none;
    }

    .nd-title {
      font-size: 26px;
      font-weight: 700;
      line-height: 1.5;
      color: #1a1a1a;
      margin: 0 0 16px;
    }

    .nd-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 13px;
      color: #888;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
      padding: 10px 0;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .nd-meta i {
      margin-right: 4px;
    }

    .nd-meta .nd-author {
      font-weight: 600;
      color: #555;
    }

    .nd-share {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .nd-share a {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
      color: #fff;
    }

    .nd-share .fb {
      background: #1877f2;
    }

    .nd-share .tw {
      background: #1da1f2;
    }

    .nd-share .wa {
      background: #25d366;
    }

    .nd-share .cp {
      background: #888;
      cursor: pointer;
      border: none;
    }

    .nd-feature-img {
      width: 100%;
      border-radius: 6px;
      margin-bottom: 8px;
      display: block;
    }

    .nd-img-caption {
      font-size: 12px;
      color: #999;
      margin-bottom: 20px;
      text-align: center;
    }

    .nd-body {
      font-size: 17px;
      line-height: 1.9;
      color: #333;
    }

    .nd-body p {
      margin-bottom: 16px;
    }

    .nd-body img {
      max-width: 100%;
      border-radius: 4px;
      margin: 12px 0;
    }

    .nd-body h2,
    .nd-body h3 {
      font-weight: 700;
      margin: 24px 0 12px;
      color: #1a1a1a;
    }

    /* Tags */
    .nd-tags {
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid #eee;
    }

    .nd-tags span {
      font-size: 13px;
      font-weight: 600;
      color: #555;
      margin-right: 8px;
    }

    .nd-tags a {
      display: inline-block;
      background: #f4f4f4;
      color: #555;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 20px;
      text-decoration: none;
      margin: 4px 2px;
    }

    .nd-tags a:hover {
      background: #c0392b;
      color: #fff;
    }

    /* Prev/Next navigation */
    .nd-prevnext {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 2px solid #eee;
    }

    .nd-nav-box {
      background: #f9f9f9;
      border: 1px solid #eee;
      border-radius: 6px;
      padding: 12px;
      text-decoration: none;
      color: #1a1a1a;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .nd-nav-box:hover {
      border-color: #c0392b;
    }

    .nd-nav-box.prev {
      flex-direction: row;
    }

    .nd-nav-box.next {
      flex-direction: row-reverse;
      text-align: right;
    }

    .nd-nav-box img {
      width: 70px;
      height: 52px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
    }

    .nd-nav-label {
      font-size: 11px;
      color: #c0392b;
      font-weight: 600;
      display: block;
      margin-bottom: 4px;
    }

    .nd-nav-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.4;
      color: #333;
    }

    .nd-nav-arrow {
      font-size: 20px;
      color: #c0392b;
      flex-shrink: 0;
    }

    /* Related news */
    .nd-related {
      margin-top: 40px;
    }

    .nd-section-title {
      font-size: 18px;
      font-weight: 700;
      color: #1a1a1a;
      border-left: 4px solid #c0392b;
      padding-left: 10px;
      margin-bottom: 20px;
    }

    .nd-related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .nd-rel-card {
      text-decoration: none;
      color: #1a1a1a;
      display: block;
    }

    .nd-rel-card img {
      width: 100%;
      height: 130px;
      object-fit: cover;
      border-radius: 5px;
      margin-bottom: 8px;
    }

    .nd-rel-card h4 {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.5;
    }

    .nd-rel-card:hover h4 {
      color: #c0392b;
    }

    .nd-rel-card .nd-rel-time {
      font-size: 11px;
      color: #999;
      margin-top: 4px;
      display: block;
    }

    /* Sidebar */
    .nd-sidebar {}

    .nd-sb-box {
      border: 1px solid #eee;
      border-radius: 6px;
      overflow: hidden;
      margin-bottom: 24px;
    }

    .nd-sb-head {
      background: #198754;
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nd-sb-head.dark {
      background: #222;
    }

    .nd-sb-item {
      display: flex;
      gap: 10px;
      padding: 10px 12px;
      border-bottom: 1px solid #f0f0f0;
      text-decoration: none;
      color: #1a1a1a;
      align-items: center;
    }

    .nd-sb-item:last-child {
      border-bottom: none;
    }

    .nd-sb-item:hover {
      background: #fafafa;
    }

    .nd-sb-item img {
      width: 75px;
      height: 55px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
    }

    .nd-sb-item-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
      flex: 1;
    }

    .nd-sb-item-time {
      font-size: 11px;
      color: #999;
      display: block;
      margin-top: 3px;
    }

    .nd-sb-num-item {
      display: flex;
      gap: 10px;
      padding: 10px 12px;
      border-bottom: 1px solid #f0f0f0;
      text-decoration: none;
      color: #1a1a1a;
      align-items: flex-start;
    }

    .nd-sb-num-item:last-child {
      border-bottom: none;
    }

    .nd-sb-num-item:hover {
      background: #fafafa;
    }

    .nd-sb-num {
      font-size: 22px;
      font-weight: 700;
      color: #e5e5e5;
      min-width: 28px;
      line-height: 1;
    }

    .nd-sb-num-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
    }

    @media (max-width: 900px) {
      .nd-grid {
        grid-template-columns: 1fr;
      }

      .nd-related-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .nd-prevnext {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
      .nd-title {
        font-size: 20px;
      }

      .nd-body {
        font-size: 16px;
      }

      .nd-related-grid {
        grid-template-columns: 1fr;
      }
    }
.ek-wrap {
    overflow-x: hidden;
    background: #f8f9fa;
}


.ek-img-container {
    aspect-ratio: 16 / 9;
}
.ek-img-container img {
    object-fit: cover;
    height: 100%;
}

.hover-zoom {
    transition: transform 0.3s ease;
}
.hover-zoom:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .ek-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .ek-bar-filters {
        width: 100%;
    }
    
    .ek-sel {
        width: 100% !important; 
        margin-bottom: 5px;
    }

    .ek-card-big h2 {
        font-size: 1.25rem;
    }

    .ek-card-sm img {
        width: 100px; 
    }
}


@media (max-width: 375px) {
    .ek-card-sm {
        flex-direction: column; 
    }
    .ek-card-sm img {
        width: 100%;
    }
}
 
@media (max-width: 425px) {

  .nh-topbar-inner {
    padding: 8px 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nh-logo img {
    height: 35px !important;
  
    width: auto;
  }

  .nh-controls {
    gap: 5px !important;
    display: flex;
    align-items: center;
  }


  .nh-ctrl-btn {
    padding: 5px 8px !important;
    min-width: unset !important;
  }

  @media (max-width: 320px) {
    .nh-logo img {
      height: 30px !important;
    }

    .nh-topbar-inner {
      padding: 5px 5px !important;
    }

    .nh-ctrl-btn {
      padding: 4px 6px !important;
    }
  }
  .nh-date-block,
  .nh-epaper-wrap {
    display: none !important;
  }
}

.nh-side-btn-container {
  position: relative;
  display: inline-block;
}

#nh-topbar *,
#nh-topbar *::before,
#nh-topbar *::after,
#nh-navbar *,
#nh-navbar *::before,
#nh-navbar *::after,
#nhSidePanel *,
#nhSidePanel *::before,
#nhSidePanel *::after,
.nh-overlay {
  box-sizing: border-box;
}

#nh-topbar a,
#nh-navbar a,
#nhSidePanel a {
  text-decoration: none;
  color: inherit;
}

#nh-topbar button,
#nhSidePanel button {
  cursor: pointer;
  font-family: var(--nh-font);
}

.btn-generate-now {
  display: inline-block;
  background: linear-gradient(45deg, #C02026, #ff4d4d);
  color: #fff !important;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(192, 32, 38, 0.3);
  border: none;
}

.btn-generate-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 32, 38, 0.4);
  background: linear-gradient(45deg, #a51b20, #C02026);
}

.btn-generate-now i {
  font-size: 20px;
  vertical-align: middle;
}

.is-invalid {
  border: 2px solid #ffc107 !important;
  background-color: #fff9e6;
}

.cal-day-name {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-align: center;
  padding: 4px 0;
}

.draggable-box:hover {
  border: 1px solid #3b82f6 !important;
}

.bg-sortable-ghost {
  opacity: 0.4;
  background: #3b82f6 !important;
}

.cal-day {
  font-size: 12px;
  text-align: center;
  padding: 5px 2px;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
}


.sub-badge-item {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f2f2f2;
  color: #444;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.sub-badge-item:hover {
  background-color: #e9ecef;
  color: #000;
}

.sub-badge-item.active {
  background-color: #0d6efd;
  color: #fff;
}

/* সাব-ক্যাটাগরি কন্টেইনার */
.nh-cat-subs {
  border-top: 1px solid #f0f0f0;
  background-color: #ffffff;
}

.epaper-reader-container {
  background-color: #f4f4f4;
  min-height: 100vh;
  overflow-x: hidden;
}

/* বাম পাশের ইমেজের জন্য স্টিকি সেটিংস */
.sticky-image-container {
  position: sticky;
  top: 80px;
  z-index: 10;
  padding-bottom: 20px;
}

/* ডান পাশের নিউজ ভিউয়ার কার্ড */
.news-viewer-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px);
  /* ভিউপোর্টের উচ্চতা অনুযায়ী অ্যাডজাস্ট */
  border-radius: 4px;
  overflow: hidden;
}

.viewer-toolbar i {
  transition: color 0.2s;
}

.viewer-toolbar i:hover {
  color: #007bff;
}

/* শুধুমাত্র এই অংশটি স্ক্রল হবে */
.news-scroll-area {
  overflow-y: auto;
  flex-grow: 1;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

.news-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.news-scroll-area::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.news-scroll-area::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* নিউজ বডি ডিজাইন */
.news-paper-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-detail-title {
  font-family: 'SolaimanLipi', sans-serif;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.news-article-text p {
  color: #333;
  text-align: justify;
  margin-bottom: 20px;
}

.news-content-box {
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 991px) {
  .sticky-image-container {
    position: relative;
    top: 0;
  }

  .news-viewer-container {
    height: auto;
  }
}

.ep-bg {
  background: #e0dbd0;
  min-height: 100vh;
  padding: 24px 20px 40px;
}

/* ============ MAIN LAYOUT ============ */
.ep-layout {
  display: flex;
  gap: 28px;
  max-width: 1380px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ============ LEFT: ALL EPAPER PAGES ============ */
.ep-left {
  flex: 1 1 0;
  min-width: 0;
}

/*
        3-column newspaper layout:
        col 1 = small (1fr)
        col 2 = medium (1.4fr)  ← centre, has "ক্লিক করুন"
        col 3 = large (1.8fr)
    */
.ep-news-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.8fr;
  gap: 0;
  background: #fff;
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.20);
}

/* Each paper cell */
.ep-cell {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.ep-cell:last-child {
  border-right: none;
}

.ep-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  min-height: 200px;
}

.ep-cell:hover img {
  transform: scale(1.03);
  filter: brightness(0.78);
}

/* Overlay — always visible subtly, full on hover */
.ep-cell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 25, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.ep-cell:hover .ep-cell-overlay {
  background: rgba(8, 8, 25, 0.48);
}

/* "ক্লিক করুন" button — only shows on middle (col 2) always + all on hover */
.ep-click-btn {
  background: rgba(185, 45, 35, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  color: #fff;
  font-family: 'SolaimanLipi', 'Noto Serif Bengali', serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.ep-cell:hover .ep-click-btn {
  opacity: 1;
  transform: scale(1);
}

/* Middle column: always show btn faintly */
.ep-cell.ep-col-mid .ep-click-btn {
  opacity: 0.82;
  transform: scale(1);
}

.ep-cell.ep-col-mid:hover .ep-click-btn {
  opacity: 1;
}

.ep-click-btn svg {
  width: 28px;
  height: 28px;
}

/* When there are more than 3 pages → wrap into rows of 3 */
.ep-news-grid.ep-multirow {
  grid-template-columns: 1fr 1.4fr 1.8fr;
  /* rows auto-add */
}

/* Reset last-child border for multirow */
.ep-news-grid.ep-multirow .ep-cell {
  border-right: 1px solid #ccc;
}

.ep-news-grid.ep-multirow .ep-cell:nth-child(3n) {
  border-right: none;
}

/* ============ RIGHT: MAGAZINE SHELF ============ */
.ep-right {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ep-shelf-row {
  margin-bottom: 22px;
}

.ep-shelf-books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  padding: 0 6px;
  align-items: flex-end;
}

.ep-mag-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
  position: relative;
}

.ep-mag-link:hover {
  transform: translateY(-9px);
}

.ep-mag-link img {
  width: 100%;
  display: block;
  border: 1px solid #bbb;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.28), -1px 0 4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Spine */
.ep-mag-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 11px;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.10) 45%,
      rgba(255, 255, 255, 0.15) 65%,
      rgba(0, 0, 0, 0.04) 100%);
  z-index: 2;
}

.ep-mag-hover {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 25, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s;
  z-index: 3;
}

.ep-mag-link:hover .ep-mag-hover {
  opacity: 1;
}

.ep-mag-hover span {
  background: rgba(185, 45, 35, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-family: 'SolaimanLipi', 'Noto Serif Bengali', serif;
  padding: 5px 13px;
  font-weight: 700;
}

/* Wood shelf */
.ep-wood {
  height: 18px;
  background: linear-gradient(to bottom,
      #c17a38 0%, #a05228 22%,
      #8a4010 52%, #6a2e0c 80%, #491d08 100%);
  margin-top: -1px;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  position: relative;
}

.ep-wood::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  right: 5px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.ep-old-mag {
  text-align: center;
  padding: 8px 0 0;
  font-size: 13px;
  color: #666;
  font-family: 'SolaimanLipi', 'Noto Serif Bengali', serif;
}

/* ============ ARCHIVE BAR ============ */
.ep-archive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0 0;
  max-width: 1380px;
  margin: 0 auto;
}

.ep-archive-label {
  font-size: 14px;
  color: #555;
  font-family: 'SolaimanLipi', 'Noto Serif Bengali', serif;
}

.ep-date-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ep-date-icon {
  padding: 0 10px;
  height: 36px;
  display: flex;
  align-items: center;
  border-right: 1px solid #ddd;
  color: #888;
}

.ep-date-wrap input[type="date"] {
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  height: 36px;
  color: #333;
  font-family: inherit;
  background: transparent;
}

/* ============ EMPTY STATE ============ */
.ep-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-family: 'SolaimanLipi', 'Noto Serif Bengali', serif;
  font-size: 16px;
  background: #fff;
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.10);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .ep-right {
    width: 250px;
  }
}

@media (max-width: 820px) {
  .ep-layout {
    flex-direction: column;
  }

  .ep-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .ep-shelf-row {
    width: 50%;
    padding-right: 8px;
  }

  .ep-news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ep-news-grid .ep-cell:nth-child(2n) {
    border-right: none;
  }

  .ep-news-grid .ep-cell:nth-child(3n) {
    border-right: 1px solid #ccc;
  }
}

@media (max-width: 540px) {
  .ep-news-grid {
    grid-template-columns: 1fr;
  }

  .ep-news-grid .ep-cell {
    border-right: none !important;
  }

  .ep-right {
    flex-direction: column;
  }

  .ep-shelf-row {
    width: 100%;
    padding-right: 0;
  }

  .ep-bg {
    padding: 12px 10px 30px;
  }
}

.cal-day:hover:not(.cal-empty):not(.cal-future) {
  background: #fde8e6;
  color: #198754;
}

.cal-today {
  background: #198754 !important;
  color: #ffff !important;
  font-weight: 700;
}

.cal-selected {
  background: #e8b4b0 !important;
  color: #198754 !important;
  font-weight: 700;
}

.cal-future {
  color: #ccc !important;
  cursor: not-allowed;
}

.cal-empty {
  cursor: default;
}

.cal-news-link {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: #333;
  padding: 6px 0;
  border-bottom: 1px solid #f4f4f4;
  text-decoration: none;
  align-items: flex-start;
}

.cal-news-link:last-child {
  border-bottom: none;
}

.cal-news-link::before {
  content: "›";
  color: #c0392b;
  font-weight: 700;
  flex-shrink: 0;
}

.cal-news-link:hover {
  color: #c0392b;
}

/* ================================================================
   TOPBAR
   ================================================================ */
#nh-topbar {
  background: var(--nh-white);
  border-bottom: var(--nh-border);
  box-shadow: var(--nh-shadow);
}

.nh-topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

/* Topbar adjustments */
#nh-topbar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1050;
  padding: 10px 15px;
}

.nh-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Toggle Button */
.nh-hamburger {
  display: flex !important;
  /* Mobile e forced display */
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nh-hamburger span {
  width: 22px;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

/* Overlay */
.nh-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1060;
}

/* Full Side Panel */
.nh-full-menu {
  position: fixed;
  top: 0;
  right: -100%;
  /* শুরুতে স্ক্রিনের বাইরে থাকবে */
  width: 100%;
  max-width: 400px;
  /* মোবাইলে ফুল উইডথ বা নির্দিষ্ট সাইজ */
  height: 100%;
  background: #fff;
  z-index: 1070;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.nh-full-menu.active {
  right: 0;
  /* ক্লিক করলে ভেতরে আসবে */
}

/* Panel Header */
.nh-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.nh-panel-close {
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Categories Styling (Screenshot layout) */
.nh-panel-body {
  padding: 15px 20px;
}

.nh-panel-topnav a {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.nh-cat-row {
  border-bottom: 1px solid #f1f1f1;
}

 

.nh-cat-subs {
  display: none;
  /* শুরুতে সাব-মেনু হাইড থাকবে */
  padding-bottom: 10px;
  padding-left: 10px;
}

.nh-cat-sub {
  display: inline-block;
  padding: 5px 10px;
  background: #f5f5f5;
  margin: 3px;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

 

.sortable-children {
  min-height: 10px;
  /* খালি থাকলেও যেন ড্র্যাগ করে ভেতরে রাখা যায় */
  padding-bottom: 5px;
}

.bg-light {
  background-color: #f1f5f9 !important;
  /* ড্র্যাগ করার সময় ছায়া */
  border: 1px dashed #cbd5e1 !important;
}

.nh-side-label {
  font-weight: bold;
  margin: 15px 0;
  color: #666;
}

.nh-side-social {
  display: flex;
  gap: 15px;
}

.nh-side-apps img {
  height: 40px;
  margin-right: 10px;
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .nh-spacer,
  .nh-epaper-wrap,
  .nh-date-block {
    display: none !important;
  }

  .nh-full-menu {
    width: 85%;
  }

  /* মোবাইলে ৮৫% জায়গা নিবে */
}

 
.nh-logo img {
  height: 70px;
  width: 45%;
}

.nh-logo-text {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--nh-red);
  letter-spacing: -1px;
}

.nh-date-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 12px;
  border-left: 3px solid #c00;
  background: #f9f9f9;
  line-height: 1.5;
}

#nhDateLine1 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

#nhDateLine2 {
  font-size: 12px;
  font-weight: 500;
  color: #444;
}

#nhDateLine3 {
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

/* SPACER */
.nh-spacer {
  flex: 1 1 auto;
  min-width: 0;
}

/* E-PAPER + SOCIAL */
.nh-epaper-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  margin-right: 14px;
}

.nh-epaper-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--nh-red);
  color: var(--nh-white) !important;
  font-family: var(--nh-font);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px 5px 8px;
  border-radius: var(--nh-radius);
  white-space: nowrap;
  transition: background var(--nh-tr);
}

.nh-epaper-btn:hover {
  background: var(--nh-red-dark);
}

.nh-social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nh-soc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--nh-tr), opacity var(--nh-tr);
}

.nh-soc:hover {
  transform: scale(1.12);
  opacity: .86;
}

.nh-soc-fb {
  background: #1877f2;
}

.nh-soc-yt {
  background: #ff0000;
}

.nh-soc-tw {
  background: #000;
}

.nh-soc-ig {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

/* CONTROLS */
.nh-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nh-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--nh-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--nh-gray-700);
  background: var(--nh-white);
  border: var(--nh-border);
  border-radius: var(--nh-radius);
  padding: 6px 11px;
  white-space: nowrap;
  line-height: 1;
  transition: background var(--nh-tr), border-color var(--nh-tr), color var(--nh-tr);
}

.nh-ctrl-btn:hover,
.nh-ctrl-btn:focus-visible {
  background: var(--nh-red-bg);
  border-color: var(--nh-red);
  color: var(--nh-red);
  outline: none;
}

/* HAMBURGER */
.nh-hamburger {
  width: 34px;
  margin-top: 16px;
  height: 34px;
  /* border: var(--nh-border); */
  border-radius: var(--nh-radius);
  background: var(--nh-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6.5px;
  padding: 0;
  transition: background var(--nh-tr), border-color var(--nh-tr);
}

.nh-hamburger:hover,
.nh-hamburger:focus-visible {
  background: var(--nh-red-bg);
  border-color: var(--nh-red);
  outline: none;
}

.nh-hamburger span {
  display: block;
  width: 25px;
  height: 4px;
  background: var(--nh-gray-700);
  border-radius: 2px;
  transition: background var(--nh-tr);
}

.nh-hamburger:hover span {
  background: var(--nh-red);
}

/* ================================================================
   STICKY NAVBAR
   ================================================================ */
#nh-navbar {
  background: var(--nh-white);
  border-bottom: 3px solid var(--nh-red);
  position: sticky;
  top: 0;
  z-index: 800;
  box-shadow: var(--nh-shadow);
}

.nh-navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.nh-navbar-inner::-webkit-scrollbar {
  display: none;
}

.nh-nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px 0 0;
  margin-right: 4px;
  border-right: var(--nh-border);
  flex-shrink: 0;
  transition: opacity var(--nh-tr);
}

.nh-nav-home:hover {
  opacity: .72;
}

.nh-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
      
}
  .nh-nav-link {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 44px;
    font-family: var(--nh-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--nh-gray-900);
    white-space: nowrap;
    position: relative;
    transition: color var(--nh-tr), background var(--nh-tr);
  }

  
 

  .nh-nav-link:hover {
    color: var(--nh-red);
    background-color: green;
  }

  .nh-nav-link:hover::after,
  .nh-nav-link.active::after {
    transform: scaleX(1);
  }

  .nh-nav-link.active {
    color: red !important;
  }

.visitor-stat-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
    transition: all 0.3s ease;
}

.visitor-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.11);
}


/* Header */

.visitor-card-header {
    position: relative;
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #dc3545 0%,
        #b02a37 55%,
        #842029 100%
    );
}

.visitor-card-header::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -55px;
    top: -70px;
    border: 25px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.visitor-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    opacity: .9;
}

.visitor-total {
    margin: 5px 0 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

.visitor-card-header small {
    opacity: .85;
    font-size: 12px;
}


/* Live */

.live-indicator {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;

    background: rgba(255,255,255,.12);
    backdrop-filter: blur(5px);

    font-size: 10px;
    font-weight: 700;
}

.live-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;

    box-shadow: 0 0 0 4px rgba(255,255,255,.15);

    animation: visitorLivePulse 1.5s infinite;
}

@keyframes visitorLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,.6);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}


/* Statistics Grid */

.visitor-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

    padding: 15px;
}

.visitor-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;
    background: #f8f9fa;

    border: 1px solid #eef0f3;
    border-radius: 9px;

    transition: all .25s ease;
}

.visitor-stat-item:hover {
    background: #fff;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.visitor-stat-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;
    font-size: 16px;
}

.visitor-stat-item span {
    display: block;

    color: #6c757d;
    font-size: 11px;
}

.visitor-stat-item strong {
    display: block;

    margin-top: 1px;

    color: #212529;
    font-size: 15px;
    font-weight: 800;
}


/* Currently Online */

.currently-online {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 15px;
    padding: 13px;

    border: 1px solid #e9ecef;
    border-radius: 9px;

    background: linear-gradient(
        90deg,
        #f8fff9,
        #ffffff
    );
}

.online-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.online-pulse {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #198754;
    background: #d1e7dd;

    font-size: 15px;
}

.online-left span {
    display: block;

    color: #6c757d;
    font-size: 11px;
}

.online-left strong {
    display: block;

    margin-top: 1px;

    color: #198754;
    font-size: 15px;
    font-weight: 800;
}

.online-growth {
    padding: 4px 8px;

    border-radius: 5px;

    color: #198754;
    background: #d1e7dd;

    font-size: 11px;
    font-weight: 700;
}




/* Footer */

.visitor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 15px;

    border-top: 1px solid #f0f1f3;

    color: #8a929a;
    background: #fafafa;

    font-size: 10px;
}

.visitor-footer span:last-child {
    color: #198754;
    font-weight: 600;
}


/* Responsive */

@media (max-width: 575.98px) {

    .visitor-total {
        font-size: 29px;
    }

    .visitor-stat-grid {
        grid-template-columns: 1fr;
    }

}
  
  /* ================================================================
   OVERLAY
   ================================================================ */
  .nh-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    cursor: pointer;
  }

  .nh-overlay.active {
    display: block;
  }

  /* ================================================================
   FULL MENU PANEL — right থেকে slide
   ================================================================ */
  .nh-full-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 780px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .15);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nh-full-menu.active {
    transform: translateX(0);
  }

  /* PANEL INNER */
  .nh-panel-inner {
    padding: 0 28px 40px;
    min-height: 100%;
  }

  /* PANEL HEADER */
  .nh-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 16px;
    border-bottom: 2px solid #e8e8e8;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }

  .nh-panel-close {
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 22px;
    width: 36px;
    height: 36px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }

  .nh-panel-close:hover {
    background: var(--nh-red);
    color: #fff;
    border-color: var(--nh-red);
  }

  /* PANEL BODY */
  .nh-panel-body {
    display: flex;
    align-items: flex-start;
    gap: 0;
  }

  /* LEFT: CATEGORIES */
  .nh-panel-cats {
    flex: 1;
    min-width: 0;
    padding-right: 24px;
  }

  .nh-cat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nh-cat-row:last-child {
    border-bottom: none;
  }

  .nh-cat-parent {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-family: var(--nh-font);
    transition: color .2s;
  }

  .nh-cat-parent:hover {
    color: var(--nh-red);
  }

  .nh-cat-parent svg {
    color: var(--nh-red);
    flex-shrink: 0;
  }

  .nh-cat-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    align-items: center;
  }

  /* বাটনের মেইন ডিজাইন */
  .nh-side-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nh-side-btn:hover {
    background: #f8f9fa;
    border-color: #dddddd;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }

  .nh-side-epaper:hover {
    background: #000000 !important;
    /* কালচে থিম */
    color: #ffffff !important;
    border-color: #000000;
  }

  .nh-side-epaper:hover svg {
    fill: #ffffff;
    /* আইকন সাদা হয়ে যাবে */
  }

  .nh-cat-sub {
    font-size: 13.5px;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--nh-font);
    transition: color .2s;
  }

  .nh-cat-sub:hover {
    color: var(--nh-red);
  }

  /* DIVIDER */
  .nh-panel-divider {
    width: 1px;
    align-self: stretch;
    background: #e8e8e8;
    flex-shrink: 0;
    margin: 0 4px;
  }

  /* RIGHT: SIDEBAR */
  .nh-panel-side {
    width: 220px;
    flex-shrink: 0;
    padding-left: 24px;
  }

  .nh-side-btns {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
  }

  .nh-side-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--nh-font);
    transition: background .2s, border-color .2s, color .2s;
  }

  .nh-side-btn:hover {
    background: var(--nh-red-bg);
    border-color: var(--nh-red);
    color: var(--nh-red);
  }

  .nh-side-section {
    margin-bottom: 20px;
  }

  .nh-side-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #aaa;
    margin-bottom: 10px;
    font-family: var(--nh-font);
  }

  /* SOCIAL ICONS */
  .nh-side-social {
    display: flex;
    gap: 8px;
  }

  .nh-ssoc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .2s, opacity .2s;
  }


  .nh-ssoc-fb {
    background: #1877f2;
  }

  .nh-ssoc-tw {
    background: #000;
  }

  .nh-ssoc-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }

  .nh-ssoc-yt {
    background: #ff0000;
  }

  /* APP BADGES */
  .nh-side-apps {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nh-side-apps a img {
    display: block;
    width: 130px;
    height: auto;
  }

  /* ================================================================
   RESPONSIVE
   ================================================================ */

  /* Large ≥ 1200px */
  @media (min-width: 1200px) {
    .nh-logo img {
      height: 54px;
    }

    .nh-logo-text {
      font-size: 32px;
    }

    .nh-nav-link {
      font-size: 15px;
      padding: 0 16px;
      height: 46px;
    }

    #nhDateLine1 {
      font-size: 13.5px;
    }
  }

  /* Medium 992–1199px */
  @media (max-width: 1199px) and (min-width: 992px) {
    .nh-topbar-inner {
      padding: 8px 16px;
    }

    .nh-logo {
      margin-right: 10px;
    }

     

    .nh-date-block {
      margin-right: 10px;
      padding-left: 10px;
    }

    #nhDateLine1 {
      font-size: 12px;
    }

    #nhDateLine2 {
      font-size: 10.5px;
    }

    .nh-epaper-wrap {
      margin-right: 10px;
    }

    .nh-epaper-btn {
      font-size: 12px;
      padding: 4px 9px 4px 7px;
    }

    .nh-soc {
      width: 24px;
      height: 24px;
    }

    .nh-nav-link {
      padding: 0 10px;
      font-size: 13px;
    }

    .nh-ctrl-btn {
      padding: 5px 9px;
      font-size: 12.5px;
    }
  }

  /* Tablet 768–991px */
  @media (max-width: 991px) and (min-width: 768px) {
    .nh-topbar-inner {
      padding: 7px 14px;
    }

    .nh-logo {
      margin-right: 8px;
    }

    .nh-logo img {
      height: 42px;
    }

    .nh-date-block {
      margin-right: 8px;
      padding-left: 8px;
    }

    #nhDateLine1 {
      font-size: 11.5px;
    }

    #nhDateLine2 {
      font-size: 10px;
    }

    .nh-epaper-wrap {
      margin-right: 8px;
    }

    .nh-epaper-btn {
      font-size: 11.5px;
      padding: 4px 8px;
    }

    .nh-epaper-btn span {
      display: none;
    }

    .nh-soc {
      width: 23px;
      height: 23px;
    }

    .nh-ctrl-btn {
      padding: 5px 8px;
    }

    .nh-btn-label {
      display: none;
    }

    .nh-nav-link {
      padding: 0 9px;
      font-size: 13px;
    }
  }

  /* Mobile ≤ 767px */
  @media (max-width: 767px) {
    .nh-topbar-inner {
      padding: 7px 12px 6px;
      flex-wrap: wrap;
      row-gap: 5px;
    }

    .nh-logo {
      order: 1;
      flex: 0 0 auto;
      margin-right: 0;
    }

    .nh-nav-list {
  
      overflow: scroll;
}

    .nh-logo-text {
      font-size: 20px;
    }

    .nh-date-block {
      order: 2;
      flex: 1 1 0;
      min-width: 0;
      margin-right: 0;
      padding-left: 10px;
      border-left: 2px solid var(--nh-gray-300);
      overflow: visible;
    }

    #nhDateLine1,
    #nhDateLine2 {
      white-space: normal;
      overflow: visible;
      text-overflow: unset;
      font-size: 10.5px;
      line-height: 1.4;
    }

    .nh-spacer {
      display: block !important;
      order: 3;
      flex: 1 1 auto;
    }

    .nh-controls {
      order: 4;
      flex: 0 0 auto;
      gap: 5px;
    }

    .nh-btn-label {
      display: none;
    }

    .nh-ctrl-btn {
      padding: 6px 8px;
    }

    .nh-epaper-wrap,
    .nh-social {
      display: none;
    }

    /* navbar */
    .nh-navbar-inner {
      padding: 0 8px;
      justify-content: flex-start;
    }

    .nh-nav-link {
      padding: 0 8px;
      font-size: 12.5px;
      height: 40px;
    }

    .nh-nav-home {
      padding: 0 10px 0 0;
    }

     .nh-full-menu {
      width: 100%;
      max-width: 100%;
    }

    .nh-panel-body {
      flex-direction: column;
    }

    .nh-panel-cats {
      padding-right: 0;
      padding-bottom: 20px;
    }

    .nh-panel-divider {
      width: 100%;
      height: 1px;
      margin: 0 0 16px;
      align-self: auto;
    }

    .nh-panel-side {
      width: 100%;
      padding-left: 0;
    }

    .nh-cat-row {
      flex-wrap: wrap;
    }
  }

  /* Very small ≤ 400px */
  @media (max-width: 400px) {
    .nh-logo img {
      height: 30px;
    }

    .nh-logo-text {
      font-size: 17px;
    }

    #nhDateLine1 {
      font-size: 10px;
    }

    #nhDateLine2 {
      font-size: 9px;
    }

    .nh-epaper-btn span {
      display: none;
    }

    .nh-epaper-btn {
      padding: 5px 8px;
    }

    .nh-nav-link {
      padding: 0 6px;
      font-size: 12px;
    }
  }

  /* ── PANEL FULL SCREEN ── */
  .nh-full-menu {
    /* width: 100% !important; */
    max-width: 100% !important;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
  }

  .nh-full-menu.active {
    transform: translateX(0);
  }

  .nh-panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
  }

  /* TOP NAV */
  .nh-panel-topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0;
    padding: 8px 0;
  }

  .nh-panel-topnav a {
    font-size: 14.5px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    padding: 6px 20px 6px 0;
    font-family: var(--nh-font);
    white-space: nowrap;
    transition: color .2s;
  }

  .nh-panel-topnav a:hover {
    color: var(--nh-red);
  }

  .nh-panel-topnav-divider {
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    margin: 8px 0 4px;
  }

  /* CATEGORY ROWS */
  .nh-cat-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nh-cat-row:last-child {
    border-bottom: none;
  }

  .nh-cat-parent {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    width: 160px;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-family: var(--nh-font);
    transition: color .2s;
  }

  .nh-cat-parent:hover {
    color: var(--nh-red);
  }

  .nh-cat-parent svg {
    color: var(--nh-red);
  }

  .nh-cat-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
    align-items: center;
    flex: 1;
  }

  .nh-cat-sub {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    padding: 3px 16px 3px 0;
    font-family: var(--nh-font);
    transition: color .2s;
    display: inline-block;
  }

  .nh-cat-sub:hover {
    color: var(--nh-red);
  }

  /* DIVIDER between left and right */
  .nh-panel-divider {
    width: 1px;
    align-self: stretch;
    background: #e0e0e0;
    flex-shrink: 0;
    margin: 0 0 0 20px;
  }

  /* RIGHT SIDEBAR */
  .nh-panel-side {
    width: 300px;
    flex-shrink: 0;
    padding-left: 30px;
    padding-top: 4px;
  }

  /* Login + Search buttons */
  .nh-side-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .nh-side-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--nh-font);
    font-weight: 600;
    transition: all .2s;
  }

  .nh-side-btn:hover {
    background: var(--nh-red-bg);
    border-color: var(--nh-red);
    color: var(--nh-red);
  }

  /* Section label */
  .nh-side-label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-bottom: 12px;
    font-family: var(--nh-font);
    letter-spacing: 0;
    text-transform: none;
  }

  /* Social icons */
  .nh-side-social {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
  }

  .nh-ssoc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .2s, opacity .2s;
  }


  .nh-ssoc-fb {
    background: #1877f2;
  }

  .nh-ssoc-tw {
    background: #000;
  }

  .nh-ssoc-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }

  .nh-ssoc-yt {
    background: #ff0000;
  }

  .nh-ssoc-gn {
    background: #4285f4;
  }

  /* App badges */
  .nh-side-apps {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nh-side-apps a {
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 10px;
    transition: border-color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nh-side-apps a:hover {
    border-color: #aaa;
  }

  .nh-side-apps a img {
    width: 110px !important;
    height: auto;
    display: block;
  }

  /* Initiatives grid */
  .nh-side-initiatives {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nh-initiative-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-family: var(--nh-font);
    transition: all .2s;
    display: block;
  }

  .nh-initiative-item:hover {
    border-color: var(--nh-red);
    color: var(--nh-red);
    background: var(--nh-red-bg);
  }

  /* Footer links */
  .nh-side-footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .nh-side-footer-links a {
    font-size: 12.5px;
    color: #666;
    text-decoration: none;
    font-family: var(--nh-font);
    transition: color .2s;
  }

  .nh-side-footer-links a:hover {
    color: var(--nh-red);
  }

  .nh-side-footer-links span {
    color: #ccc;
    font-size: 13px;
  }

  /* section spacing */
  .nh-side-section {
    margin-bottom: 20px;
  }

  .nh-side-section:last-child {
    margin-bottom: 0;
  }

  /* Mobile */
  @media (max-width: 767px) {
    .nh-panel-inner {
      padding: 0 16px 40px;
    }

    .nh-panel-body {
      flex-direction: column;
    }

    .nh-panel-cats {
      padding-right: 0;
      width: 100%;
    }

    .nh-panel-divider {
      width: 100%;
      height: 1px;
      margin: 16px 0;
      align-self: auto;
    }

    .nh-panel-side {
      width: 100%;
      padding-left: 0;
    }

    .nh-cat-parent {
      width: 120px;
      min-width: 120px;
      font-size: 14px;
    }

    .nh-panel-topnav a {
      font-size: 13px;
      padding: 5px 14px 5px 0;
    }
  }

  .nh-panel-topnav a:hover {
    color: #c0392b !important;
  }


  .nh-cat-parent:hover {
    color: #c0392b !important;
    text-decoration: none;
  }

  .nh-cat-parent:hover svg {
    stroke: #c0392b;
  }

  .nh-cat-sub:hover {
    color: #c0392b !important;
    background-color: #fef2f2;
    border-radius: 4px;
  }

  /* ৪. ডানদিকের লগইন এবং সার্চ বাটন হোভার */
  .nh-side-btn:hover {
    background-color: #f8f9fa;
    color: #c0392b !important;
    border-color: #c0392b !important;
  }


  /* ৬. অন্যান্য উদ্যোগ এবং ফুটার লিঙ্ক হোভার */
  .nh-initiative-item:hover,
  .nh-side-footer-links a:hover {
    color: #c0392b !important;
    text-decoration: underline;
  }

  /* ৭. ক্লোজ বাটন হোভার */
  .nh-panel-close:hover {
    color: #c0392b;
    transform: rotate(90deg);
    transition: 0.3s;
  }

 .sub_categories_item {
    padding: 4px 16px;
    border-radius: 100px !important;
    background-color: #ff0707;
    margin: 0px 2px;
  }


















  /* ==========================================
   Premium Online Poll
========================================== */

.premium-poll-wrapper {
    position: relative;
    height: 100%;
}

/* Header */
.premium-poll-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.premium-poll-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.premium-poll-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #212529, #495057);
    color: #fff;
    font-size: 19px;
    box-shadow: 0 6px 15px rgba(33, 37, 41, .18);
}

.premium-poll-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8b9298;
    margin-bottom: 2px;
}

.premium-poll-title h5 {
    font-size: 18px;
    font-weight: 800;
    color: #212529;
}

/* Live Badge */
.premium-poll-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 30px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 11px;
    font-weight: 700;
}

.premium-poll-live span {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, .10);
}

/* Main Card */
.premium-poll-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    box-shadow:
        0 8px 30px rgba(33, 37, 41, .07),
        0 2px 8px rgba(33, 37, 41, .03);
}

.premium-poll-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        #212529,
        #495057,
        #868e96
    );
}

.premium-poll-content {
    padding: 22px;
}

/* Question */
.premium-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #f8f9fa,
        #ffffff
    );
    border: 1px solid #edf0f2;
    border-radius: 13px;
}

.premium-question-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #212529;
    color: #fff;
    font-size: 14px;
}

.premium-question-label {
    display: block;
    color: #868e96;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.premium-question h6 {
    margin: 0;
    color: #212529;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

/* Options */
.premium-poll-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.premium-option {
    position: relative;
}

.premium-vote-btn {
    width: 100%;
    min-height: 49px;
    padding: 10px 13px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border: 1px solid #e2e6e9;
    border-radius: 11px;
    background: #fff;

    color: #343a40;
    font-size: 13px;
    font-weight: 600;
    text-align: left;

    transition:
        all .25s ease,
        box-shadow .25s ease;
}

.premium-vote-btn:hover {
    border-color: #343a40;
    background: #f8f9fa;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(33, 37, 41, .08);
}

.premium-option-text {
    line-height: 1.4;
}

.premium-option-arrow {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: #f1f3f5;
    color: #495057;

    font-size: 12px;

    transition: all .25s ease;
}

.premium-vote-btn:hover .premium-option-arrow {
    background: #212529;
    color: #fff;
}

/* Result */
.premium-result {
    padding: 7px 2px 0;
}

.premium-result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;

    font-size: 10px;
    color: #adb5bd;
}

.premium-result-info strong {
    color: #495057;
    font-size: 10px;
    font-weight: 700;
}

.premium-progress {
    width: 100%;
    height: 5px;
    overflow: hidden;
    background: #f1f3f5;
    border-radius: 10px;
}

.premium-progress-bar {
    height: 100%;
    min-width: 2px;
    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #343a40,
        #868e96
    );

    transition: width .6s ease;
}

/* Footer */
.premium-poll-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 21px;
    padding-top: 14px;

    border-top: 1px dashed #dee2e6;

    color: #adb5bd;
    font-size: 10px;
    font-weight: 600;
}

.premium-poll-footer div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-poll-footer div i {
    font-size: 12px;
    color: #6c757d;
}

.premium-poll-footer > i {
    color: #198754;
    font-size: 15px;
}

/* Empty State */
.premium-empty-poll {
    padding: 55px 25px;
    text-align: center;
}

.premium-empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    background: #f8f9fa;
    color: #6c757d;

    font-size: 25px;
}

.premium-empty-poll h6 {
    margin-bottom: 6px;
    color: #343a40;
    font-size: 14px;
    font-weight: 700;
}

.premium-empty-poll p {
    max-width: 230px;
    margin: auto;
    color: #adb5bd;
    font-size: 11px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 575.98px) {

    .premium-poll-content {
        padding: 17px;
    }

    .premium-poll-header {
        margin-bottom: 11px;
    }

    .premium-poll-title h5 {
        font-size: 16px;
    }

    .premium-poll-icon {
        width: 39px;
        height: 39px;
        font-size: 17px;
    }

    .premium-question {
        padding: 12px;
    }

    .premium-question h6 {
        font-size: 14px;
    }

    .premium-poll-live {
        padding: 4px 8px;
        font-size: 10px;
    }
}

    /* ==========================================
       Premium Latest News
    ========================================== */

    .premium-latest-news {
        position: relative;
        width: 100%;
    }

    /* ==============================
       Header
    ============================== */

    .premium-news-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 2px 12px;
        margin-bottom: 3px;

        border-bottom: 1px solid #e9ecef;
    }

    .premium-news-heading {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .premium-news-icon {
        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 10px;

        background: linear-gradient(
            135deg,
            #dc3545,
            #a71d2a
        );

        color: #fff;

        font-size: 17px;

        box-shadow:
            0 5px 14px rgba(220, 53, 69, .20);
    }

    .premium-news-subtitle {
        display: block;

        margin-bottom: 1px;

        color: #adb5bd;

        font-size: 8px;
        font-weight: 800;

        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    .premium-news-title {
        color: #212529;

        font-size: 17px;
        font-weight: 800;

        line-height: 1.2;
    }

    /* ==============================
       Live Badge
    ============================== */

    .premium-news-live {
        display: inline-flex;
        align-items: center;
        gap: 6px;

        padding: 5px 9px;

        border-radius: 20px;

        background: #fff5f5;
        border: 1px solid #ffe0e3;

        color: #dc3545;

        font-size: 9px;
        font-weight: 800;

        letter-spacing: .5px;
    }

    .premium-news-live span {
        width: 6px;
        height: 6px;

        border-radius: 50%;

        background: #dc3545;

        box-shadow:
            0 0 0 4px rgba(220, 53, 69, .10);
    }

    /* ==============================
       News List
    ============================== */

    .premium-news-list {
        padding-top: 4px;
    }

    /* ==============================
       Individual News
    ============================== */

    .premium-news-item {
        position: relative;

        display: grid;

        grid-template-columns: 25px 82px minmax(0, 1fr);

        align-items: center;

        gap: 10px;

        padding: 11px 3px;

        margin: 0;

        border-bottom: 1px solid #f0f1f2;

        transition:
            background .25s ease,
            transform .25s ease;
    }

    .premium-news-item:last-child {
        border-bottom: 0;
    }

    .premium-news-item:hover {
        background: #fafafa;

        transform: translateX(3px);
    }

    /* ==============================
       Serial Number
    ============================== */

    .premium-news-number {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 25px;
        height: 30px;

        color: #adb5bd;

        font-size: 15px;
        font-weight: 800;

        line-height: 1;
    }

    .premium-news-item:first-child .premium-news-number {
        color: #dc3545;
    }

    .premium-news-item:nth-child(2) .premium-news-number {
        color: #495057;
    }

    .premium-news-item:nth-child(3) .premium-news-number {
        color: #6c757d;
    }

    /* ==============================
       Image
    ============================== */

    .premium-news-image-link {
        position: relative;

        display: block;

        width: 82px;
        height: 62px;

        overflow: hidden;

        border-radius: 9px;

        background: #f1f3f5;

        box-shadow:
            0 3px 10px rgba(0, 0, 0, .07);
    }

    .premium-news-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        transition:
            transform .4s ease,
            filter .4s ease;
    }

    .premium-news-item:hover .premium-news-image {
        transform: scale(1.08);

        filter: brightness(.82);
    }

    /* Image Hover Icon */

    .premium-news-image-overlay {
        position: absolute;

        inset: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        opacity: 0;

        background: rgba(0, 0, 0, .25);

        color: #fff;

        font-size: 15px;

        transition: opacity .3s ease;
    }

    .premium-news-item:hover .premium-news-image-overlay {
        opacity: 1;
    }

    /* ==============================
       Content
    ============================== */

    .premium-news-content {
        min-width: 0;
    }

    .premium-news-link {
        display: block;

        text-decoration: none;

        color: inherit;
    }

    .premium-news-link h4 {
        display: -webkit-box;

        margin: 0;

        overflow: hidden;

        color: #25292d;

        font-size: 13px;
        font-weight: 700;

        line-height: 1.48;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        transition:
            color .2s ease;
    }

    .premium-news-item:hover .premium-news-link h4 {
        color: #dc3545;
    }

    /* ==============================
       Meta
    ============================== */

    .premium-news-meta {
        display: flex;
        align-items: center;
        gap: 4px;

        margin-top: 5px;

        color: #adb5bd;

        font-size: 9px;
        font-weight: 600;
    }

    .premium-news-meta i {
        font-size: 9px;
    }

    /* ==============================
       Mobile
    ============================== */

    @media (max-width: 575.98px) {

        .premium-news-header {
            padding-bottom: 10px;
        }

        .premium-news-icon {
            width: 37px;
            height: 37px;

            font-size: 16px;
        }

        .premium-news-title {
            font-size: 16px;
        }

        .premium-news-live {
            font-size: 8px;
            padding: 4px 7px;
        }

        .premium-news-item {
            grid-template-columns: 22px 75px minmax(0, 1fr);

            gap: 8px;

            padding: 9px 2px;
        }

        .premium-news-number {
            width: 22px;
            font-size: 14px;
        }

        .premium-news-image-link {
            width: 75px;
            height: 57px;
        }

        .premium-news-link h4 {
            font-size: 12px;
            line-height: 1.45;
        }

        .premium-news-meta {
            margin-top: 3px;
        }
    }

    /* ==========================================
   Premium Prayer Time Card
========================================== */

.prayer-time-card {
    position: relative;
    overflow: hidden;

    padding: 12px;

    border: 1px solid #e7e9eb;
    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfd 100%
        );

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .06),
        0 2px 7px rgba(0, 0, 0, .03);
}

/* Top decorative line */

.prayer-time-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            #198754,
            #20c997,
            #0d6efd
        );
}

/* ==========================================
   Header
========================================== */

.prayer-header {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 5px 2px 11px;

    border-bottom: 1px solid #edf0f2;
}

.prayer-header-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #198754,
            #0f5132
        );

    color: #fff;

    font-size: 15px;

    box-shadow:
        0 5px 12px rgba(25, 135, 84, .18);
}

.prayer-header-subtitle {
    display: block;

    margin-bottom: 1px;

    color: #adb5bd;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.prayer-header h6 {
    margin: 0;

    color: #212529;

    font-size: 14px;
    font-weight: 800;
}

/* ==========================================
   Date
========================================== */

.prayer-date {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 10px 0;

    padding: 8px;

    border-radius: 9px;

    background: #f7faf8;

    border: 1px solid #e8f2ec;
}

.prayer-date-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #e8f5ee;

    color: #198754;

    font-size: 11px;
}

.prayer-date span {
    display: block;

    color: #adb5bd;

    font-size: 8px;
    font-weight: 600;
}

.prayer-date strong {
    display: block;

    margin-top: 1px;

    color: #343a40;

    font-size: 10px;
    font-weight: 700;
}

/* ==========================================
   Prayer List
========================================== */

.prayer-list {
    display: flex;
    flex-direction: column;
}

/* Prayer Item */

.prayer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 47px;

    padding: 6px 5px;

    border-bottom: 1px solid #f0f1f2;

    transition:
        background .2s ease,
        transform .2s ease;
}

.prayer-item:last-child {
    border-bottom: 0;
}

.prayer-item:hover {
    padding-left: 8px;
    padding-right: 8px;

    background: #f8f9fa;

    border-radius: 8px;
}

/* Prayer Info */

.prayer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prayer-icon {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f1f3f5;

    color: #495057;

    font-size: 12px;

    transition: all .2s ease;
}

.prayer-item:hover .prayer-icon {
    background: #e8f5ee;
    color: #198754;
}

.prayer-info span {
    display: block;

    color: #343a40;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.2;
}

.prayer-info small {
    display: block;

    margin-top: 2px;

    color: #adb5bd;

    font-size: 7px;

    white-space: nowrap;
}

/* Time */

.prayer-item > strong {
    color: #343a40;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
}

/* ==========================================
   Sunrise / Sunset
========================================== */

.prayer-special {
    background: #fffdf5;
}

.prayer-special .prayer-icon {
    background: #fff8dc;
    color: #d39e00;
}

.prayer-special > strong {
    color: #b58100;
}

/* ==========================================
   Active Prayer
========================================== */

.prayer-active {
    position: relative;

    margin: 3px 0;

    padding-left: 8px;
    padding-right: 8px;

    border: 1px solid #d9f0e3;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #f0faf4,
            #ffffff
        );
}

.prayer-active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 4px;

    background: #198754;
}

.prayer-active .prayer-icon {
    background: #dff3e7;
    color: #198754;
}

.prayer-active .prayer-info span,
.prayer-active > strong {
    color: #198754;
}

/* ==========================================
   Footer
========================================== */

.prayer-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-top: 10px;
    padding-top: 9px;

    border-top: 1px dashed #dee2e6;

    color: #adb5bd;

    font-size: 8px;
    font-weight: 600;
}

.prayer-footer i {
    color: #198754;
    font-size: 9px;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 575.98px) {

    .prayer-time-card {
        padding: 11px;
    }

    .prayer-item {
        min-height: 45px;
    }

    .prayer-header h6 {
        font-size: 13px;
    }

}



 :root {
        --pk-red: #c0392b;
        --pk-red-dark: #96281b;
        --pk-white: #ffffff;
        --pk-gray-100: #f7f7f7;
        --pk-gray-200: #e8e8e8;
        --pk-gray-500: #777777;
        --pk-gray-700: #444444;
        --pk-gray-900: #1a1a1a;
        --pk-font: 'Hind Siliguri', sans-serif;
    }

    #pk-footer {
        font-family: var(--pk-font);
        background: var(--pk-white);
        border-top: 3px solid var(--pk-red);
    }

    /* ── TOP SECTION ── */
    .pk-footer-top {
        padding: 36px 0 28px;
        border-bottom: 1px solid var(--pk-gray-200);
    }

    .pk-footer-about p {
        font-size: 14px;
        color: var(--pk-gray-500);
        line-height: 1.8;
        margin-bottom: 0;
    }

    .pk-footer-links-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--pk-gray-900);
        margin-bottom: 14px;
        padding-bottom: 6px;
        display: inline-block;
    }

    .pk-footer-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 0;
        justify-content: flex-end;
    }

    .pk-footer-nav li a {
        font-size: 14px;
        font-weight: 600;
        color: var(--pk-gray-700);
        text-decoration: none;
        padding: 3px 12px;
        border-right: 1px solid var(--pk-gray-200);
        white-space: nowrap;
        transition: color .2s;
        display: inline-block;
    }

    .pk-footer-nav li:last-child a {
        border-right: none;
    }

    .pk-footer-nav li a:hover {
        color: var(--pk-red);
    }

    /* ── EDITOR SECTION ── */
    .pk-footer-editor {
        padding: 22px 0;
        border-bottom: 1px solid var(--pk-gray-200);
    }

    .pk-footer-editor-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--pk-gray-900);
        margin-bottom: 6px;
    }

    .pk-footer-editor-name span {
        color: var(--pk-gray-500);
        font-weight: 400;
    }

    .pk-footer-editor-addr {
        font-size: 13px;
        color: var(--pk-gray-500);
        line-height: 1.8;
        margin: 0;
    }

    .pk-footer-contact p {
        font-size: 13px;
        color: var(--pk-gray-700);
        margin-bottom: 4px;
        line-height: 1.7;
    }

    .pk-footer-contact a {
        color: var(--pk-gray-700);
        text-decoration: none;
        transition: color .2s;
    }

    .pk-footer-contact a:hover {
        color: var(--pk-red);
    }

    /* ── BOTTOM SECTION ── */
    .pk-footer-bottom {
        padding: 28px 0 20px;
        border-bottom: 1px solid var(--pk-gray-200);
    }

    /* Social */
    .pk-social-head {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 700;
        color: var(--pk-gray-900);
        margin-bottom: 14px;
    }

    .pk-social-head svg {
        color: var(--pk-red);
        flex-shrink: 0;
    }

    .pk-social-icons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .pk-soc {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform .2s, opacity .2s;
        flex-shrink: 0;
    }

    .pk-soc:hover {
        transform: scale(1.1);
        opacity: .88;
    }

    .pk-soc-fb {
        background: #1877f2;
    }

    .pk-soc-yt {
        background: #ff0000;
    }

    .pk-soc-tw {
        background: #1da1f2;
    }

    .pk-soc-li {
        background: #0077b5;
    }

    .pk-soc-ig {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    }

    /* Newsletter */
    .pk-newsletter-head {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 700;
        color: var(--pk-gray-900);
        margin-bottom: 10px;
    }

    .pk-newsletter-head svg {
        color: var(--pk-gray-500);
        flex-shrink: 0;
    }

    .pk-newsletter-desc {
        font-size: 13px;
        color: var(--pk-gray-500);
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .pk-newsletter-form {
        display: flex;
        gap: 6px;
    }

    .pk-newsletter-input {
        flex: 1;
        font-family: var(--pk-font);
        font-size: 13px;
        padding: 8px 12px;
        border: 1px solid var(--pk-gray-200);
        border-radius: 4px;
        outline: none;
        transition: border-color .2s;
    }

    .pk-newsletter-input:focus {
        border-color: var(--pk-red);
    }

    .pk-newsletter-btn {
        background: var(--pk-red);
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 8px 16px;
        font-family: var(--pk-font);
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        transition: background .2s;
    }

    .pk-newsletter-btn:hover {
        background: var(--pk-red-dark);
    }

    /* Apps */
    .pk-apps-head {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 700;
        color: var(--pk-gray-900);
        margin-bottom: 14px;
    }

    .pk-apps-head svg {
        color: var(--pk-gray-500);
        flex-shrink: 0;
    }

    .pk-apps-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pk-app-link {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--pk-gray-700);
        text-decoration: none;
        transition: color .2s;
    }

    .pk-app-link:hover {
        color: var(--pk-red);
    }

    .pk-app-link svg {
        flex-shrink: 0;
        color: var(--pk-gray-500);
    }

    /* ── COPYRIGHT ── */
    .pk-footer-copy {
        padding: 16px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pk-footer-copy p {
        font-size: 13px;
        color: var(--pk-gray-500);
        margin: 0;
    }

    .pk-back-top {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--pk-gray-200);
        background: var(--pk-white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--pk-gray-500);
        transition: background .2s, color .2s, border-color .2s;
        flex-shrink: 0;
    }

    .pk-back-top:hover {
        background: var(--pk-red);
        color: #fff;
        border-color: var(--pk-red);
    }


    
    .topbar_ads {
      top: 2px;
      right: 31%;
      width: 62px;
      height: 62px;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 991px) {
        .pk-footer-nav {
            justify-content: flex-start;
        }

        .pk-footer-contact {
            margin-top: 18px;
        }
    }

    @media (max-width: 767px) {
        .pk-footer-top {
            padding: 24px 0 20px;
        }

        .pk-footer-nav li a {
            font-size: 13px;
            padding: 3px 8px;
        }

        .pk-footer-bottom .col-md-4 {
            margin-bottom: 24px;
        }

        .pk-footer-copy {
            flex-direction: column;
            align-items: flex-start;
        }

        .pk-newsletter-form {
            flex-direction: column;
        }

        .pk-newsletter-btn {
            width: 100%;
        }

       
       .topbar_ads {
      top: 4.5px;
      right: 15px;
      width: 82px;
      height: 82px;
    }
    }


    .ads_body{
      position: relative;
    }
    .ads_close {
    position: absolute;
    right: 0;
    top: 0;
}
