/*--------------------------------------------------------------*/

/*	Modern Blog Layout (Template 2)
/*--------------------------------------------------------------*/

.modern-blog-wrapper {
  margin-bottom: 40px;
}

.modern-post {
  transition: all 400ms ease;
  display: flex;
  flex-direction: column;
}

.modern-post:hover {
  transform: translateY(-10px);
}

.modern-post-thumbnail {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.modern-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 600ms ease;
}

.modern-post:hover .modern-post-thumbnail img {
  transform: scale(1.05);
}

.modern-cat-tags-wrap {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 2;
  max-width: calc(100% - 40px);
}

.modern-cat-tag {
  display: inline-block;
  background-color: var(--thm-primary);
  color: #fff;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--thm-badge-radius, 5px);
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modern-inline-cat-tag {
  display: inline-block;
  background-color: color-mix(in srgb, var(--thm-primary) 8%, transparent);
  /* Faint accent background */
  color: var(--thm-primary);
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--thm-badge-radius, 20px);
  /* Pill shape */
  letter-spacing: 0.5px;
}

.modern-blog-content {
  padding: 20px 0 0;
  display: block;
}

.modern-entry-meta {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  background: transparent;
}

.meta-separator {
  margin: 0 10px;
  color: #cbd5e1;
}

.modern-entry-title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.modern-entry-title a {
  color: var(--thm-black);
  transition: color 300ms ease;
}

.modern-entry-title a:hover {
  color: var(--thm-primary);
}

.modern-entry-content {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 15px;
}

.modern-read-more {
  margin-top: 5px;
}

.modern-btn-link {
  color: var(--thm-primary);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: all 300ms ease;
}

.modern-btn-link .arrow {
  margin-left: 8px;
  transition: transform 300ms ease;
}

.modern-btn-link:hover .arrow {
  transform: translateX(5px);
}

.modern-btn-link:hover {
  letter-spacing: 0.5px;
}

/* Modern Blog Header Alignment */
.blog-modern .section-header {
  text-align: left;
  padding-left: 0;
  margin-bottom: 30px;
}

.blog-modern .section-header .divider-line {
  margin-left: 0;
  margin-right: 0;
}

.modern-header-btn {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--thm-black);
  border: none;
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 400ms ease;
}

.modern-header-btn i {
  margin-left: 10px;
  font-size: 16px;
  transition: transform 400ms ease;
}

.modern-header-btn:hover {
  color: var(--thm-primary);
}

.modern-header-btn:hover i {
  transform: translateX(8px);
}

.header-button-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100px;
  /* Aligns with the section-header height approximately */
  margin-bottom: 60px;
  /* Match section-header margin */
  align-items: flex-end;
}

.blog-modern .row.align-items-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .blog-modern .row.align-items-center {
    display: block;
  }

  .header-button-col {
    text-align: left;
    margin-bottom: 30px;
  }
}

.funfact-shape {
  /*  background: url(assets/images/funfact-shape.png); */
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.3;
  top: 0;
  right: 0;
}

/*--------------------------------------------------------------*/

/*	Blog Section
/*--------------------------------------------------------------*/

.home-news {
  position: relative;
  z-index: 9;
}

.blog {
  position: relative;
}

.post.has-no-thumbnail .blog-head {
  margin-top: 0;
}

.blog-head {
  background-color: #0f0d1de8;
  position: relative;
  display: block;
  margin-top: -147px;
  margin-left: 40px;
  padding: 15px 15px 15px;
  transition: all 500ms ease;
}

.home-news.blog::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  content: "";
  background-color: var(--thm-light);
  height: 323px;
  z-index: -1;
}

.blog-modern.home-news.blog::after {
  display: none;
}

div.blog .post {
  margin: 0 0 30px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}

div.blog .post:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

div.blog .post .post-thumbnail {
  margin: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: all 1000ms ease-out 0s;
}

div.blog .post img {
  width: 100%;
  transform: scale(1);
  transition: all 500ms ease;
  max-width: 100%;
}

div.blog .full-content {
  position: relative;
  background-color: var(--thm-base);
  display: block;
  margin-top: 0;
  margin-left: 40px;
  padding: 30px 36px 10px;
  transition: all 500ms ease;
}

div.blog .entry-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: var(--thm-letter-space-small);
  text-transform: var(--thm-text-transform);
}

div.blog .entry-content {
  font-size: 16px;
  margin: 0;
  padding-bottom: 14px;
}

div.blog .entry-meta .byline,
div.blog .entry-meta .author a {
  color: var(--thm-base);
}

