/* ============================= */
/* News Post Section */
/* ============================= */

.thin-line-headline-wrapper,
.news-headline-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
}

.thin-line-heading {
    flex-shrink: 0;
    min-width: max-content;
}

.thin-line-heading .elementor-heading-title {
    padding-left: 40px;
}


.thin-line-heading .elementor-heading-title::before {
    content: "";
    position: absolute;
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    left: 0;
    background: var(--green);
}

.thin-line {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 15px;
    overflow: hidden;
}

.taper-line-left {
    width: 100%;
    max-width: 100%;
    display: block;
    height: 1px;
    background: #fff;
    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        black 20%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        black 0%,
        black 20%,
        transparent 100%
    );
}

.news-heading-view-all {
    flex-shrink: 0;
    width: 109px;
    font-size: 20px;
    text-align: right;
}

.news-heading-view-all .elementor-heading-title {
    white-space: nowrap;
}

.news-headline-wrapper .news-heading-view-all .elementor-heading-title a:hover {
    color: var(--green);
}

/* ============================= */
/* Loop Post Content */
/* ============================= */

.loop-post-title {
    max-width: 460px !important;
}

.loop-post-con .e-con-inner{
	display:flex;
}

.loop-post-title span {
    font-size: 20px;
    color: white;
}

.loop-post-date span {
    font-size: 18px;
    color: white;
	font-weight: 300;
}

.loop-post-con {
    transform: scale(1);
    transition: transform 300ms ease-in-out;
}

.loop-post-con:hover {
    transform: scale(0.98);
}
.loop-post-carousel {
    padding: 0px 40px;
}

/* ============================= */
/* Loop Post Image */
/* ============================= */
.loop-post-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.loop-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.loop-post-title {
    padding-bottom: calc(1rem + 20px);
}
.loop-post-date {
    position: absolute;
    bottom: 10px;
}


/* ============================= */
/* Swiper Navigation */
/* ============================= */
.news-loop-con .elementor-swiper-button.elementor-swiper-button-prev,
.news-loop-con .elementor-swiper-button.elementor-swiper-button-next {
    display: block;
    padding: 10px;
    border: 2px solid white !important;
    border-radius: 100%;
	width: 49px;
	height: 49px;
}



/* ============================= */
/* Swiper Load State */
/* ============================= */
.news-loop-con .swiper {
    opacity: 0;
}

.news-loop-con .swiper.swiper-initialized {
    opacity: 1;
}


/*1439px*/
@media (max-width: 1439px) {
	
	.loop-post-title span {
		font-size: 18px;
	}
	.loop-post-date span {
		font-size: 16px;
	}
	
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-prev,
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-next {
		bottom: -40px;
		top: unset !important;
		padding: 7px;
	}
	.news-loop-con .elementor-element.elementor-arrows-position-outside .swiper,
	.news-loop-con .elementor-lightbox.elementor-arrows-position-outside .swiper {
		width: calc(100% - 0px);
	}
}


@media screen and (max-width: 1365px) {
	.thin-line-heading .elementor-heading-title {
		padding-left: 30px;
	}
}

/*1024px*/
@media (max-width: 1024px) {
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-prev,
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-next {
		padding: 5px;
        font-size: 1.2rem !important;
	}
	
	.news-loop-con .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
		top: unset;
		bottom: -10px;
	}
	.news-heading span {
		gap: 20px;
	}
}




/*767*/


@media (max-width: 767px) {
	.news-loop-con {
		padding-right: 0;
	}
	.news-heading-view-all {
		display: none;
	}
	.news-headline-wrapper {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-prev,
	.news-loop-con .elementor-swiper-button.elementor-swiper-button-next {
		display:none!important;
	}
	.thin-line-heading .elementor-heading-title {
		padding-left: 30px;
	}
/* 	.loop-post-con {
		background: #3a3a3a !important;
	} */
	
	
}


/* ===================================================== */
/* Single Post */
/* ===================================================== */
/* Single Post Content */
.single-post h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: var(--font-stack-heading);
  line-height: 1.2em;
}

