/* Blog & Articles CSS */
.blog-hub-hero {
    background-color: #f8fafc;
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.blog-hub-hero h1 {
    color: #0f172a;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hub-hero p {
    font-size: 1.25rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.article-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.article-card-title {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card-excerpt {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    border-color: #1e3a8a;
}

/* Single Article Styling */
.article-header {
    background-color: #f8fafc;
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.article-header .category {
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.article-header h1 {
    color: #0f172a;
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.article-meta {
    color: #64748b;
    font-weight: 500;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.8;
}

.article-body h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-body h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background-color: #1e3a8a;
    border-radius: 2px;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #334155;
}

.article-body ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

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

.article-body li::marker {
    color: #2563eb;
}

.article-citation {
    background-color: #f1f5f9;
    padding: 1.5rem;
    border-left: 4px solid #94a3b8;
    margin-top: 3rem;
    font-size: 1rem;
    color: #475569;
}

/* Author Bio Box */
.author-bio-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.author-bio-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-bio-content h4 {
    color: #0f172a;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.author-bio-content p {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .author-bio-box {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}