/* Blog Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #0083CA 0%, #005B99 100%);
    color: #fff;
  
    position: relative;
    overflow: hidden;
}
.blog-hero-full-image {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
}
.blog-hero-content h1 {
    font-size: 2.6rem;
    font-family: 'Manrope', sans-serif;
  font-weight: 700;  
 
    margin-bottom: 15px;
}

.blog-hero-content p {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
  font-weight: 400;            
    max-width: 520px;
}

.blog-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.blog-hero-image {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
   
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 60px 0 50px;
        text-align: left;
    }

    .blog-hero-content h1 {
        font-size: 2.1rem;
    }
}

/* Blog Detail Hero Enhancements */
.blog-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.blog-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.blog-detail-hero .position-relative {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    text-align: center;
    padding: 40px 0;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.blog-hero-meta .blog-meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.difficulty-beginner {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.difficulty-intermediate {
    background: rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}

.difficulty-advanced {
    background: rgba(244, 67, 54, 0.2) !important;
    border-color: rgba(244, 67, 54, 0.3) !important;
}

/* Custom Sections Styles */
.blog-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.blog-section h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Stats Section */
.blog-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Timeline Section */
.blog-timeline-section .timeline {
    position: relative;
    padding: 20px 0;
}

.blog-timeline-section .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 30px 0;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-left .timeline-content {
    margin-right: auto;
}

.timeline-right .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 15px;
    height: 15px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.timeline-left .timeline-content::before {
    right: -47px;
}

.timeline-right .timeline-content::before {
    left: -47px;
}

.timeline-step {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.timeline-time {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.timeline-description {
    color: #666;
    line-height: 1.5;
}

/* FAQ Section */
.blog-faq-section .faq-accordion {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-answer {
    background: #f8f9fa;
    padding: 0 20px;
    border-top: 1px solid #e9ecef;
    display: none;
}

.faq-answer p {
    margin: 20px 0;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.blog-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 50px 30px;
    border-radius: 15px;
    border-left: none;
}

.blog-cta-section h3 {
    color: white;
    margin-bottom: 20px;
}

.blog-cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.blog-cta-section .btn {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 25px;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-cta-section .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Testimonial Section */
.blog-testimonial-section .testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content blockquote {
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.table-of-contents h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.table-of-contents a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.toc-level-2 {
    padding-left: 20px;
}

.toc-level-3 {
    padding-left: 40px;
}

.toc-level-4 {
    padding-left: 60px;
}

.toc-level-5 {
    padding-left: 80px;
}

.toc-level-6 {
    padding-left: 100px;
}

/* Video Container */
.blog-featured-video {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery */
.blog-gallery {
    margin: 40px 0;
}

.blog-gallery h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Downloads */
.blog-downloads {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.blog-downloads h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-item {
    display: block;
}

.download-item .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-item .btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    text-align: center;
}

.author-info {
    padding: 20px 0;
}

.author-avatar {
    margin-bottom: 20px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #667eea;
}

.author-info h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.author-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #5a6fd8;
    color: white;
    transform: translateY(-2px);
}

/* Call to Action */
.blog-call-to-action {
    margin: 40px 0;
    padding: 50px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.blog-call-to-action h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.blog-call-to-action p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-call-to-action .btn {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 25px;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-call-to-action .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Blog Sidebar */
.blog-sidebar {
    margin-bottom: 30px;
}

 @media (min-width: 992px) {
     .blog-sidebar {
         position: sticky;
         top: 110px;
     }
 }

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.sidebar-widget h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

 .knowledge-centre-widget .widget-title {
    color: #f8f9fa;
    background: #0b3b82;
    padding: 9px;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(11, 59, 130, 0.2);
 }

 .knowledge-centre-list {
     display: flex;
     flex-direction: column;
     gap: 0;
     max-height: calc(100vh - 220px);
     overflow: auto;
     padding-right: 8px;
 }

 .knowledge-centre-item {
     display: flex;
     align-items: flex-start;
     gap: 10px;
     padding: 10px 0;
     border-bottom: 1px dashed #d7d7d7;
     text-decoration: none;
 }

 .knowledge-centre-item:last-child {
     border-bottom: none;
 }

 .knowledge-centre-arrow {
     flex: 0 0 16px;
     color: #0b3b82;
     line-height: 1.2;
     margin-top: 2px;
 }

 .knowledge-centre-text {
     /*color: #4b5563;*/
     font-size: 13px;
     line-height: 1.45;
          display: -webkit-box;
     -webkit-box-orient: vertical;
     line-clamp: 2;
     -webkit-line-clamp: 2;
     overflow: hidden;
     text-overflow: ellipsis;
 }



 @media (max-width: 991px) {
     .knowledge-centre-list {
         max-height: none;
         overflow: visible;
         padding-right: 0;
     }
 }

/* Blog Search Form */
.blog-search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.blog-search-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 25px 0 0 25px;
    padding: 12px 20px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.blog-search-form .form-control:focus {
    border-color: #667eea;
    box-shadow: none;
}

.blog-search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 20px;
    background: #667eea;
    border: none;
    transition: background 0.3s ease;
}

.blog-search-form .btn:hover {
    background: #5a6fd8;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.category-list a:hover {
    background: #f8f9fa;
    color: #667eea;
    padding-left: 20px;
}

.category-list a.active {
    background: #667eea;
    color: white;
}

.category-list a.active::before {
    content: '✓';
    margin-right: 8px;
}

/* Recent Posts */
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #667eea;
}

.recent-post-date {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

/* Listing layout: top bar + featured row + grid */
.blog-listing {
    background: #f7f8fc;
}

.blog-section-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.blog-section-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
}

.blog-top-bar .blog-search-form .form-control {
    background-color: #fff;
}

.featured-posts {
    margin-top: 10px;
}

.featured-post-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
    background: #111827;
    text-decoration: none;
    color: #fff;
}

.featured-post-image {
    position: relative;
    height: 260px;
}

.featured-post-image img,
.featured-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-image-placeholder {
    background: linear-gradient(135deg, #0083CA 0%, #005B99 100%);
}

.featured-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0.85) 100%);
}

.featured-post-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.featured-post-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.featured-post-title {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color:#ffffff;
}

.featured-post-meta {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.85;
}

.featured-post-meta span {
    margin-right: 12px;
}

.featured-post-meta i {
    margin-right: 4px;
}

.featured-post-card:hover .featured-post-title {
    text-decoration: underline;
}

.blog-categories-bar {
    border-bottom: 1px solid #e4e7ee;
    padding-bottom: 10px;
}

.blog-categories-label {
    font-weight: 600;
    color: #111827;
}

.blog-categories-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid #e4e7ee;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-chip:hover {
    background: #f1f5f9;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.blog-card-content {
    background:linear-gradient(207deg, #103855 0%, #107de4 100%);
    color:white;
    padding: 24px 22px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-title a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s ease;
}



.blog-excerpt {
    color: #FFFFFF !important;
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 14px;
      display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-footer {
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
}

.blog-card-author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.blog-card-author-name {
    font-weight: 600;
    color: #111827;
}

.blog-card-date {
    color: #9ca3af;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link i {
    font-size: 11px;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Blog Detail Content - Layout Variations */
.blog-detail-content {
    background: white;
}

 .blog-detail-content .row {
     align-items: flex-start;
 }

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #f5821f;
    text-decoration: none;
}

.blog-back-link i {
    font-size: 12px;
}

.blog-back-link:hover {
    text-decoration: underline;
    color: #d86d15;
}

/* Standard Layout */
.blog-article.layout-standard {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Wide Layout */
.blog-article.layout-wide {
    background: white;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-article.layout-wide .blog-content {
    font-size: 1.2rem;
    line-height: 1.9;
}

/* Magazine Layout */
.blog-article.layout-magazine {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 40px;
}

.blog-article.layout-magazine .blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    margin: 0;
    border-radius: 15px 15px 0 0;
}

.blog-article.layout-magazine .blog-title {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.blog-article.layout-magazine .blog-meta-info {
    color: rgba(255, 255, 255, 0.9);
}

.blog-article.layout-magazine .blog-content {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    column-count: 2;
    column-gap: 40px;
}

/* Minimal Layout */
.blog-article.layout-minimal {
    background: white;
    border-radius: 0;
    padding: 20px 0;
    box-shadow: none;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
}

.blog-article.layout-minimal .blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.blog-article.layout-minimal .blog-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.blog-article.layout-minimal .blog-category-badge {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
    padding: 6px 16px;
}

.blog-article.layout-minimal .blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    max-width: 100%;
    margin: 0 auto;
}

/* Showcase Layout */
.blog-article.layout-showcase {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 40px;
}

.blog-article.layout-showcase .blog-featured-image,
.blog-article.layout-showcase .blog-featured-video {
    margin-bottom: 0;
    border-radius: 0;
}

.blog-article.layout-showcase .blog-featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.blog-article.layout-showcase .blog-content {
    padding: 60px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.blog-article .blog-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align:left;
    margin-bottom: -2px;
    line-height: 1.3;
}
.blog-read-time {
    color: #ffffff;
    opacity: 0.9;
}

.blog-read-time i {
    margin-right: 5px;
}
.blog-meta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.blog-meta-item i {
    color: #667eea;
}

.blog-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-featured-image img {
    width: 100%;
    height: 470px;
    display: block;
}

.blog-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}
.pros-cons-table .th-pros{
    font-size:14px !important;
}
.pros-cons-table .th-cons{
        font-size:14px !important;

}
.alert-heading{
    font-size:18px !important;
}
.hiw{
    font-size:15px;
}
.related-resource{
    margin-top:0px !important;
    margin-bottom:15px !important;
    border-radius:0px !important;
}
.share-artile{
    font-size:18px !important;
}
.blog-content h2 {
    color: #333;
    font-weight: 600;
    margin: 0px 0 15px;
    font-size: 18px;
}

.blog-content h3 {
    color: #333;
    font-weight: 600;
    margin: 25px 0 12px;
    font-size: 1.5rem;
}

.blog-content p {
    margin-bottom: 15px;
    font-size:14px !important;
}

.blog-content ul, .blog-content ol {
    
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
}

.blog-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
    margin-top:40px;
}

.blog-tags {
    margin-bottom: 30px;
}

.blog-tags h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.blog-tag:hover {
 
    border-color: #667eea;
}

.blog-share h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Posts */
.related-posts {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.related-posts h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-content h4 {
    margin-bottom: 10px;
}

.related-post-content a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-content a:hover {
    color: #667eea;
}

.related-post-date {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-widget h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-widget .btn {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-widget .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* No Blogs Found */
.no-blogs-found {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.no-blogs-found h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-blogs-found p {
    color: #666;
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    color: #667eea;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-article {
        padding: 30px 20px;
    }
    
    .blog-article .blog-title {
        font-size: 2rem;
    }
    
    .blog-meta-info {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-article {
        padding: 20px 15px;
    }
    
    .blog-article .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-meta-info {
        gap: 15px;
        font-size: 13px;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-title a {
        font-size: 16px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .blog-article .blog-title {
        font-size: 1.6rem;
    }
    
    .blog-meta-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .blog-meta-item {
        font-size: 12px;
    }
    
    .blog-content {
        font-size: 0.95rem;
    }
    
    .blog-content h2 {
        font-size: 1.4rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .related-posts {
        padding: 20px;
    }
    
    .related-post-content {
        padding: 15px;
    }
    
    .related-post-content a {
        font-size: 1rem;
    }
}

/* HHF Theme Overrides for Blog */
.blog-hero,
.blog-detail-hero,
.blog-call-to-action,
.blog-cta-section,
.blog-article.layout-magazine .blog-header,
.blog-category-badge,
.cta-widget {
    background: linear-gradient(135deg, #0083CA 0%, #2283c6 100%) !important;
}

.blog-category {
    background-color: #0083CA !important;
}

.blog-read-more .btn,
.blog-cta-section .btn,
.blog-call-to-action .btn,
.cta-widget .btn {
    background-color: #0083CA !important;
    border-color: #0083CA !important;
    color: #fff !important;
}

.blog-section,
.blog-downloads,
.table-of-contents {
    border-left-color: #0083CA !important;
}

.blog-meta-item i,
.table-of-contents a,
.recent-posts a:hover,
.category-list a.active,
.category-list a:hover,
.blog-tag:hover,
.pagination .page-link,
.pagination .page-item.active .page-link {
    color: #0083CA !important;
}

.category-list a.active,
.category-list a:hover,
.pagination .page-item.active .page-link {
    background-color: #0083CA !important;
    border-color: #0083CA !important;
}

/* Loading Animation */
.blog-loading {
    text-align: center;
    padding: 40px;
}

.blog-loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .blog-sidebar,
    .blog-footer,
    .related-posts,
    .blog-share,
    header,
    footer,
    .blog-detail-hero {
        display: none !important;
    }
    
    .blog-detail-content {
        max-width: 85% !important;
        padding: 0 !important;
    }
    
    .blog-article {
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    
    .blog-content {
        font-size: 12pt !important;
        line-height: 1.5 !important;
        color: black !important;
    }
    
    .blog-content h2,
    .blog-content h3 {
        color: black !important;
        page-break-after: avoid;
    }
    
    .blog-featured-image img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Accessibility */
/*.blog-card:focus-within,*/
/*.blog-article:focus-within {*/
/*    outline: 2px solid #667eea;*/
/*    outline-offset: 2px;*/
/*}*/

/*.blog-card a:focus,*/
/*.blog-article a:focus,*/
/*.share-btn:focus {*/
/*    outline: 2px solid #667eea;*/
/*    outline-offset: 2px;*/
/*}*/

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .blog-card,
    .blog-article,
    .blog-card-content
     {
        background:linear-gradient(207deg, #103855 0%, #0074c5 100%);
        color: white;
    }
    
    .blog-title a,
    
    .blog-content h3 {
        color: white;
    }
    
    .blog-excerpt,
    .blog-content {
        color: #000;
    }
    
    .blog-meta,
    .blog-meta-item {
        color: #a0aec0;
    }
    
    .blog-content blockquote {
        background: #4a5568;
        color: #e2e8f0;
    }
}

 .blog-hero.blog-hero-split {
     padding: 20px 0 20px;
 }

 .blog-hero-content.blog-hero-content-left {
     text-align: left;
     padding: 0;
 }

 .blog-hero.blog-hero-split .blog-hero-visual {
     justify-content: flex-end;
 }

 .blog-hero.blog-hero-split .blog-hero-image {
     max-height: 382px;
     height:390px;
 }
 @media (min-width: 320px) and (max-width: 575px){
    
    .blog-excerpt{
        -webkit-line-clamp:5;
    
}
.blog-hero.blog-hero-split .blog-hero-image{
    max-height:382px;
    height:201px;
}

}