/* Reset et variables */
:root {
    --nt-primary-color: #00dfc0;
    --nt-secondary-color: #64748b;
    --nt-text-color: #001414;
    --nt-background: #ffffff;
    --nt-border-color: #e2e8f0;
    --nt-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --nt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --nt-radius: 0.5rem;
    --nt-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nt-font-serif: Georgia, 'Times New Roman', serif;
    --nt-container-max: 1200px;
    --nt-container-padding: 1.5rem;
}

* {
    box-sizing: border-box;
}

body.neurokai-article-template {
    font-family: var(--nt-font-sans);
    line-height: 1.6;
    color: var(--nt-text-color);
    background-color: var(--nt-background);
    margin: 0;
    padding: 0;
}

/* Container */
.neurokai-article-template .container {
    max-width: var(--nt-container-max);
    margin: 0 auto;
    padding: 0 var(--nt-container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* Article Header */
.article-header {
    padding: 1.5rem 0;
    background: var(--nt-background);
    border-bottom: 1px solid var(--nt-border-color);
}

.article-meta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-categories {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0.25rem;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: #e2e8f0;
    color: #475569;
    text-decoration: none;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0;
    color: var(--nt-text-color);
}

.article-excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--nt-text-color);
    margin: 1rem 0 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta-info {
    margin: 1.5rem 0 1rem;
}

.author-info-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--nt-text-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
.author-name {
    font-weight: 500;
    color: var(--nt-text-color);
}

.author-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: var(--nt-primary-color);
    text-decoration: none;
}

.author-info-inline > span:first-child {
    color: var(--nt-text-muted);
    font-weight: 400;
}   font-size: 0.875rem;
}

.author-role {
    font-size: 0.75rem;
    color: var(--nt-text-color);
}

.meta-separator {
    color: #cbd5e1;
}

.publish-date,
.reading-time {
    color: var(--nt-text-color);
    font-size: 0.875rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--nt-text-color);
}

/* Featured Image */
.article-featured-image {
    background: var(--nt-background);
    padding: 2rem 0;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--nt-radius);
    box-shadow: var(--nt-shadow-lg);
}

.article-featured-image figure {
    margin: 0;
}

.image-wrapper {
    margin: inherit;
}

.article-featured-image figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--nt-text-color);
    font-style: italic;
}

/* Article Layout */
.article-content {
    background: var(--nt-background);
    padding: 2rem 0 4rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 800px;
    gap: 2rem;
    max-width: var(--nt-container-max);
    margin: 0 auto;
    padding: 0 var(--nt-container-padding);
    width: 100%;
    box-sizing: border-box;
}

.article-main {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.article-sidebar {
    position: relative;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Fix pour thèmes problématiques */
.neurokai-article-template .article-layout {
    box-sizing: border-box;
}

.neurokai-article-template .article-sidebar {
    margin: 0;
    padding: 0;
}

/* Table of Contents */
.toc-container {
    background: var(--nt-background);
    border: 1px solid var(--nt-border-color);
    border-radius: var(--nt-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.toc-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--nt-text-color);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--nt-text-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.table-of-contents a:hover {
    color: var(--nt-primary-color);
}

/* Share Buttons */
.share-container {
    background: var(--nt-background);
    border: 1px solid var(--nt-border-color);
    border-radius: var(--nt-radius);
    padding: 1.5rem;
}

.share-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--nt-text-color);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn.x, .share-btn.twitter {
    background-color: #000000;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

/* Article Body */
.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--nt-text-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin: 2rem 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-body h2 {
    font-size: 1.875rem;
    color: var(--nt-text-color);
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--nt-text-color);
}

.article-body h4 {
    font-size: 1.25rem;
    color: var(--nt-text-color);
}

.article-body p {
    margin: 0 0 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.5rem 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--nt-primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--nt-text-color);
}

.article-body code {
    background: var(--nt-background);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.article-body pre {
    background: var(--nt-background);
    padding: 1.5rem;
    border-radius: var(--nt-radius);
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body pre code {
    background: none;
    padding: 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--nt-radius);
    margin: 2rem 0;
    box-shadow: var(--nt-shadow);
}

/* Tags */
.article-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--nt-border-color);
    border-bottom: 1px solid var(--nt-border-color);
}

.tags-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--nt-text-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--nt-background);
    color: var(--nt-text-color);
    text-decoration: none;
    border-radius: var(--nt-radius);
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

.tag-link:hover {
    background: var(--nt-primary-color);
    color: white;
}

/* Author Box */
.author-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--nt-background);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--nt-primary-color);
}

.author-box-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.author-avatar:hover {
    transform: scale(1.05);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--nt-text-color);
    margin: 0;
    text-align: center;
}

.author-bio {
    margin: 0 0 1rem;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
    max-width: 600px;
}

.author-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #64748b;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: var(--nt-primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--nt-primary-color);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* LLM Summary Section Inline */
.llm-summary-section-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.llm-summary-title {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
}

.llm-buttons-inline {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.llm-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
}

.llm-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    text-decoration: none;
}

