/* Skeleton loader style */
.skeleton-card {
  background: linear-gradient(90deg, #f2f2f2 25%, #e0e0e0 50%, #f2f2f2 75%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  border-radius: 8px;
  overflow: hidden;
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Skeleton layout */
.skeleton-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 10px;
}

.skeleton-thumb {
  height: 180px;
}

.skeleton-title {
  height: 20px;
  width: 80%;
}

.skeleton-line {
  height: 14px;
  width: 100%;
}

.skeleton-meta {
  height: 14px;
  width: 60%;
}

.ajax-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.498);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, .1);
    border-top-color: #E54253;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: none;
    }
}

#ajax-pagination {
    margin: 20px 0;
}

/* Category items as buttons */
.category-list .cat-item {
    color: #7E7E7E;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.category-list .cat-item:hover {
    background: #E54253;
    color: #f2f2f2;
}

.category-list .cat-item.is-active {
    background: #E54253;
    color: #f2f2f2;
}

/* Pagination styles */
#ajax-pagination .nav-links {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: center;
}

#ajax-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .6rem;
    color: #7E7E7E;
    border: 1px solid #e5e7eb;
    border-radius: .375rem;
    text-decoration: none;
    transition: all .15s ease;
}

#ajax-pagination a:hover {
    background: #f3f4f6;
}

#ajax-pagination a.current {
    background: #E54253;
    border-color: #E54253;
    color: #fff;
    pointer-events: none;
}

/* Optional: Prev/Next styles */
#ajax-pagination a.prev,
#ajax-pagination a.next {
    font-weight: 600;
}
.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    list-style: none;
    margin: 0px;
    padding: 0;
    
}
h1.archive-title {
    margin-bottom: 20px;
}
.category-list li {
    margin-right: 20px;
    font-size: 18px;
    background: #F2F2F2;
    padding: 3px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.category-list li:hover {
    background: #E54253;
}

.category-list li.active {
    background: #E54253;
}

.category-list li a {
    color: #7E7E7E;
    text-decoration: none;
    font-size: 15px;
}

.category-list li.active a {
    color: #fff;
}

.category-list li:hover a {
    color: #fff;
}

/* Posts Grid */

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.grid-item {
    background-color: #fff;
    border-radius: 5px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.grid-item .featured-image {
    margin-bottom: 20px;
}

.grid-item .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.grid-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #161618;
    line-height: 1.3em;
}

.grid-item h2 a {
    color: #161618;
}

.grid-item .tags {
    margin-bottom: 10px;
}

.grid-item .tags a {
    display: inline-block;
    background-color: #F2F2F2;
    color: #E54253;
    font-size: 11px;
    padding: 3px 15px 1px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.grid-item .tags a:hover {
    background-color: #E54253;
    color: #fff;
}

.grid-item .meta {
    font-size: 14px;
    margin-bottom: 10px;
    color: #7E7E7E;
}

.grid-item .meta .date {
    margin-right: 10px;
}

.grid-item .meta .views {
    font-weight: bold;
}

.grid-item p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #3E3E3E;
    font-weight: 300;
}

.read-more-btn {
    background-color: #E54253;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 10px;
}

.read-more-btn:hover {
    background-color: #D93849;
    color: #fff;
}


/* Single page styles */
.en-post-meta-info {
    text-align: left;
    color: #7E7E7E;
}

.en-post-category-wrap {
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-bottom: 20px;
}

.en-post-category-wrap li {
    list-style: none;
}

.en-post-category-wrap a {
    background-color: #f5f5f5;
    font-weight: 400;
    color: #E54253;
    padding: 7px 16px;
    border-radius: 40px;
    margin-left: 5px;
    transition: all .3s;
    font-size: 14px;
}

.en-post-category-wrap a:hover {
    background-color: #E54253;
    color: #fff;
}

.en-post-title {
    font-size: 30px;
    margin-top: 0;
    font-family: 'Roboto';
    font-weight: 500;
    line-height: 1.7;
    word-wrap: break-word;
    color: #262626;
}

.en-post-meta-date {
    display: inline-block;
    margin-right: 10px;
}

.en-post-meta-comment {
    display: inline-block;
    margin-right: 10px;
}

.en-post-meta-total-views {
    display: inline-block;
    margin-right: 30px;
}

.en-post-meta-total-views .likes {
    margin-left: 10px;
}

.en-post-wrap p {
    font-weight: 300;
    color: #3E3E3E;
    font-size: 18px;
    line-height: 1.85714285714286;
}

.en-post-wrap ul li {
    font-weight: 300;
    color: #3E3E3E;
    font-size: 18px;
    line-height: 1.85714285714286;
}
.en-post-wrap ol li {
    font-weight: 300;
    color: #3E3E3E;
    font-size: 18px;
    line-height: 1.85714285714286;
}

.post-thumbnail img {
    border-radius: 25px;
}

.post-thumbnail-wrap {
    margin: 30px 0 0;
    position: relative;
}

.en-post-wrap blockquote p {
    font-weight: 500;
    padding: 15px 0;
    color: #262626;
}

blockquote {
    position: relative;
    padding-left: 30px;
    text-align: center;
}

blockquote:before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    width: 58px;
    height: 35px;
    background-image: url("assets/img/quote-left-solid.svg");
    background-size: cover;
}

