/* import Teko Font */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');

/* Posts Listing Styles */

/* You May Also Like Section */
.you-may-also-like {
  margin-top: 4rem;
  padding: 3rem 0;
  background: #f8f9fa;
  padding: 0;
  padding-bottom: 46px;;
}

.you-may-also-like .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  color: #333;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.related-post-card {
  /* background: white; */
  /* border-radius: 12px; */
  overflow: hidden;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.related-post-card__image {
  width: 100%;
  height: 297px;
  overflow: hidden;height: auto;
      aspect-ratio: 430 / 297;
}

.related-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-card__image img {
  transform: scale(1.05);
}

.related-post-card__content {
  padding: 1.5rem;
  padding: 0;
  padding-top: 17px;;
}

.related-post-card__title {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #383B69;
  font-size: 30px;;
  margin-bottom: -3px;;
}

.related-post-card__title a {
  color: #383B69;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;font-size: 30px;;
}

.related-post-card__title a:hover {
  color: #007cba;
}

.related-post-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
  color: #A0A2BD;
  margin-bottom: 6px;
}

.related-post-card__date {
  color: #A0A2BD;
  font-size: 14px;font-weight: 400;
}


.related-post-card__category {
  background: #e9ecef;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #495057;
}

.related-post-card__excerpt {
  margin-bottom: 1.5rem;
  color: #666;font-size: 16px;font-weight: 400;
  line-height: 1.6;color: #383B69;
}
.related-post-card__excerpt a {color: #383B69;flex: 16px;font-weight: 400; text-decoration: none;}

.related-post-card__link {
  display: inline-block;
  color: #007cba;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.related-post-card__link:hover {
  color: #005a87;
}

/* Post Top Image */
.post-top-image {
  margin: 3rem 0;
  padding: 2rem 0;
}

.post-top-image__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.post-top-image__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-top-image__img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.post-top-image__caption {
  margin-top: 1rem;
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Social Sharing Buttons */
.social-sharing {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.social-sharing__label {
  font-weight: 600;
  color: #333;
  margin-right: 0.5rem;
}

.social-sharing__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-sharing__btn--facebook {
  background: #1877f2;
  color: white;
}

.social-sharing__btn--facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-sharing__btn--twitter {
  background: #1da1f2;
  color: white;
}

.social-sharing__btn--twitter:hover {
  background: #1a91da;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.social-sharing__btn svg {
  flex-shrink: 0;
}

.social-sharing__btn span {
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .you-may-also-like .section-title {
    font-size: 2rem;
  }
  
  .related-post-card__content {
    padding: 1.25rem;
  }
  
  .social-sharing {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .social-sharing__label {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .social-sharing__btn {
    width: 100%;
    justify-content: center;
  }
}
.spage.page-posts-listing {
  padding: 0;
  max-width: 100%;
}

/* Featured Image Banner */
body{
  --h:102px;
}
.posts-listing__banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-bottom: 2.8rem;
  height: 180px;
  margin-top: var(--h);
}

.posts-listing__banner-image {
  width: 100%;
  height: 100%;background:#383B69;
}

.posts-listing__banner-image img {
  width: 100%;
  height: 100%;opacity: 0.1;
  object-fit: cover;
}

.posts-listing__banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.posts-listing__banner-title {
  color: white;
  font-size: 3.15rem;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  padding-top: 5px;
}

.posts-listing__content {
  padding: 2rem 0;
}

.posts-listing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  padding: 0;
}

.posts-listing__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: end;
}

.posts-listing__search {
  flex: 1;
  min-width: 250px;
}

.posts-listing__search input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.posts-listing__category {
  min-width: 200px;
}

.posts-listing__category select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: white;
}

.posts-listing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-card {
  border-radius: 0px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

.post-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.15); */
}

.post-card__image {
  width: 100%;
  height: 262px;;
  object-fit: cover;
}

.post-card__content {
  padding: 1.2rem 0;
}

