/* Article Page Specific Styles */

/* Article Hero Section */
.article-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.article-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 0.5rem;
}

.article-hero .breadcrumbs {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-hero .breadcrumbs a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition-base);
}

.article-hero .breadcrumbs a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Article Content */
.article-content {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.3;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-weight: 600;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.article-body ul li::marker {
    color: var(--primary-color);
}

.article-body ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.article-body strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Cost Comparison Table */
.cost-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.cost-column {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.cost-column.highlight {
    border-color: var(--primary-color);
    border-width: 2px;
    position: relative;
}

.cost-column.highlight::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius);
    letter-spacing: 1px;
}

.cost-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    text-align: center;
    font-weight: 600;
}

.cost-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.cost-column ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
}

.cost-column ul li:last-child {
    border-bottom: none;
}

.cost-total {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-200);
    text-align: center;
}

.cost-total span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.cost-total strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Case Study */
.case-study {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.case-study h3 {
    margin-top: 0;
    color: var(--gray-800);
}

.case-study p {
    margin-bottom: 1rem;
}

.case-study p:last-child {
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 4rem 0 2rem;
}

.article-cta h3 {
    color: var(--white-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.article-cta .btn {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.article-cta .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
    background: var(--gray-100);
    padding: 5rem 0;
}

.related-articles h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--gray-800);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .article-hero h1 {
        font-size: 2rem;
    }
    
    .cost-comparison {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 100px 0 40px;
    }
    
    .article-hero h1 {
        font-size: 1.75rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .article-body p,
    .article-body ul,
    .article-body ol {
        font-size: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .article-cta {
        padding: 2rem;
    }
    
    .article-cta h3 {
        font-size: 1.5rem;
    }
}
