/**********************************/
/********** General CSS ***********/
/**********************************/
body {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  background: #ffffff;
}

a {
  color: #00A651;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #000000;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 15px 0;
  color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 15px 0;
  padding: 0;
  color: #000000;
  font-weight: 600;
}

h4,
h5,
h6 {
  font-weight: 400;
}

.back-to-top {
  position: fixed;
  display: none;
  background: #00A651;
  color: #ffffff;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  border-radius: 4px;
  z-index: 11;
}

.back-to-top:hover {
  background: #000000;
}

.back-to-top i {
  padding-top: 9px;
  color: #ffffff;
}

/**********************************/
/********* Form Input CSS *********/
/**********************************/
.form-control,
.custom-select {
  width: 100%;
  height: 35px;
  padding: 5px 15px;
  color: #999999;
  border: 1px solid #cccccc;
  margin-bottom: 15px;
}

.form-control:focus,
.custom-select:focus {
  box-shadow: none;
  border-color: #00A651;
}

.custom-radio,
.custom-checkbox {
  margin-bottom: 15px;
}

.custom-radio .custom-control-label::before,
.custom-checkbox .custom-control-label::before {
  border-color: #cccccc;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  color: #ffffff;
  background: #00A651;
}

button.btn {
  color: #ffffff;
  background: #000000;
  border: 1px solid #000000;
}

button.btn:hover {
  color: #ffffff;
  background: #00A651;
  border-color: #00A651;
}

/**********************************/
/*********** Top Bar CSS **********/
/**********************************/
.top-bar {
  padding: 6px 0;
  background: #111111;
}

.top-bar .tb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}

.top-bar .tb-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.top-bar .tb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #7dffa8;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  max-width: 100%;
}

.top-bar .tb-chip i {
  font-size: 12px;
  opacity: 0.95;
}

.top-bar .tb-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar .tb-chip:hover {
  color: #ffffff;
  text-decoration: none;
}

.top-bar .tb-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.top-bar .tb-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar .tb-auth a {
  color: #7dffa8;
  font-size: 13px;
  text-decoration: none;
  padding: 0 2px;
}

.top-bar .tb-auth a:hover {
  color: #ffffff;
}

.top-bar .tb-auth a::after {
  display: none;
}

.top-bar .tb-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar .tb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 12px;
  margin: 0 !important;
  text-decoration: none;
}

.top-bar .tb-social a::after {
  display: none !important;
}

.top-bar .tb-social a:hover {
  background: #e31c23;
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .top-bar {
    padding: 8px 0;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .top-bar .tb-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 0;
  }

  .top-bar .tb-contact {
    justify-content: space-between;
    gap: 8px;
  }

  .top-bar .tb-chip {
    flex: 1 1 0;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 166, 81, 0.12);
    border: 1px solid rgba(125, 255, 168, 0.22);
    color: #b8ffd0;
    font-size: 12px;
  }

  .top-bar .tb-chip--mail span {
    max-width: 12ch;
  }

  .top-bar .tb-chip:active {
    background: rgba(0, 166, 81, 0.22);
    color: #ffffff;
  }

  .top-bar .tb-menu {
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .top-bar .tb-social {
    gap: 5px;
  }

  .top-bar .tb-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
  }

  .top-bar .tb-auth {
    gap: 6px;
  }

  .top-bar .tb-auth a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #d9ffe8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-bar .tb-auth .tb-auth__login,
  .top-bar .tb-auth a#logout {
    color: #ffffff;
    background: #e31c23;
    border-color: #e31c23;
  }

  .top-bar .tb-auth a:active {
    opacity: 0.9;
  }
}

@media (max-width: 399.98px) {
  .top-bar .tb-chip--mail span {
    display: none;
  }

  .top-bar .tb-chip--mail {
    flex: 0 0 34px;
    width: 34px;
    padding: 0;
  }
}

/**********************************/
/*********** Brand CSS ************/
/**********************************/
.brand {
  margin: 15px 0;
  background: #ffffff;
}

.brand .b-logo {
  text-align: left;
  overflow: hidden;
}

.brand .b-logo a img {
  max-width: 100%;
  max-height: 60px;
}

.brand .b-ads {
  overflow: hidden;
}

.brand .b-ads a img {
  max-width: 100%;
  max-height: 100%;
}

.brand .b-search {
  width: 100%;
  position: relative;
}

.brand .b-search input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  color: #666666;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.brand .b-search input[type="text"]:focus {
  border-color: #00A651;
}

.brand .b-search button {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 0;
  right: 0;
  border: none;
  background: none;
  color: #e31c23;
  border-radius: 0 4px 4px 0;
}

.brand .b-search button:hover {
  background: #e31c23;
  color: #ffffff;
}

@media (min-width: 768px) {
  .brand {
    max-height: 90px;
  }
}

@media (max-width: 767.98px) {
  .brand .b-logo,
  .brand .b-ads,
  .brand .b-search {
    text-align: center;
    margin-bottom: 15px;
  }

  .brand .b-search {
    margin-bottom: 0;
  }
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
  position: relative;
}

.nav-bar.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav-bar .navbar {
  height: 100%;
  padding: 0;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  padding: 10px 10px 8px 10px;
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  border-bottom: 2px solid #000000;
  transition: none;
}

.nav-bar .dropdown-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.nav-bar .dropdown-menu .dropdown-item {
  color: #111111;
  font-size: 14px;
  padding: 8px 16px;
}

