/* Blog Index Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--color-bg-light, #f4f6f8);
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-dark, #333);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.blog-card-link {
    color: var(--color-primary, #004d99); /* Fallback to a blue if var not set */
    font-weight: 500;
    text-decoration: none;
    align-self: flex-start;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Individual Article Styles */
.blog-article {
    max-width: 900px; /* Increased from 800px */
    margin: 0 auto;
    padding: 80px 20px; /* Increased top/bottom padding for more space */
}

.blog-header {
    text-align: center;
    margin-bottom: 60px; /* Increased from 40px */
}

.blog-title {
    font-size: 3rem; /* Increased size */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-dark, #333);
    line-height: 1.2;
}

.blog-meta {
    color: #666; /* Slightly darker for better readability */
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-content {
    font-size: 1.15rem; /* Slightly larger text */
    line-height: 2.0; /* Increased line-height for readability */
    color: #333; /* Darker text */
}

.blog-content h2 {
    font-size: 2rem;
    margin-top: 60px; /* Increased spacing */
    margin-bottom: 30px;
    color: var(--color-text-dark, #333);
    font-weight: 700;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text-dark, #333);
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 24px; /* More space between paragraphs */
}

.blog-content ul, .blog-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 12px;
}

.blog-content strong {
    color: var(--color-primary, #004d99);
}

.blog-cta {
    margin-top: 80px;
    padding: 60px;
    background-color: #fff; /* White background to stand out against light gray page if needed, or keep consistent */
    border: 1px solid #e2e8f0;
    border-radius: 12px; /* Softer corners */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Added shadow */
}

.blog-cta h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--color-bg-light, #f4f6f8);
    margin-bottom: 0; /* Remove margin as padding is handled by article */
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: var(--color-primary, #004d99);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb span {
    color: #999;
    margin: 0 10px;
}
