/* Article Styles */

/* Article Header */
.article-header {
    padding: 140px 0 40px;
    background: white;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    display: none;
}

.article-header__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.article-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--primary-color);
}

.article-breadcrumb i {
    font-size: 0.625rem;
    color: var(--text-light);
}

.article-breadcrumb span {
    color: var(--text-primary);
    font-weight: 600;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.article-date,
.article-reading-time {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-size: 3.25rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.article-author__info {
    display: flex;
    flex-direction: column;
}

.article-author__name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.article-author__role {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Article Featured Image */
.article-featured-image {
    margin-bottom: 3rem;
    background: white;
}

.article-featured-image .container {
    max-width: 900px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content {
    padding: 60px 0 80px;
    background: white;
}

.article-content .container {
    max-width: 1080px;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
}

.article-content .container > * {
    display: block;
}

.article-body p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.article-body p.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.article-body h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: #111827;
    scroll-margin-top: 100px;
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
    scroll-margin-top: 100px;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.article-list li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.8;
}

.article-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}






/* Article End Section */
.article-end {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.article-author-bio {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.article-author-bio h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.article-author-bio p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

.article-cta {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
}

.article-cta .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.article-cta .btn:hover {
    background: #fee2e2;
    transform: translateY(-2px);
}

/* Article Sidebar - Hidden on article pages */
.article-sidebar {
    display: none;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 0.75rem;
}

.social-share__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-share__btn--facebook {
    background: #1877f2;
}

.social-share__btn--twitter {
    background: #1da1f2;
}

.social-share__btn--linkedin {
    background: #0a66c2;
}

.social-share__btn--whatsapp {
    background: #25d366;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.related-posts .section__title {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post__card {
    background: #fafafa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-post__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}

.related-post__image {
    height: 180px;
    overflow: hidden;
}

.related-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post__card:hover .related-post__image img {
    transform: scale(1.1);
}

.related-post__content {
    padding: 1.5rem;
}

.related-post__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.related-post__content a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline;
}

.related-post__content a:hover {
    color: var(--primary-color);
}

.related-post__date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */

@media (max-width: 768px) {
    .article-header {
        padding: 120px 0 30px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.0625rem;
    }
    
    .article-featured-image img {
        max-height: 250px;
        border-radius: 8px;
    }
    
    .article-body p {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }

    .article-body h3 {
        font-size: 1.25rem;
    }

    .article-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-pricing {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-posts__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }

    .article-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .article-body p {
        font-size: 1rem;
    }

    .article-body p.lead {
        font-size: 1.125rem;
    }
}