div.blog .entry-title a {
  color: var(--thm-base);
  transition: all 500ms ease;
}

div.blog .entry-title a:hover {
  color: var(--thm-primary);
}

div.blog .entry-content a {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  color: var(--thm-black);
  transition: all 500ms ease;
  letter-spacing: var(--thm-letter-space-big);
}

div.blog .entry-content a:hover {
  color: var(--thm-primary);
}

div.blog .entry-content a:before {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 10px;
  content: "";
  background-color: currentColor;
  transition: width 500ms ease;
}

div.blog .entry-content a:hover::before {
  width: 100%;
}

.blog .entry-meta {
  display: flex;
  align-items: center;
  margin: 0;
  margin-bottom: 11px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: var(--thm-text-transform);
}

.blog-head .entry-meta a {
  color: #cbd5e1;
}

.blog-head .entry-meta a:hover {
  color: #fff;
}

.blog-head .entry-title a {
  color: #fff;
}

.blog-head .entry-title a:hover {
  color: var(--thm-primary);
}

.blog .news-date {
  display: inline-block;
  background-color: var(--thm-primary);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.blog .news-date span {
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/*--------------------------------------------------------------*/

/*	Blog Section 
/*--------------------------------------------------------------*/

.site-content div.blog .post .post-thumbnail {
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: all 1000ms ease-out 0s;
  margin: 0 0 1rem;
}

.site-content .full-content {
  padding: 0;
  margin-left: 0;
}

.site-content div.blog .post .entry-header {
  margin: 0 0 18px;
  padding: 0;
}

/* Modern Category Badges */
.cat-links {
  display: block;
  margin-bottom: 10px;
}

.cat-links a {
  display: inline-block;
  background-color: rgba(123, 64, 192, 0.08);
  color: var(--thm-primary);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  transition: all 0.3s ease;
  margin-right: 6px;
  margin-bottom: 4px;
}

.cat-links a:hover {
  background-color: var(--thm-primary);
  color: #fff;
  text-decoration: none;
}

.site-content div.blog .post .entry-header .entry-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 46px;
  text-transform: var(--thm-text-transform);
  margin-top: 9px;
  margin-bottom: 10px;
  letter-spacing: var(--thm-letter-space-small);
}

.site-content div.blog .post .entry-header .entry-title a {
  color: var(--thm-black);
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 87% / 0px 2px no-repeat;
  transition: all 500ms ease;
}

.site-content div.blog .post .entry-header .entry-title a:hover {
  color: var(--thm-primary);
}

.site-content div.blog .entry-meta {
  font-size: 0.875rem;
  font-weight: 600;
}

.site-content div.blog .entry-meta>span {
  font-size: 12px;
  color: var(--thm-gray);
  font-weight: 600;
  letter-spacing: var(--thm-letter-space-big);
  text-transform: var(--thm-text-transform);
  padding-right: 15px;
}

.site-content div.blog .entry-meta .byline {
  color: #a7a7a7;
}

.site-content div.blog .entry-meta a {
  display: inline-block;
  color: #a7a7a7;
}

.site-content div.blog .entry-meta>span:after {
  padding-left: 10px;
  content: "/";
  color: #a7a7a7;
}

.site-content div.blog .entry-meta>span:last-child:after {
  display: none;
}

.site-content div.blog .entry-meta .entry-date a {
  color: #a7a7a7;
}

.site-content .byline .author:before {
  content: "\f007";
}

.site-content .comment:before {
  content: "\f075";
}

.site-content div.blog .entry-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--thm-primary);
  padding: 0 20px;
}

.site-content div.blog .entry-date a {
  font-size: 12px;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  margin: 0;
  letter-spacing: var(--thm-letter-space-big);
  color: var(--thm-base);
}

.byline .author:before,
.entry-date:before,
.comments-link:before,
.comment:before,
.tag-links:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: relative;
  display: inline-block;
  font-size: 14px;
  padding-right: 7px;
  padding-left: 1px;
  text-decoration: inherit;
  vertical-align: baseline;
}

.site-content .site-content .entry-meta .comment a:after {
  content: ",";
  padding-left: 1px;
  padding-right: 5px;
}

.site-content .site-content .entry-meta .comment a:last-child::after {
  display: none;
}

.more-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  color: var(--thm-black);
  transition: all 500ms ease;
}

.more-link:hover,
.more-link:focus {
  color: #fff;
}

.more-link:before {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 10px;
  content: "";
  background-color: currentColor;
  transition: all 500ms ease;
}

.more-link:hover:before,
.more-link:focus:before {
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  width: 100%;
  left: 0;
  opacity: 1;
}

