/*
Theme Name: Efor Child
Theme URI: https://themeforest.net/user/pixelwars/portfolio
Template: efor
Author: Pixelwars
Author URI: https://themeforest.net/user/pixelwars
Description: Coaching &amp; Online Courses WordPress Theme
Tags: education
Version: 8.3.8.1746405044
Updated: 2025-05-05 00:30:44

*/


.blog #main{
  padding: 0 0 70px 0;
}
.blog .entry-header{
  padding: 50px 0 !important;
}

@media screen and  (max-width: 768px) {
  .blog #main{
    padding: 30px 0px;
  }
  .blog .entry-header{
    padding: 10px 0 !important;
  }
  .blog hr{
    display: none;
  }

}

body.single.single-post{
  background-image: none;
}

.blog .layout-medium .blog-sub-heading,
.related-posts .blog-sub-heading{
  text-transform: capitalize;
  margin: 60px 0;
  color: #000000;
}

.blog .blog-title h3{
  color: #000000;
}
.blog .layout-medium .blog-sub-heading span,
.related-posts .blog-sub-heading span{
  color: #daa520;
}

.blog .layout-medium .blog-stream .featured-image img{
  border-radius: 10px 10px 0px 0px;
}

.blog .site-header {
  margin-top: 0 !important;
}

.blog .entry-title {
    margin-bottom: 20px;
}

.blog article .hentry-wrap,
.related-posts article .hentry-wrap{
    background: #F5F5F5;
    border-radius: 10px;
}
.blog article .hentry-wrap img,
.related-posts article .hentry-wrap img{
    border-radius: 10px 10px 0 0;
    min-height: 300px;
    max-height: 300px;
    height: 100%;
    width: 100%;
}

.blog article .entry-meta .vcard.author a,
.related-posts article .entry-meta .vcard.author a{
    font-weight: 800;
    margin-right: 5px;
}

.blog article .entry-meta > span{
    margin-right: 5px;
}

.blog article.is-cat-link-line-before .hentry-wrap .hentry-middle .entry-content p{
    display: none;
}
.blog article.is-cat-link-line-before .hentry-wrap .hentry-middle .entry-content p.more{
    display: block;
}

.blog article.is-cat-link-line-before .hentry-wrap .hentry-middle .entry-content p.more {
    text-align: right !important;
}


.more-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px;
  text-decoration: none;
  overflow: hidden;
  /* transition: all 0.3s ease; */
  border: none !important;
  max-width: 45px;
}

.more-link .text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  /* transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease; */
  margin-left: 0;
  font-family: 'Now', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-transform: capitalize;
}

.more-link:hover {
  max-width: 200px;
  padding-right: 20px;
  padding-left: 0px;
}

.more-link:hover .text {
  max-width: 200px;
  opacity: 1;
  color: #ffffff;
}

.more-link:hover {
    background: #1E448B;
    color: #ffffff;
    border-color: transparent;
}

.more-link .main-icon svg,
.more-link .text svg{
    width: 25px;
    height: 25px;
}

.more-link .main-icon{
    display: block !important;
}

.more-link .main-icon:hover {
    max-width: 0px;
    padding-right: 0px;
    margin-left: 0px;
    display: none !important;
}
.more-link .main-icon svg:hover{
    width: 0;
    height: 0;
}


.blog-title {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.blog-title-column {
  flex: 1;
}

.blog-newsletter,
.cnewsletter{
  padding: 30px;
  background-color: #f1f1f1;
  border-radius: 8px;
}

.cnewsletter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cnewsletter-title {
  margin: 0;
  font-size: 20px;
  flex: 1;
  min-width: 200px;
  color: #000000;
}

.cnewsletter-wrapper {
  display: flex;
  border: 1px solid #cccccc;
  border-radius: 999px;
  overflow: hidden;
  box-sizing: border-box;
  height: 48px;
  flex: 1;
  max-width: 100%;
  min-width: 260px;
}

.blog-newsletter-wrapper {
  margin-top: 20px;
  display: flex;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 999px;
  overflow: hidden;
  box-sizing: border-box;  
  height: 48px; 
}

.blog-newsletter-wrapper input[type="email"],
.cnewsletter-wrapper input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 16px;
    font-family: 'Now', sans-serif;
    font-size: 16px;
    height: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.blog-newsletter-wrapper input[type="email"]:focus,
.cnewsletter-wrapper input[type="email"]:focus {
  border: none;
}

.blog-newsletter-wrapper .submit-btn,
.cnewsletter-wrapper .submit-btn {
    background-color: #1e448b;
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
    font-family: 'Now', sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    border-left: 1px solid #cccccc;
}

.blog-newsletter-wrapper .submit-btn:hover {
    background-color: #223b82;
}



.submit-arrow-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    /* margin-right: -20px; */
}

@media screen and (min-width: 768px) {
    .blog-newsletter-wrapper .input-text,
    .cnewsletter-wrapper .input-text {
        max-width: 100%;
    }
}
@media screen and  (max-width: 768px) {
  .cnewsletter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cnewsletter-title,
  .cnewsletter-wrapper {
    width: 100%;
  }

  .cnewsletter-title {
    text-align: center;
  }
}