.llm-btn .llm-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Breadcrumbs Integration */
.breadcrumbs {
    background: transparent;
    padding: 0.75rem 0 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.breadcrumbs nav {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumbs a,
.breadcrumbs span {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--nt-primary-color);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 1rem 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .llm-summary-section-inline {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .llm-buttons-inline {
        gap: 4px;
    }
    
    .llm-btn {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .llm-btn .llm-icon {
        width: 12px;
        height: 12px;
    }
    
    .author-info-inline {
         flex-wrap: wrap;
         gap: 0.25rem;
     }
     
     .author-box {
         margin: 2rem 0;
         padding: 1.5rem;
         border-radius: 12px;
     }
     
     .author-box-content {
         flex-direction: column;
         gap: 1.5rem;
         text-align: center;
     }
     
     .author-avatar {
         width: 70px;
         height: 70px;
         align-self: center;
     }
     
     .author-name {
         font-size: 1.125rem;
     }
     
     .author-bio {
         font-size: 0.875rem;
         text-align: left;
     }
     
     .author-social {
         justify-content: center;
     }
 }

/* Related Articles */
.related-articles {
    background: var(--nt-background);
    padding: 4rem 0;
    margin-top: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 3rem;
    color: var(--nt-text-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--nt-container-max);
    margin: 0 auto;
    padding: 0 var(--nt-container-padding);
}

.related-item {
    background: var(--nt-background);
    border-radius: var(--nt-radius);
    overflow: hidden;
    box-shadow: var(--nt-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--nt-shadow-lg);
}

.related-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-image * {
    width: 100%;
}

.related-thumbnail {
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.related-item:hover .related-thumbnail {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.related-title a {
    color: var(--nt-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.related-title a:hover {
    color: var(--nt-primary-color);
}

.related-meta {
    font-size: 0.875rem;
    color: var(--nt-text-color);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr 800px;
        gap: 1.5rem;
    }
    
    .article-sidebar {
        max-width: 250px;
    }
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        order: 2;
        max-width: 100%;
    }
    
    .article-main {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .toc-container,
    .share-container {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 2rem 0 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.125rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .author-box-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .neurokai-article-template .container {
        padding: 0 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
}

/* Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--nt-primary-color);
    z-index: 1000;
    transition: width 0.1s ease;
    transform-origin: left;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Breadcrumbs Styles - Intégrés et discrets */
.neurokai-breadcrumbs {
    background: transparent;
    padding: 0.75rem 0 0.75rem;
    font-size: 0.8125rem;
    border-bottom: none;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    opacity: 0.8;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--nt-text-color);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.125rem 0;
    font-weight: 400;
}

.breadcrumb-item a:hover {
    color: var(--nt-primary-color);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
    color: var(--nt-text-color);
    opacity: 0.5;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--nt-text-color);
    font-weight: 500;
    padding: 0.125rem 0;
    opacity: 0.9;
}

/* Responsive Breadcrumbs */
@media (max-width: 768px) {
    .neurokai-breadcrumbs {
        padding: 0.5rem 0 1rem;
        font-size: 0.75rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.375rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        flex-wrap: wrap;
    }
    
    .breadcrumb-item {
        margin-bottom: 0.25rem;
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--nt-primary-color);
    outline-offset: 2px;
}

/* Comments */
.article-comments {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.comments-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--nt-text-color);
    margin-bottom: 1.5rem;
    text-align: left;
    padding-left: 0.5rem;
}

.comment-form {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.comment-form h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--nt-text-color);
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--nt-text-color);
    font-size: 0.875rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: var(--nt-primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.comment-form-comment textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--nt-primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.form-submit {
    margin-top: 1rem;
}

.form-submit input[type="submit"] {
    background: var(--nt-primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit input[type="submit"]:hover {
    background: var(--nt-secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}

.comment-list li:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-list li:last-child {
    margin-bottom: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    background: inherit;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 2px solid #e2e8f0;
}

.comment-author cite {
    font-weight: 600;
    color: var(--nt-text-color);
    font-size: 0.875rem;
    font-style: normal;
}

.comment-author{
    color: var(--nt-text-color);
}

.comment-metadata {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: auto;
}

.comment-content {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.comment-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.875rem;
    color: #374151;
}

.comment-reply-link {
    color: var(--nt-primary-color);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.comment-reply-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
    text-decoration: none;
}

/* Nested comments */
.comment-list .children {
    margin-top: 1rem;
    margin-left: 1.5rem;
    border-left: 2px solid #e2e8f0;
    padding-left: 1rem;
}

.comment-list .children li {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Comment form fields layout */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: inline-block;
    width: calc(33.333% - 0.5rem);
    margin-right: 0.75rem;
}

.comment-form-url {
    margin-right: 0;
}

.comment-respond{
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comment-list .children {
        margin-left: 0.75rem;
        padding-left: 0.75rem;
    }
}

@media (max-width: 768px) {
    .article-comments {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .article-sidebar,
    .share-container,
    .author-box,
    .related-articles,
    .article-comments {
        display: none;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        max-width: none;
    }
}