/*** 
=============================================
    Blog Style1 Area Css
=============================================
***/
.blog-style1-area {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 120px 0 80px;
  z-index: 100;
}

.single-blog-style1 {
  position: relative;
  display: block;

  margin-bottom: 40px;
  transform: translate3d(0px, 0px, 0px);
  transition: all 0.1s ease-in-out 0.3s;
}

.single-blog-style1:hover {
  transform: translateY(-5px);
  transition: all 0.2s ease-in-out 0.3s;
}

/* 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 */
/* ==========================================
   Blog Details Image
========================================== */

.blog-details-content .single-blog-style1 .img-holder {
  position: relative;
  width: 100%;
  height: 450px; /* Fixed Height */
  overflow: hidden;
  border-radius: 5px;
}

.blog-details-content .single-blog-style1 .img-holder .inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #f5f5f5;
}

.blog-details-content .single-blog-style1 .img-holder .inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
}

.blog-details-content .single-blog-style1:hover .img-holder .inner img {
  transform: scale(1.08);
}

/* Responsive */

@media (max-width: 991px) {
  .blog-details-content .single-blog-style1 .img-holder {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .blog-details-content .single-blog-style1 .img-holder {
    height: 250px;
  }
}
/* ?1111111111111111111111111111111111111111222222222222222222222222222222222222222222222222 */

.single-blog-style1:hover .img-holder img {
  opacity: 0.7;
  transform: scale(1.1) rotate(1deg);
}

.single-blog-style1 .img-holder .date-box {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 5px;
  text-transform: capitalize;
  text-align: center;
  z-index: 2;
  padding: 14px 0;
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.single-blog-style1:hover .img-holder .date-box {
  background-color: var(--thm-black);
  box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.02);
}

.single-blog-style1 .img-holder .date-box h6 {
  color: var(--thm-black);
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--thm-font);
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.single-blog-style1:hover .img-holder .date-box h6 {
  color: #ffffff;
}

.single-blog-style1 .text-holder {
  position: relative;
  display: block;
  margin-top: -30px;
  margin-left: 20px;
  margin-right: 20px;
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.05);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: all 500ms linear;
  transition-delay: 0.1s;
  z-index: 3;
}

.single-blog-style1:hover .text-holder {
  box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.2);
  transition: all 0.3s ease-in-out 0.1s;
}

.single-blog-style1 .text-holder .text-inner {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 34px 30px 32px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.single-blog-style1 .text-holder .meta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
}

.single-blog-style1 .text-holder .meta-box .meta-info {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 20px;
}

.single-blog-style1 .text-holder .meta-box .meta-info li {
  position: relative;
  display: inline-block;
  line-height: 20px;
  margin-right: 15px;
}

.single-blog-style1 .text-holder .meta-box .meta-info li:last-child {
  margin-right: 0;
}

.single-blog-style1 .text-holder .meta-box .meta-info li a {
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  transition: all 500ms ease;
}

.single-blog-style1 .text-holder .meta-box .meta-info li a:hover {
  color: var(--thm-black);
}

.single-blog-style1 .text-holder .blog-title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  text-transform: capitalize;
}

.single-blog-style1 .text-holder .blog-title a {
  color: var(--thm-black);
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.single-blog-style1 .text-holder .blog-title a:hover {
  color: var(--thm-base);
}

.single-blog-style1-btn {
  position: relative;
  display: block;
}

.single-blog-style1-btn a {
  position: relative;
  display: block;
  background: #edf3f2;
  color: var(--thm-black);
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.single-blog-style1-btn a span:before {
  position: relative;
  display: inline-block;
  top: 2px;
}

.single-blog-style1:hover .single-blog-style1-btn a {
  color: #ffffff;
  background: var(--thm-base);
}

/*** 
=============================================
    Blog Style2 Area Css
=============================================
***/
.blog-style2-area {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 120px 0 80px;
  z-index: 1;
}

.blog-style2-area__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 580px;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-color: var(--thm-black);
  background-blend-mode: luminosity;
  z-index: -1;
}

.blog-style2-area__bg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #1d2f38;
  opacity: 0.95;
}

.blog-style2-area .sec-title h2 {
  color: #ffffff;
}

/*** 
=============================================
    Blog Page Css
=============================================
***/
.blog-page {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 120px 0 120px;
}

/*** 
=============================================
    Blog Page One Css
=============================================
***/

