section.blogListingPage{
  padding: 0 0 80px;
}
.blogTitle {
  background-color: #f5faff;
  padding: 70px 0 50px;
  margin-bottom: 25px;
}

.blogTitle h1 {
  color: #01305c;
  font-size: 38px;
  line-height: 48px;
  text-transform: capitalize;
  text-align: center;
  font-weight: 700;
  padding-bottom: 19px;
}

.titlePara {
  margin-bottom: 45px;
}

.des-head {
  text-align: center;
  font-size: 18px;
  line-height: 30px;
  color: #575e62;
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  font-weight: 400;
}

.searchWraper {
  position: relative;
  max-width: 525px;
  top: -56px;
  width: 100%;
  margin: 0 auto;
}

.searchWraper::after {
  position: absolute;
  content: '';
  width: 15px;
  height: 15px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url(./images/searchIcon.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.searchWraper .searchControl {
  appearance: none;
  width: 100%;
  height: 52px;
  background-color: #fff;
  border-radius: 8rem;
  color: #231f20;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 2.62226px 30.156px rgba(118, 133, 160, 0.15);
  border: 1px solid #fff;
  font-size: 15px;
  line-height: 19px;
  padding: 0 45px 0 20px;
}

.searchControl:hover {
  border: 1px solid #ddd;
}

input.searchControl:focus-visible,
input.searchControl:focus {
  border: 1px solid #117bd4;
  outline: unset;
}

.blogList {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
}

/* Blog Card */
.blog-card {
  background: #FFFFFF;
  border-radius: 25px;
  max-width: 371px;
  width: 100%;
  border: 1px solid #F3F7FE;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0px -2px 24.5px 0px #B7B7B740;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

/* Blog Card Header */
.blog-card-header {
  background: linear-gradient(101.41deg, #1176CA 3.07%, #064377 100%);
  padding: 30px 15px 20px;
  color: white;
  min-height: 196px;
}

.blog-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #3184C8;
}

/* Category Badge */
.blog-category-badge {
  background: #055CA6;
  padding: 5px 10px;
  border-radius: 100rem;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
}

/* Read Time */
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: white;
}

/* Icon and Title */
.blog-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.blog-emoji {
  font-size: 44px;
  line-height: 100%;
  width: 42px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-title {
  font-weight: 500;
  font-size: 15px;
  line-height: 150%;
  color: white;
  margin: 0;
  flex: 1 1;
}

/* Blog Card Body */
.blog-card-body {
  padding: 20px 15px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.blog-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #56606C;
  margin: 0 0 25px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Read More Link */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 236px;
  width: 100%;
  height: 41px;
  background: transparent;
  border: 1px solid #0654E6;
  border-radius: 12px;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #0654E6;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  position: relative;
}

.blog-read-more::after {
  content: '';
  position: relative;
  width: 17px;
  display: inline-block;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.83203 9.5H14.1654M14.1654 9.5L9.91536 5.25M14.1654 9.5L9.91536 13.75' stroke='%230654E6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.blog-read-more:hover {
  background: #0654E6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 84, 230, 0.3);
}

.blog-read-more:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.83203 9.5H14.1654M14.1654 9.5L9.91536 5.25M14.1654 9.5L9.91536 13.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translateX(4px);
}

.blogNotFound {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.blogNotFound p {
  font-size: 18px;
  font-weight: 600;
  color: #117bd4;
}

.blogSkeleton {
  width: 374px;
  height: 310px;
  background-color: #f0f0f0;
  animation: pulse 1s infinite alternate;
  border-radius: 5px;
  margin-bottom: 50px;
  flex-basis: 32%;
}

.searchWraperSkeleton {
  width: 480px;
  height: 52px;
  background-color: #f0f0f0;
  animation: pulse 1s infinite alternate;
  border-radius: 8rem;
  margin: auto;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.blogList .highlight {
  background-color: rgb(255 180 70);
}

/* Category Filter Styles */
.categoryFilter {
  background: #ffffff;
  padding: 40px 0;
}

.categoryWrap {
  background: #FFFFFF;
  box-shadow: 0px 6px 20.4px 0px #00000040;
  padding: 25px 50px;
  border-radius: 20px;
}

.categoryFilterLabel {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #848484;
  text-align: center;
  margin-bottom: 20px;
}

.categoryFilterWrapper {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 30px;
}

/* Scrollbar Styling */
.categoryFilterWrapper::-webkit-scrollbar {
  height: 5px;
}

.categoryFilterWrapper::-webkit-scrollbar-track {
  background: #E2EDFB;
  border-radius: 10px;
}

.categoryFilterWrapper::-webkit-scrollbar-thumb {
  background: #3D75CA;
  border-radius: 10px;
}

.categoryFilterWrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 95, 168, 0.6);
}

.categoryBtn {
  background: #F8FAFD;
  border: 1px solid #D9EBF8;
  border-radius: 100px;
  padding: 11px 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #4A4A4A;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
}

.categoryBtn:hover {
  background: #F5F9FF;
  border-color: #117BD4;
  color: #117BD4;
}

.categoryBtn.active {
  background: #233F8C;
  border-color: #233F8C;
  color: #FFFFFF;
}

.categoryBtn.active:hover {
  background: #1a2f6b;
  border-color: #1a2f6b;
}

.categoryCount {
  font-weight: 400;
  opacity: 0.8;
  color: #407BFF;
}

.categoryBtn.active .categoryCount {
  color: #fff;
}

/* Sort Filter Styles */
.sortFilterSection {
  background: #ffffff;
  padding: 30px 0;
}

.sortFilterWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sortByLabel {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #464860;
}

.customDropdown {
  position: relative;
  min-width: 160px;
}

.dropdownToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: #F8FAFD;
  border: 1px solid #D9EBF8;
  border-radius: 8px;
  font-weight: 450;
  font-size: 15px;
  line-height: 18px;
  color: #464860;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.dropdownToggle:hover {
  border-color: #117BD4;
  background: #F5F9FF;
}

.selectedOption {
  flex: 1;
  text-align: left;
}

.dropdownArrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dropdownToggle:hover .dropdownArrow path {
  stroke: #117BD4;
}

.dropdownMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #D9EBF8;
  border-radius: 8px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 10;
}

.dropdownItem {
  padding: 12px 16px;
  font-weight: 450;
  font-size: 15px;
  line-height: 18px;
  color: #464860;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdownItem:hover {
  background: #F5F9FF;
  color: #117BD4;
}

.dropdownItem.active {
  background: #E8F2FF;
  color: #0654E6;
  font-weight: 500;
}

.articlesCount {
  font-weight: 450;
  font-size: 15px;
  line-height: 18px;
  color: #60738A;
  margin-left: auto;
}

.articlesCount span {
  font-weight: 600;
  color: #464860;
}

/* Responsive styles for category and sort filters */
@media (max-width: 1199px) {
  .blogList {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .categoryWrap {
    padding: 20px 30px;
  }

  .categoryFilterLabel {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .categoryBtn {
    font-size: 14px;
    padding: 9px 14px;
  }

  .sortFilterWrapper {
    gap: 15px;
  }

  .sortByLabel {
    font-size: 14px;
  }

  .articlesCount {
    font-size: 14px;
  }

  .blogList {
    gap: 20px;
  }

  .blog-card {
    max-width: 100%;
  }

  .blog-card-header {
    padding: 18px 20px 20px;
  }

  .blog-title {
    font-size: 16px;
  }

  .blog-description {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .categoryFilter {
    padding: 30px 0;
  }

  .categoryWrap {
    padding: 20px 15px;
  }

  .categoryFilterLabel {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .categoryBtn {
    font-size: 13px;
    padding: 8px 12px;
  }

  .categoryFilterWrapper {
    padding-bottom: 20px;
  }

  .sortFilterSection {
    padding: 20px 0;
  }

  .sortFilterWrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sortByLabel {
    font-size: 13px;
  }

  .customDropdown {
    width: 100%;
  }

  .dropdownToggle {
    font-size: 13px;
    padding: 8px 12px;
  }

  .dropdownItem {
    font-size: 13px;
    padding: 10px 12px;
  }

  .articlesCount {
    font-size: 13px;
    width: 100%;
  }

  .searchWraper {
    max-width: 280px;
    top: -50px;
  }

  .blogTitle {
    padding: 118px 15px 25px;
  }

  .blogTitle h1 {
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
  }

  .des-head {
    font-size: 14px;
    line-height: 150%;
    padding-bottom: 10px;
  }

  .searchControl,
  .searchWraperSkeleton {
    height: 42px;
    max-width: 300px;
  }

  .blogList {
    gap: 20px;
  }

  .blog-card-header {
    padding: 16px 18px 25px;
    min-height: unset;
  }

  .blog-emoji {
    font-size: 36px;
    width: 36px;
    height: 38px;
  }

  .blog-title {
    font-size: 15px;
  }

  .blog-card-body {
    padding: 20px;
  }

  .blog-description {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .blog-read-more {
    height: 39px;
    font-size: 14px;
    margin-top: 20px;
  }
}