/* Copying/Importing main variables would be ideal, but for now we rely on the main stylesheet being present */
:root {
    --blog-text-width: 700px;
}

.blog-container {
    max-width: var(--blog-text-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--db-red);
}

.blog-meta {
    color: var(--db-cool-gray-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-content {
    line-height: 1.8;
    color: var(--db-cool-gray-800);
    font-size: 1.1rem;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--db-cool-gray-800);
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.cta-box {
    background: var(--db-warm-gray-100);
    border-left: 5px solid var(--db-red);
    padding: 1.5rem;
    margin: 3rem 0;
    border-radius: 4px;
}

.cta-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--db-cool-gray-500);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
}

.back-link:hover {
    color: var(--db-red);
}

/* Overview Page Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--db-cool-gray-200);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--db-red);
}

.blog-card h3 {
    margin-top: 0;
    color: var(--db-red);
}

.blog-card p {
    color: var(--db-cool-gray-600);
    margin-bottom: 0;
}