.single-blog-style1--instyle2 .text-holder {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  box-shadow: none;
  padding-top: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.single-blog-style1--instyle2:hover .text-holder {
  box-shadow: none;
}

.single-blog-style1--instyle2 .text-holder .meta-box {
  justify-content: flex-start;
  margin-bottom: 8px;
}

.single-blog-style1--instyle2 .text-holder .blog-title {
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
}

.single-blog-style1--instyle2 .text-holder .text-inner {
  padding: 34px 0px 0;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.single-blog-style1--instyle2 .text-holder .text-inner .text {
  position: relative;
  display: block;
  padding-top: 21px;
  padding-bottom: 19px;
}

.single-blog-style1--instyle2 .text-holder .text-inner .text p {
  margin: 0;
}

.single-blog-style1--instyle2 .single-blog-style1-btn a {
  background: rgba(var(--thm-black-rgb), 0.03);
  color: var(--thm-black);
  font-size: 30px;
  line-height: 50px;
  border-radius: 5px;
  width: 70px;
}

.load-more-blog-post-button {
  position: relative;
  display: block;
  line-height: 0;
}

/*** 
=============================================
    Blog Details Css
=============================================
***/
.blog-details-content {
  position: relative;
  display: block;
}

.blog-details-content .single-blog-style1 {
  margin: 0;
}

.blog-details-content .single-blog-style1:hover {
  transform: translateY(0px);
}

.blog-details-content .single-blog-style1 .img-holder .inner::before {
  display: none;
}

.blog-details-content
  .single-blog-style1--instyle2
  .text-holder
  .text-inner
  .text
  p
  + P {
  margin-top: 29px;
}

.tag-social-share-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 40px;
  margin-bottom: 30px;
  border-top: 1px solid #d4dcdb;
}

.tag-box {
  position: relative;
  display: block;
}

.tag-box .title {
  width: 65px;
}

.tag-box .title,
.tag-box .tag-list {
  display: table-cell;
  vertical-align: middle;
}

.tag-box .title h3 {
  color: #1d2f38;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

.tag-box .tag-list li {
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 10px;
}

.tag-box .tag-list li:last-child {
  margin-right: 0;
}

.tag-box .tag-list li a {
  position: relative;
  display: block;
  padding: 5px 20px;
  background: var(--thm-base);
  border-radius: 5px;
  color: #fefefe;
  font-size: 12px;
  line-height: 30px;
  font-weight: 700;
  font-family: var(--thm-font);
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.tag-social-share-box .post-social-share {
  position: relative;
  display: block;
}

.post-social-share-links {
  position: relative;
  display: block;
}

.post-social-share-links ul {
  position: relative;
}

.post-social-share-links ul li {
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 10px;
}

.post-social-share-links ul li:last-child {
  margin-right: 0;
}

.post-social-share-links ul li a {
  position: relative;
  display: block;
  width: 45px;
  height: 45px;
  background: #edf3f2;
  border-radius: 50%;
  color: #1d2f38;
  font-size: 14px;
  line-height: 45px;
  text-align: center;
  transition: all 500ms ease;
  z-index: 1;
}

.post-social-share-links ul li a:before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--thm-base);
  content: "";
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.post-social-share-links ul li a:hover:before {
  transform: scaleX(1);
}

.post-social-share-links ul li a:hover {
  color: #ffffff;
}

.blog-details-author {
  position: relative;
  display: block;
  background: #edf3f2;
  padding: 60px 60px 60px;
  border-radius: 5px;
}

.blog-details-author .inner-box {
  position: relative;
  display: block;
}

.blog-details-author .inner-box .img-box {
  width: 160px;
}

.blog-details-author .inner-box .img-box img {
  width: 100%;
  border-radius: 50%;
}

.blog-details-author .inner-box .img-box,
.blog-details-author .inner-box .text {
  display: table-cell;
  vertical-align: middle;
}

.blog-details-author .inner-box .text {
  position: relative;
  padding-left: 50px;
}

.blog-details-author .inner-box .text h3 {
  color: #1d2f38;
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  margin-bottom: 24px;
}

.blog-details-author .inner-box .text p {
  color: #6b767b;
  margin: 0;
}

/*** 
=============================================
   comments Box Css
=============================================
***/
.comment-box {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 76px;
}

.comment-box .inner-title {
  position: relative;
  display: block;
  padding-bottom: 24px;
}

.comment-box .inner-title h2 {
  font-size: 30px;
  line-height: 30px;
  font-weight: 400;
}

.comment-box .outer-box {
  position: relative;
  display: block;
}

.comment-box .single-comment {
  position: relative;
  display: block;
  border-bottom: 1px solid #d4dcdb;
  padding-bottom: 50px;
  margin-bottom: 48px;
}

.comment-box .single-comment-box {
  position: relative;
  display: block;
  padding-left: 145px;
  min-height: 145px;
}

.comment-box .single-comment-box .img-holder {
  position: absolute;
  left: 0;
  top: 12px;
  width: 145px;
  height: 145px;
  overflow: hidden;
  border-radius: 5px;
}

.comment-box .single-comment-box .img-holder img {
  width: 100%;
  height: 145vh;
  border: solid red 3px;
}

.comment-box .single-comment-box .text-holder {
  position: relative;
  display: block;
  padding-left: 35px;
  min-height: 145px;
}

.comment-box .single-comment-box .text-holder .top {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.comment-box .single-comment-box .text-holder .top .name {
  position: relative;
  display: block;
}

.comment-box .single-comment-box .text-holder .top .name h3 {
  color: var(--thm-black);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

.comment-box .single-comment-box .text-holder .top .name h3 span {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--thm-font);
}

.comment-box .single-comment-box .text-holder .top .name h3 span:before {
  position: relative;
  display: inline-block;
  padding-right: 4px;
  line-height: 12px;
  top: 1px;
  font-size: 12px;
}

.comment-box .single-comment-box .text-holder .top .reply {
  position: relative;
  display: block;
}

.comment-box .single-comment-box .text-holder .top .reply a {
  position: relative;
  display: inline-block;
  background: var(--thm-base);
  padding: 10px 20px 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-transform: capitalize;
  border-radius: 5px;
  font-family: var(--thm-font);
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.comment-box .single-comment-box .text-holder .top .reply a:hover {
  color: #ffffff;
  background-color: var(--thm-black);
}

.comment-box .single-comment-box .text-holder .text {
  position: relative;
  display: block;
  padding-top: 30px;
}

.comment-box .single-comment-box .text-holder .text p {
  margin: 0;
}

.add-comment-box {
  position: relative;
  display: block;
  margin-top: 7px;
}

.add-comment-box .inner-title {
  position: relative;
  display: block;
  padding-bottom: 36px;
}

.add-comment-box .inner-title h2 {
  font-size: 30px;
  line-height: 30px;
  font-weight: 400;
}

.add-comment-box #add-comment-form {
  position: relative;
  display: block;
}

.add-comment-box #add-comment-form .input-box {
  position: relative;
  display: block;
  margin-bottom: 20px;
}

.add-comment-box #add-comment-form input[type="text"],
.add-comment-box #add-comment-form input[type="email"],
.add-comment-box #add-comment-form textarea {
  position: relative;
  display: block;
  background: #edf3f2;
  border: 0px solid #edf3f2;
  width: 100%;
  height: 75px;
  color: var(--thm-gray);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  padding: 0 30px;
  border-radius: 5px;
  transition: all 500ms ease;
  font-family: var(--thm-font);
}

.add-comment-box #add-comment-form textarea {
  height: 175px;
  padding: 15px 30px;
}

