.nb-news-portal {
  box-sizing: border-box;
  margin: 28px 0;
  padding: 0;
  background: var(--nb-npg-bg, #fff);
  color: var(--nb-npg-title-color, #252525);
}

.nb-news-portal *,
.nb-news-portal *::before,
.nb-news-portal *::after {
  box-sizing: border-box;
}

.nb-news-portal a {
  color: inherit;
  text-decoration: none;
}

.nb-news-portal a:hover {
  color: var(--nb-npg-accent, #e53935);
}

.nb-news-portal__layout {
  display: grid;
  grid-template-columns: minmax(330px, 1.18fr) minmax(260px, .82fr) minmax(360px, 1.36fr);
  gap: 30px;
  align-items: start;
}

.nb-news-portal__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
}

.nb-news-portal__feature-card,
.nb-news-portal__side-card {
  min-width: 0;
}

.nb-news-portal__feature-media,
.nb-news-portal__side-media {
  display: block;
  overflow: hidden;
  background: #eef2f7;
  height: var(--nb-npg-image-h, 148px) !important;
  min-height: var(--nb-npg-image-h, 148px) !important;
  max-height: var(--nb-npg-image-h, 148px) !important;
  border-radius: 5px;
  aspect-ratio: auto !important;
  line-height: 0;
}

.nb-news-portal__feature-media img,
.nb-news-portal__side-media img,
.nb-news-portal__feature-media .fbt-featured-image-wrapper,
.nb-news-portal__side-media .fbt-featured-image-wrapper,
.nb-news-portal__feature-media .fbt-lazy-wrap,
.nb-news-portal__side-media .fbt-lazy-wrap,
.nb-news-portal__feature-media .fbt-lazy-wrap img,
.nb-news-portal__side-media .fbt-lazy-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.nb-news-portal__feature-media .fbt-lazy-wrap::before,
.nb-news-portal__side-media .fbt-lazy-wrap::before {
  display: none !important;
}

.nb-news-portal__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #edf2f7, #dbe5ef);
}

.nb-news-portal .nb-news-portal__feature-title,
.nb-news-portal .nb-news-portal__side-title,
.nb-news-portal .nb-news-portal__headline h3 {
  margin: 0;
  color: var(--nb-npg-title-color, #252525);
  letter-spacing: 0;
}

.nb-news-portal .nb-news-portal__feature-title {
  margin-top: 12px;
}

.nb-news-portal .nb-news-portal__feature-title,
.nb-news-portal .nb-news-portal__feature-title a {
  font-family: var(--nb-npg-feature-title-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif);
  font-size: var(--nb-npg-feature-title-size-d, 15px) !important;
  font-weight: var(--nb-npg-feature-title-weight, 500) !important;
  line-height: var(--nb-npg-feature-title-lh-d, 1.42) !important;
}

.nb-news-portal__middle {
  min-width: 0;
}

.nb-news-portal__tabs {
  display: block;
  margin: 0 0 18px;
}

.nb-news-portal__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 32px;
  padding: 6px 14px;
  border: 0;
  border-radius: 3px;
  background: var(--nb-npg-tab-bg, #050505);
  color: #fff;
  font: 700 16px/1.2 var(--nb-npg-list-title-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif) !important;
  letter-spacing: 0;
  width: 100%;
}

.nb-news-portal__panel {
  display: grid;
  gap: 0;
}

.nb-news-portal__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.nb-news-portal__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 170px;
  padding: 9px 24px;
  border-radius: 4px;
  background: var(--nb-npg-accent, #e53935);
  color: #fff !important;
  font-family: var(--nb-npg-list-title-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif);
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 18px rgba(229, 57, 53, .22);
}

.nb-news-portal__more:hover,
.nb-news-portal__more:focus {
  color: #fff !important;
  filter: brightness(.96);
  text-decoration: none !important;
}

.nb-news-portal__headline {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--nb-npg-border, #e5e7eb);
}

.nb-news-portal__headline:first-child {
  padding-top: 0;
}

.nb-news-portal__headline-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 2px solid rgba(22, 135, 90, .38);
  border-radius: 3px;
}

.nb-news-portal__headline-icon::before,
.nb-news-portal__headline-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 4px;
  height: 2px;
  background: rgba(22, 135, 90, .56);
}

