/* ==========================================================================
   ARTICLE PAGE - Minimal styles for blog/comparison articles
   Works WITH index CSS, does NOT override header/footer
   ========================================================================== */

.article-wrapper {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 5rem 2rem 0;
}

.article-hero-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: block;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(44, 38, 37, 0.6);
    margin-bottom: 1.5rem;
}

.article-breadcrumbs a {
    color: var(--warmth-primary, #C94A2A);
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(201, 74, 42, 0.1) !important;
    box-shadow: none !important;
    z-index: auto !important;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    padding-top: 0 !important;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.2;
    color: #2C2625;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(44, 38, 37, 0.6);
}

/* Article content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4A4A4A;
}

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

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2C2625;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(201, 74, 42, 0.1);
}

.article-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #2C2625;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: #2C2625;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-content th {
    background: #2C2625;
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201, 74, 42, 0.08);
}

.article-content tr:hover {
    background: rgba(251, 247, 242, 0.5);
}

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

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

/* CTA Box */
.article-cta {
    background: #C94A2A;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2.5rem 0;
}

.article-cta h2 {
    color: #fff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    border: none !important;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem;
    margin: 0 0 1.2rem 0;
}

.article-cta a {
    display: inline-block;
    background: #fff;
    color: #C94A2A;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.article-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Related articles */
.article-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 74, 42, 0.1);
}

.article-related h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2C2625;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.article-related-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid rgba(201, 74, 42, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: #2C2625;
    transition: all 0.2s ease;
}

.article-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 74, 42, 0.08);
}

.article-related-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-related-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .article-wrapper {
        padding: 0 1.25rem;
        margin: 1.5rem auto 2rem;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-content {
        font-size: 1rem;
    }

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

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

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

    .article-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }
}