.add-comment-box #add-comment-form input[type="text"]:focus {
  border-color: var(--thm-base);
}

.add-comment-box #add-comment-form input[type="email"]:focus {
  border-color: var(--thm-base);
}

.add-comment-box #add-comment-form textarea:focus {
  border-color: var(--thm-base);
}

.add-comment-box #add-comment-form .button-box {
  position: relative;
  display: block;
  padding-top: 0px;
  line-height: 0;
}

.add-comment-box #add-comment-form .button-box button {
  padding-left: 50px;
  padding-right: 50px;
}

/*====================================================
    Blog Listing Image Fixed Height
====================================================*/

.single-blog-style1 .img-holder {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 5px;
}

.single-blog-style1 .img-holder .inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #f5f5f5;
}

.single-blog-style1 .img-holder .inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
  border-radius: 10px;
  border: solid 2px var(--thm-base);
}

.single-blog-style1:hover .img-holder .inner img {
  transform: scale(1.08);
}

.single-blog-style1:hover .img-holder .inner {
  border: solid 2px var(--thm-base);
}

/*=============================
    Blog Details Image
==============================*/

.blog-details-content .single-blog-style1 .img-holder {
  height: 450px;
}

.blog-details-content .single-blog-style1 .img-holder .inner {
  width: 100%;
  height: 100%;
}

.blog-details-content .single-blog-style1 .img-holder .inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/*=============================
        Responsive
==============================*/

@media (max-width: 991px) {
  .single-blog-style1 .img-holder {
    height: 240px;
  }

  .blog-details-content .single-blog-style1 .img-holder {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .single-blog-style1 .img-holder {
    height: 220px;
  }

  .blog-details-content .single-blog-style1 .img-holder {
    height: 250px;
  }
}

.sidebar-blog-post {
  width: 100%;
  background: #e0e0e0a9;
  margin: 20px 0px;
  padding: 20px;
  overflow: hidden;
  border-radius: 5px;
}

.sidebar-blog-post .img-box {
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 5px;
}

.sidebar-blog-post .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Blog title - Maximum 2 lines */
.single-blog-style1 .text-holder .blog-title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--thm-black);

  min-height: 64px; /* 32px × 2 lines */
}

/* Blog title - Maximum 2 lines */
.single-blog-style1 .text-holder .blog-title:hover {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--thm-base);
  min-height: 64px; /* 32px × 2 lines */
}