.nav-bar .dropdown-menu .dropdown-item:hover {
  background: rgba(227, 28, 35, 0.08);
  color: var(--pj-red, #e31c23);
}

.nav-bar .navbar-nav .dropdown:hover > .dropdown-menu {
  display: block;
}

@media (min-width: 768px) {
  .nav-bar,
  .nav-bar .navbar {
    background: #E31C23 !important;
  }

  .nav-bar .navbar-brand {
    display: none;
  }

  .nav-bar a.nav-link {
    padding: 8px 15px;
    font-size: 15px;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .nav-bar,
  .nav-bar .navbar {
    padding: 3px 0;
    background: #E31C23 !important;
  }

  .nav-bar a.nav-link {
    padding: 5px;
  }

  .nav-bar .dropdown-menu {
    box-shadow: none;
  }

  .nav-bar .social {
    display: none;
  }
}

.nav-bar .social {
  font-size: 0;
  overflow: hidden;
}

.nav-bar .social a {
  display: inline-block;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  padding: 3px 0;
  text-align: center;
  font-size: 14px;
  background: #00A651;
  border: 1px solid #ffffff;
  border-radius: 4px;
}

.nav-bar .social a:hover {
  background: #ffffff;
  border: 1px solid #ffffff;
}

.nav-bar .social a i {
  color: #ffffff;
}

.nav-bar .social a:hover i {
  color: #00A651;
}

/**********************************/
/********** Top News CSS **********/
/**********************************/
.top-news {
  position: relative;
  width: 100%;
  padding: 30px 0 24px;
  margin-bottom: 20px;
}

.top-news .tn-card {
  margin-bottom: 0;
  height: 100%;
}

.top-news .tn-img {
  display: block;
  position: relative;
  overflow: hidden;
  background: #f0f2f1;
}

.top-news .tn-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.top-news .tn-img:hover img {
  transform: scale(1.03);
}

.top-news .tn-title {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  position: static;
  display: block;
}

.top-news .tn-title a {
  display: block;
  width: 100%;
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition: 0.3s;
}

.top-news .tn-left .tn-title a {
  font-size: 24px;
  font-weight: 700;
}

.top-news .tn-title a:hover {
  color: var(--pj-red, #e31c23);
}

.top-news .tn-left .tn-excerpt {
  margin: 8px 0 0;
  color: #5f6d66;
  font-size: 1rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-news .tn-left {
  margin-bottom: 30px;
}

.top-news .tn-right {
  margin-bottom: 30px;
  padding-left: 20px;
}

.top-news .tn-right > .row {
  margin-left: -8px;
  margin-right: -8px;
}

.top-news .tn-right .col-md-6 {
  padding: 8px;
  margin-bottom: 8px;
}

@media (max-width: 767.98px) {
  .top-news .tn-right {
    padding-left: 0;
  }

  .top-news .tn-right .col-md-6 {
    padding: 8px 0;
    margin-bottom: 12px;
  }
}

.slick-slide .slick-prev,
.slick-slide .slick-next,
.top-news .slick-prev,
.top-news .slick-next {
  width: 28px;
  height: 28px;
  z-index: 1;
  transition: 0.5s;
  color: #ffffff;
  background: #000000;
  border-radius: 4px;
}

.slick-slide .slick-prev,
.top-news .slick-prev {
  left: 30px;
}

.slick-slide .slick-next,
.top-news .slick-next {
  right: 30px;
}

.top-news .slick-prev:hover,
.top-news .slick-prev:focus,
.top-news .slick-next:hover,
.top-news .slick-next:focus {
  color: #ffffff;
  background: #00A651;
}

.slick-slide .slick-prev::before,
.slick-slide .slick-next::before,
.top-news .slick-prev::before,
.top-news .slick-next::before {
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.slick-slide .slick-prev::before,
.top-news .slick-prev::before {
  content: "\f104";
}

.slick-slide .slick-next::before,
.top-news .slick-next::before {
  content: "\f105";
}

/**********************************/
/******* Category News CSS ********/
/**********************************/
.cat-news {
  position: relative;
  width: 100%;
  padding: 28px 0 10px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(0, 166, 81, 0.07), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(227, 28, 35, 0.05), transparent 40%),
    #f7faf8;
}

.cat-news .col-md-6 {
  margin-bottom: 24px;
}

.cat-news .cn-block {
  height: 100%;
  padding: 18px 18px 8px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 20, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 31, 20, 0.05);
}

.cat-news .cn-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 31, 20, 0.08);
}

.cat-news .cn-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--pj-dark, #0b1f14);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.cat-news .cn-heading h2 a {
  color: inherit;
  text-decoration: none;
}

