@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  /* font-family: "Merriweather Sans", sans-serif; */
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #4b5253;
}

.blog-page .blog-title {
  font-size: 2rem;
  font-weight: 700;
}

.post-meta {
  font-family: "Poppins", sans-serif;
  display: inline-block;
  padding: 2px 5px;
  background-color: #f2f3f5;
  font-size: 12px;
  font-weight: 400;
  color: #231e41;
}

.masonry-item p {
  color: #6f6f87;
  margin: 0;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  margin-top: 10px;
}

.sidebar input[type="text"] {
  font-size: 0.9rem;
  height: 50px;
  position: relative;
  padding: 0 20px;
  font-size: 14px;
  background-color: #f9fafc;
  display: block;
  border: none;
  border-bottom: 1px solid #f2f3f5;
}

.popular-badge {
  margin-bottom: 5px;
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  background-color: #f5c332;
  padding: 3px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #021112;
}

.pagination .page-link {
  position: relative;
  background-color: #f9fafc;
  text-align: center;
  display: block;
  height: 55px;
  width: 55px;
  padding-top: 15px;
  color: #231e41;
}

.pagination .page-item.active .page-link {
  background-color: #facc15;
  border-color: #facc15;
  color: #fff;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.post-title {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
  color: #0e7581;
}

.blog-list p {
  font-size: 16px;
  /* color: #000; */
  margin-bottom: 0px;
}



.masonry {
  column-count: 2;
  column-gap: 1.5rem;
}

@media (max-width: 768px) {
  .masonry {
    column-count: 1;
  }
}

.masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.blog-img-box {
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
  border-radius: 12px;
}

.masonry-item img, .blog-list img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.masonry-item:hover img, .blog-list:hover img {
  transform: scale(1.1);
  /* Zoom in */
}

.mb-60 {
  margin-bottom: 60px !important;
}

.sidebar {
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 0 8px -2px rgba(0, 0, 0, 0.1);
  height: 100vh;
}

.sidebar .list-unstyled li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #021112;
  padding: 15px 0;
  border-bottom: 1px solid #f2f3f5;
}

.sidebar h6 {
  line-height: 120%;
  font-size: 16px;
  letter-spacing: 0;
  color: #231e41;
  margin-top: 30px;
}

.popular-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  color: #1d1d1f;
}

