/*-----------------------------------*/
/* News Section */
/*-----------------------------------*/
.news-item-img {
  aspect-ratio: 16 / 9;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
  overflow: hidden;
}

.news-item-img img {
  transition: all 0.4s ease-out;
}

.news-item-content:after {
  content: "";
  position: absolute;
  top: -1px;
  display: block;
  width: 1px;
  height: 2px;
  background: var(--e-global-color-accent);
  opacity: 0;
  transition: all 0.4s ease-out;
}

@media screen and (min-width: 1025px) {
  .news-item:hover .news-item-img img {
    transform: scale(1.1);
  }
  .news-item:hover .news-item-content:after {
    width: 100%;
    opacity: 1;
  }
}

.news-list .swiper-pagination.swiper-pagination-clickable {
  position: absolute;
}

.news-list .swiper-pagination-bullets {
  display: flex;
  gap: 20px;
}
.news-list .swiper-pagination-bullet {
  margin: 0px !important;
  border-radius: 0px;
}

/*-----------------------------------*/
/* News Archive */
/*-----------------------------------*/
.news-archive .news-cat-tag button {
  cursor: pointer;
}

/*-----------------------------------*/
/* Single Post */
/*-----------------------------------*/
.bd-single-post .post-info-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bd-single-post .post-info-wrap:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--e-global-color-gray-border);
}

/* share button */
.bd-single-post .share-buttons .elementor-share-btn {
  padding-right: 20px;
  margin-right: 20px;
}

.bd-single-post .share-buttons .elementor-grid-item:not(:last-of-type) .elementor-share-btn {
  border-right: 0.5px var(--e-global-color-gray-border) solid;
}

.bd-single-post .share-buttons .elementor-grid-item:last-of-type .elementor-share-btn {
  padding-right: 0;
  margin-right: 0;
}

/* recent news */
.bd-single-post .recent-news-item .recent-news-title span {
  color: white;	
  transition: all 0.3s ease-out;
}

.bd-single-post .recent-news-item:hover .recent-news-title span {
  color: var(--e-global-color-accent);
}

/* Single Post Content */
.bd-post-content h2,
.bd-post-content h3,
.bd-post-content h4 {
  margin: 0px 0px 1rem 0px;
  font-family: var(--font-stack-heading);
  line-height: 1.4em;
}

.bd-post-content h2 {
  font-size: 2rem;
  font-weight: 300;
}
.bd-post-content h3 {
  font-size: 1.5rem;
  font-weight: 300;
}
.bd-post-content h4 {
  font-size: 1.2rem;
}

.bd-post-content p {
  margin: 0px 0px 1rem 0px;
  font-size: 18px;
  line-height: 1.8em;
}

.bd-post-content a {
  font-weight: bold;
  color: var(--e-global-color-accent);
  transition: all 0.3s ease-out;
}
.bd-post-content a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bd-post-content ul {
  padding-left: 20px;
  margin: 0px 0px 1rem 0px;
  list-style: none;
}

.bd-post-content li {
  position: relative;
  margin-bottom: 8px;
  line-height: 1.8em;
  list-style: none;
}
.bd-post-content li:last-child {
  margin-bottom: 0px;
}

.bd-post-content li:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 8px;
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(/wp-content/uploads/2024/11/icon-polygon-primary.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

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

.bd-post-content hr {
  margin: 0px 0px 1rem 0px;
  height: 1px;
  border: none;
  border-top: 1px solid var(--e-global-color-gray-border);
  overflow: visible;
}

.bd-post-content hr.post-custom-separate {
  display: flex;
  align-items: center;
  height: 2px;
  margin: 40px 0px;
  border-top: 1px solid rgb(255 191 0 / 40%);
}

.bd-post-content hr.post-custom-separate:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 60px;
  height: 40px;
  background: black;
  background-image: url(/wp-content/uploads/2024/12/bd-logo-color.svg);
  background-size: 30px auto;
  background-position: center;
  background-repeat: no-repeat;
}

.bd-post-content .post-text-w-bg {
  padding: 20px;
  margin: 1rem 0px;
  background: #ffbf0059;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .bd-post-content h2 {
    font-size: 1.6rem;
  }
  .bd-post-content h3 {
    font-size: 1.4rem;
  }
  .bd-post-content h4 {
    font-size: 1.2rem;
  }

  .bd-post-content p {
    font-size: 16px;
  }

  .bd-post-content ul {
    padding-left: 18px;
  }

  .bd-post-contents li:not(:last-child) {
    margin-bottom: 6px;
  }

  .bd-post-content li:before {
    left: -18px;
    width: 10px;
    height: 10px;
  }

  .bd-post-content hr {
    height: 0.5px;
  }

  .bd-post-content hr.post-custom-separate:after {
    width: 40px;
    background-size: 24px auto;
  }
	
  .bd-post-content .post-text-w-bg {
    padding: 12px;
  }
}