.cat-news .cn-heading h2 a:hover {
  color: var(--pj-red, #e31c23);
}

.cat-news .cn-heading__bar {
  display: inline-block;
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pj-green, #00a651), var(--pj-red, #e31c23));
  flex-shrink: 0;
}

.cat-news .cn-more {
  flex-shrink: 0;
  color: var(--pj-red, #e31c23);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.cat-news .cn-more:hover {
  color: var(--pj-green, #00a651);
}

.cat-news .cn-card {
  margin-bottom: 16px;
}

.cat-news .cn-img {
  display: block;
  position: relative;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 10px;
}

.cat-news .cn-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cat-news .cn-img:hover img {
  transform: scale(1.04);
}

.cat-news .cn-title {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  position: static;
  display: block;
}

.cat-news .cn-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  color: #111111;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  transition: 0.3s;
}

.cat-news .cn-title a:hover {
  color: var(--pj-red, #e31c23);
}

.cat-news .cn-meta {
  margin: 6px 0 0;
  color: #6b7c73;
  font-size: 0.82rem;
}

.cat-news .slick-prev,
.cat-news .slick-next {
  top: -52px;
  width: 30px;
  height: 30px;
  z-index: 1;
  transition: 0.5s;
  color: #ffffff;
  background: var(--pj-dark, #0b1f14);
  border-radius: 8px;
}

.cat-news .slick-prev {
  left: calc(100% - 78px);
}

.cat-news .slick-next {
  right: 8px;
}

.cat-news .slick-prev:hover,
.cat-news .slick-prev:focus,
.cat-news .slick-next:hover,
.cat-news .slick-next:focus {
  color: #ffffff;
  background: var(--pj-red, #e31c23);
}

.cat-news .slick-prev::before,
.cat-news .slick-next::before {
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.cat-news .slick-prev::before {
  content: "\f104";
}

.cat-news .slick-next::before {
  content: "\f105";
}

/**********************************/
/********** Tab News CSS **********/
/**********************************/
.tab-news {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 0;
}

/* 1-column tab widget — packs with wide/grid (8+4) like single */
.pj-tabs-widget.pj-tabs-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tab-news .nav.nav-pills .nav-link {
  color: #ffffff;
  background: #000000;
  border-radius: 0;
  font-size: 13px;
  padding: 8px 6px;
  line-height: 1.25;
}

.tab-news .nav.nav-pills .nav-link:hover,
.tab-news .nav.nav-pills .nav-link.active {
  color: #ffffff;
  background: #E31C23;
}

.tab-news .tab-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 10px 8px;
  background: rgba(0, 0, 0, 0.05);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  max-height: 420px; /* fallback; JS matches প্রবাস জীবন / wide sibling height */
}

.tab-news .tab-content::-webkit-scrollbar {
  width: 6px;
}

.tab-news .tab-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.tab-news .tab-pane {
  padding: 0;
}

.tab-news .tn-news {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  transition: color 0.25s ease;
}

.tab-news .tn-news:last-child {
  margin-bottom: 0;
}

.tab-news .tn-news:hover {
  color: #E31C23;
  text-decoration: none;
}

.tab-news .tn-img {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: #f0f2f1;
}

.tab-news .tn-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-news .tn-title {
  flex: 1 1 auto;
  padding: 4px 8px 4px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}

.tab-news .tn-title a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  transition: color 0.25s ease;
}

.tab-news .tn-title a:hover {
  color: #E31C23;
}

/**********************************/
/********** Main News CSS *********/
/**********************************/
.main-news {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.main-news .col-md-4 {
  margin-bottom: 30px;
}

.main-news .mn-card {
  height: 100%;
}

.main-news .mn-img {
  display: block;
  position: relative;
  overflow: hidden;
  background: #f0f2f1;
}

.main-news .mn-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.main-news .mn-img:hover img {
  transform: scale(1.03);
}

.main-news .mn-title {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  position: static;
  display: block;
}

.main-news .mn-title a {
  display: block;
  width: 100%;
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition: 0.3s;
}

.main-news .mn-title a:hover {
  color: var(--pj-red, #e31c23);
}

.main-news .mn-list {
  margin-bottom: 30px;
}

.main-news .mn-list h2 {
  color: #000000;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px double #000000;
}

.main-news .mn-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-news .mn-list ul li {
  position: relative;
  margin: 0 0 12px 22px;
}

.main-news .mn-list ul li:last-child {
  margin-bottom: 0;
}

.main-news .mn-list ul li a {
  color: #000000;
  display: block;
  line-height: 23px;
}

.main-news .mn-list ul li::before {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #000000;
  left: 1px;
}

.main-news .mn-list ul li a:hover {
  color: #00A651;
}

/* Read More widget — header + thumbnail list (no arrow icon) */
.pj-read-more-widget {
  margin-bottom: 30px;
}

.pj-read-more-widget__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pj-read-more-widget__list > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(11, 31, 20, 0.08);
}

.pj-read-more-widget__list > li:last-child {
  border-bottom: none;
}

.pj-read-more-widget__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #111111;
  text-decoration: none;
  transition: color 0.25s ease;
}

.pj-read-more-widget__item:hover {
  color: var(--pj-red, #e31c23);
  text-decoration: none;
}

.pj-read-more-widget__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: #f0f2f1;
}

.pj-read-more-widget__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pj-read-more-widget__item:hover .pj-read-more-widget__thumb img {
  transform: scale(1.05);
}

.pj-read-more-widget__title {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.pj-news-grid-widget .pj-sec-head {
  margin-bottom: 18px;
}

/**********************************/
/********* Breadcrumb CSS *********/
/**********************************/
.breadcrumb-wrap {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.breadcrumb-wrap .breadcrumb {
  margin: 25px 0 0 0;
  padding: 0;
  background: none;
}

.breadcrumb-wrap .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #353535;
}

.breadcrumb-wrap .breadcrumb .breadcrumb-item.active {
  color: #353535;
}

/**********************************/
/********* Single News CSS ********/
/**********************************/
.single-news {
  position: relative;
  width: 100%;
  padding: 25px 0 0 0;
  margin-bottom: 15px;
}

.single-news .sn-img {
  position: relative;
  overflow: hidden;
}

.single-news .sn-img img {
  width: 100%;
}

.single-news .sn-content {
  position: relative;
  width: 100%;
  padding: 30px 0;
}

.single-news .sn-content h1.sn-title {
  display: block;
  width: 100%;
  color: #000000;
}

/* Prothom Alo–style article detail */
.article-detail .article-main {
  background: #fff;
  padding-bottom: 20px;
}

.article-detail .article-breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.article-detail .article-breadcrumb a {
  color: #e31c23;
  font-weight: 500;
}

.article-detail .article-breadcrumb span {
  margin: 0 6px;
  color: #999;
}

.article-detail .article-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
}

.article-detail .article-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
  font-weight: 500;
}

.article-detail .article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 18px;
  margin-bottom: 18px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  color: #666;
}

.article-detail .article-author {
  color: #111;
  font-weight: 600;
}

.article-detail .article-dot {
  margin: 0 6px;
  color: #bbb;
}

.article-detail .article-figure {
  margin: 0 0 22px;
}

.article-detail .article-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.article-detail .article-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

.article-detail .article-body {
  font-size: 17px;
  line-height: 1.9;
  color: #222;
}

.article-detail .article-body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.9;
  color: #222;
  font-weight: 400;
}

.article-detail .article-body h2,
.article-detail .article-body h3 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
  margin: 28px 0 12px;
}

.article-detail .article-body blockquote {
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 4px solid #e31c23;
  background: #fafafa;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
}

.article-detail .article-body ul,
.article-detail .article-body ol {
  margin: 0 0 18px 22px;
}

.article-detail .article-body li {
  margin-bottom: 8px;
}

.article-detail .article-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.article-detail .article-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-detail .article-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e31c23;
}

@media (max-width: 767.98px) {
  .article-detail .article-title {
    font-size: 24px;
  }

  .article-detail .article-lead,
  .article-detail .article-body,
  .article-detail .article-body p {
    font-size: 16px;
  }

  .article-detail .article-gallery {
    grid-template-columns: 1fr;
  }
}