.swiper {
  width: 100%;
  padding: 1rem 0;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.slider-arrow-box {
  display: flex;
  gap: 10px;
}

.blog-post-popular .blog-list img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.blog-post-popular {
  position: relative;
}
 

.author-panel .suptitle {
  background-color: #f9fafc;
}

.author-frame .avatar-frame {
  margin-right: 15px;
  position: relative;
  overflow: hidden;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.author-frame .avatar-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.author-frame h4 {
  font-weight: 500px;
  font-size: 14px;
}

.suptitle {
  display: inline-block;
  padding: 2px 5px;
  background-color: #f2f3f5;
  font-size: 12px;
  font-weight: 400;
  color: #231e41;
}

.post-cover {
  padding-bottom: 65%;
  position: relative;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.post-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.text {
  color: #4b5253;
  margin: 0;
  font-size: 15px;
}

.profile-left {
  display: flex;
  align-items: center;
}

.author-frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.blog-post-popular .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  transition: 0.4s;
  margin-top: 10px;
  margin-bottom: 0px;
}

.blog-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0px;
  margin-bottom: 0px;
}

.blog-keywords li a {
  display: block;
  font-size: 14px;
  background-color: #f5c332;
  padding: 2px 5px;
  color: #231e41;
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.blog-keywords li {
  list-style: none;
}

.blog-mb-10 {
  margin-bottom: 10px !important;
}

.blog-ib-title-frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-ib-title-frame h4 {
  line-height: 120%;
  font-size: 16px;
  letter-spacing: 0;
}

.sb-bg-1 { 
  position: absolute;
  width: 100%;
  height: 300%;
  overflow: hidden;
  z-index: -1;
}

.blog-page {
  position: relative;
  /* overflow: hidden; */
}

.sb-bg-1 div:after {
  content: "";
  height: 15vw;
  width: 258%;
  background-color: #f9fafc;
  position: absolute;
  top: 25%;
  left: -138%;
  transform: rotate(338deg);
  z-index: -1;
}

.sb-bg-3 {
  background-color: #f9fafc;
  width: 63%;
  height: 100%;
  position: absolute;
  border-left: 30px solid #fff;
  top: 0;
  left: 0;
}

.blog-title {
  font-family: "Merriweather Sans", sans-serif;
  font-weight: bold;
  margin-bottom: 0px;
}

.blog-list {
  overflow: hidden;
  position: relative;
}

.sb-p-60-30 {
  padding-top: 60px;
  padding-bottom: 30px;
}

.sb-banner.sb-banner-color {
  background-color: #f9fafc; 
  height: auto;
  padding: 30px;
  margin: 50px 0px;
}
.inner-box {
  border: 3px dotted #f2f3f5;
  padding: 30px;
}

.sb-breadcrumbs {
  display: flex;
  margin-bottom: 0px;
  gap: 10px;
  padding: 0px;
}

.blog-heading {
  display: inline-block;
  padding: 10px;
  background: #E3FAFC;
}

.sb-breadcrumbs li {
  list-style: none;
}
.sb-breadcrumbs li a {
  color: #08454C;
  font-family: "Merriweather Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.sb-breadcrumbs li {
  color: #08454C;
  font-family: "Merriweather Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  list-style: none;
  line-height: normal;
}
.profile-left .blog-title {
  font-family: "Merriweather Sans", sans-serif;
  color: #08454c;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
.descr-box ul {
  margin: 0px;
  padding-left: 6rem;
}

.descr-box ul li::marker {
  color: #08454C;
}
.descr-box ul li p {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-style: normal;
  list-style: none;
  line-height: normal;
  text-decoration: underline;
  font-weight: 600;
}
.descr-box h2 {
  color: #0e7581;
  font-size: 21px;
  margin-top: 3.5rem;
  font-weight: 900;
  font-family: "Merriweather Sans";
}
.descr-box h2 {
  scroll-margin-top: 100px;
}
.descr-box p {
  font-size: 16px;
  font-family: Poppins, sans-serif;
}
 
.post-cover-des img{
  max-height: 500px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}
.blog-heading.bg-trs {
  background: transparent;
  padding: 0px;
}
@media (max-width: 768px) {
  .sidebar {
    margin-top: 2rem;
    height: auto;
  }
  .sb-breadcrumbs { 
    flex-wrap: wrap;
}
.sb-banner.sb-banner-color { 
  padding: 20px 0px;
  margin: 40px 0px;
}
.sb-banner.sb-banner-color { 
  padding: 10px 0;
  margin: 40px 0px;
}
 
.blog-page.mb-5 .col-lg-8 .mb-60 {
  margin-bottom: 20px !important;
}
.sb-bg-1 div:after { 
  height: 45vw;
  width: 258%; 
  top: 7%;
  left: -142%;
  
}
 
}
/* Default: Hide sidebar on tablets and mobiles */
@media (max-width: 991.98px) {
  .sidebar {
    display: none;
    position: fixed;
    top: 24px;
    right: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1050;
    padding: 10px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
  }
  .inner-box { 
    padding: 10px;
}
.sidebar-close-btn {
  font-size: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
}
  .sidebar.show {
    display: block;
    transform: translateX(0%);
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
  }

  .sidebar-backdrop.active {
    display: block;
  }

  .sidebar-toggle-btn {
    display: inline-block;
  }
}

/* Desktop: Always show sidebar */
/* @media (max-width: 992px) {
  .sidebar-toggle-btn {
    display: none;
  }
} */
/* Hide button on screens 1024px and below (tablet & mobile) */
@media screen and (min-width: 1025px) {
  .sidebar-toggle-btn {
    display: none !important;
  }
}

.mobile-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-filter-search {
  background: linear-gradient(to right,#0e7581 0,#08454c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.btn-filter-search:hover {
  color: #fff;
}