/* filter */
.blog-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin: 20px 0;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-item label {
    font-size: 14px;
    color: #333333;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 0;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper select,
.input-wrapper input {
    width: 100%;
    max-width: 100%;
    padding: 15px 40px 15px 12px;
    font-size: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-sizing: border-box;
    appearance: none;
}

.input-wrapper .icon {
  position: absolute;
  right: 12px;
  font-size: 16px;
  color: #666666;
  pointer-events: none;
}

/* filter */


/* featured */

.blog-layout-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.blog-img-box{
  width: 100%;
  height: 100%;
  max-height: 300px;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.blog-text-wrap {
  padding: 25px 35px;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
    justify-content: flex-start;
}

.blog-info-bar {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

.blog-dot-sep {
  margin: 0 6px;
}

.blog-heading-text {
  font-size: 48px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 14px;
}

.blog-summary-para {
  font-size: 16px;
  line-height: 1.5;
  color: #444444;
  margin-bottom: 26px;
}

.blog-btn-align {
  display: flex;
  justify-content: flex-end;
}

.blog-action-btn {
  background-color: #1E448B;
  color: #ffffff;
  text-decoration: none;
  padding: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-family: 'Now', sans-serif;
  font-size: 14px;
  /* transition: background 0.3s ease; */
}

.blog-btn-chevron {
  margin-left: 8px;
  font-size: 16px;
}

.blog-action-btn .read-more-text {
  display: none;
  color: #ffffff;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .blog-action-btn:hover{
    padding: 8px 15px;
  }
  .blog-action-btn:hover .read-more-text {
    display: inline;
  }
  .blog-action-btn:hover .submit-arrow-icon {
    margin-right: -10px;
  }
}

@media (max-width: 767px) {
  .read-more-text {
    display: inline !important;
  }
  .blog-action-btn { 
    padding: 8px 15px;
  }
}


/* featured */



/* blog pagination */


.filtered-pagination {
  width: 100%;
  position: relative;
  text-align: right;
  padding: 20px;
  margin-bottom: 30px;
  margin-top: -25px;
}

.filtered-pagination .pagination-links{
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 15px;
    background: #F5F5F5;
    border-radius: 50px;
    padding: 5px 10px;
}

.filtered-pagination a {
    font-size: 24px;
    text-decoration: none;
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.filtered-pagination a.active {
    font-weight: bold;
    color: #000000;
}

.filtered-pagination a.pagination-arrow {
    background-color: #fff8ec;
    color: #111111;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
}

.filtered-pagination a:hover {
    background-color: #e6e6e6;
}




.blog-grid-layout .filtered-posts-wrap,
.related-posts .filtered-posts-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
  gap: 30px;
  padding: 0 16px;
  box-sizing: border-box;
}
.related-posts .filtered-posts-wrap {
  padding: 0;
}

.blog-grid-layout .filtered-posts-wrap article,
.related-posts .filtered-posts-wrap article {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.blog-grid-layout .filtered-posts-wrap img,
.related-posts .filtered-posts-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.blog-grid-layout .hentry-middle,
.related-posts .filtered-posts-wrap .hentry-middle{
  padding: 0 25px;
}

.blog-grid-layout .entry-header,
.related-posts .filtered-posts-wrap .entry-header {
  padding: 25px 0px;
}

.blog-grid-layout .entry-title,
.related-posts .filtered-posts-wrap .entry-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.blog-grid-layout .blog-btn-align,
.related-posts .filtered-posts-wrap .blog-btn-align{
  padding: 0 15px 15px;
}


@media (max-width: 1024px) {
  .blog-grid-layout .filtered-posts-wrap,
  .related-posts .filtered-posts-wrap {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }

}
@media (max-width: 767px) {
  .blog-btn-align{
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .blog-grid-layout .filtered-posts-wrap,
  .related-posts .filtered-posts-wrap {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }

  .related-posts .filtered-posts-wrap .blog-btn-align{
    padding: 0;
    justify-content: flex-start;
  }
}



/* blog pagination */


/* blog single page */

.custom-overlay-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 35px;
  background: #F5F5F5;
  position: relative;
  z-index: 10;
  border-radius: 10px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
}

.cleft-column {
  flex: 1 1 60%;
  padding: 20px;
  border-right: 1px solid #cccccc;
}

.cleft-column .post-title {
  font-size: 2rem;
  margin: 0 0 8px;
  text-transform: capitalize;
  color: #000000;
}

.cleft-column .post-date,
.cleft-column .post-category {
  margin: 10px 0;
  font-size: 0.95rem;
}

.cleft-column .post-date {
  color: #1A252A;
  font-weight: 300;
}

.cleft-column .post-category {
  color: #C29D2E;
  font-weight: 500;
}

.cright-column {
  flex: 1 1 35%;
  padding: 20px;
  text-align: left;
  margin-left: 0;
}

.written-by {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1rem;
}

.cauthor-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cauthor-info img {
  border-radius: 50%;
  margin-right: 10px;
}

.cauthor-name {
  font-size: 1rem;
  font-weight: 500;
}

.single.single-post .post-header-overlay .entry-header, .overlay-post .entry-header{
  top: 100%;
}

.single.single-post #main.site-main{
  margin-top: 160px;
}

.single.single-post #main.site-main .entry-content{
  padding: 0 150px;
}

.is-header-float .is-top-content-single-full.top-content-single .post-wrap {
    padding-top: 25%;
}

@media (max-width: 1400px) {
  .is-header-float .is-top-content-single-full.top-content-single .post-wrap {
      padding-top: 30%;
  }
  .single.single-post #main.site-main{
    margin-top: 160px;
  }
}