.env-social-share {
    display: inline-block;
}

.en-post-meta-date:before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.en-post-meta-comment:before {
    content: "\f075";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.post-content-wrap {
    margin-top: 10px;
    margin-bottom: 35px;
    padding-bottom: 35px;
}

.post-content-wrap .post-other-meta {
    clear: both;
    margin-top: 40px;
    display: flex;
    align-items: flex-end;
}

.post-content-wrap .single-post-tags {
    flex: 1;
}

.post-meta-tag .tag-title {
    margin-right: 10px;
}

.post-content-wrap .post-meta-tag a {
    display: inline-block;
    margin: 3px 5px 3px 0;
    transition: all .3s;
    background-color: #f8f8f8;
    border-radius: 5px;
    color: #7e7e7e;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.post-content-wrap .post-meta-tag a:hover {
    background-color: #E54253;
    color: #fff;
}
.post-content-wrap .haru-social-share {
    flex: 0 0 50%;
    text-align: right;
}

.env-social-share__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}

.env-social-share__list li {
    display: inline-block;
}

.env-social-share__list li a {
    width: 35px;
    height: 35px;
    line-height: 44px;
    border-radius: 50%;
    color: #000;
    display: block;
    font-size: 18px;
    padding: 0;
    text-align: center;
}

.env-social-share__list li a:hover {
    color: #E54253;
}

.env-social-share__facebook a:before {
    content: '\f39e';
    font-family: "Font Awesome 5 Brands";
}

.env-social-share__twitter a:before {
    content: '\f099';
    font-family: "Font Awesome 5 Brands";
}

.env-social-share__linkedin a:before {
    content: '\f08c';
    font-family: "Font Awesome 5 Brands";
}

.env-social-share__pinterest a:before {
    content: '\f0d2';
    font-family: "Font Awesome 5 Brands";
}

.comments-area textarea#comment,
.comments-area .ast-comment-formwrap input[type="text"] {
    width: 100%;
    vertical-align: middle;
    margin-bottom: 10px;
    border: 1px solid #f5f5f5;
    border-radius: 12px;
    background-color: #f5f5f5;
}

textarea#comment {
    height: 100px;
}

.ast-comment-list li.depth-1 .ast-comment,
.ast-comment-list li.depth-2 .ast-comment {
    border-bottom: none;
}

.ast-comment-meta {
    justify-content: center;
    padding: 0 3.4em 0;
}

.comment p {
    margin-bottom: .25em;
}

.ast-comment-list .children {
    margin-left: 2em;
    padding-left: 1em;
    border-left: 1px solid #eeeeee;
}

.wp-block-tag-cloud a {
    background-color: #f8f8f8;
    border-radius: 5px;
    color: #7e7e7e;
    display: inline-block;
    margin: 6px 6px 0 0;
    padding: 4px 12px;
    font-size: 14px !important;
    font-weight: 600;
    text-transform: capitalize;
    transition: all .3s;
}
.wp-block-tag-cloud a:hover {
    background-color: #E54253;
    color: #fff;
}
/* Custom Breadcumbs for Blog  */
.cusBreadcumbs {
    background-image: url('../images/blog-breadcumbs.png');
    position: absolute;
    padding: 100px;
    left: 0;
    right: 0;
  }
  .cusBreadcumbs h1{
    text-align: center;
    color: #fff;
  }
  .SingleBlog {
    display: flex;
  }
  .blogsSection {
    display: flex;
  }
  .blogsSection #primary {
    margin-top: 300px;
  }
  .blogsSection #secondary {
    margin-top: 300px;
  }
  .blog-container .post-count {
    background: #E54253;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    width: 25px;
    padding: 0px;
    height: auto;
    text-align: center;
    border-radius: 100%;
  }

  @media only screen and (max-width: 820px) {
    .blogsSection {
        display: block;
    }
    .SingleBlog {
        display: block;
    }

    .cusBreadcumbs {
        position: inherit;
        padding: 50px;
        background-position: center;
        background-size: cover;
    }

    .blogsSection #primary {
        margin-top: 30px;
    }

    .blogsSection #secondary {
        margin-top: 30px;
    }

    .skeleton-thumb {
        height: 100px;
    }
}


.ast-comment-formwrap {
    padding: 0 20px;
    display: block;
}

.ast-comment-formwrap .ast-grid-common-col {
    padding: 0;
    width: 100%;
}

.ast-row.comment-textarea {
    margin-left: 0;
    margin-right: 0;
}

#comments .submit, .search .search-submit {
    border-radius: 12px;
}