/* =========================================================================
   index2.css — Pixel-accurate recreation of the uploaded docx mockup layout
   Colors below were sampled directly from the rendered docx pages (not
   estimated), so they match the source file rather than css/style.css's
   redesigned palette.
   ========================================================================= */

:root {
  --d2-navy: #124b65;        /* trending pill, accent borders, section bars */
  --d2-card-bg: #eff3f6;     /* all light "card" section backgrounds        */
  --d2-chip-border: #d6d6d6;
  --d2-beige: #efeae4;       /* feature / probash / shikkha row              */
  --d2-poll-header: #a48765; /* poll widget header                          */
  --d2-video-outer: #3e3e36; /* video section outer background              */
  --d2-video-titlebar: #1d2a3d;
  --d2-video-card: #e3d5ca;
  --d2-red: #a3090f;         /* video caption banner                        */
  --d2-rule-blue: #4472c4;   /* Word default rule color under header/footer */
  --d2-text: #000000;
  --d2-text-muted: #5b6570;
  --d2-link-teal: #1d5a73;
  --d2-feature-accent: #d9730d; /* ফিচার/প্রবাস/শিক্ষা column heading underline */
}

body.d2-body {
  font-family: var(--font-bangla);
  font-size: 1.0625rem; /* base text, +1px over the site-wide 16px default */
  color: var(--d2-text);
  background: #ffffff;
}

/* Page frame: every block spans the full 1300px container edge to edge
   (no inner side padding once the container reaches its max width). */
@media (min-width: 1300px) {
  body.d2-body .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Main column + fixed 300px ad/sidebar column pinned to the right */
@media (min-width: 992px) {
  .d2-main-col {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .d2-side-col {
    flex: 0 0 324px; /* 300px content + 2 x 12px gutter */
    width: 324px;
    max-width: 324px;
  }
}
/* Ad rectangles never grow past 300px, however wide their column gets */
body.d2-body .ad-rectangle {
  width: 100%;
  max-width: 300px;
}
@media (max-width: 991.98px) {
  .d2-side-col .ad-rectangle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 1. Header — logo image + menu */
.d2-header {
  padding: 16px 0;
  border-bottom: 3px solid var(--d2-rule-blue);
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
}
.d2-header .d2-logo-img {
  height: 40px;
  width: auto;
}
.d2-header .d2-menu {
  gap: 6px;
}
.d2-header .d2-menu .nav-link {
  color: var(--d2-text);
  font-weight: var(--fw-semibold);
  font-size: 1.0625rem;
  padding: 8px 14px;
  border-radius: 4px;
  background: none;
  border: none;
}
.d2-header .d2-menu .nav-link:hover,
.d2-header .d2-menu .nav-link.active {
  color: #fff;
  background: var(--d2-navy);
}
.d2-header .navbar-toggler {
  border-color: var(--d2-chip-border);
  padding: 6px 10px;
}
.d2-mobile-search-btn {
  border: 1px solid var(--d2-chip-border);
  border-radius: 4px;
  background: none;
  color: var(--d2-text);
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.d2-mobile-search-btn:hover {
  color: var(--d2-navy);
  border-color: var(--d2-navy);
}

/* Mobile-only horizontally scrollable quick menu (prothomalo.com style) */
.d2-mobile-scroll-menu {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  margin-top: 12px;
  padding-top: 10px;
  padding-bottom: 6px;
  border-top: 1px solid var(--d2-chip-border);
  cursor: grab;
}
.d2-mobile-scroll-menu.dragging {
  cursor: grabbing;
  user-select: none;
}
.d2-mobile-scroll-menu::-webkit-scrollbar {
  display: none;
}
.d2-mobile-scroll-menu a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 4px;
  background: none;
  color: var(--d2-text);
  font-weight: var(--fw-semibold);
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
}
.d2-mobile-scroll-menu a.active,
.d2-mobile-scroll-menu a:hover {
  background: var(--d2-navy);
  color: #fff;
}

/* Nav submenus — hover-reveal dropdown on desktop, always-expanded on mobile */
.d2-has-submenu {
  position: relative;
}
.d2-has-submenu > .nav-link i.bi-chevron-down {
  font-size: 0.7rem;
  margin-left: 3px;
  vertical-align: 1px;
}
.d2-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--d2-chip-border);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  padding: 8px 0;
  margin: 4px 0 0;
  list-style: none;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.d2-has-submenu:hover > .d2-submenu,
.d2-has-submenu:focus-within > .d2-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.d2-submenu li a {
  display: block;
  padding: 7px 18px;
  font-size: 0.92rem;
  font-weight: var(--fw-regular);
  color: var(--d2-text);
  white-space: nowrap;
}
.d2-submenu li a:hover {
  background: var(--d2-card-bg);
  color: var(--d2-navy);
}

/* Nested sub-submenu (e.g. জাতীয় > জেলা > [districts]) — flies out to the right */
.d2-submenu .d2-has-submenu {
  position: relative;
}
.d2-submenu .d2-has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.d2-submenu .d2-has-submenu > a i.bi-chevron-right {
  font-size: 0.68rem;
  color: var(--d2-text-muted);
}
.d2-submenu .d2-submenu {
  top: -9px;
  left: 100%;
  margin: 0 0 0 4px;
}

@media (max-width: 991.98px) {
  .d2-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--d2-card-bg);
    border-radius: 4px;
    padding: 4px 0;
    margin: 2px 0 8px 14px;
  }
  .d2-submenu li a {
    color: var(--d2-text-muted);
  }
  .d2-submenu .d2-submenu {
    margin: 2px 0 6px 14px;
    background: #fff;
  }
}