/* Search results */
.search-results-wrap {
  padding-top: 25px;
  padding-bottom: 40px;
}

.search-results-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.search-result-item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.search-result-thumb {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}

.search-result-heading {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 700;
}

.search-result-heading a {
  color: #111;
}

.search-result-heading a:hover {
  color: #e31c23;
}

.search-result-excerpt {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* bdnews24-style আরও পড়ুন */
.read-more-section {
  margin: 40px 0 30px;
  padding-top: 20px;
  border-top: 1px solid #e9e9e9;
}

.read-more-section .read-more-head {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #222;
}

.read-more-section .read-more-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
}

.read-more-section .read-more-grid {
  margin-left: -8px;
  margin-right: -8px;
}

.read-more-section .read-more-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 18px;
}

.read-more-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #222;
  text-decoration: none;
  background: #fff;
}

.read-more-card:hover,
.read-more-card:focus {
  color: #e31c23;
  text-decoration: none;
}

.read-more-pic {
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
  margin-bottom: 10px;
}

.read-more-pic img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.read-more-card:hover .read-more-pic img {
  transform: scale(1.03);
}

.read-more-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: inherit;
}

.read-more-footer {
  text-align: center;
  margin-top: 8px;
}

.read-more-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid #222;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  transition: 0.2s;
}

.read-more-btn:hover {
  background: #e31c23;
  border-color: #e31c23;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .read-more-title {
    font-size: 14px;
  }
}

.single-news .sn-related {
  margin-bottom: 45px;
}

.single-news .sn-related h2 {
  color: #000000;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px double #000000;
}

.single-news .sn-slider .sn-img {
  position: relative;
  overflow: hidden;
}

.single-news .sn-slider .sn-img img {
  width: 100%;
}

.single-news .sn-slider .sn-img:hover img {
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.single-news .sn-slider .sn-title {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 10px 15px 20px;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.9)
  );
  display: flex;
  align-items: flex-end;
}

.single-news .sn-slider .sn-title a {
  display: block;
  width: 100%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  transition: 0.3s;
}

.single-news .sn-slider .sn-title a:hover {
  color: #00A651;
}

.single-news .sn-slider .slick-prev,
.single-news .sn-slider .slick-next {
  top: -62px;
  width: 28px;
  height: 28px;
  z-index: 1;
  transition: 0.5s;
  color: #ffffff;
  background: #000000;
  border-radius: 4px;
}

.single-news .sn-slider .slick-prev {
  left: calc(100% - 85px);
}

.single-news .sn-slider .slick-next {
  right: 14px;
}

.single-news .sn-slider .slick-prev:hover,
.single-news .sn-slider .slick-prev:focus,
.single-news .sn-slider .slick-next:hover,
.single-news .sn-slider .slick-next:focus {
  color: #ffffff;
  background: #00A651;
}

.single-news .sn-slider .slick-prev::before,
.single-news .sn-slider .slick-next::before {
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.single-news .sn-slider .slick-prev::before {
  content: "\f104";
}

.single-news .sn-slider .slick-next::before {
  content: "\f105";
}

/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
  position: relative;
  width: 100%;
}

.sidebar .sidebar-widget {
  position: relative;
  width: 100%;
  margin-bottom: 45px;
}

.sidebar .sidebar-widget h2.sw-title {
  color: #000000;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px double #000000;
}

.sidebar .sidebar-widget .news-list {
  position: relative;
  margin-bottom: 30px;
}

.sidebar .news-list .nl-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.sidebar .news-list .nl-item .nl-img {
  width: 100px;
}

.sidebar .news-list .nl-item .nl-img img {
  width: 100px;
}

.sidebar .news-list .nl-item .nl-title {
  padding-left: 15px;
}

.sidebar .news-list .nl-item .nl-title a {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s;
}

.sidebar .news-list .nl-item .nl-title a:hover {
  color: #00A651;
}

.sidebar .sidebar-widget .tab-news {
  position: relative;
  margin-bottom: 30px;
}

.sidebar .tab-news .nav.nav-pills .nav-link {
  color: #ffffff;
  background: #000000;
  border-radius: 0;
}

.sidebar .tab-news .nav.nav-pills .nav-link:hover,
.sidebar .tab-news .nav.nav-pills .nav-link.active {
  color: #ffffff;
  background: #E31C23;
}

.sidebar .tab-news .tab-content {
  padding: 15px 0 0 0;
  background: transparent;
}

.sidebar .tab-news .tab-content .container {
  padding: 0;
}

.sidebar .tab-news .tn-news {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.sidebar .tab-news .tn-img {
  width: 100px;
}

.sidebar .tab-news .tn-img img {
  width: 100px;
}

.sidebar .tab-news .tn-title {
  padding: 0 0 0 15px;
}

.sidebar .tab-news .tn-title a {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s;
}

.sidebar .tab-news .tn-title a:hover {
  color: #E31C23;
}

.sidebar .sidebar-widget .category {
  position: relative;
}

.sidebar .category ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar .category ul li {
  margin: 0 0 12px 22px;
}

.sidebar .category ul li:last-child {
  margin-bottom: 0;
}

.sidebar .category ul li a {
  display: inline-block;
  color: #000000;
  line-height: 23px;
}

.sidebar .category ul li a:hover {
  color: #00A651;
}

.sidebar .category ul li::before {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #000000;
  left: 1px;
}

.sidebar .category ul li span {
  display: inline-block;
  float: right;
}

.sidebar .sidebar-widget .tags {
  position: relative;
}

.sidebar .sidebar-widget .tags a {
  display: inline-block;
  margin-bottom: 5px;
  padding: 5px 10px;
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 4px;
}

.sidebar .sidebar-widget .tags a:hover {
  color: #ffffff;
  background: #00A651;
  border: 1px solid #00A651;
}

.sidebar .sidebar-widget .image a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.sidebar .sidebar-widget .image img {
  max-width: 100%;
  transition: 0.3s;
}

.sidebar .sidebar-widget .image img:hover {
  transform: scale(1.1);
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

/**********************************/
/********** Contact CSS ***********/
/**********************************/
.contact {
  position: relative;
  padding: 25px 0 15px 0;
}

.contact .contact-form,
.contact .contact-info {
  margin-bottom: 45px;
}

.contact .contact-info h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
}

.contact .contact-info h4 i {
  color: #000000;
  margin-right: 5px;
}

.contact .social {
  position: relative;
  width: 100%;
}

.contact .social a {
  display: inline-block;
  margin: 10px 10px 0 0;
  width: 40px;
  height: 40px;
  padding: 7px 0;
  text-align: center;
  font-size: 18px;
  border: 1px solid #000000;
  border-radius: 4px;
}

.contact .social a i {
  color: #000000;
}

.contact .social a:hover {
  background: #00A651;
  border-color: #00A651;
}

.contact .social a:hover i {
  color: #ffffff;
}

/**********************************/
/********** Footer CSS ************/
/**********************************/
.footer {
  position: relative;
  padding: 60px 0 0 0;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(0, 166, 81, 0.95) 0%, rgba(11, 31, 20, 0.96) 55%, rgba(227, 28, 35, 0.78) 140%);
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
}

