/* ═══════════════════════════════════════════════════
   ARTICLE BANNER WITH IMAGE & BREADCRUMBS
   Professional single post header
   ═══════════════════════════════════════════════════ */

.article-banner-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.article-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.article-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 50px 0;
    color: white;
}

/* ─── BREADCRUMB ─── */
.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: white;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.7);
}

/* ─── CATEGORY BADGE ─── */
.article-category-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.95);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

/* ─── ARTICLE TITLE ─── */
.article-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    max-width: 900px;
}

/* ─── ARTICLE META ─── */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-name a {
    color: white;
    transition: opacity 0.2s ease;
}

.author-name a:hover {
    opacity: 0.8;
}

.meta-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-dot {
    color: rgba(255, 255, 255, 0.5);
}

/* ─── ARTICLE TAGS ─── */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 32px;
}

.tags-label {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
}

.tag-item {
    background: white;
    color: #475569;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
    transform: translateY(-2px);
}

/* ─── MODERN AUTHOR BOX ─── */
.author-box-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    border: 1px solid #e2e8f0;
}

.author-box-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.author-box-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.author-box-name a {
    color: inherit;
    transition: color 0.2s ease;
}

.author-box-name a:hover {
    color: #0d9488;
}

.author-box-bio {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   MODERN COMMENTS SECTION
   Professional comment design
   ═══════════════════════════════════════════════════ */

.comments-section-wrapper {
    margin-top: 50px;
}

.comments-area-modern {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* ─── COMMENTS TITLE ─── */
.comments-title-modern {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0d9488;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title-modern i {
    color: #0d9488;
    font-size: 24px;
}

/* ─── COMMENT LIST ─── */
.comment-list-modern {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-item-modern {
    margin-bottom: 30px;
    list-style: none;
}

.comment-body-modern {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comment-author-avatar-modern img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0d9488;
}

.comment-content-wrapper-modern {
    flex: 1;
}

/* ─── COMMENT META ─── */
.comment-meta-modern {
    margin-bottom: 12px;
}

.comment-author-name-modern {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 4px;
}

.comment-author-name-modern a {
    color: inherit;
    transition: color 0.2s ease;
}

.comment-author-name-modern a:hover {
    color: #0d9488;
}

.comment-awaiting-moderation {
    display: block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
}

.comment-metadata-modern {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-metadata-modern a {
    color: inherit;
    transition: color 0.2s ease;
}

.comment-metadata-modern a:hover {
    color: #0d9488;
}

.edit-link-modern {
    font-weight: 600;
}

.edit-link-modern::before {
    content: "• ";
    margin-right: 6px;
}

/* ─── COMMENT TEXT ─── */
.comment-text-modern {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}

.comment-text-modern p {
    margin-bottom: 12px;
}

.comment-text-modern p:last-child {
    margin-bottom: 0;
}

/* ─── REPLY LINK ─── */
.reply-link-modern {
    margin-top: 12px;
}

.reply-link-modern a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #0d9488;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #0d9488;
    transition: all 0.2s ease;
}

.reply-link-modern a:hover {
    background: #0d9488;
    color: white;
}

/* ─── NESTED COMMENTS ─── */
.comment-list-modern .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

/* ─── COMMENT NAVIGATION ─── */
.comment-navigation-modern {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
}

.comment-navigation-modern a {
    color: #0d9488;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #0d9488;
    transition: all 0.2s ease;
}

.comment-navigation-modern a:hover {
    background: #0d9488;
    color: white;
}

/* ─── NO COMMENTS ─── */
.no-comments-modern {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-size: 15px;
}

.no-comments-modern i {
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

/* ─── COMMENT FORM ─── */
.comment-reply-title-modern {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-reply-title-modern i {
    color: #0d9488;
}

.comment-notes-modern {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.comment-notes-modern .required {
    color: #ef4444;
    font-weight: 700;
}

.comment-form-comment-modern,
.comment-form-author-modern,
.comment-form-email-modern,
.comment-form-url-modern {
    margin-bottom: 20px;
}

.comment-form-comment-modern label,
.comment-form-author-modern label,
.comment-form-email-modern label,
.comment-form-url-modern label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-form-comment-modern label .required,
.comment-form-author-modern label .required,
.comment-form-email-modern label .required {
    color: #ef4444;
}

.comment-form-comment-modern textarea,
.comment-form-author-modern input,
.comment-form-email-modern input,
.comment-form-url-modern input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.comment-form-comment-modern textarea:focus,
.comment-form-author-modern input:focus,
.comment-form-email-modern input:focus,
.comment-form-url-modern input:focus {
    border-color: #0d9488;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.comment-form-comment-modern textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── SUBMIT BUTTON ─── */
.submit-button-modern {
    background: #0d9488;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-button-modern:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.submit-button-modern i {
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .article-banner-wrapper {
        min-height: 400px;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .article-breadcrumb {
        font-size: 12px;
    }
    
    .author-box-header {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box-avatar {
        width: 70px;
        height: 70px;
    }
    
    .comments-area-modern {
        padding: 24px 20px;
    }
    
    .comments-title-modern {
        font-size: 22px;
    }
    
    .comment-body-modern {
        flex-direction: column;
    }
    
    .comment-list-modern .children {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .article-banner-content {
        padding: 30px 0;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-tags {
        padding: 16px;
    }
    
    .author-box-modern {
        padding: 24px 20px;
    }
    
    .comment-list-modern .children {
        margin-left: 10px;
    }
}