/*Pagination*/

.navigation.pagination,
.pagination {
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.navigation.pagination .page-numbers,
.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--thm-black);
  background-color: #f1f5f9;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
  width: auto;
}

/* Hover and active states */
.navigation.pagination a.page-numbers:hover,
.pagination a:hover {
  background-color: var(--thm-primary);
  color: #fff;
}

.navigation.pagination .page-numbers.current,
.pagination a.active {
  background-color: var(--thm-primary);
  color: #fff;
}

/* Dots styling */
.navigation.pagination .page-numbers.dots {
  background-color: transparent;
  color: #94a3b8;
  min-width: auto;
  padding: 0 5px;
}

/*--------------------------------------------------------------*/

/*	Blog Single Page
/*--------------------------------------------------------------*/

/*Blog Details*/

.blog-details {
  margin: 0 0px 60px;
}

.blog-details .tags a,
.blog-details .tags span {
  color: var(--thm-base);
  font-size: 12px;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  background-color: var(--thm-primary);
  display: inline-block;
  padding: 0px 20px;
  letter-spacing: 0.1em;
  transition: all 500ms ease;
}

.blog-details .tags span {
  background-color: var(--thm-black);
}

/*Blog Author*/

.blog-author {
  background-color: #f9fafb;
  margin: 0 0px 60px;
  padding: 30px 25px;
}

.blog-author .avatar {
  float: left;
  margin-right: 30px;
}

.blog-author img {
  height: 130px;
  width: 130px;
}

.blog-author .name {
  margin: 0 0 10px;
  font-weight: 700;
}

.blog-author .designation {
  margin: 0 0 15px;
}

.blog-author p {
  margin: 0 0 15px;
}

.blog-author .social-icons a:after {
  color: #202020;
}

.blog-author .social-icons.spin-icon a:hover:after,
.blog-author .social-icons.spin-icon a:focus:after {
  color: #fff;
}

/*Comments*/

.comment-section {
  background-color: #ffffff;
  margin: 0 0px 60px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.comment-title {
  border-bottom: 1px solid #eeeeee;
  display: block;
  margin: 0 0 25px;
}

.comment-title h3 {
  margin: 0;
  color: var(--thm-black);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 51px;
  text-transform: var(--thm-text-transform);
  letter-spacing: var(--thm-letter-space-small);
}

.comment-box {
  margin: 0;
  padding: 0;
  position: relative;
}

.comment-box .media-body {
  display: flow-root;
}

.pull-left-comment {
  float: left;
  margin-right: 30px;
  width: 90px;
  height: auto;
}

.comment-img {
  border-radius: 100%;
  max-width: 100%;
  margin: 5px 0 20px;
}

.comment-detail {
  border-bottom: 1px solid #eeeeee;
  margin: 0 0 30px;
  padding: 0 0 30px;
}

.comment-detail-title {
  margin: 0 0 10px;
  font-weight: 700;
}

.comment-date {
  font-size: 0.875rem;
  color: #adadad;
  display: block;
  margin: 0 0 15px;
}

.reply a {
  font-size: 12px;
  color: var(--thm-base);
  line-height: 40px;
  padding: 2px 20px;
  font-weight: 700;
  letter-spacing: var(--thm-letter-space-big);
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--thm-primary);
}

.reply a:hover {
  background-color: var(--thm-black);
  color: var(--thm-base);
  overflow: hidden;
}

/*Comment Form*/

.comment-form-section {
  padding-bottom: 100px;
}

.comment-form-section form label {
  font-size: 0.938rem;
  display: block;
  margin: 0 0 20px;
  font-weight: 600;
}

.comment-form-section form input,
.comment-form-section form textarea {
  height: 70px;
  width: 100%;
  border: none;
  background: var(--thm-light);
  padding-left: 30px;
  padding-right: 60px;
  margin-bottom: 30px;
  border-radius: 0px;
  font-size: 14px;
  color: var(--thm-gray);
  font-weight: 500;
  display: block;
}

.comment-form-section form textarea {
  height: 140px;
}

.comment-form-section .thm-btn:hover {
  background: var(--thm-black);
  color: var(--thm-base);
}

/*--------------------------------------------------------------*/

/*	Blog Grid
/*--------------------------------------------------------------*/

.blog-grid .blog-head {
  background-color: #0f0d1d87;
  margin-left: 0px;
}

.blog-grid .full-content {
  margin-left: 0px;
  background-color: var(--thm-black);
}

.blog-grid .entry-content {
  color: var(--thm-base);
}

.blog-grid .entry-content a {
  color: var(--thm-base);
}