.footer::before {
  width: 280px;
  height: 280px;
  left: -90px;
  top: -80px;
}

.footer::after {
  width: 320px;
  height: 320px;
  right: -100px;
  bottom: -120px;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer .footer-widget {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.footer .footer-brand-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer .footer-site-logo {
  display: block;
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.footer .footer-widget .title {
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
}

.footer .footer-widget p {
  color: rgba(255, 255, 255, 0.9);
}

.footer .footer-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .footer-widget ul li {
  margin-bottom: 12px;
}

.footer .footer-widget ul li:last-child {
  margin-bottom: 0;
}

.footer .footer-widget ul li a {
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  display: block;
  line-height: 23px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer .footer-widget ul li a::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-right: 5px;
}

.footer .footer-widget ul li a:hover {
  padding-left: 10px;
  color: #ffffff;
}

.footer .contact-info p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}

.footer .contact-info p i {
  color: #7dffa8;
  margin-right: 5px;
}

.footer .social {
  position: relative;
  width: 100%;
}

.footer .social a {
  display: inline-block;
  margin: 10px 5px 0 0;
  width: 35px;
  height: 35px;
  padding: 5px 0;
  text-align: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer .social a i {
  color: #ffffff;
}

.footer .social a:hover {
  background: var(--pj-red, #e31c23);
  transform: translateY(-2px);
}

.footer .social a:hover i {
  color: #ffffff;
}

.footer .newsletter {
  position: relative;
  width: 100%;
}

.footer .newsletter form {
  position: relative;
  width: 100%;
}

.footer .newsletter input {
  width: 100%;
  height: 42px;
  padding: 0 90px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer .newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer .newsletter .btn {
  position: absolute;
  width: 80px;
  height: 42px;
  top: 0;
  right: 0;
  padding: 0 15px;
  border: none;
  background: linear-gradient(135deg, #00a651, #008f45);
  color: #ffffff;
  font-size: 14px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 8px 18px rgba(0, 166, 81, 0.28);
}

.footer .newsletter .btn:hover {
  background: var(--pj-red, #e31c23);
}

.footer .newsletter input:focus,
.footer .newsletter .btn:focus {
  box-shadow: none;
  outline: none;
}

/**********************************/
/******** Footer Menu CSS *********/
/**********************************/
.footer-menu {
  position: relative;
  background:
    linear-gradient(160deg, rgba(0, 140, 70, 0.98) 0%, rgba(8, 24, 16, 0.98) 60%, rgba(180, 22, 28, 0.85) 150%);
}

.footer-menu .container {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-menu .f-menu {
  font-size: 0;
  text-align: center;
}

.footer-menu .f-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-menu .f-menu a:hover {
  color: #7dffa8;
}

.footer-menu .f-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/**********************************/
/******** Comment section CSS *******/
.comment-section {
  width: 100%;
  margin: auto auto 1rem;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-input {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.comment-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.comment-input input:focus {
  border-color: #00A651;
  outline: none;
}

.comment-input button {
  padding: 12px 20px;
  background-color: #00A651;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.comment-input button:hover {
  background-color: #e65a50;
}

.comments {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comment-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00A651;
}

.comment-content {
  background-color: #f8f8f8;
  padding: 12px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.username {
  font-weight: bold;
  color: #00A651;
  display: block;
  margin-bottom: 4px;
}

.comment-text {
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.show-more-btn {
  padding: 10px 20px;
  background-color: #00A651;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 20px auto 0;
}

.show-more-btn:hover {
  background-color: #e65a50;
}

/**********************************/

/**********************************/
/******** Dashboard CSS *******/

/* General Styles */

.dashboard {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.profile-sidebar {
  width: 250px;
  background-color: #ffffff;
  border-right: 1px solid #ddd;
  padding: 20px 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.profile-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #333;
  font-weight: bold;
}

.menu-item:hover,
.menu-item.active {
  background-color: #00A651;
  color: white;
}

/* Main Content Styles */
.main-content {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  overflow-y: auto;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

h2 {
  color: #00A651;
}

/* User Profile Styles */
.user-profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.username {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.add-post-section {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-form input[type="text"],
.post-form textarea,
.edit-post-image,
.post-form select,
.post-form input[type="file"] {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.post-btn {
  background-color: #00A651;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.post-btn:hover {
  background-color: #e55b51;
}

.image-slider {
  margin: 10px 0;
}

.slick-slider {
  width: 100%;
  overflow: hidden;
}

.slick-slide img {
  max-width: 30rem;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  max-height: 20rem;
  border-radius: 5px;
}
.top-news .slick-prev,
.top-news .slick-next {
  width: 28px;
  height: 28px;
  z-index: 1;
  transition: 0.5s;
  color: #ffffff;
  background: #000000;
  border-radius: 4px;
}

.posts-section {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-posts {
  list-style: none;
  padding: 0;
}
.post-comments {
  cursor: pointer;
}
.post-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.post-title,
.post-content,
.post-category {
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.post-title[readonly],
.post-content[readonly] {
  background-color: #f9f9f9;
}

.post-meta {
  display: flex;
  gap: 10px;
  color: #666;
}

.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.slick-slider {
  margin: 10px 0;
}

.slick-slide img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.comments-section {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  border-top: 1px solid #ddd;
}

.comment-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.comment-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-content {
  flex: 1;
}

.comment-username {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.delete-img-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #00A651;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
}
.edit-img {
  position: relative !important;
}
.edit-img img {
  object-fit: contain;
  height: 20rem;
}
.edit-post-btn,
.save-post-btn,
.cancel-edit-btn,
.delete-post-btn {
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
/* Notification Form Styles */

/* Notification dropdown styles */
.notification-icon {
  position: relative;
}

.notification-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 35px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.notification-dropdown .notification-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  color: #e55547;
}

.notification-dropdown .notification-dropdown-list li {
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  border-bottom: 1px solid #f2f2f2;
  color: #e55547;
  font-size: 14px;
}
.notification-dropdown .notification-dropdown-list li:hover {
  background-color: #ffc6c1;
}

.notification-dropdown .notification-dropdown-list li:last-child {
  border-bottom: none;
}

.notification-dropdown .notification-dropdown-list li span {
  color: #333;
  font-size: 0.9rem;
}

.notification-dropdown .notification-actions {
  display: flex;
  gap: 10px;
}

.visit-btn,
.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #00A651;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

.visit-btn:hover,
.delete-btn:hover {
  color: #e55547; /* Slightly darker shade for hover effect */
}

.notification-actions .mdi {
  vertical-align: middle;
}

.content-section {
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
}

#notifications h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #ffeceb;
  border-radius: 4px;
  border: 1px solid #00A651;
  transition: box-shadow 0.3s ease;
}

.notification-list li:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notification-list span {
  color: #333;
  font-size: 1rem;
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.notification-actions .visit-btn,
.notification-actions .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #00A651;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

.notification-actions .visit-btn:hover,
.notification-actions .delete-btn:hover {
  color: #e55547; /* Slightly darker shade for hover effect */
}

.notification-actions .mdi {
  vertical-align: middle;
}

/* Notifications Form Styles */
.content-section {
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #ddd;
}

#notifications h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #ffeceb;
  border-radius: 4px;
  border: 1px solid #00A651;
  transition: box-shadow 0.3s ease;
}

.notification-list li:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notification-list span {
  color: #333;
  font-size: 1rem;
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.notification-actions .visit-btn,
.notification-actions .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #00A651;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

.notification-actions .visit-btn:hover,
.notification-actions .delete-btn:hover {
  color: #e55547; /* Slightly darker shade for hover effect */
}

.notification-actions .mdi {
  vertical-align: middle;
}

/* Settings Form Styles */
.settings-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.save-settings-btn {
  padding: 10px 20px;
  background-color: #00A651;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.save-settings-btn:hover {
  background-color: #e65a50;
}
.change-password-form {
  margin-top: 20px;
  padding: 20px;
}

.change-password-form h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
}

.change-password-form .form-group {
  margin-bottom: 15px;
}

.change-password-form label {
  margin-bottom: 5px;
  font-weight: bold;
}
.change-password-form input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.change-password-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
}

.change-password-form .change-password-btn {
  width: 100%;
  padding: 10px 20px;
  background-color: #00A651;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.change-password-form .change-password-btn:hover {
  background-color: #e65a50;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
  }

  .main-content {
    padding: 10px;
  }
}

/* Responsive Design (continued) */
@media (max-width: 480px) {
  .post-input {
    flex-direction: column;
    gap: 5px;
  }

  #postBox,
  #postImage,
  #postCategory,
  #enableComments,
  .post-btn {
    width: 100%;
  }

  .user-posts {
    padding: 0 10px;
  }

  .post-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-img {
    width: 100%;
  }
}

/**********************************/

/**********************************/
/******** Footer Bottom CSS *******/
/**********************************/
.footer-bottom {
  position: relative;
  padding: 22px 0;
  background: rgba(7, 20, 13, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .copyright {
  text-align: center;
}

.footer-bottom .copyright p {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
  margin: 0;
}

.footer-bottom .copyright p a {
  font-weight: 600;
  color: #7dffa8;
}

.footer-bottom .copyright p a:hover {
  color: #ffffff;
}

/**********************************/
/***** Probash Jibon Brand *******/
/**********************************/
:root {
  --pj-green: #00a651;
  --pj-red: #e31c23;
  --pj-dark: #0b1f14;
}

.brand .b-logo a img.site-brand-logo {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.top-bar {
  background: var(--pj-dark, #111111);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  border-bottom: 2px solid #ffffff;
}

a:hover,
a:active,
a:focus {
  color: var(--pj-red);
}

button.btn:hover {
  background: var(--pj-red);
  border-color: var(--pj-red);
}

.back-to-top:hover {
  background: var(--pj-red);
}

/**********************************/
/***** 404 Page *******************/
/**********************************/
.pj-404 {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 166, 81, 0.12), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(227, 28, 35, 0.08), transparent 45%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 55%, #f4f7f5 100%);
  overflow: hidden;
}

.pj-404::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 20, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.pj-404__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.pj-404__code {
  margin: 0 0 8px;
  font-size: clamp(5.5rem, 14vw, 8.5rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--pj-green) 0%, #0b1f14 48%, var(--pj-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.92;
  animation: pj404FadeUp 0.7s ease both;
}

.pj-404__title {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: var(--pj-dark);
  line-height: 1.35;
  animation: pj404FadeUp 0.7s ease 0.08s both;
}

.pj-404__text {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a5c52;
  animation: pj404FadeUp 0.7s ease 0.16s both;
}

.pj-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  animation: pj404FadeUp 0.7s ease 0.24s both;
}

.pj-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pj-404__btn--primary {
  background: var(--pj-red);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(227, 28, 35, 0.22);
}

.pj-404__btn--primary:hover {
  background: #c4151b;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.pj-404__btn--ghost {
  background: transparent;
  color: var(--pj-dark) !important;
  border: 1.5px solid rgba(11, 31, 20, 0.18);
}

.pj-404__btn--ghost:hover {
  border-color: var(--pj-green);
  color: var(--pj-green) !important;
  transform: translateY(-2px);
}

@keyframes pj404FadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .pj-404 {
    min-height: 50vh;
    padding: 48px 0 64px;
  }

  .pj-404__btn {
    width: 100%;
  }
}

/**********************************/
/***** 3-Column Featured News *****/
/**********************************/
.pj-tri {
  position: relative;
  padding: 40px 0 36px;
  margin-bottom: 16px;
  background: #ffffff;
}

.pj-tri--embedded {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
}

/* Shared section header (all home widgets) */
.pj-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 31, 20, 0.1);
}

.pj-sec-head--compact {
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.pj-sec-head__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pj-dark, #0b1f14);
  line-height: 1.25;
}

.pj-sec-head--compact .pj-sec-head__title {
  font-size: 1.28rem;
}

.pj-sec-head__title a,
.pj-sec-head__title span {
  color: inherit;
  text-decoration: none;
}

.pj-sec-head__title a:hover {
  color: var(--pj-red, #e31c23);
}

.pj-sec-head__bar {
  flex: 0 0 auto;
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pj-green, #00a651), var(--pj-red, #e31c23));
}

.pj-sec-head--compact .pj-sec-head__bar {
  height: 22px;
}

.pj-sec-head__more {
  color: var(--pj-red, #e31c23);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.pj-sec-head__more:hover {
  color: var(--pj-green, #00a651);
  text-decoration: none;
}

/* Legacy aliases → shared header */
.pj-tri__head,
.pj-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 31, 20, 0.1);
}

.pj-tri__title,
.pj-widget__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pj-dark, #0b1f14);
}

.pj-tri__bar,
.pj-widget__bar {
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pj-green, #00a651), var(--pj-red, #e31c23));
}

.pj-tri__more,
.pj-widget__more {
  color: var(--pj-red, #e31c23);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.pj-tri__more:hover,
.pj-widget__more:hover {
  color: var(--pj-green, #00a651);
}

.pj-tri__col {
  margin-bottom: 10px;
}

.pj-tri-item {
  margin-bottom: 22px;
}

.pj-tri-img {
  display: block;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 0;
}

.pj-tri-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pj-tri-img:hover img {
  transform: scale(1.03);
}

.pj-tri-title {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.pj-tri-title a {
  color: #111111;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pj-tri-title a:hover {
  color: var(--pj-red, #e31c23);
}

@media (max-width: 767.98px) {
  .pj-tri {
    padding-top: 20px;
  }

  .pj-tri-title {
    font-size: 1rem;
  }
}

/**********************************/
/***** Category Page Banner *******/
/**********************************/
.pj-page-banner {
  position: relative;
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 28px 0 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(0, 166, 81, 0.14), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(227, 28, 35, 0.1), transparent 42%),
    linear-gradient(135deg, #f4faf6 0%, #ffffff 55%, #f7f8f7 100%);
  border-bottom: 1px solid rgba(11, 31, 20, 0.08);
}

.pj-page-banner + .main-news {
  padding-top: 8px;
}

.pj-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.92rem;
}

.pj-breadcrumb a {
  color: var(--pj-green, #00a651);
  font-weight: 600;
  text-decoration: none;
}

.pj-breadcrumb a:hover {
  color: var(--pj-red, #e31c23);
}

.pj-breadcrumb__sep {
  color: #9aa69f;
}

.pj-breadcrumb .active {
  color: var(--pj-dark, #0b1f14);
  font-weight: 600;
}

.pj-page-banner__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  color: var(--pj-dark, #0b1f14);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
}

.pj-page-banner__bar {
  width: 6px;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pj-green, #00a651), var(--pj-red, #e31c23));
  flex-shrink: 0;
}

.pj-page-banner__meta {
  margin: 0;
  color: #6b7c73;
  font-size: 0.95rem;
}

@media (max-width: 575.98px) {
  .pj-page-banner {
    padding: 22px 0 18px;
  }
}

/**********************************/
/***** Home Category Widgets ******/
/**********************************/
.pj-widget {
  position: relative;
  padding: 28px 0;
  background: #f3f5f4;
}

.pj-widget + .pj-widget {
  padding-top: 8px;
}

.pj-widget__row {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 20, 0.06);
  border-radius: 10px;
  padding: 18px 12px;
}

.pj-widget__featured-img {
  display: block;
  overflow: hidden;
  background: #eef3f0;
  margin-bottom: 12px;
}

.pj-widget__featured-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pj-widget__featured-img:hover img {
  transform: scale(1.03);
}

.pj-widget__featured-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.pj-widget__featured-title a {
  color: #111111;
  text-decoration: none;
}

.pj-widget__featured-title a:hover {
  color: var(--pj-red, #e31c23);
}

.pj-widget__featured-excerpt {
  margin: 0;
  color: #5f6d66;
  font-size: 0.95rem;
  line-height: 1.65;
}

.pj-widget__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 31, 20, 0.08);
}

.pj-widget__list-item:first-child {
  padding-top: 0;
}

.pj-widget__list-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pj-widget__thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 72px;
  overflow: hidden;
  background: #eef3f0;
}

.pj-widget__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pj-widget__thumb:hover img {
  transform: scale(1.05);
}

.pj-widget__list-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.pj-widget__list-title a {
  color: #151515;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pj-widget__list-title a:hover {
  color: var(--pj-red, #e31c23);
}

@media (max-width: 991.98px) {
  .pj-widget__row {
    padding: 16px;
  }
}

/* ===== News Ticker (below navbar) ===== */
.pj-ticker {
  background: #0f1f18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pj-ticker__inner {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  overflow: hidden;
}

.pj-ticker__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--pj-red, #e31c23);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.pj-ticker__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pj-ticker-pulse 1.6s ease-out infinite;
}

@keyframes pj-ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pj-ticker__track-wrap {
  flex: 1 1 auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.pj-ticker__track {
  display: flex;
  width: max-content;
  animation: pj-ticker-scroll 40s linear infinite;
}

.pj-ticker__track:hover {
  animation-play-state: paused;
}

.pj-ticker__group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.pj-ticker__item {
  display: inline-block;
  padding: 10px 6px;
  color: #f3f6f4;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pj-ticker__item:hover {
  color: #ffd7d9;
  text-decoration: none;
}

.pj-ticker__dot {
  display: inline-block;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes pj-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 575.98px) {
  .pj-ticker__label {
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .pj-ticker__item {
    font-size: 0.88rem;
  }

  .pj-ticker__track {
    animation-duration: 32s;
  }
}

/* ===== Modular column widgets (single 1/3 + wide 2/3) ===== */
.pj-widget-section {
  position: relative;
  padding: 28px 0 32px;
  margin: 12px 0 20px;
  overflow: hidden;
  isolation: isolate;
}

.pj-widget-section + .pj-widget-section {
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(11, 31, 20, 0.06);
}

.pj-widget-section__row {
  align-items: flex-start;
}

.pj-widget-section__col {
  margin-bottom: 28px;
  overflow: hidden;
  min-width: 0;
}

@media (min-width: 992px) {
  .pj-widget-section__col {
    margin-bottom: 0;
    padding-left: 18px;
    padding-right: 18px;
  }

  .pj-widget-section__row {
    margin-left: -18px;
    margin-right: -18px;
  }
}

/* --- Single column widget --- */
.pj-col-widget {
  position: relative;
  overflow: hidden;
}

.pj-col-widget__featured-img {
  display: block;
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 16 / 10;
}

.pj-col-widget__featured-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pj-col-widget__featured-img:hover img {
  transform: scale(1.04);
}

.pj-col-widget__featured-title {
  margin: 10px 0 14px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.pj-col-widget__featured-title a {
  color: #121212;
  text-decoration: none;
}

.pj-col-widget__featured-title a:hover {
  color: var(--pj-red, #e31c23);
}

.pj-col-widget__list {
  border-top: 1px solid #e5e8ed;
}

.pj-col-widget__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e8ed;
  text-decoration: none;
}

.pj-col-widget__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pj-col-widget__item-title {
  flex: 1 1 auto;
  color: #151515;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pj-col-widget__item:hover .pj-col-widget__item-title {
  color: var(--pj-red, #e31c23);
}

.pj-col-widget__item-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 66px;
  overflow: hidden;
  background: #eef1f4;
}

.pj-col-widget__item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Grid (2-column block: 2×2 cards) --- */
.pj-grid-widget {
  position: relative;
  overflow: hidden;
}

.pj-grid-widget__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.pj-grid-widget__card {
  display: block;
  text-decoration: none;
  min-width: 0;
}

.pj-grid-widget__img {
  display: block;
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
}

.pj-grid-widget__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pj-grid-widget__card:hover .pj-grid-widget__img img {
  transform: scale(1.04);
}

.pj-grid-widget__title {
  margin: 0;
  color: #121212;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pj-grid-widget__card:hover .pj-grid-widget__title {
  color: var(--pj-red, #e31c23);
}

@media (max-width: 575.98px) {
  .pj-grid-widget__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* --- Wide (2-column) widget --- */
.pj-wide-widget {
  position: relative;
  overflow: hidden;
}

.pj-wide-widget__body {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.pj-wide-widget__body--solo .pj-wide-widget__main {
  flex: 1 1 100%;
  max-width: 100%;
  padding-right: 0;
}

.pj-wide-widget__main {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 18px;
}

.pj-wide-widget__side {
  flex: 0 0 34%;
  width: 34%;
  max-width: 34%;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid #e5e8ed;
  box-sizing: border-box;
}

.pj-wide-widget__img {
  display: block;
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.pj-wide-widget__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pj-wide-widget__img:hover img {
  transform: scale(1.03);
}

.pj-wide-widget__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.4;
}

.pj-wide-widget__title a {
  text-decoration: none;
}

.pj-wide-widget__title-lead {
  color: var(--pj-red, #e31c23);
}

.pj-wide-widget__title-rest {
  color: #121212;
}

.pj-wide-widget__title a:hover .pj-wide-widget__title-rest {
  color: var(--pj-red, #e31c23);
}

.pj-wide-widget__excerpt {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.7;
}

.pj-wide-widget__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e8ed;
  text-decoration: none;
}

.pj-wide-widget__item:first-child {
  padding-top: 0;
}

.pj-wide-widget__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pj-wide-widget__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #eef1f4;
}

.pj-wide-widget__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-wide-widget__item-title {
  flex: 1 1 auto;
  color: #151515;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pj-wide-widget__item:hover .pj-wide-widget__item-title {
  color: var(--pj-red, #e31c23);
}

@media (max-width: 767.98px) {
  .pj-wide-widget__body {
    flex-direction: column;
  }

  .pj-wide-widget__main {
    flex: 1 1 auto;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 16px;
  }

  .pj-wide-widget__side {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #e5e8ed;
    padding-top: 12px;
  }

  .pj-sec-head__title {
    font-size: 1.2rem;
  }

  .pj-wide-widget__title {
    font-size: 1.25rem;
  }

  .pj-sec-head__more {
    font-size: 0.85rem;
  }
}

/* ===== Page Loader (probashjibon.com style) ===== */
body.pj-loading {
  overflow: hidden;
}

.pj-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pj-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pj-loader__inner {
  text-align: center;
  padding: 20px;
}

.pj-loader__logo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pj-loader-pulse 1.4s ease-in-out infinite;
}

.pj-loader__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pj-loader__bar {
  width: 120px;
  height: 3px;
  margin: 0 auto 14px;
  overflow: hidden;
  background: rgba(0, 166, 81, 0.15);
  border-radius: 999px;
}

.pj-loader__bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pj-green, #00a651), var(--pj-red, #e31c23));
  animation: pj-loader-slide 1s ease-in-out infinite;
}

.pj-loader__text {
  margin: 0;
  color: #0b1f14;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes pj-loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.88; }
}

@keyframes pj-loader-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
