/* Blog Article Specific Styles */
.blog-article-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    margin-top: 80px;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    margin-bottom: 1.5rem;
}

.article-category span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-meta-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    gap: 2rem;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.author-details {
    text-align: left;
}

.author-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.author-title {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.publish-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.stat:hover {
    opacity: 1;
}

/* Article Content Section */
.article-content-section {
    padding: 80px 0;
    background: var(--white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.main-article {
    max-width: 100%;
}

.article-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.article-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.article-section:last-of-type {
    border-bottom: none;
}

.article-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.article-section ul, .article-section ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Table of Contents */
.table-of-contents {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0 3rem;
}

.table-of-contents h3 {
    margin-top: 0 !important;
    color: var(--primary);
    font-size: 1.3rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.table-of-contents li {
    margin-bottom: 0.8rem;
}

.table-of-contents a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-of-contents a:hover {
    color: var(--primary);
}

.table-of-contents a::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

/* Info Boxes */
.info-box, .highlight-box, .action-box, .example-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary);
}

.info-box h4, .highlight-box h4, .action-box h4, .example-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

.info-box {
    border-left-color: #3498db;
}

.highlight-box {
    border-left-color: #2ecc71;
}

.action-box {
    border-left-color: #e74c3c;
}

.example-box {
    border-left-color: #f39c12;
}

/* System Flow */
.system-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
}

.flow-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flow-step p {
    font-size: 0.9rem;
    margin: 0;
}

.flow-arrow {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.reason-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.reason-item h4 {
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Checklist */
.checklist {
    margin: 2rem 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.checklist-item i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Closing Thoughts */
.closing-thoughts {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.closing-thoughts h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.closing-thoughts p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.author-signature {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.author-signature p {
    margin: 0;
    font-style: italic;
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tags span {
    font-weight: 600;
    color: var(--dark);
}

.tag {
    background: var(--light-gray);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Author Bio Section */
.author-bio-section {
    margin: 3rem 0;
}

.author-bio-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    align-items: flex-start;
}

.author-avatar-bio {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.author-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 0.8rem;
}

.author-social .social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Comments Section */
.comments-section {
    margin: 3rem 0;
}

.comments-section h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    color: var(--dark);
}

.comment-form {
    margin-bottom: 3rem;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    margin-bottom: 1rem;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comments-list {
    space-y: 2rem;
}

.comment {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--dark);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.comment-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.like-btn, .reply-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.like-btn:hover, .reply-btn:hover {
    color: var(--primary);
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.toc-widget {
    background: var(--light-gray);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.8rem;
}

.toc-list a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.toc-list a:hover {
    color: var(--primary);
}

.toc-list li:last-child a {
    border-bottom: none;
}

.related-article {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-article a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article a:hover {
    color: var(--primary);
}

.article-meta-small {
    font-size: 0.8rem;
    color: var(--gray);
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-newsletter-form input {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.share-btn {
    background: var(--light-gray);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.link:hover {
    background: var(--primary);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-meta-large {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-stats {
        width: 100%;
        justify-content: flex-start;
    }
    
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
    
    .system-flow {
        flex-direction: column;
        text-align: center;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .share-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}