/* blog page  */
.blog-card {
    transition: 0.5s;
    border: 1px solid #eee;
    border-radius: 10px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-thumbnail {
    height: 200px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category .badge {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Custom CSS for Blog Detail Page */
.blog_details_page body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.blog_details_page .blog-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.blog_details_page .blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog_details_page .category-tag {
    background: var(--secondary);
    color: #000;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.blog_details_page .publish-date {
       background: var(--secondary);
    font-size: 14px;
    padding: 10px;
    border-radius: 100px;
    padding: 10px 20px;
    color: #000;
    font-weight: 500;
}

.blog_details_page .blog-title {
    color:var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog_details_page .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog_details_page .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.blog_details_page .author-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
}

.blog_details_page .author-title {
   color: #343434;
    font-size: 14px;
}

.blog_details_page .featured-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* margin-bottom: 100px !important; */
}

.blog_details_page .featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}


.blog_details_page .image-actions {
    position: absolute;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    gap: 40px;
    top: calc(100% + 4%);
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 5%);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    flex-wrap: wrap;
}

.blog_details_page .action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog_details_page .action-btn:hover {
    background: white;
    color:var(--primary-color);
    transform: translateY(-2px);
}

.blog_details_page .article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.blog_details_page .intro-paragraph {
    font-size: 18px;
    margin-bottom: 1.5rem;
}

.blog_details_page .drop-cap {
    float: left;
    font-size: 4rem;
    line-height: 3rem;
    padding-right: 8px;
    padding-top: 4px;
    color:var(--primary-color);
    font-weight: 700;
}