.nb-news-portal__headline-icon::before {
  top: 6px;
}

.nb-news-portal__headline-icon::after {
  top: 12px;
}

.nb-news-portal .nb-news-portal__headline h3,
.nb-news-portal .nb-news-portal__headline h3 a {
  font-family: var(--nb-npg-list-title-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif);
  font-size: var(--nb-npg-list-title-size-d, 15px) !important;
  font-weight: var(--nb-npg-list-title-weight, 500) !important;
  line-height: var(--nb-npg-list-title-lh-d, 1.62) !important;
}

.nb-news-portal__headline:nth-child(3n + 1) h3 a {
  color: var(--nb-npg-green, #16875a);
}

.nb-news-portal__headline:nth-child(3n + 2) h3 a {
  color: var(--nb-npg-title-color, #252525);
}

.nb-news-portal__headline:nth-child(3n) h3 a {
  color: var(--nb-npg-accent, #e53935);
}

.nb-news-portal__side {
  min-width: 0;
}

.nb-news-portal__side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px;
}

.nb-news-portal__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--nb-npg-accent, #e53935);
  font-family: var(--nb-npg-category-label-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif);
  font-size: var(--nb-npg-category-label-size-d, 13px) !important;
  font-weight: var(--nb-npg-category-label-weight, 600) !important;
  line-height: var(--nb-npg-category-label-lh-d, 1.3) !important;
}

.nb-news-portal__cat::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.nb-news-portal .nb-news-portal__side-title {
  margin-top: 5px;
}

.nb-news-portal .nb-news-portal__side-title,
.nb-news-portal .nb-news-portal__side-title a {
  font-family: var(--nb-npg-side-title-font, "Shurjo", "SolaimanLipi", "Noto Sans Bengali", sans-serif);
  font-size: var(--nb-npg-side-title-size-d, 15px) !important;
  font-weight: var(--nb-npg-side-title-weight, 500) !important;
  line-height: var(--nb-npg-side-title-lh-d, 1.42) !important;
}

@media (max-width: 1180px) {
  .nb-news-portal__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr);
  }

  .nb-news-portal__side {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nb-news-portal {
    margin: 22px 0;
  }

  .nb-news-portal__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nb-news-portal__feature-grid,
  .nb-news-portal__side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .nb-news-portal__feature-media {
    height: var(--nb-npg-image-h, 148px) !important;
    min-height: var(--nb-npg-image-h, 148px) !important;
    max-height: var(--nb-npg-image-h, 148px) !important;
  }

  .nb-news-portal__side-media {
    height: var(--nb-npg-image-h, 148px) !important;
    min-height: var(--nb-npg-image-h, 148px) !important;
    max-height: var(--nb-npg-image-h, 148px) !important;
  }

  .nb-news-portal__tabs {
    margin-bottom: 14px;
  }

  .nb-news-portal .nb-news-portal__tab {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 14px !important;
  }

  .nb-news-portal .nb-news-portal__feature-title,
  .nb-news-portal .nb-news-portal__feature-title a {
    font-size: var(--nb-npg-feature-title-size-m, 14px) !important;
    line-height: var(--nb-npg-feature-title-lh-m, 1.35) !important;
  }

  .nb-news-portal .nb-news-portal__headline h3,
  .nb-news-portal .nb-news-portal__headline h3 a {
    font-size: var(--nb-npg-list-title-size-m, 14px) !important;
    line-height: var(--nb-npg-list-title-lh-m, 1.52) !important;
  }

  .nb-news-portal .nb-news-portal__cat {
    font-size: var(--nb-npg-category-label-size-m, 12px) !important;
    line-height: var(--nb-npg-category-label-lh-m, 1.3) !important;
  }

  .nb-news-portal .nb-news-portal__side-title,
  .nb-news-portal .nb-news-portal__side-title a {
    font-size: var(--nb-npg-side-title-size-m, 14px) !important;
    line-height: var(--nb-npg-side-title-lh-m, 1.35) !important;
  }
}

@media (max-width: 420px) {
  .nb-news-portal__feature-grid,
  .nb-news-portal__side-grid {
    gap: 16px 12px;
  }

  .nb-news-portal__feature-title,
  .nb-news-portal__side-title {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}