/* 2. Ad banner strip */
.d2-adbar {
  padding: 22px 0 0;
}

/* 3. Trending bar — pill badge + chip row on light card bg */
.d2-trending {
  background: none;
  margin-top: 18px;
  padding: 10px 0;
}
.d2-trending .d2-trending-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}
.d2-trending .d2-pill-label {
  flex: 0 0 auto;
  background: var(--d2-navy);
  color: #fff;
  font-weight: var(--fw-semibold);
  font-size: 1.025rem;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.d2-trending .d2-chip {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--d2-chip-border);
  color: var(--d2-text);
  font-size: 0.975rem;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.d2-trending .d2-chip:hover {
  border-color: var(--d2-navy);
  color: var(--d2-navy);
}

/* Generic light card used for lead / national / sports / intl / entertainment */
.d2-card {
  background: none;
  border-radius: 0;
  padding: 0;
}

/* 4a. Lead story card — text left, image right */
.d2-lead {
  display: flex;
  gap: 22px;
  align-items: stretch;
}
.d2-lead .d2-lead-text {
  flex: 0 0 46%;
  max-width: 46%;
  display: flex;
  flex-direction: column;
}
.d2-lead .d2-lead-headline {
  /* border-left: 4px solid var(--d2-navy);
  padding-left: 14px; */
  font-size: 1.6125rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  margin-bottom: 12px;
}
.d2-lead .d2-lead-desc {
  color: var(--d2-text);
  font-size: 1.075rem;
  line-height: 1.45;
  margin-bottom: 14px;
}
.d2-lead .d2-lead-tag {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--d2-chip-border);
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 0.9125rem;
}
.d2-lead .d2-lead-img {
  flex: 1 1 auto;
  border-radius: 2px;
  overflow: hidden;
}
.d2-lead .d2-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4b. Headline + thumbnail pair row (used repeatedly across sections) */
.d2-pair {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.d2-pair .d2-pair-text {
  flex: 1 1 auto;
}
.d2-pair .d2-pair-headline {
  font-size: 1.2rem;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  margin-bottom: 6px;
  display: block;
}
.d2-pair .d2-pair-headline.d2-teal {
  color: var(--d2-text);
}
.d2-black,
.d2-pair-headline.d2-black {
  color: var(--d2-text);
}
.d2-pair .d2-pair-desc {
  font-size: 0.9125rem;
  color: var(--d2-text-muted);
  line-height: 1.45;
}
.d2-pair .d2-pair-img {
  flex: 0 0 150px;
  width: 150px;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  background: #dfe4e7;
}
.d2-pair .d2-pair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Compact headline+thumb variant: no excerpt, small square thumb,
   used for the 3-column "latest news" grid under the lead story */
/* .d2-pair-grid-3col > [class^="col-"] {
  padding-top: 16px;
} */
/* .d2-pair-grid-3col > [class^="col-"]:nth-child(n + 4) {
  border-top: 1px solid #d7dee2;
} */
.d2-pair.d2-pair-compact .d2-pair-img {
  flex: 0 0 120px;
  width: 120px;
  aspect-ratio: 16/9;
}

/* Plain section title: bold text + thin rule, no accent bar (জাতীয়) */
.d2-section-title-plain {
  display: block;
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  
  border-bottom: 1px solid #cfd6da;
  margin-bottom: 16px;
  color: #000;
  text-decoration: none;
}
.d2-section-title-plain:hover {
  color: var(--d2-navy);
}

/* Bar-accent section title: "│ খেলা" style (খেলা/আন্তর্জাতিক/বিনোদন) */
.d2-section-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cfd6da;
  margin-bottom: 18px;
}
.d2-section-title-bar::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--d2-navy);
}
.d2-section-title-bar a {
  font-size: 1.2125rem;
  font-weight: var(--fw-bold);
  color: #000;
  text-decoration: none;
}
.d2-section-title-bar a:hover {
  color: var(--d2-navy);
}