.single-post h1 {
  font-size: 2.4rem;
}
.single-post-content h2 {
  margin: 0px 0px 1.2rem 0px;
  font-size: 1.8rem;
  font-weight: 400;
}
.single-post-content h3 {
  margin: 0px 0px 1.2rem 0px;
  font-size: 1.5rem;
  font-weight: 400;
}
.single-post-content h4 {
  margin: 0px 0px 1.2rem 0px;
  font-size: 1.2rem;
}
.single-post-content h5 {
  margin: 0px 0px 1.2rem 0px;
  font-size: 1.1rem;
}

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

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

.single-post-content ul,
.single-post-content ol {
  margin: 0px 0px 1rem 0rem;
  padding-left: 24px;
}

.single-post-content li {
  position: relative;
  margin-bottom: 12px;
  list-style: none;
}

.single-post-content li:before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7.5px;
  display: block;
  width: 10px;
  height: 10px;
  background: var(--e-global-color-accent);
  border-radius: 999px;
}

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

.single-post-content figure {
  max-width: 100%;
  margin: 0px 0px 1rem 0px;
}
.single-post-content figcaption {
  font-size: 0.7rem;
  color: #666;
}
@media screen and (max-width: 767px) {
  .single-post-content figcaption {
    font-size: 0.8rem;
    line-height: 1.65em;
  }
}

.single-post-content hr {
  margin: 40px 0px;
  border: 1px solid var(--black-medium-bg);
}

.single-post-content hr.post-sep {
  display: flex;
  justify-content: center;
  border: 0px;
  border-top: 3px solid var(--gray-dark-bg);
  overflow: visible;
}
.single-post-content hr.post-sep:after {
  content: "";
  display: block;
  width: 60px;
  height: 35px;
  margin-top: -20px;
  padding: 0px 20px;
  background: var(--black-dark-bg);
  background-image: url(/wp-content/uploads/2026/03/EEC-Huayi-Logo-Icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.single-post-content .single-post-list-w-img {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  margin: 0px 0px 0.5rem 0px;
  background: var(--black-medium-bg);
  border-radius: 4px;
}

.single-post-content .text-box-w-bg {
  padding: 30px;
  margin: 0px 0px 1rem 0px;
  background: var(--black-medium-bg);
  border-radius: 8px;
}
.single-post-content .text-box-w-bg h3 {
  padding-left: 12px;
  border-left: 6px solid var(--e-global-color-accent);
}
.single-post-content .text-box-w-bg ul,
.single-post-content .text-box-w-bg li:last-child {
  margin-bottom: 0px;
}

.single-post-content .quote-box {
  padding: 16px 20px;
  margin-bottom: 1rem;
  background: #19444d;
  border-radius: 8px;
}

.single-post-content .quote-box p:last-child {
  margin-bottom: 0px;
}

/* Single Post Info */
.post-reading-time .reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ccc;
}
.post-reading-time .reading-time,
.post-date span {
  font-size: 0.9rem;
}

.post-reading-time .reading-time_icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-reading-time .reading-time_icon svg path {
  fill: #ccc;
}

@media screen and (max-width: 767px) {
  .single-post h1,
  .single-post-content h2,
  .single-post-content h3,
  .single-post-content h4 {
    font-weight: 500;
    line-height: 1.25em;
  }

  .single-post h1 {
    font-size: 1.75rem;
  }
  .single-post-content h2 {
    font-size: 1.45rem;
  }
  .single-post-content h3 {
    font-size: 1.25rem;
  }
  .single-post-content h4 {
    font-size: 1.1rem;
  }

  .single-post-content ul,
  .single-post-content ol,
  .custom-faq ul {
    margin: 0px 0px 1rem 0rem;
    padding-left: 20px;
  }
  .single-post-content li {
    margin-bottom: 4px;
  }
  .single-post-content li:before {
    left: -20px;
    top: 8px;
    width: 8px;
    height: 8px;
  }

  .single-post-content .text-box-w-bg {
    padding: 20px;
  }

  .single-post-content hr {
    margin: 25px 0px;
  }

  .single-post-content hr.post-sep {
    border-top: 2px solid var(--gray-dark-bg);
  }
  .single-post-content hr.post-sep:after {
    width: 50px;
    height: 30px;
  }
}









