/* Put extra child CSS here */

/*post*/
.featured-post-banner {
  position: relative;
  width: 100%;
  /* adjust height  */
  /* min-height: 400px; */
  background-size: cover;
  min-height: 600px; /* adjust height */
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 4em;
  background-repeat: no-repeat;
}

.featured-post-overlay {
  background: #e4f2fb;
  padding: 1rem 2rem;
  border-radius: 10px;
  margin-bottom: -4em;
  max-width: 80%;
  text-align: center;
  box-shadow: 0px 8px 8px -4px #10182808;
  box-shadow: 0px 20px 24px -4px #10182814;
  border: 1px solid #3997D3
}

.featured-post-title {
  font-size:60px;
  color: #0c2340; /* dark text */
  margin: 0;
  font-weight:600;
}

@media (max-width: 991px) {
	
.featured-post-overlay {
  margin-bottom: -2em;
  max-width: 90%;
  
}
  .featured-post-banner {
    min-height: 250px;
  }
  .featured-post-title {
    font-size: 1.5rem;
  }
}


.post-content-wrapper {
  display: flex;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.post-main {
  flex: 3;
}

.post-toc {
  flex: 1.5;
 
  position: sticky;
  top: 50px; /* stays visible while scrolling */
	    overflow-y: auto;
	  max-height: calc(100vh - 120px);
  /* margin-top:40px; */
}
.post-toc .toc-inner{

	    overflow-y: auto;
		 background: #f9fbff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
	
}
.post-toc h3 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c2340;
}

.post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc li {
  margin: 0.5rem 0;
  margin-left: 20px;
}

.post-toc a {
   font-family: "Rethink Sans", Sans-serif;
font-weight: 400;
font-style: Regular;
font-size: 18px;
leading-trim: NONE;
line-height: 32px;
letter-spacing: 0%;
color: #162850;
margin-left: -24px;

}

.post-toc a:hover {
  color: #0c2340;
}


.toc-icon {
  width: 12px;
  height: 12px;
  margin-right: .4rem;
  vertical-align: middle;
}


.post-datails-section{
	display:flex;
	justify-content:center;
	padding:20px;
}
.post-datails{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 1.5rem;
}

.author-meta-box {
  display: flex;
  flex-direction: column;
  border: 1px solid #0c2340;
  border-radius: 40px;
  padding: 1rem 1.5rem;
box-shadow: 0px 4px 15px 0px #00000040;
min-width:250px;

}

.author-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-text {
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: .9rem;
  color: #0c2340;
}

.author-name {
  font-weight: 700;
  color: #0c2340;
}

.author-updated {
    display: flex;
    position: absolute;
    align-items: center;
    gap: .5rem;
    background-color: #2a7ecb;
    color: #fff;
    padding: .3rem .75rem;
    margin-left: 70px;
    border-radius: 20px;
    margin-top: 51px;
    font-size: .85rem;
}

.updated-icon {
  width: 16px;
  height: 16px;
}

.content-share-social {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #0c2340;
  border-radius: 40px;
  padding: .5rem 1rem;
box-shadow: 0px 4px 15px 0px #00000040;
}

.content-share-social .share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-decoration: none;
  color: #0c2340;
}

.content-share-social .share-icon:hover {
  background-color: #f1f5f9;
  color: #2a7ecb;
}

.content-share-social .fab {
  font-size: 14px;
}


.single-max-width{
width:100%;
max-width:1200px;	
margin-bottom:-50px;
	
}


@media (max-width: 786px) {
	
		.post-content-wrapper {
	flex-direction:column;
	
		}
.post-toc{
	 padding:20px;
	 margin-top:-30px;
	  margin-bottom:-50px;
  position: static;
	order:1;
	
}
.post-main{
	order:2;
}

}





.recent-articles-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

/* Left big featured */
.recent-article-featured {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.recent-featured-img {
  display: block;
  background-size: cover;
  background-position: center;
  height: 260px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.recent-featured-meta {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.recent-featured-date,
.recent-featured-read {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.4);
  padding: 3px 8px;
  border-radius: 12px;
  gap: 4px;
}

.recent-featured-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2340;
  margin: 0;
}

.recent-featured-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #0c2340;
  border-radius: 4px;
  text-decoration: none;
  color: #0c2340;
  font-weight: 500;
  width: max-content;
}

/* Right side slider */
.recent-articles-right {
  display: flex;
  flex-direction: column;
}

.recent-articles-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.recent-article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.recent-article-image {
  display: block;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
}

.recent-article-meta {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: #fff;
  font-size: 0.8rem;
  background: rgba(0,0,0,.4);
  padding: 3px 8px;
  border-radius: 12px;
}

.recent-article-title {
  font-size: 1rem;
  margin: 0.5rem;
  color: #0c2340;
  font-weight: 500;
}

/* Swiper nav */
.swiper-button-prev,
.swiper-button-next {
  background: none;
  border: 1px solid #0c2340;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #0c2340;
}

@media (max-width: 768px) {
  .recent-articles-wrapper {
    grid-template-columns: 1fr;
  }
  .recent-articles-right {
    margin-top: 2rem;
  }
}

/* Added Deng */
 .default-post-width{
    width: 1200px !important;
 }
 .headpost-section{
  display: flex;
  justify-content: center;
 }

 .post-content-wrapper .post-main h2{
    font-family: "Atkinson Hyperlegible", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    border-style: solid;
    border-width: 0px 0px 0px 3px;
    border-color: #3797d3;
    text-align: left !important;
    padding-left: 20px;
    margin: 40px 0px 20px 0px;
 }
.post-content-wrapper .post-main ul{
	margin-bottom: 20px;
}

  .post-content-wrapper .post-main span br {
    display: none;
  }
  .post-main{
    font-family: "Rethink Sans", Sans-serif !important;
      font-size: 18px;
      font-weight: 400;
      line-height: 30px;
  }

    .nl-count {
      flex: 0 0 auto;
      width: 40px;
      height: 40px;
      border: 1px solid #3fdf00;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      color: #0073aa;
      font-size: 30px;
      margin-top: -10px;
    }

    /* Added July 30, 2026 */
    .post-content-section{
      display: block !important;
      padding: 0px !important;
    }
        .post-content-section p {
          font-family: "Rethink Sans", Sans-serif !important;
          font-size: 18px;
          font-weight: 400;
          line-height: 30px;
        }
    
        .post-content-section h1,
        .post-content-section h2 {
          font-family: "Atkinson Hyperlegible", Sans-serif;
          font-size: 40px;
          font-weight: 400;
          line-height: 40px;
          border-style: solid;
          border-width: 0 0 0 3px;
          border-color: #3797d3;
          text-align: left !important;
          padding-left: 20px;
          margin: 40px 0 20px 0;
        }