/* Small grid item: thumb on top, headline below (জাতীয় 2x2 grid) */
.d2-grid-item .d2-grid-thumb {
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #dfe4e7;
}
.d2-grid-item .d2-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-grid-item .d2-grid-headline {
  display: block;
  font-size: 0.9625rem;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

/* Tall feature card (জাতীয় 3rd column): image + headline + desc */
.d2-tall-card .d2-tall-img {
  aspect-ratio: 16/11;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #dfe4e7;
}
.d2-tall-card .d2-tall-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-tall-card .d2-tall-headline {
  font-size: 1.1125rem;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
  display: block;
}
.d2-tall-card .d2-tall-desc {
  font-size: 0.9125rem;
  color: var(--d2-text-muted);
  line-height: 1.45;
}

/* Sidebar tab widget (সর্বশেষ / জনপ্রিয়) */
.d2-tabwidget {
  background: #fff;
  border: 1px solid var(--d2-chip-border);
}
.d2-tabwidget .nav-tabs {
  border-bottom: 1px solid var(--d2-chip-border);
}
.d2-tabwidget .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--d2-text-muted);
  font-weight: var(--fw-semibold);
  font-size: 1.0625rem;
  padding: 12px 16px;
}
.d2-tabwidget .nav-link.active {
  color: var(--d2-navy);
  border-bottom-color: var(--d2-red, #c0392b);
  background: none;
}
.d2-tabwidget .d2-tab-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
}
.d2-tabwidget .d2-tab-item:last-child {
  border-bottom: none;
}
.d2-tabwidget .d2-tab-headline {
  font-size: 0.9625rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  flex: 1 1 auto;
}
.d2-tabwidget .d2-tab-num {
  flex: 0 0 auto;
  font-size: 1.45rem;
  font-weight: var(--fw-bold);
  color: var(--d2-chip-border);
  line-height: 1;
}

/* খেলা — column 1 big item */
.d2-big-item .d2-big-img {
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #dfe4e7;
}
.d2-big-item .d2-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-big-item .d2-big-headline {
  font-size: 1.1625rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
  margin-bottom: 6px;
  display: block;
}
.d2-big-item .d2-big-desc {
  font-size: 0.9125rem;
  color: var(--d2-text-muted);
  line-height: 1.45;
}

/* আন্তর্জাতিক — column 1 wide item (image + link-style headline w/ desc) */
.d2-wide-item .d2-wide-img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #dfe4e7;
}
.d2-wide-item .d2-wide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-wide-item .d2-wide-headline {
  font-size: 1.1625rem;
  font-weight: var(--fw-semibold);
  color: var(--d2-link-teal);
  line-height: 1.35;
  margin-bottom: 6px;
  display: block;
}
.d2-wide-item .d2-wide-desc {
  font-size: 0.9125rem;
  color: var(--d2-text-muted);
  line-height: 1.45;
}

