/* ===================================
   Calculator Article Content Styles
   Professional article layout for calculator pages
   =================================== */

/* Article Content Container */
.article-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    line-height: 1.8;
    color: #2c3e50;
}

/* Typography */
.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a252f;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.5rem 0 0.8rem;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #4a5568;
}

.article-content strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #4a5568;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

/* Internal Links */
.article-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.article-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Highlight Box - for important information */
.highlight-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Info Box - for tips and notes */
.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.info-box h4 {
    margin-top: 0;
    color: #667eea;
}

/* Number List - for step-by-step guides */
.number-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.number-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
}

.number-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Table Styling - simple and professional */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
}

.article-content table thead {
    background: #f8f9fa;
}

.article-content table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.article-content table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #4a5568;
}

.article-content table tr:hover {
    background: #f8f9fa;
}

/* Blockquote */
.article-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #5a6c7d;
}

/* Related Links Section */
.related-links {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.related-links h3 {
    margin-top: 0;
    color: #1a252f;
    font-size: 1.3rem;
}

.related-links ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.related-links li {
    margin-bottom: 0.8rem;
}

.related-links a {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    font-weight: 500;
    transition: all 0.2s ease;
}

.related-links a:hover {
    color: #764ba2;
    transform: translateX(4px);
}

.related-links a::before {
    content: "→";
    margin-right: 0.5rem;
    font-weight: 700;
}

/* Summary Section */
.article-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.article-summary h3 {
    color: white;
    margin-top: 0;
}

.article-summary p,
.article-summary li {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-content {
        padding: 0 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-content p,
    .article-content li {
        font-size: 1rem;
    }
    
    .number-list li {
        padding-left: 3rem;
    }
    
    .number-list li::before {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .article-content table {
        font-size: 0.9rem;
    }
    
    .article-content table th,
    .article-content table td {
        padding: 0.6rem 0.8rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.mt-3 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 2rem;
}