/* @media (max-width: 1130px) {
  
} */

@media (max-width: 992px) {
  /* .is-header-float .is-top-content-single-full.top-content-single .post-wrap {
      padding-top: 30%;
  } */
  .single.single-post #main.site-main{
    margin-top: 200px;
  }
  .single.single-post #main.site-main .entry-content{
    padding: 0;
  }
}

@media (min-width: 1200px) and (max-width: 1366px) {
  /* .cright-column {
      text-align: center;
    } */
}

@media (min-width: 769px) and (max-width: 1180px) {
    .is-header-float .is-top-content-single-full.top-content-single .post-wrap {
        padding-top: 70%;;
    }

    .custom-overlay-info {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      align-content: center;
      padding: 8px;
      max-width: 100%;
    }
    .cleft-column {
      border-right: none;
      border-bottom: 1px solid #cccccc;
      padding-bottom: 10px;
      margin-bottom: 10px;
      text-align: center;
    }
}

@media (max-width: 768px) {

  .single.single-post .post-header-overlay .entry-header, .overlay-post .entry-header {
      top: 100%;
      width: 90%;
  }
  .is-header-float .is-top-content-single-full.top-content-single .post-wrap {
      padding-top: 100%;
  }
  .single.single-post #main.site-main{
    margin-top: 160px;
  }

  .custom-overlay-info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding: 8px;
    max-width: 100%;
  }

  .cleft-column {
    border-right: none;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-align: center;
  }

  .cright-column {
    padding-top: 0;
    text-align: center;
  }

  .cleft-column .post-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cleft-column .post-title {
    font-size: 1.3rem;
  }

  .cauthor-info {
    flex-direction: row;
    align-items: center;
  }

  .cauthor-info img {
    width: 40px;
    height: 40px;
  }

  .cauthor-name {
    font-size: 0.95rem;
  }

  .written-by {
    font-size: 0.95rem;
  }
}
/* blog single page */


@media screen and (min-width: 768px) {
    .blog hr {
        width: 55%;
        margin: 2em auto 0em auto;
    }
    .blog-grid .hentry {
		  width: 50%; 
      float: left;
		}

}

@media screen and (max-width: 767px) {
    .blog-title {
        flex-direction: column;
    }

    .blog-filters {
        grid-template-columns: 1fr;
    }

    .blog-layout-flex {
        grid-template-columns: 1fr;
    }

    .blog-grid-layout .blog-btn-align {
      justify-content: flex-start;
      padding: 0 0px 15px;
    }
    .blog-grid .hentry {
		  width: 100%; 
      float: left;
		}

    .blog-heading-text{
      font-size: 30px;
    }

    .filtered-pagination{
      margin-top: 0px;
    }
    .filtered-pagination .pagination-links{
        position: unset;
        right: unset;
        bottom: unset;
        padding: 5px 15px;
        width: 50%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1124px) {
  .blog-layout-flex {
    grid-template-columns: 1fr;
  }
}

.about-author {
  background-color: #F5F5F5;
  padding: 35px;
  border-radius: 10px;
}

.about-author .author-info:before{
  content: none;
}
.about-author .author-name{
  color: #000000;
}

.related-posts .related-post-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.related-posts .blog-sub-heading {
  text-align: left;
  font-size: 18px;
}

.related-posts .related-post-link {
  text-align: right;
  font-size: 18px;
  color: #C29D2E;
  text-decoration: underline;
  font-weight: 600;
}
.related-posts .related-post-link span{
  font-size: 20px;
  font-weight: bolder;
  text-decoration: none;
  font-family: 'Now', sans-serif;
}
.related-posts .related-post-link:hover {
  font-weight: 700;
}

#comments{
  display: none;
  visibility: hidden;
}



/* .blog-action-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px;
  text-decoration: none;
  overflow: hidden;
  max-width: 45px;
  background-color: #1e448b;
  color: #ffffff;
  font-family: 'Now', sans-serif;
  font-size: 14px;
  border: none;
  transition: all 0.3s ease;
}

.blog-action-btn .text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.blog-action-btn:hover {
  max-width: 200px;
  padding-right: 20px;
  padding-left: 0;
  background-color: #223b82;
}

.blog-action-btn:hover .text {
  max-width: 200px;
  opacity: 1;
  margin-left: 8px;
}

.blog-action-btn .main-icon svg,
.blog-action-btn .text svg {
  width: 20px;
  height: 20px;
}

.blog-action-btn .main-icon {
  display: block;
}

.blog-action-btn .main-icon:hover {
  display: none;
} */