/* বিনোদন — column 2 centered item */
.d2-center-item {
  text-align: center;
}
.d2-center-item .d2-center-img {
  /* aspect-ratio: 4/3; */
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #dfe4e7;
}
.d2-center-item .d2-center-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-center-item .d2-center-headline {
  font-size: 1.1125rem;
  font-weight: var(--fw-semibold);
  color: var(--d2-link-teal);
  line-height: 1.35;
  margin-bottom: 6px;
  display: block;
}
.d2-center-item .d2-center-desc {
  font-size: 0.9125rem;
  color: var(--d2-text-muted);
  line-height: 1.45;
  text-align: left;
}

/* 8. Feature / Probash / Shikkha beige row */
.d2-feature-row {
  background: none;
  padding: 0;
}
.d2-feature-row .d2-feature-col-title {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--d2-feature-accent);
  margin-bottom: 16px;
}
.d2-feature-row .d2-feature-img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ddd4c6;
}
.d2-feature-row .d2-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d2-feature-row .d2-feature-headline {
  font-size: 0.9825rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  margin-bottom: 6px;
  display: block;
}
.d2-feature-row .d2-feature-date {
  font-size: 0.8425rem;
  color: var(--d2-text-muted);
}
.d2-feature-row .d2-feature-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.d2-feature-row .d2-feature-list li {
  padding: 10px 0;
  border-top: 1px solid #ddd4c6;
}
.d2-feature-row .d2-feature-list-headline {
  display: block;
  font-size: 0.92rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  margin-bottom: 4px;
}
.d2-feature-row .d2-feature-list a:hover .d2-feature-list-headline,
.d2-feature-row a:hover .d2-feature-headline {
  color: var(--d2-navy);
}

/* Poll widget */
.d2-poll {
  background: #fff;
  border: 1px solid #e2ded6;
  height: 100%;
}
.d2-poll .d2-poll-header {
  background: var(--d2-poll-header);
  color: #fff;
  font-weight: var(--fw-semibold);
  padding: 12px 16px;
  font-size: 1.0625rem;
}
.d2-poll .d2-poll-body {
  padding: 16px;
}
.d2-poll .d2-poll-question {
  font-weight: var(--fw-semibold);
  margin-bottom: 12px;
  font-size: 1.0125rem;
  line-height: 1.5;
}
.d2-poll .form-check {
  display: inline-block;
  margin-right: 14px;
}
.d2-poll .form-check-label {
  font-size: 1.0625rem;
}
.d2-poll .d2-poll-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.d2-poll .btn-poll-vote {
  background: #fff;
  border: 1px solid var(--d2-navy);
  color: var(--d2-navy);
  font-weight: var(--fw-semibold);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 0.9125rem;
}
.d2-poll .btn-poll-old {
  background: #fff;
  border: 1px solid var(--d2-poll-header);
  color: var(--d2-poll-header);
  font-weight: var(--fw-semibold);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 0.9125rem;
}

/* 9. Video section */
.d2-video-section {
  background: none;
  padding: 0;
}
.d2-video-section .d2-video-titlebar {
  background: var(--d2-video-titlebar);
  text-align: center;
  padding: 14px;
  margin-bottom: 20px;
}
.d2-video-section .d2-video-titlebar a {
  color: #fff;
  font-size: 1.2625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-decoration: none;
}
.d2-video-section .d2-video-titlebar a:hover {
  color: var(--d2-red);
}
.d2-video-main {
  background: var(--d2-video-card);
  padding: 16px;
  height: 100%;
}
.d2-video-main .d2-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
}
.d2-video-main .d2-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.d2-video-main .d2-video-play {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--d2-video-outer);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.d2-video-main .d2-video-caption-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--d2-red);
  color: #fff;
  font-weight: var(--fw-semibold);
  padding: 10px 16px;
  font-size: 1.0625rem;
}
.d2-video-main .d2-video-headline {
  font-size: 1.2125rem;
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
  display: block;
}
.d2-video-main .d2-video-desc {
  font-size: 0.9425rem;
  line-height: 1.6;
  color: #3a352d;
}

