    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red: #e5001e;
      --red-dark: #c0001a;
      --border: #e2e2e2;
      --text: #222;
      --muted: #666;
      --bg: #f2f2f2;
      --clrgry: #333333;
      --clrblack: #000;
    }

    /* ── KEY FIX: allow page to scroll ── */
    html {
      scroll-behavior: smooth;     /* smooth scroll throughout */
    }

    body {
      font-family: 'Noto Sans Devanagari', sans-serif;
      background-color: #EEEFF5;
      overflow-x: hidden;          /* no horizontal scroll */
      overflow-y: auto;            /* enable vertical scroll */
      min-height: 100vh;           /* at least full viewport height */
    }

    /* ══ HEADER CARD WRAPPER — STICKY ══ */
    .header-card {
      background: #fff;
      border-radius: 0px 0px 30px 30px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
      overflow: visible;
      flex-shrink: 0;
      border: none;
      width: 1270px;
      margin: 0 auto;
      max-width: 100%;
      padding-bottom: 0px;
      position: sticky;
      top: 0;
      z-index: 500;
    }

    .car-track { scroll-padding: 0 80px; }

    /* ══ TOP BAR ══ */
      .wrapLogoCal {
      width: auto;
      display: flex;
      flex-wrap: wrap;
      column-gap: 20px;
      align-items: center;
      }

      .topbar {
        background: #fff;
        padding: 8px 64px;
        min-height: 56px;
          margin-bottom: 10px;
          padding-top: 0px;
          padding-bottom: 0px;
    }

    .topbarinside {
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
    padding-top: 16px;
}

    .logo-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      cursor: pointer;
      min-width: 65px;
      width: 65px;
    }

    .logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

    .logo-badge {
      color: #fff;
      width: 52px;}

    .logo-sub { font-size: 10px; color: var(--muted); font-weight: 500; }
      .date-btn {
          display: flex;
          align-items: center;
          gap: 7px;
          border: 1px solid #E6E5EA;
          border-radius: 12px;
          padding: 0px 12px;
          background: #fff;
          cursor: pointer;
          font-family: 'Noto Sans Devanagari', sans-serif;
          font-size: 12.5px;
          color: var(--text);
          transition: border-color .2s, box-shadow .2s;
          flex-wrap: wrap;
          height: 31px;
          background-color: #F7F7F7;
      }

    .date-btn:hover { border-color: #999; box-shadow: 0 1px 5px rgba(0,0,0,.08); }
    .right-actions { display: flex; align-items: center; gap: 12px; }
    .btn-site {
      background: var(--red);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background .2s;
      font-family: 'Noto Sans Devanagari', sans-serif;
    }
    .btn-site:hover { background: var(--red-dark); }
    .user-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      font-size: 12.5px;
      color: var(--text);
      font-weight: 500;
      display: none;
    }
    .user-icon {
      width: 27px; height: 27px;
      background: var(--red);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff;
    }

    /* ══ NAV BAR ══ */
    .navbar { background: #fff; position: relative; padding: 0px 150px; border-radius: 0px 0px 20px 20px;}

   .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 0px;
    margin-bottom: 6px;
}

    .nav-links::-webkit-scrollbar { display: none; }

    .navbar.nav-swiper .nav-links {
      overflow-x: auto;
      justify-content: flex-start;
      padding: 0 44px;
    }

    .nav-arrow {
      position: absolute;
      top: 47%; transform: translateY(-50%);
      width: 27px; height: 27px;
      border-radius: 50%;
      background: #fff;
      border: 1.5px solid #ddd;
      cursor: pointer;
      display: none;
      align-items: center; justify-content: center;
      color: #555;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0,0,0,.10);
      transition: border-color .2s, color .2s, box-shadow .2s;
      transition: all 0.5s;
    }
    .nav-arrow:hover { border-color: var(--clrblack); color: var(--clrblack); box-shadow: 0 3px 12px rgba(0,0,0,.18); }
    .nav-arrow.nav-prev { left: 64px; }
    .nav-arrow.nav-next { right: 64px; }
    .navbar.nav-swiper .nav-arrow { display: flex; }
    .nav-item {
      white-space: nowrap;
      padding: 0px 1px 4px;
      font-size: 18px;
      font-weight: 500;
      color: #333;
      cursor: pointer;
      border-bottom: 2.5px solid transparent;
      transition: color .2s, border-color .2s;
      text-decoration: none;
      display: block;
      margin-right: 40px;
      transition: all 0.5s;
    }


     .nav-item:last-child {
      margin-right: 0px;}
    .nav-item:hover { color: var(--clrblack);}
    .nav-item.active { color: var(--clrgry); border-bottom-color: var(--clrgry); font-weight: 800;
    font-size: 18px;
    line-height: 22px;
    }

    /* ══ ARROW TOGGLE ══ */
  .arrow-row {
    display: flex;
    justify-content: center;
    background: #d13c3c;
    background-color: #ffffff;
    height: 24px;
    width: 105px;
    display: inline-block;
    transform: translate(-50%, -50%);
    bottom: -35px;
    left: 50%;
    position: absolute;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
    box-shadow: 0 6px 4px rgba(0, 0, 0, 0.10);
}
  .arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #2F3C49;
    display: flex;
    align-items: center;
    transition: color .2s;
    text-align: center;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: -44%;
}

    .arrow-row:hover .arrow-btn { color: var(--clrblack); }
    .arrow-icon { transition: transform .35s cubic-bezier(.4,0,.2,1); }
    .arrow-btn.open .arrow-icon { transform: rotate(180deg); }

    .arrow-row.open .arrow-btn .arrow-icon {
    transform: rotate(180deg);
    color: #d13c3c;}



    /* ══ EXPANDED PANEL ══ */
    .panel-outer {
      background: #fff;
      overflow: hidden;
      max-height: 0;
      transition: max-height .45s cubic-bezier(.4,0,.2,1);
    }
    .panel-outer.open { max-height: 260px; border-radius: 0px 0px 20px 20px; }
    .panel-inner { position: relative; padding: 14px 52px 10px; }
   .car-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
 }
    .car-arrow.prev { left: 10px; }
    .car-arrow.next { right: 10px; }
    .car-track {
      display: flex;
      align-items: baseline;
      gap: 32px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: none;
      padding-bottom: 4px;
    }