.blog_details_page .section-heading {
    color:var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.blog_details_page .quote-block {
    background: #f8fafc;
    border-left: 4px solidvar(--primary-color);
    padding: 20px 24px;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.blog_details_page .quote-block p {
    margin: 0;
    font-size: 16px;
}

.blog_details_page .benefits-list {
    padding-left: 0;
    list-style: none;
}

.blog_details_page .benefits-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #374151;
}

.blog_details_page .benefits-list li::before {
    content: "•";
    color:var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.blog_details_page .share-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.blog_details_page .share-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.blog_details_page .social-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog_details_page .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 18px;
}

.blog_details_page .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog_details_page .facebook { background: #1877f2; }
.blog_details_page .twitter { background: #1da1f2; }
.blog_details_page .linkedin { background: #0077b5; }
.blog_details_page .whatsapp { background: #25d366; }
.blog_details_page .email { background: #ea4335; }

@media (max-width: 768px) {
    .blog_details_page .blog-card {
        padding: 24px;
        /* margin: 0 16px; */
    }

    .blog_details_page .blog-title {
        font-size: 2rem;
    }

    .blog_details_page .featured-image {
        height: 250px;
    }

    .blog_details_page .drop-cap {
        font-size: 3rem;
        line-height: 2.5rem;
    }
}

@media (max-width: 576px) {
    .blog_details_page .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .blog_details_page .social-buttons {
        justify-content: center;
    }
}



/* Author Details */

.author-details {
    padding: 2rem 2rem;
    border-radius: 1.5rem;
    background-color: #fff;
    border: 0.1rem solid rgba(189, 189, 189, 0.2);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;  
}

.author-details .media {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.author-details .media .auth-mata {
    -ms-flex-item-align: start;
    align-self: flex-start;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    -ms-flex-positive: 0;
    flex-grow: 0;
    margin-right: 3rem;
    margin-top: 0;
}

.author-details .media .auth-mata img {
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.08);
    width: 10rem;
    height: 10rem;
}

.author-details .media .media-body {
    flex: 1;
}

.author-details .media .media-body .title {
    letter-spacing: 0.025rem;
    vertical-align: baseline;
}

.author-details .media .media-body a {
    text-decoration: none;
    color:var(--primary-color);
}

.author-details .media .media-body a:hover,
.author-details .media .media-body a:focus {
    color:var(--primary-color);
}

.author-details .media .media-body .title+p {
    margin-bottom: 0;
    margin-top: 0.8rem;
}



/* Comment & Form */

.comments-area {
    margin-top: 8rem;
}

.single-comments-title, .comments-title {
    margin-bottom: 3rem;
    text-align: left;
}

.comments-title h3 {
    font-size: 3.4rem;
}

.comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
    /* margin: 30px 0; */
}

.comments-area li {
    list-style: none;
}

.comments-area .comment-body {
    position: relative;
    padding: 3rem 3rem 3rem 16.5rem;
    min-height: 12rem;
    word-wrap: break-word;
    border-radius: 1.5rem;
    z-index: 0;
    margin-bottom: 6rem;
}

.comments-area .comment-body:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: calc(100% - 120px);
    z-index: -1;
    border-radius: inherit;
}

.comment-list .comment .comment-body:before {
    background-color: var(--dt-gray2-color);
}

.comments-area .comment-meta .comment-awaiting-moderation {
    display: block;
    width: 100%;
    clear: both;
}

.comments-area .comment-meta .comment-author {
    font-size: 1.6rem;
}

.comments-area .comment-meta .comment-author .fn {
    font-weight: 700;
}

.comment-meta .comment-metadata > a,
.comments-area .comment-meta .comment-author a {
    text-decoration: none;
    color: var(--dt-sec-color);
}

.comment-meta .comment-metadata > a:hover,
.comment-meta .comment-metadata > a:focus,
.comments-area .comment-meta .comment-author a:hover,
.comments-area .comment-meta .comment-author a:focus {
    color: var(--dt-pri-color);
}

.comments-area .comment-meta .comment-author img {
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0.6rem;
    width: 9rem;
    border-radius: 10rem;
}

.comments-area .comment-meta .comment-author,
.comment-meta .comment-metadata {
    line-height: 1.5;
    font-size: 1.8rem;
    display: inline-block;
}

.comment-content {
    position: relative;
    z-index: 0;
    padding: 1.6rem 0;
    line-height: 1.5; 
}

.comment-content p {
    margin-bottom: 0;
}

.comment-body .reply a, .comment-body .edit a {
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.comment-body .reply a:not(:hover, :focus),
.comment-body .edit a:not(:hover, :focus) {
    text-decoration: none;
}

.comment-list .comment .children .comment-body:before {
    border: 0.1rem solid rgba(189, 189, 189, 0.2);
    background-color: transparent;
}

.comment-reply-title {
    font-size: 2rem;
}

.comment-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

.comment-form > p.comment-notes {
    flex-basis: 100%;
    width: 100%;
}

.comment-form > p:not(.comment-notes):not(.comment-form-comment):not(.comment-form-cookies-consent):not(.form-submit) {
    flex: auto;
}

/*.comment-form > p:nth-child(2n+1):not(.comment-notes):not(.comment-form-comment):not(.comment-form-cookies-consent):not(.form-submit) {
    margin-right: 3rem;
}

.comment-form p.comment-form-url:not(.comment-notes):not(.comment-form-comment):not(.comment-form-cookies-consent):not(.form-submit) {
    margin-right: 0;
}*/

@media (max-width: 61.938em) {
    .comment-form > p:nth-child(2n+1):not(.comment-notes):not(.comment-form-comment):not(.comment-form-cookies-consent):not(.form-submit),
    .comment-form > p:not(.comment-notes):not(.comment-form-comment):not(.comment-form-cookies-consent):not(.form-submit) {
        max-width: 100%;
        flex-basis: 100%;
        /*margin-right: 0;*/
    }
}

.comment-form-comment {
    max-width: 100%;
    flex-basis: 100%;
}

/*.comment-form > p:not(:last-child) {
    margin-bottom: 3rem;
}*/

.comment-form-cookies-consent, .form-submit {
    width: 100%;
}

.comment-form-cookies-consent label {
    vertical-align: middle;
    margin-left: 0.3rem;
}


.blog-comment-form{
  margin-top: 40px;
  padding: 40px;
  background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
}


.faq-section {
    margin-top: 40px;
  padding: 80px;
  
   background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
}

.faq-section .faq-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.faq-section .accordion-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  margin-bottom: 20px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-section .accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), #00cec2);
  transition: height 0.3s ease;
}

.faq-section .accordion-item:hover {
  transform: translateY(-3px);
}

.faq-section .accordion-button {
  background-color: transparent;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  color: #333;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-section .accordion-button i {
 color: #ffffff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.faq-section .accordion-button::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f078"; /* caret down */
  font-size: 0.95rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  background-image: none !important;
}

.faq-section .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.faq-section .accordion-body {
  padding: 1rem 1.5rem 1.5rem;
  background-color: #ffffff;
  border-top: 1px solid #eee;
  color: #555;
  font-size: 0.98rem;
}

@media (max-width: 576px) {
  .faq-section .faq-title {
    font-size: 2rem;
  }

  .faq-section .accordion-button {
    font-size: 1rem;
  }
}


.pagination-wrapper .pagination {
  gap: 8px;
}

.pagination-wrapper .page-item .page-link {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  background-color: #fff;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-item .page-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 156, 148, 0.2);
}
.pagination-wrapper .page-item .page-link:focus-within {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 156, 148, 0.2);
  outline: none;
}

.pagination-wrapper .page-item.active .page-link {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 156, 148, 0.3);
}


.article-content img{
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .author-details .media {
        flex-direction: column;
        justify-content: center;
        margin: auto;
        text-align: center;
    }
    .faq-section{
        padding: 20px;
    }
    .faq-section .faq-title
{
    font-size: 1.5rem;
}
}
@media (max-width: 768px) {
    .author-details .media .auth-mata {
        margin: auto;
        margin-bottom: 30px;
    }
    .dt_post_top_meta_list{
        width: 100%;
    flex-direction: row;
    gap: 17px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    margin: 20px 0;border-top: 0.4rem solid var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 10%);
    }
}