.d2-video-list-item {
  display: flex;
  background: var(--d2-video-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.d2-video-list-item:last-child {
  margin-bottom: 0;
}
.d2-video-list-item .d2-video-list-thumb {
  position: relative;
  flex: 0 0 190px;
  width: 190px;
  aspect-ratio: 16/9;
  background: #000;
}
.d2-video-list-item .d2-video-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.d2-video-list-item .d2-video-play-sm {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--d2-video-outer);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.d2-video-list-item .d2-video-caption-banner-sm {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--d2-red);
  color: #fff;
  font-weight: var(--fw-semibold);
  padding: 4px 8px;
  font-size: 0.7825rem;
}
.d2-video-list-item .d2-video-list-headline {
  padding: 14px 16px;
  font-size: 1.0125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  align-self: center;
}

/* 10. Footer — minimal placeholder, exactly as in the doc */
.d2-footer {
  border-top: 3px solid var(--d2-rule-blue);
  border-bottom: 3px solid var(--d2-rule-blue);
  padding: 40px 0;
  margin-top: 24px;
}
.d2-footer span {
  font-size: 1.1625rem;
  color: #000;
}

.d2-gap-y > * + * {
  margin-top: 18px;
}

@media (max-width: 991.98px) {
  .d2-lead {
    flex-direction: column;
  }
  .d2-lead .d2-lead-text {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .d2-lead .d2-lead-img {
    aspect-ratio: 16/9;
  }
  .d2-pair .d2-pair-img {
    flex-basis: 110px;
    width: 110px;
  }
}

@media (max-width: 575.98px) {
  .d2-video-list-item {
    flex-direction: column;
  }
  .d2-video-list-item .d2-video-list-thumb {
    width: 100%;
    flex-basis: auto;
  }
}

/* -------------------------------------------------------------------------
   11. MEGA MENU — trigger button + full-screen overlay
   ---------------------------------------------------------------------- */
.d2-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--d2-navy);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  white-space: nowrap;
}
.d2-menu-trigger:hover {
  background: #0c3446;
  color: #fff;
}

body.mega-menu-open {
  overflow: hidden;
}

.mega-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  display: none;
}
.mega-menu.show {
  display: block;
}

.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--d2-chip-border);
}
.mega-menu-header .d2-logo-img {
  height: 38px;
  width: auto;
}
.mega-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--d2-text);
  cursor: pointer;
  padding: 0 4px;
}
.mega-menu-close:hover {
  color: var(--d2-red);
}

.mega-menu-toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--d2-chip-border);
  max-width: 1300px;
  margin: 0 auto;
}
.mega-menu-toplinks a {
  color: var(--d2-navy);
  font-weight: var(--fw-semibold);
  font-size: 1.05rem;
}
.mega-menu-toplinks a:hover {
  color: var(--d2-red);
}

