

.load-more-comments-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-weight: 500;
}
.load-more-comments-btn:hover {
    background:transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.load-more-comments-btn:active {
    background:var(--primary-color) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
}

.reply-btn {
    background:transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}
.reply-btn:hover {
    background:var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
}

.reply-btn:active {
    background:var(--primary-color) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-more-replies-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}
.view-more-replies-btn:hover {
    background:var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

/* Article Show Page Styles - Cross Browser Compatible */

.text-save-word {
    word-wrap: break-word;
    /* long words ko break kar dega */
    overflow-wrap: anywhere;
    /* modern browsers ke liye */
    white-space: normal;
    /* text ko ek line me na rakhe */
    /* Cross browser word breaking */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.author-name-show {
    font-size: 1rem;
    color: var(--text-black);
    font-weight: var(--font-weight-medium);
}

.article-header {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.article-title {
    color: var(--primary-color);
    line-height: 1.2;
    font-size: 2.5rem;
}

.interaction-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.interaction-buttons .btn:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* .breadcrumb-item a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color); 
} */

.card-body{
    padding: 1.5rem;
}

.article-meta {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
}

.like-share-print{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.avatar-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.article-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Fallback for browsers that don't support gradients */
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.like-btn{
    background:var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
}

.like-btn:hover{
    background:var(--primary-color);
    color: white;   
}

.stat-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.stat-item:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.article-tags .badge {
    transition: all 0.3s ease;
    border-radius: 20px;
}

.article-tags .badge:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    -moz-box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.hover-shadow:hover {
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-profile {
    padding: 1rem 0;
}

.sidebar-avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    margin: 0 auto;
}

.sidebar-avatar-text {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.avatar-circle-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.avatar-text-small {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.comment-form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.empty-comments {
    padding: 2rem;
}

.comment-icon{
    color:var(--primary-color);
}

.post-comment-btn{
    background:var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-weight: 500;
}

.post-comment-btn:hover{
    background:transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}
.post-comment-btn:active {
    background:var(--primary-color) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.comment-item {
    border-radius: 8px;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.comment-item:hover {
    background-color: #f8f9fa;
}

.related-article-card {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
}

.related-article-card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-article-icon{
    color:var(--primary-color);
}

.related-article-category{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-top: 0;
    padding-right: 0;
}

.related-article-title{
    font-size: 1.1rem;
    font-weight: 500;
}

.related-article {
    transition: all 0.3s ease;
}

.related-article:hover {
    background-color: #f8f9fa;
    /* Cross browser transform */
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

.article-meta .badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.article-title h6 {
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-title h6:hover {
    color: var(--primary-color) !important;
}

.author-avatar-small {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.avatar-text-tiny {
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.fs-7 {
    font-size: 0.75rem !important;
}

.author-avatar-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    -webkit-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.avatar-text-large {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.tags-author-section .badge {
    transition: all 0.3s ease;
    border-radius: 20px;
}

.tags-author-section .badge:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: var(--primary-color) !important;
    color: white !important;
}

.tags-icon{
    color:var(--primary-color);
}

.author-icon{
    color:var(--primary-color);
}

.author-stats {
    padding: 0.5rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.comment-header h6 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.comment-content p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Replies Dropdown Styles */
.replies-toggle {
    margin-left: 20px;
}

.replies-toggle-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.replies-toggle-btn:hover {
    background: var(--primary-color);
    color: white;
    border: none;
}

.replies-toggle-btn:focus {
    outline: none !important;
}

.replies-toggle-btn:active {
    outline: none !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

.replies-arrow {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.replies-container {
    /* Cross browser transition */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /* Cross browser animation */
    -webkit-animation: slideDown 0.3s ease;
    -moz-animation: slideDown 0.3s ease;
    -ms-animation: slideDown 0.3s ease;
    animation: slideDown 0.3s ease;
}

/* Cross browser keyframes for slide down animation */
@-webkit-keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes slideDown {
    from {
        opacity: 0;
        -moz-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-ms-keyframes slideDown {
    from {
        opacity: 0;
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.reply-item {
    /* Cross browser transition */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-left: 2px solid #e9ecef;
    padding-left: 1rem;
    margin-left: 20px;
}

.reply-item:hover {
    border-left-color: var(--primary-color) ;
    background-color: transparent;
    /* Cross browser transform */
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Rich Text Content Styles - Cross Browser Compatible */
.rich-text-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* Cross browser word breaking */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.rich-text-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1rem auto;
}

.rich-text-content video {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1rem auto;
}

.rich-text-content iframe {
    max-width: 100% !important;
    height: 70% !important;
    display: block;
    margin: 1rem auto;
}

.rich-text-content table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    display: block;
    /* Cross browser table styling */
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.rich-text-content table td,
.rich-text-content table th {
    white-space: normal !important;
    word-wrap: break-word;
    min-width: auto !important;
    /* Cross browser word breaking */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.rich-text-content .embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
}

.rich-text-content .embed-responsive::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.rich-text-content .embed-responsive iframe,
.rich-text-content .embed-responsive embed,
.rich-text-content .embed-responsive object,
.rich-text-content .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Responsive Styles - Cross Browser Compatible */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .article-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .article-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .category-hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .category-hero-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .category-stats {
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .like-share-print{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .stat-item {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        padding: 0.75rem;
    }
    
    .stat-item i {
        margin-right: 0.5rem;
    }
    
    .author-info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .interaction-buttons {
        display: inline !important;
    }
    
    .interaction-buttons .btn {
        width: auto;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* .breadcrumb {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding-right: 0.3rem;
        padding-left: 0.3rem;
    } */
    
    .card-body {
        padding: 1rem;
    }
    
    .article-content {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .tags-author-section .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
    }
    
    .tags-author-section .col-md-6 {
        width: 100%;
    }
    
    .related-articles-section .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
    }
    
    .related-articles-section .col-md-4 {
        width: 100%;
    }
    
    .related-article-card {
        padding: 1rem;
    }
    
    .related-article-title {
        font-size: 1rem;
    }
    
    .comment-form-section {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 0.75rem;
    }
    
    .comment-item .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comment-avatar {
        -webkit-align-self: flex-start;
        -moz-align-self: flex-start;
        -ms-flex-item-align: start;
        align-self: flex-start;
    }
    
    .comment-header .d-flex {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 0.5rem;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .author-avatar-large {
        width: 50px;
        height: 50px;
    }
    
    .avatar-text-large {
        font-size: 1.2rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .avatar-circle {
        width: 40px;
        height: 40px;
    }
    
    .avatar-text {
        font-size: 1.2rem;
    }
    
    .avatar-circle-small {
        width: 35px;
        height: 35px;
    }
    
    .avatar-text-small {
        font-size: 0.8rem;
    }
    
    .author-avatar-small {
        width: 20px;
        height: 20px;
    }
    
    .avatar-text-tiny {
        font-size: 0.6rem;
    }
    
    .tags-author-section .badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .empty-comments {
        padding: 1rem;
    }
    
    .empty-comments i {
        font-size: 2rem;
    }
    
    .alert {
        padding: 1rem;
    }
    
    .alert .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .alert i {
        font-size: 1.5rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .rich-text-content {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .rich-text-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content h4 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content h5 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content h6 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .rich-text-content p {
        margin-bottom: 1rem !important;
    }
    
    .rich-text-content img {
        margin: 0.75rem auto !important;
    }
    
    .rich-text-content video {
        margin: 0.75rem auto !important;
    }
    
    .rich-text-content iframe {
        margin: 0.75rem auto !important;
    }
    
    .rich-text-content table {
        font-size: 0.9rem !important;
    }
    
    .rich-text-content blockquote {
        margin: 1rem 0 !important;
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {

    .author-profile-div {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: flex-start;
        -webkit-align-items: flex-start;
        -moz-box-align: flex-start;
        -ms-flex-align: flex-start;
        align-items: flex-start;
        -webkit-box-pack: flex-start;
        -webkit-justify-content: flex-start;
        -moz-box-pack: flex-start;
        -ms-flex-pack: flex-start;
        justify-content: flex-start;
        gap: 1rem;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .category-hero-title {
        font-size: 1.5rem !important;
    }
    
    .interaction-buttons .btn {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .article-content {
        font-size: 0.95rem !important;
    }
    
    .related-article-card {
        padding: 0.75rem;
    }
    
    .comment-form-section {
        padding: 0.75rem;
    }
    
    .comment-item {
        padding: 0.5rem;
    }
    
    .tags-author-section .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .rich-text-content {
        font-size: 0.95rem !important;
    }
    
    .rich-text-content h1 {
        font-size: 1.6rem !important;
    }
    
    .rich-text-content h2 {
        font-size: 1.4rem !important;
    }
    
    .rich-text-content h3 {
        font-size: 1.2rem !important;
    }
    
    .rich-text-content h4 {
        font-size: 1.1rem !important;
    }
    
    .rich-text-content h5 {
        font-size: 1rem !important;
    }
    
    .rich-text-content h6 {
        font-size: 0.95rem !important;
    }
    
    .rich-text-content img {
        margin: 0.5rem auto !important;
    }
    
    .rich-text-content video {
        margin: 0.5rem auto !important;
    }
    
    .rich-text-content iframe {
        margin: 0.5rem auto !important;
    }
    
    .rich-text-content table {
        font-size: 0.8rem !important;
    }
    
    .rich-text-content blockquote {
        margin: 0.75rem 0 !important;
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.3rem;
    }
    
    .category-hero-title {
        font-size: 1.3rem !important;
    }
    
    .interaction-buttons .btn {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .card-body {
        padding: 0.5rem;
    }
    
    .article-content {
        font-size: 0.9rem !important;
    }
    
    .related-article-card {
        padding: 0.5rem;
    }
    
    .comment-form-section {
        padding: 0.5rem;
    }
    
    .comment-item {
        padding: 0.4rem;
    }
    
    .tags-author-section .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .rich-text-content {
        font-size: 0.9rem !important;
    }
    
    .rich-text-content h1 {
        font-size: 1.4rem !important;
    }
    
    .rich-text-content h2 {
        font-size: 1.2rem !important;
    }
    
    .rich-text-content h3 {
        font-size: 1.1rem !important;
    }
    
    .rich-text-content h4 {
        font-size: 1rem !important;
    }
    
    .rich-text-content h5 {
        font-size: 0.95rem !important;
    }
    
    .rich-text-content h6 {
        font-size: 0.9rem !important;
    }
    
    .rich-text-content img {
        margin: 0.4rem auto !important;
    }
    
    .rich-text-content video {
        margin: 0.4rem auto !important;
    }
    
    .rich-text-content iframe {
        margin: 0.4rem auto !important;
    }
    
    .rich-text-content table {
        font-size: 0.75rem !important;
    }
    
    .rich-text-content blockquote {
        margin: 0.5rem 0 !important;
        padding: 0.4rem !important;
        font-size: 0.85rem !important;
    }
}

/* Print Styles - Hide everything except article content */
@media print {
    /* Hide all navigation, header, footer, and sidebar elements */
    .breadcrumb,
    .like-share-print,
    .tags-author-section,
    .related-articles-section,
    .comments-section,
    .category-hero-section,
    .category-stats,
    .interaction-buttons,
    .author-info,
    .card-header,
    .btn,
    .badge,
    .alert,
    .empty-comments,
    .comment-form-section,
    .comment-item,
    .related-article-card,
    .tags-author-section .card,
    .related-articles-section .card,
    .comments-section .card {
        display: none !important;
    }
    
    /* Show only the main article content */
    .article-content {
        display: block !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
        color: #000 !important;
        background: #fff !important;
        margin: 0 !important;
        padding: 20px !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Article title styling for print */
    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        color: #000 !important;
        page-break-after: avoid !important;
        margin-top: 1em !important;
        margin-bottom: 0.5em !important;
    }
    
    .article-content h1 {
        font-size: 18pt !important;
        font-weight: bold !important;
    }
    
    .article-content h2 {
        font-size: 16pt !important;
        font-weight: bold !important;
    }
    
    .article-content h3 {
        font-size: 14pt !important;
        font-weight: bold !important;
    }
    
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        font-size: 12pt !important;
        font-weight: bold !important;
    }
    
    /* Paragraph styling for print */
    .article-content p {
        margin-bottom: 1em !important;
        text-align: justify !important;
        orphans: 3 !important;
        widows: 3 !important;
    }
    
    /* Image styling for print */
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 1em auto !important;
        page-break-inside: avoid !important;
    }
    
    /* Table styling for print */
    .article-content table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin: 1em 0 !important;
        page-break-inside: avoid !important;
    }
    
    .article-content table th,
    .article-content table td {
        border: 1px solid #000 !important;
        padding: 8px !important;
        text-align: left !important;
    }
    
    .article-content table th {
        background-color: #f0f0f0 !important;
        font-weight: bold !important;
    }
    
    /* List styling for print */
    .article-content ul,
    .article-content ol {
        margin: 1em 0 !important;
        padding-left: 2em !important;
    }
    
    .article-content li {
        margin-bottom: 0.5em !important;
    }
    
    /* Blockquote styling for print */
    .article-content blockquote {
        border-left: 3px solid #000 !important;
        padding-left: 1em !important;
        margin: 1em 0 !important;
        font-style: italic !important;
    }
    
    /* Link styling for print */
    .article-content a {
        color: #000 !important;
        text-decoration: underline !important;
    }
    
    /* Remove background colors and shadows */
    .article-content * {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Page breaks */
    .article-content h1,
    .article-content h2,
    .article-content h3 {
        page-break-before: auto !important;
    }
    
    .article-content h1 {
        page-break-before: always !important;
    }
    
    /* Container styling for print */
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .row {
        margin: 0 !important;
    }
    
    .col-lg-12 {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Card styling for print */
    .card {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .card-body {
        padding: 0 !important;
        background: transparent !important;
    }
    
    /* Hide any remaining elements */
    .navbar,
    .footer,
    .sidebar,
    .advertisement,
    .social-share,
    .related-posts,
    .comments,
    .author-bio,
    .tags,
    .breadcrumbs {
        display: none !important;
    }
    
    /* Print header styling */
    @page {
        @top-left {
            content: attr(data-date);
            font-size: 10pt;
            color: #666;
        }
        @top-right {
            content: attr(data-title);
            font-size: 10pt;
            color: #666;
        }
        @bottom-left {
            content: attr(data-url);
            font-size: 10pt;
            color: #0066cc;
            text-decoration: underline;
        }
        @bottom-right {
            content: counter(page) " / " counter(pages);
            font-size: 10pt;
            color: #666;
        }
    }
    
    /* Print header with article title */
    .article-content::before {
        content: attr(data-title);
        display: block !important;
        font-size: 20pt !important;
        font-weight: bold !important;
        text-align: center !important;
        margin-top: 0.5em !important;
        padding-top: 0.5em !important;
        margin-bottom: 0.5em !important;
        padding-bottom: 0.5em !important;
        page-break-after: avoid !important;
    }
    
    /* Ensure proper page margins */
    @page {
        margin: 1in !important;
        size: A4 !important;
    }
}