.dt_post_top_meta_list{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 0.4rem solid var(--primary-color);
}

/* Custom scrollbar for light theme */
.comment-box {
    height: 381px;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #cfd8dc #f5f5f5;
    padding-right: 10px;
}

/* Webkit scrollbar styles */
.comment-box::-webkit-scrollbar {
    width: 8px;
    background: #f5f5f5;
    border-radius: 8px;
}
.comment-box::-webkit-scrollbar-thumb {
    background: #cfd8dc;
    border-radius: 8px;
}
.comment-box::-webkit-scrollbar-thumb:hover {
    background: #b0bec5;
}
.comment-box::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 8px;
}

@media (max-width:1200px) and (min-width:768px) {
  .blog-image {
        height: 360px;
    }
    .blog-meta{
        position: unset;
    }
}
.comment{
        background: #fff;
    border-radius: 20px;
    padding: 30px 35px;
    margin-bottom: 25px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: transform 0.3s ease;
    cursor: pointer;
}


.related-blog-section .related-blogs {
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  margin: 50px 0;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

}

.related-blog-section .related-blogs .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  border-left: 4px solid #6a1b9a;
  padding-left: 12px;
}

.related-blog-section .blog-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 10%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* margin-bottom: 30px; */
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.related-blog-section .blog-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.related-blog-section .blog-box img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.related-blog-section .blog-box a {
  display: block;
  padding: 15px;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-blog-section .blog-box a:hover {
  color: #6a1b9a;
}

/* Responsive fix */
@media (max-width: 767px) {
  .related-blog-section .blog-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .related-blog-section .blog-box img {
    width: 100%;
    height: auto;
  }

  .related-blog-section .blog-box a {
    padding: 15px 10px;
  }
}