.mega-menu-body {
  display: flex;
  gap: 40px;
  padding: 28px 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.mega-menu-categories {
  flex: 1 1 auto;
  min-width: 0;
}
.mega-menu-cat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.mega-menu-cat:first-child {
  padding-top: 0;
}
.mega-menu-cat-title {
  flex: 0 0 170px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--fw-bold);
  font-size: 1.05rem;
  color: var(--d2-text);
}
.mega-menu-cat-title i {
  color: var(--d2-navy);
  font-size: 0.8rem;
}
.mega-menu-cat-title a {
  color: inherit;
}
.mega-menu-cat-title a:hover {
  color: var(--d2-red);
}
.mega-menu-cat-items {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.mega-menu-cat-items a {
  color: var(--d2-link-teal);
  font-size: 0.95rem;
}
.mega-menu-cat-items a:hover {
  color: var(--d2-red);
}

.mega-menu-side {
  flex: 0 0 280px;
}
.mega-menu-side .btn-login,
.mega-menu-side .btn-search-mega {
  border: 1px solid var(--d2-navy);
  color: var(--d2-navy);
  font-weight: var(--fw-semibold);
  font-size: 0.9rem;
  border-radius: 4px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mega-menu-side .btn-search-mega {
  background: var(--d2-navy);
  color: #fff;
}
.mega-menu-side .btn-login:hover {
  background: var(--d2-card-bg);
}
.mega-menu-side .btn-search-mega:hover {
  background: #0c3446;
  color: #fff;
}
.mega-menu-follow-title,
.mega-menu-app-title {
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  margin: 22px 0 12px;
}
.mega-menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--d2-card-bg);
  color: var(--d2-navy);
  margin-right: 8px;
}
.mega-menu-social a:hover {
  background: var(--d2-navy);
  color: #fff;
}
.mega-menu-app a {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--d2-chip-border);
  border-radius: 6px;
  padding: 9px 12px;
  margin-bottom: 8px;
  color: var(--d2-text);
  font-size: 0.9rem;
}
.mega-menu-app a:hover {
  border-color: var(--d2-navy);
  color: var(--d2-navy);
}
.mega-menu-links-title {
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  margin: 22px 0 10px;
}
.mega-menu-links a {
  display: block;
  color: var(--d2-text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
}
.mega-menu-links a:hover {
  color: var(--d2-navy);
}

@media (max-width: 767.98px) {
  .mega-menu-body {
    flex-direction: column;
    gap: 24px;
  }
  .mega-menu-cat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .mega-menu-cat-title {
    flex-basis: auto;
  }
  .mega-menu-toplinks {
    gap: 8px 20px;
  }
}

/* -------------------------------------------------------------------------
   12. IN-PAGE SEARCH — overlay panel, no page navigation
   ---------------------------------------------------------------------- */
body.site-search-open {
  overflow: hidden;
}

.site-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 32, 0.6);
  z-index: 2100;
  display: none;
  padding: 70px 20px;
  overflow-y: auto;
}
.site-search-overlay.show {
  display: block;
}

.site-search-panel {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.site-search-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--d2-text);
  cursor: pointer;
}
.site-search-close:hover {
  color: var(--d2-red);
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--d2-navy);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.site-search-form i {
  color: var(--d2-navy);
  font-size: 1.25rem;
}
.site-search-input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-family: inherit;
  color: var(--d2-text);
}

.site-search-meta {
  font-size: 0.85rem;
  color: var(--d2-text-muted);
  margin-bottom: 10px;
}
.site-search-results {
  max-height: 55vh;
  overflow-y: auto;
}
.site-search-hint,
.site-search-empty {
  color: var(--d2-text-muted);
  font-size: 0.95rem;
  padding: 14px 0;
  text-align: center;
}
.site-search-result-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 6px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}
.site-search-result-item:hover {
  background: var(--d2-card-bg);
}
.site-search-result-item .thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--d2-card-bg);
}
.site-search-result-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-search-result-item .headline {
  font-weight: var(--fw-semibold);
  font-size: 0.98rem;
  color: var(--d2-text);
  line-height: 1.4;
}
.site-search-result-item mark {
  background: #fff2ac;
  padding: 0 1px;
}











.site-footer {
    background: #f2f7f8;
    padding: 38px 20px 20px;
    color: #111;
    font-family: "Kalpurush", "Nirmala UI", Arial, sans-serif;
}

/* Logo */
.footer-logo {
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #124c67;
    line-height: 1;
}

.footer-logo span {
    background: #124c67;
    color: #fff;
    padding: 2px 7px 3px;
    margin-left: 2px;
}

/* Editor */
.footer-editor {
    font-size: 21px;
}

/* Menu */
.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
    font-size: 20px;
}

.footer-menu a {
    color: #111;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #124c67;
}

/* Contact */
.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 14px;
    font-size: 19px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    font-size: 17px;
}

/* Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 27px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    border: 1px solid #adb5b7;
    border-radius: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #000;
    text-decoration: none;
    font-size: 19px;
}

.footer-social a:hover {
    background: #124c67;
    border-color: #124c67;
    color: #fff;
}


/* Mobile */
@media (max-width: 767px) {

    .site-footer {
        padding: 30px 15px 20px;
    }

    .footer-logo {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .footer-editor {
        font-size: 18px;
    }

    .footer-menu {
        gap: 10px 20px;
        margin-top: 25px;
        font-size: 17px;
    }

    .footer-contact {
        gap: 10px 20px;
        font-size: 17px;
        margin-top: 18px;
    }

    .footer-social {
        margin-top: 22px;
        gap: 10px;
    }
}