.post-card__meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.post-card__meta .post-card__date{font-size: 14px;font-weight: 400;color: #A0A2BD;}

.post-card__title {
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  min-height: 60px;
}

.post-card__title a {
  color: #383B69;
  text-decoration: none;
}

.post-card__title a:hover {
  color: #007cba;
}

.post-card__excerpt {
  color: #383B69;
  line-height: 24px;
  font-size: 16px;;
  margin-bottom: 0.8rem;
  height: 46px;
  overflow: hidden;
}
.post-card__excerpt a{display: none;}

.post-card__read-more {
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
}

.post-card__link{color: #29B6B9;font-family: 'Teko';font-weight: 400;line-height: 31px;font-size: 24px;border: 0;text-decoration: none;}
.post-card__link svg{position: relative;top: -1px;;}

.post-card__read-more:hover {
  text-decoration: underline;
}

.posts-listing__load-more {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 80px;
}

.posts-listing__load-more .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 200px;
}
.posts-listing__load-more .btn-load-more{border: solid #33355F;border-radius: 40px;width: 200px;display: inline-flex;height: 50px;align-items: center;justify-content: center;color: #33355F;font-family: 'Roboto';font-weight: 600;letter-spacing: -1px;text-transform: uppercase;background: #fff;font-size: 16px;padding: 0;;}
.posts-listing__load-more .btn-load-more:hover{color: #fff;}
.posts-listing__load-more .btn-load-more::before{display: none !important;}

.posts-listing__load-more .btn--primary {
  background: #007cba;
  color: white;
}

.posts-listing__load-more .btn--primary:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.posts-listing__load-more .btn--primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.posts-listing__load-more .btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 1.2rem;
}

.posts-listing__load-more .btn-loading {
  display: none;
}

.posts-listing__load-more .btn:disabled .btn-text {
  display: none;
}

.posts-listing__load-more .btn:disabled .btn-loading {
  display: inline;
}

.posts-listing__no-posts {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.posts-listing__no-posts h3 {
  margin-bottom: 1rem;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .posts-listing__banner {
    height: 300px;
  }
  
  .posts-listing__banner-title {
    font-size: 2rem;
  }
  
  .posts-listing__filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .posts-listing__search,
  .posts-listing__category {
    min-width: auto;
  }
  
  .posts-listing__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-card__content {
    padding: 1rem;
  }
  .post-card__image{height: auto;max-height: 367px;}
  .post-card__title{min-height: 1px;;}
  .post-card__excerpt{height: auto;}
  .posts-listing__banner{height: 150px;;}
  body{--h: 70px;}
}

@media (max-width: 480px) {
  .posts-listing__banner {
    height: 250px;
  }
  
  .posts-listing__banner-title {
    font-size: 1.5rem;
  }
  
  .spage.page-posts-listing {
    padding: 1rem 0;
  }
  
  .posts-listing {
    padding: 0 0.5rem;
  }

    body{--h: 70px;}
    .posts-listing__banner{height: 113px;margin-bottom: 35px;margin-top: 55px;;}
    .posts-listing{padding: 0;}
    .post-card__image{height: 214px;}
    .post-card__content{padding: 1.2rem 0;}
    .posts-listing__load-more{padding-bottom: 35px;}
    .posts-listing__grid{border-bottom: 1px solid rgb(56 59 105);padding-bottom: 11px;margin-bottom: 2.3rem;}
    .posts-listing__load-more{margin-top: 2rem;padding-bottom: 35px;}
    
    
    
}





/* below CSS for BDP */
.single-post article.spage{max-width: 100%;padding-top: 6.3rem;padding-bottom: 0;}
.single-post article.spage .post-top-image{padding: 0;margin: 0;}
.single-post article.spage .post-top-image .container{padding: 0;}
.single-post article.spage .post-top-image__wrapper{max-width: 100%;height: 580px;}
.single-post article.spage .post-top-image .container img{border-radius: 0;box-shadow: none;height: 100%;object-fit: cover;transform: none !important;}
.blog-detail-wrapper{margin: auto;max-width: 900px;;margin-top: -50px;background: #FEF6EA;padding: 50px;border: 1px solid #E3D6C3;margin-bottom: 40px;padding-bottom: 19px;}
.single-post  .spage .title{padding: 3.125rem 0 1.375rem;}
.single-post .spage .blog-detail-wrapper .title{margin: 0;padding: 0;font-weight: 400;letter-spacing: 1px;text-transform: none;margin-bottom: 0px;}
.single-post .spage .blog-detail-wrapper .post-date{font-size: 14px;color: #A0A2BD;}
.single-post .spage p{line-height: 1.5;letter-spacing: 0.3px;margin-bottom: 17px;}
.single-post .spage .has-large-font-size{font-size: 30px !important;font-family: 'Teko';font-weight: 400;line-height: 1;letter-spacing: 0.5px;margin-top: 39px;}
.single-post .spage figure.wp-block-gallery{margin-top: 44px;margin-bottom: 36px;}
.single-data article figure.size-full img{aspect-ratio: auto;}
.single-post .spage pre{border-left:4px solid #29B6B9;color: #383B69;font-family: inherit;white-space: normal;padding: 6px;;padding-left: 20px;font-size: 16px;font-weight: 700;line-height: 1.5;margin: 24px 0 22px;}
.single-data article .nav-links{justify-content: space-between;}
.nav-previous a::before,.nav-next a::before{display: none;}
.nav-previous a,.nav-next a{font-family: 'Roboto';font-size: 16px;color: #383B69;font-size: 0 !important;text-decoration: none !important;}
.nav-previous a::after,.nav-next a::after{content: 'Previous';font-family: 'Roboto';font-size: 16px !important;color: #383B69;}
.nav-next a::after{content: 'Next' !important;}
.posts-navigation{margin-top: 2.6rem;border-top: 1px solid #C9C9C9;padding: 1.4rem 15px 0;}
.posts-navigation .nav-links div+div{margin: 0;}
.posts-navigation .social-sharing{background-color: transparent;margin: 0;padding: 0;border-radius: 0;}
.posts-navigation .social-sharing .social-sharing__btn{background: transparent;padding: 0;;}
.posts-navigation .social-sharing .social-sharing__label{color: #383B69;font-weight: 400;font-size: 16px;text-transform: uppercase !important;;}
.single .you-may-also-like .section-title{font-weight: 400;font-size: 50px;color: #383B69;letter-spacing: 1px;margin-bottom: 13px;;}
.single .you-may-also-like .related-post-card{background-color: transparent;border-radius: 0;box-shadow: none !important;}
.single  .related-post-card__title a{color: #383B69;font-weight: 400;line-height: 1;;}
.posts-navigation a{text-transform: capitalize !important;}
.you-may-also-like .container{padding: 0;max-width: 62%;margin: auto;;}



@media (max-width:500px) {
  .single-post article.spage{padding-top: 4.3rem;}
  .single-post article.spage .post-top-image__wrapper{height: 269px;;}
  .single-post .container{padding: 0 20px;;}
  
  .blog-detail-wrapper{margin-top: -29px;;}
  .single .related-post-card__title a{line-height: 1;}
  .single-post .spage .blog-detail-wrapper .title{    font-size: 30px;
    letter-spacing: .02em;
    line-height: 1;margin-bottom: 10px;}
    .single-post .spage .has-large-font-size{letter-spacing: 0.02em;margin-bottom: 5px;;}
    .posts-navigation .social-sharing .social-sharing__btn{width: auto;}
    .posts-navigation .social-sharing{flex-wrap: wrap;flex-direction: row;margin: 0 !important;row-gap: 0;}
    .posts-navigation .social-sharing .social-sharing__label{width: 100%;text-align: center;}
    .you-may-also-like{margin-top: 38px;;padding-bottom: 14px;;}
    .blog-detail-wrapper{margin-bottom: 25px;}
    .single .you-may-also-like .section-title{margin-bottom: 17px;font-size: 30px;line-height: 1;}
    .you-may-also-like .container{width: 100%;padding: 0 20px;margin: auto;max-width: 100%;}
    .single .you-may-also-like .related-post-card{margin-right: 15px;flex: 0 0 310px;}
    .related-posts-grid{display: flex;overflow: auto;gap: 0;;}
    .related-post-card__image{height: 214px;height: auto;aspect-ratio: 310 / 214;}
    .blog-detail-wrapper{padding: 20px;;}
    .related-post-card__content{padding: 0;padding-top: 19px;;}
    .related-post-card__title{line-height: 1.4;;}

    .single-post .spage .blog-detail-wrapper .post-date{margin-bottom: 7px;}
    .single-post .spage figure.wp-block-gallery{margin-top: 21px;margin-bottom: 12px;}

}