.car-arrow.next svg {
    transform: rotate(180deg);
}

    .page-card.active {
    border: none;
    background-color: #F0F0F0;
    padding-left: 10px;
    padding: 22px 28px;
    border-radius: 8px;
}


.page-card.active .thumb {
    box-shadow: none;
}

    .car-track::-webkit-scrollbar { display: none; }
    .page-card { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; cursor: pointer; border-right: 1px solid #F0F0F0;
    padding-right: 25px;}
    .card-label { font-size: 14px; font-weight: 600; color: #A3A3A3; white-space: nowrap; transition: color .2s; }
    .page-card:hover .card-label,
    .page-card.active .card-label { color: var(--clrblack); }
    .thumb {
      width: 95px; height: 122px;
      border-radius: 4px;
      border: 2px solid var(--border);
      overflow: hidden;
      background: #f8f8f8;
      transition: border-color .2s, box-shadow .2s;
    }


.page-card.active .card-label {
    font-size: 14px;
    line-height: 14px;
    color: #000000;
}

    .page-card:hover .thumb { border-color: #bbb; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
    .page-card.active .thumb { border-color: var(--red); border-width: 2.5px; box-shadow: none; }
    .np { width:100%; height:100%; padding:5px; background:#fff; display:flex; flex-direction:column; gap:3px; }
    .np-h   { height:10px; background:var(--red); border-radius:2px; flex-shrink:0; }
    .np-img { background:#d8dbe8; border-radius:2px; flex-shrink:0; }
    .np-ln  { height:4px; background:#e2e2e2; border-radius:1px; flex-shrink:0; }
    .np-ln.s { width:62%; }
    .np-ln.m { width:88%; }
    .np-cols { display:flex; gap:4px; flex:1; min-height:0; }
    .np-col  { flex:1; display:flex; flex-direction:column; gap:3px; }
    .np-ci   { background:#d8dbe8; border-radius:2px; flex-shrink:0; }
    .np-cl   { height:3px; background:#e2e2e2; border-radius:1px; }

    /* ══════════════════════════
       CALENDAR MODAL
    ══════════════════════════ */
    .cal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.55);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s ease;
    }
    .cal-overlay.open { opacity: 1; pointer-events: all; }
    .cal-modal {
      background: #fff;
      border-radius: 12px;
      width: 330px;
      padding: 22px 20px 18px;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,.28);
      transform: translateY(14px) scale(.97);
      transition: transform .25s ease;
    }
    .cal-overlay.open .cal-modal { transform: translateY(0) scale(1); }

    .cal-close {
      position: absolute;
      top: -11px; right: -11px;
      width: 26px; height: 26px;
      background: var(--red);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,.2);
      transition: background .2s;
    }
    .cal-close:hover { background: var(--red-dark); }

    .cal-title { font-size: 15px; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 14px; }

    .cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
    .cal-dow span { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 3px 0; }

    .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px 0; }

    .cal-cell {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 4px 2px;
      cursor: pointer;
      border-radius: 6px;
      min-height: 42px;
      transition: background .15s;
    }
    .cal-cell:hover:not(.cal-other) { background: #ffeaed; }

    .cal-cell.cal-other { cursor: default; }
    .cal-cell.cal-other .cal-day,
    .cal-cell.cal-other .cal-mon { opacity: .28; }

    .cal-cell.cal-today .cal-day-wrap {
      background: var(--red);
      border-radius: 50%;
      width: 28px; height: 28px;
      display: flex; align-items: center; justify-content: center;
    }
    .cal-cell.cal-today .cal-day { color: #fff; font-weight: 700; }

    .cal-cell.cal-selected { background: #fff0f2; }
    .cal-cell.cal-selected .cal-day-wrap {
      background: var(--red);
      border-radius: 50%;
      width: 28px; height: 28px;
      display: flex; align-items: center; justify-content: center;
    }
    .cal-cell.cal-selected .cal-day { color: #fff; font-weight: 700; }
    .cal-cell.cal-selected .cal-mon { color: var(--red); font-weight: 600; }

    .cal-cell.cal-today.cal-selected .cal-day-wrap {
      background: var(--red);
      box-shadow: 0 0 0 3px rgba(229,0,30,.25);
    }

    .cal-day-wrap { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
    .cal-day { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1; }
    .cal-mon  { font-size: 9px; color: var(--muted); margin-top: 2px; line-height: 1; }

    .cal-footer { display: flex; gap: 10px; margin-top: 18px; }
    .cal-cancel {
      flex: 1; padding: 9px;
      border: 1.5px solid #ccc; border-radius: 7px;
      background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text);
      cursor: pointer; font-family: 'Noto Sans Devanagari', sans-serif;
      transition: border-color .2s;
    }
    .cal-cancel:hover { border-color: #999; }
    .cal-select {
      flex: 1; padding: 9px;
      border: none; border-radius: 7px;
      background: var(--red); font-size: 13.5px; font-weight: 600; color: #fff;
      cursor: pointer; font-family: 'Noto Sans Devanagari', sans-serif;
      transition: background .2s;
    }
    .cal-select:hover { background: var(--red-dark); }

    .panel-dots { display: flex; justify-content: center; gap: 5px; padding: 2px 0 8px;  display: none;}
    .dot { width: 6px; height: 6px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background .2s, transform .2s; }
    .dot.active { background: var(--red); transform: scale(1.25); }

    /* ══ VIEWER AREA ══ */
    .viewer-area {
      flex: 1;
      background: #000;
      overflow: hidden;
      margin: 0 16px;
    }

    /* ══ SWIPER SECTION ══ */
    .swiper-section {
      background: #2F3C49;
      flex-shrink: 0;
      border-radius: 0 0 0 0;
      width: 1270px;
      max-width: 100%;
      margin: 0 auto;
      margin-top: 20px;
    }
    .swiper-wrapper-outer {
      position: relative;
      padding: 14px 52px 4px;
      display: flex;
      align-items: flex-end;
    }
    .swiper-nav {
      position: absolute; top: 50%; transform: translateY(-65%);
      width: 30px; height: 30px; border-radius: 50%;
      background: rgba(255,255,255,0.10); border: 1.5px solid rgba(255,255,255,0.20);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: #ccc; z-index: 5;
      transition: background .2s, border-color .2s, color .2s;
    }
    .swiper-nav:hover { background: rgba(229,0,30,.5); border-color: var(--red); color: #fff; }
    .swiper-nav.prev { left: 10px; }
    .swiper-nav.next { right: 10px; }
    .swiper-track {
      display: flex; align-items: baseline; gap: 24px;
      overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
      padding-bottom: 8px; flex: 1;
    }
    .swiper-track::-webkit-scrollbar { display: none; }
    .swiper-slide-card {
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      flex-shrink: 0; cursor: pointer;
      border-right: 1px solid #4E5B68;
    padding-right: 20px;
    }
    .swiper-label {
      font-size: 14px; font-weight: 600; color: #999;
      white-space: nowrap; transition: color .2s;
    }
    .swiper-slide-card:hover .swiper-label,
    .swiper-slide-card.active .swiper-label { color: #fff; }
    .swiper-thumb {
      width: 95px; height: 122px; border-radius: 4px;
      border: 2px solid rgba(255,255,255,0.12);
      overflow: hidden; background: #3a3f4a;
      transition: border-color .2s, box-shadow .2s, transform .22s;
    }
    .swiper-slide-card:hover .swiper-thumb {
      border-color: rgba(255,255,255,0.35);
      box-shadow: 0 6px 20px rgba(0,0,0,.4);
      transform: translateY(-3px);
    }
    .swiper-slide-card.active .swiper-thumb {
      border-color: var(--red); border-width: 2.5px;
      box-shadow: 0 6px 22px rgba(229,0,30,.45);
      transform: translateY(-4px);
    }

    .footer-bar {
      background: #EAEAEA;
      padding: 14px 20px 15px;
      text-align: center;
      border-radius: 0 0 10px 10px;
      max-width: 100%;
      margin: 0px auto 0;
      width: 1270px;
    }
    .footer-copy { font-size: 11.5px; color: #000; font-weight: 500; margin-bottom: 3px; }
    .footer-disc { font-size: 11px; color: #000; line-height: 1.6; max-width: 900px; margin: 0 auto; }

    /* ══ FIXED RIGHT TOOLBAR ══ */
    .right-toolbar {
      position: fixed; top: 52%; transform: translateY(-50%); right: 0;
      background: #fff; border-radius: 8px 0 0 8px;
      box-shadow: -2px 0 14px rgba(0,0,0,0.10);
      display: flex; flex-direction: column; align-items: center;
      padding: 6px 0; z-index: 10;
      border: 1px solid #e8e8e8; border-right: none;
    }
    .rt-btn {
      width: 36px; height: 36px; background: none; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #888; transition: color .18s, background .18s; position: relative;
    }
    .rt-btn:hover { color: var(--red); background: #fff5f6; }
    .rt-btn::after {
      content: attr(title);
      position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%);
      background: #333; color: #fff; font-size: 10.5px; white-space: nowrap;
      padding: 3px 8px; border-radius: 4px;
      opacity: 0; pointer-events: none; transition: opacity .18s;
      font-family: 'Noto Sans Devanagari', sans-serif;
    }
    .rt-btn:hover::after { opacity: 1; }
    .rt-divider { width: 20px; height: 1px; background: #f0f0f0; margin: 1px 0; }

    /* ══ MID AREA ══ */
    .midArea {
      width: 100%;
      height: auto;
      margin-top: 11px;
    }

    .midAreaInner {
      width: 100%;
      height: auto;
      position: relative;
      transform-origin: top center;
      transition: transform 0.10s ease;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      touch-action: none;
    }
    
    .midAreaInner img {
        width: 100%;
        height: auto;
        display: block;
        pointer-events: none;
    }

  .mid-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #1D2936;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}
.mid-arrow svg {
    color: #fff;
}

.mid-arrow:hover {
  background: #000;
  transform: translateY(-50%) scale(1.1);
}

/* left */
.mid-arrow.left {
  left: calc((100% - 1245px) / 2);
}

/* right */
.mid-arrow.right {
  right: calc((100% - 1225px) / 2);
}

.epaperContainer { width: 1200px; height: auto; margin: 0 auto;  overflow: hidden;}
.mainbody {
    border-radius: 20px 20px 0px 0px;
    background-color: #fff;
    box-shadow: 4px 4px 24px 0px #00000040;
    margin: 25px auto;
}

.swiper-slide-card.active {
    background-color: #76828E;
    border: none;
    text-align: center;
    border-radius: 8px;
    padding: 20px 25px;
   }


.swiper-slide-card.active .swiper-thumb {
    box-shadow: none;
}

@media (max-width: 1199px) {
 .header-card{width: 100%;}
 .epaperContainer {width: 100%;}
 .swiper-section {width: 100%;}
 .footer-disc {width: 100%;}
 .footer-bar {width: 100%;}


 .mid-arrow.right {
    right: calc((100% - 100%) / 2);
}

.mid-arrow.left {
    left: calc((100% - 100%) / 2);
}

}

@media (max-width: 1180px) {
.nav-links{ overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0 10px !important;
        -webkit-overflow-scrolling: touch;}
        
        .navbar {padding: 0px 60px;}

}

/* 🔥 MOBILE BOTTOM TOOLBAR */
@media (max-width: 767px) {
  
  .nav-links {padding-bottom: 5px !important;}
  
  .rt-divider {display: none;}

  .topbar { 
    padding: 8px 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 11px;

}

.card-label {
    font-size: 13px;
  line-height: 14px;
}

.page-card.active .card-label {
        font-size: 13px;
        line-height: 14px;
        font-weight: 600;
    }

.nav-item.active {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.nav-item {
    margin-right: 30px;
}

.navbar {
    padding: 0px 20px;
    border-radius: 0px;

}

.midArea {
    margin-top: 20px;
    padding: 0px 20px;
}

.nav-arrow.nav-next {
    right: 0px;
}

.nav-arrow.nav-prev {
    left: 0px;
}

.panel-inner {
    padding: 14px 20px 10px;
    padding-top: 0px;
}

.navbar.nav-swiper .nav-links {
    padding: 0 10px;
}

.logo-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        cursor: pointer;
        min-width: 62px;
        width: 62px;
        position: relative;
        top: 0px;
    }


.date-btn {
    padding: 0px 6px;
    font-size: 11px;
    line-height: 14px;
    margin-top: 0px;
}

.right-actions {
    flex-wrap: wrap;
    width: auto;
    margin-left: auto;
    width: 95px;
    justify-content: end;
}

.wrapLogoCal {column-gap: 20px; align-items: center; margin-top: 3px;}

.btn-site {
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .2s;
    font-family: 'Noto Sans Devanagari', sans-serif;
    order: 2;
}


.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text);
    font-weight: 500;
    order: 1;
    line-height: 9px;
    display: none;
}


  .right-toolbar {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;

    flex-direction: row; 
    justify-content: space-around;
    align-items: center;

    width: 100%;
    height: 55px;

    border-radius: 0;
    border-top: 1px solid #ddd;
    border-left: none;

    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    background: #fff;

    padding: 0 10px;
    z-index: 999;
  }

 .rt-btn {
        width: 50px;
        height: 50px;
        flex-direction: column;
        gap: 0px;
    }



  .rt-btn::after {
    display: none;
  }

  .rt-btn svg {
    width: 18px;
    height: 18px;
  }


  .mid-arrow {
  width: 28px;
  height: 28px;
}

.mid-arrow svg {
  width: 14px;
  height: 14px;
}

.mid-arrow.left {
  left: 4px;
}

.mid-arrow.right {
  right: 4px;
}

.footer-bar { margin-bottom: 60px;}


.navbar.nav-swiper .nav-arrow {
    display: none;
}


.swiper-slide-card.active {
    padding: 10px 25px;
   }

   .swiper-nav.prev, .swiper-nav.next, .car-arrow.prev, .car-arrow.next {
    display: none;
}
.swiper-wrapper-outer {
    padding: 14px 15px 4px;
}

.page-card.active {
    padding-top: 5px;
}

.car-track {
    gap: 15px;
}

.page-card {
    padding-right: 15px;
}

.thumb {
    width: 102px;
    height: 150px;}

.topbarinside {padding-top: 0px; margin-bottom: 9px;}

.nav-item {font-size: 16px;}
.header-card .navbar {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.swiper-thumb {width: 102px;  height: 150px;}


}

         .rt-btn { position: relative; }
        .rt-btn::after {
          content: attr(aria-label);
          position: absolute;
          right: calc(100% + 6px);
          top: 50%;
          transform: translateY(-50%);
          background: #1c1c1c;
          color: #fff;
          font-size: 12px;
          padding: 4px 8px;
          border-radius: 4px;
          white-space: nowrap;
          pointer-events: none;
          opacity: 0;
          z-index: 9999;
        }
        .rt-btn:hover::after { opacity: 1; }
      
        body.ep-fake-fullscreen {
          overflow: hidden;
        }
        body.ep-fake-fullscreen > #root {
          position: fixed;
          inset: 0;
          z-index: 9999;
          overflow-y: auto;
          -webkit-overflow-scrolling: touch;
          background: #f4f4f4;
        }
        @media (max-width: 767px) {
          .nav-links {
            overflow-x: auto !important;
            justify-content: flex-start !important;
            padding: 0 10px !important;
            -webkit-overflow-scrolling: touch;
          }
          .navbar .nav-arrow { display: none !important; }
        }
 
       
 
       .share-panel.active {
    display: flex;
    top: 227px;
    flex-wrap: wrap;
}
 
     .share-icon-btn, .close-share-btn {
    border: 0;
    background: transparent;
    color: #1f2937;
    border-radius: 8px;
    /* height: 30px; */
    padding: 0 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    width: 52px;
}


 .share-icon-btn{
    padding: 0 6px;
    width: 100%;
}
 
        .close-share-btn {
          color: #d91312;
          background: #fff1f1;
        }

 
  /* share icons right side start    */
.share-wrapper {
    position: relative;
    width: 50px;
}

.share-trigger {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background:transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.share-panel {
    position: absolute;
    right: 0px;
    bottom: 0;
    background: #DBDFF4;
    border: none;
    border-radius: 0px;
    padding: 10px;
    box-shadow: none;
    display: none;
    align-items: self-start;
    gap: 0px;
    z-index: 1000;
    height: 170px;
    padding-top: 0px;
    padding-left: 0px;
    width: 48px;
    margin-right: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.share-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Close */
button#closeShare {
    padding-top: 17px;
}

.close-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #fff;
    color: red;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

button#closeShare + .share-icon-btn {
    margin-bottom: 15px;
    margin-top: 10px;
}

/* Icon */
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
 transition: all 0.25s ease;
  cursor: pointer;
}

/* SVG */
.icon svg {
  width: 36px;
  height: 36px;
  transition: transform 0.25s ease;
}

.close-btn svg {
    width: 16px;
    height: 16px;
}

/* Hover Animation */
.icon:hover {
  transform: translateY(-1px) scale(1.02);
 }

.icon:hover svg {
  transform: scale(1.01);
}

/* Click effect */
.icon:active {
  transform: scale(0.95);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Brand Colors */
.whatsapp svg { fill: #25D366; }
.twitter svg { fill: #000; }
.facebook svg { fill: #1877F2; }


/* story page css */

body:has(.storyPg) {
    background-color: #fff;
}

 .storyPage{width: 100%; height: auto; margin-top: 41px;}
.storyPBody{width: 800px; height: auto; margin: 0 auto;}


.article-content p br, .article-content p:empty, .article-content div:empty {
    display: none;
}

.article-content div:has(> br:only-child) {
    display: none;
}


  /* ─── OUTER STRIP ─── */
  .ai-strip {
    width: 100%;
    max-width: 610px;
    background: #efefef;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0px 3px 4px 0px #0000001A;
    overflow: hidden;
      margin: 0 auto;
      margin-bottom: 21px;
  }

  /* ─── TAB BAR ─── */
  .tab-bar {
    display: flex;
    align-items: stretch;
    min-height: 76px;
    background: rgba(255, 255, 255, 0.7);
  }

  /* ─── LOGO ─── */
  .logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px 10px 14px;
    min-width: 90px;
    flex-shrink: 0;
    border-right: 1.5px solid #dedede;
    gap: 3px;
    cursor: default;
    user-select: none;
  }

  .logo-wordmark {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    line-height: 1;
  }
  .logo-wordmark .r { color: #cc0000; }

  /* ─── TABS ─── */
  .nav-tabs {
    display: flex;
    flex: 1;
    min-width: 0;
  }

  .tab {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px 9px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-size: 11px;
    color: #666666;
    font-weight: 400;
    position: relative;
    transition: color 0.2s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
  }

  /* Red underline indicator */
  .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 75%;
    height: 2.5px;
    background: #cc0000;
    border-radius: 2px 2px 0 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tab.active { color: #cc0000; font-weight: 500; }
  .tab.active::after { transform: translateX(-50%) scaleX(1); }

  .tab-icon { width: 22px; height: 22px; flex-shrink: 0; }
  .tab-lbl { font-size: 11px; line-height: 1.2; }

    @media (max-width: 767px) {

      .storyPage {margin-top: 35px;}

    }


  @media (max-width: 430px) {
    .logo-col { min-width: 72px; padding: 8px 8px; }
    .logo-wordmark { font-size: 14px; }
    .tab { font-size: 10px; padding: 8px 2px 7px; gap: 4px; }
    .tab-icon { width: 19px; height: 19px; }
    .tab-lbl { font-size: 9.5px; }
    .tab-bar { min-height: 66px; }
  }

  /* ─── EXPAND / COLLAPSE PANEL ─── */
  .panel-shell {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-top: 0px solid #e4e4e4;
    /* smooth expand */
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      border-top-width 0s linear 0.38s;
  }

  .panel-shell.open {
    max-height: 480px;
    border-top-width: 1px;
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      border-top-width 0s linear 0s;
  }

  .panel-body {
    padding: 12px 18px 16px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.26s ease 0.06s, transform 0.26s ease 0.06s;
  }
  .panel-shell.open .panel-body {
    opacity: 1;
    transform: translateY(0);
  }

  /* Chevron close row */
  .close-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
  }
  .close-chev {
    background: none;
    border: none;
    cursor: pointer;
    color: #cc0000;
    padding: 2px;
    display: flex;
    align-items: center;
    line-height: 1;
  }
  .close-chev:hover { opacity: 0.7; }

  /* ── SUMMARY ── */
  .summary-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .summary-text {
    font-size: 15px;
    line-height: 1.82;
    color: #111;
  }

  /* ── AUDIO ── */
  .audio-row {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 9px 12px;
  }

  .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
    color: #222;
  }
  .icon-btn:hover { opacity: 0.65; }

  .progress-track {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    min-width: 0;
  }
  .progress-fill {
    height: 100%;
    background: #cc0000;
    border-radius: 2px;
    position: relative;
    pointer-events: none;
    transition: width 0.9s linear;
  }
  .progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #cc0000;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
  }

  .time-txt {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
  }

  .speed-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    padding: 0;
  }
  .speed-btn:hover { opacity: 0.65; }

  /* ── SHARE ── */
  .share-row {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .share-label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
  }
  .share-icons {
    display: flex;
    gap: 10px;
  }
  .si-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ececec;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    flex-shrink: 0;
  }
  .si-btn:hover { background: #e0e0e0; transform: scale(1.07); }

  /* ── LANGUAGE ── */
  .lang-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .lchip {
    padding: 6px 14px;
    border-radius: 100px;
    border: 1.5px solid #ddd;
    background: #f8f8f8;
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: all 0.16s;
    font-weight: 400;
  }
  .lchip:hover { border-color: #cc0000; color: #cc0000; background: #fff8f8; }
  .lchip.on { background: #cc0000; color: #fff; border-color: #cc0000; font-weight: 500; }




/* rest page */
  /* Header Section */
        .header {
            margin-bottom: 15px;
            line-height: 1;
        }

        .titalStory {
    font-family: Noto Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #CC0000;
    margin-bottom: 15px;
}

        .back-button {
            display: inline-block;
            color: var(--red);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 0px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .back-button:hover {
            color: #C0392B;
        }

        .back-button::before {
            content: "< ";
            margin-right: 5px;
        }

        /* Category Tag */
        .category-tag {
            display: inline-block;
            background-color: var(--primary-red);
            color: var(--white);
            padding: 6px 14px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 15px;
            margin-right: 8px;
        }

        .category-tag.green {
            background-color: var(--accent-green);
        }

        /* Title and Meta */
      .article-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 10px;
    color: var(--clrblack);
}

     .article-meta {
    font-size: 14px;
    color: var(--clrblack);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 20px;
}

        /* Featured Image Section */
       .featured-image-section {
    margin-bottom: 22px;
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 15px;
}
        .featured-image {
            width: 100%;
            height: auto;
            display: block;
            margin-bottom: 15px;
            object-fit: cover;
        }

                  .image-caption {
          font-size: 14px;
          color: #777777;
          line-height: 14px;
          padding: 0 5px;
          font-style: italic;
      }

        /* Author Section */
              .author-section {
                display: flex;
                align-items: center;
                padding: 0px 0px 0px 0;
                margin-bottom: 14px;
                border-top: 1px solid var(--border-gray);
                border-bottom: none;
            }

      .author-avatar {
          width: 44px;
          height: 44px;
          border-radius: 50%;
          background: #CC0000;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-weight: 700;
          font-size: 18px;
          margin-right: 12px;
          flex-shrink: 0;
      }

                .author-info h3 {
        font-size: 20px;
        font-weight: 600;
        color: var(--clrblack);
        margin-bottom: 11px;
        line-height: 14px;
    }

  .author-info p {
    font-size: 16px;
    color: #888888;
    line-height: 14px;
    font-weight: 400;
}

        /* Video Section */
            .video-section {
          margin-bottom: 20px;
          border-radius: 0px;
          overflow: hidden;
          border-bottom: 1px solid #DFDFDF;
          padding-bottom: 15px;
      }

        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            
            background: #000;
        }

        .video-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #666, #333);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
        }

        .play-button {
            width: 70px;
            height: 70px;
            background-color: #D62127;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .play-button:hover {
            background-color: #C0392B;
            transform: scale(1.1);
        }

        .play-button::after {
            content: "▶";
            color: #fff;
            font-size: 24px;
            margin-left: 4px;
        }

            .video-description {
          font-size: 14px;
          color: #777777;
          margin-top: 15px;
          line-height: 20px;
      }

        /* Article Content */
        .article-content {
            margin-bottom: 13px;
        }

              .article-content p, .article-content div {
            font-size: 16px;
            color: #000;
            margin-bottom: 20px;
            line-height: 24px;
            text-align: justify;
        }

      p.article-intro {
          margin-bottom: 20px;
      }
        .article-content p strong {
            font-weight: 700;
            color: var(--dark-text);
        }

        /* Share Section */
      .share-section {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
    gap: 15px;
    justify-content: end;
    margin-bottom: 48px;
}

        .share-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light-gray);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s ease;
        }

        .share-button:hover {
            background-color: var(--primary-red);
            color: var(--white);
            transform: scale(1.1);
        }

        .whatsapp-button {
            background-color: #25D366;
            color: var(--white);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .whatsapp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .modal1 {
            height: 560px;
            width: 320px !important;
            max-width: 320px;
            position: relative;
            background: #ffffff;
            border: 0;
            border-radius: 12px;
            transform: translate(-50%, -50%);
            left: 50%;
            top: 50%;
            overflow: visible;
        }

          .overlayed {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 9999999;
      padding: 24px;
      box-sizing: border-box;
      width: 100%;
  }


  .overlayed.is-open {
    display: block;
}

.r-sticky-whtsapp {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: -5px 4px 10px 0 rgb(0 0 0 / 20%);
    width: 51px;
    height: 44px;
    background-color: #368a41;
    border-radius: 8px 0 0 8px;
    z-index: 887;
    justify-content: center;
    display: flex;
}

.r-sticky-whtsapp svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}


/* css for page footer strip start */
.page-footer-strip {
    padding: 0px 35px;
    background-color: #fff;
    height: auto;
    z-index: 20;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.page-footer-strip .toolbar-section {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #D1D1D1;
    padding: 22px 0px 21px 0px;
}

.turn-page {padding-bottom: 75px;}

.page-footer-strip .toolbar-section .icons{display: flex;align-items: center;gap: 10px;}
.page-footer-strip .toolbar-section .icons svg {width: 32px;height: 32px;}

.page-footer-strip .toolbar-section .dot{width: 16px;height: 16px;}
.page-footer-strip .toolbar-section .color-group{display: flex;align-items: center;gap: 4px;}
.page-footer-strip .toolbar-section .dot.gray{background: rgb(158, 163, 170);}
.page-footer-strip .toolbar-section .dot.light-gray{background: rgb(217, 221, 226);}
.page-footer-strip .toolbar-section .dot.cyan{background: rgb(82, 212, 231);}
.page-footer-strip .toolbar-section .dot.pink{background: rgb(255, 99, 181);}
.page-footer-strip .toolbar-section .dot.yellow{background:rgb(255, 211, 77);}
.page-footer-strip .toolbar-section .dot.black{background: rgb(31, 31, 31);}

/* css for page footer strip end */

#root:has(.midArea) .r-sticky-whtsapp {
    display: none;
}

   @media (max-width: 1300px) {

   }
 
   @media (max-width: 1100px) {
.r-sticky-whtsapp svg {
        width: 55px;
        height: 44px;
    }
   }

        @media (max-width: 1024px) {
        .storyPBody {
            width: 100%;
            padding: 0px 20px;
        }
        }


      @media (min-width: 1100px) and (max-width: 1300px) and (orientation: landscape) {
        /* .right-toolbar {top: 65%;} */
        .rt-btn {width: 30px;}
 
      }
      

    @media (min-width: 600px) and (max-width: 1200px) and (orientation: landscape) {

    .cal-cancel, .cal-select{
        padding: 6px 7px 2px;
    }

 .cal-modal {
    width: 400px;
    padding: 10px 5px 10px;
  }

  .cal-cell {
    padding: 1px 2px;
   min-height: 38px;}

.cal-close {
    top: -1px;
    right: -1px;
}

    }

    @media screen and (max-device-width: 1200px) and (orientation: landscape) {.modal1 {/* max-height:560px; */height: 90svh;}}

    @media (max-width: 767px) {
        .back-button {
       line-height: 20px;}

       .header {
    margin-bottom: 15px;
}
      .titalStory {
          font-size: 16px;
          margin-bottom: 10px;
      }

        .article-title {
               font-size: 26px;
        line-height: 28px;
            }

            .article-meta {
    font-size: 14px;
    line-height: 20px; margin-bottom: 8px;}

.featured-image {
    margin-bottom: 10px;}

.featured-image-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.image-caption {
    font-size: 14px;
    line-height: 20px;
    padding: 0px;
}
.author-section {
    margin-bottom: 0px;}

    .author-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 14px;
}

.author-info p {
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 10px;
}
 .author-section {
                padding: 0px 0;
                padding-bottom: 0px;
            }

            .video-description {margin-top: 10px;}

    .article-content p {
                font-size: 16px;
            }

            .article-content {
    margin-bottom: 0px;}
      .share-section {
          padding-top: 0px;
          margin-bottom: 23px;
      }

      .storyPg .footer-bar {
    margin: 0px;}

    .page-footer-strip {
    padding: 0px 10px;
    background-color: #fff;
    height: auto;
    width: 100%;
}

    .page-footer-strip .toolbar-section {
    padding: 10px 0px 10px 0px;
    justify-content: space-between;
}

.icons {
    gap: 15px !important;
}

.page-footer-strip .toolbar-section .icons svg {
    width: 25px;
    height: 21px;
}

.page-footer-strip .toolbar-section .color-group:nth-child(1), .page-footer-strip .toolbar-section .color-group:nth-child(2) {
    display: none;
}
.page-footer-strip .toolbar-section .icons .twiiterBottom {
    display: block;
}

    }

        /* Responsive Design */
        @media (max-width: 600px) {
            .container {
                padding: 15px;
            }

            .article-title {
               font-size: 26px;
        line-height: 32px;
            }

            .article-content p {
                font-size: 16px;
            }

            .author-section {
                padding: 0px 0;
                padding-bottom: 0px;
            }

            .play-button {
                width: 55px;
                height: 55px;
            }

            .play-button::after {
                font-size: 18px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .article-title,
        .featured-image,
        .article-content {
            animation: fadeIn 0.6s ease-out;
        }

        .author-section {
            animation: fadeIn 0.6s ease-out 0.2s both;
        }

        .video-section {
            animation: fadeIn 0.6s ease-out 0.4s both;
        }

        /* end story css */