/* Professional Article Template Styles for Smart Finance Hub */

/* Article Layout */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    align-items: center;
}

.article-author,
.article-date,
.article-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
}

.article-category:hover {
    background: #d97706;
}

/* Article Content */
.article-content {
    line-height: 1.7;
    color: #374151;
    font-size: 1.1rem;
}

.article-content h1 {
    font-size: 2rem;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    border-bottom: 3px solid #f59e0b;
    padding-bottom: 0.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.25rem;
    color: #374151;
    margin: 1.25rem 0 0.5rem 0;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content strong {
    color: #1f2937;
    font-weight: 600;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-content th {
    background: #f59e0b;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.article-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-content tr:last-child td {
    border-bottom: none;
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid #f59e0b;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #fef3c7;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Call-to-Action */
.article-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.article-cta h3 {
    color: white !important;
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #f59e0b;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.article-nav a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.article-nav a:hover {
    color: #d97706;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-container {
        margin: 0;
        border-radius: 0;
        padding: 1rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-content table {
        font-size: 0.9rem;
    }

    .article-content th,
    .article-content td {
        padding: 0.5rem;
    }
}

/* Logo Header Improvements */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.logo img {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
}

/* Professional Brand Colors */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --background: #ffffff;
}