/* --------------------
         BLOG LISTING
       -------------------- */
.blog-listing {
    background: var(--bg-light);
}

.blog-listing h1 {
    font-size: var(--text-h2);
    margin-bottom: 48px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 16px;
    text-align: left;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--bg-light-accent);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--bg-light-accent);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card__image--placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--graphite) 0%, var(--table-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--floor-blue);
    font-size: 48px;
}

.blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__title {
    font-size: var(--text-h3);
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.blog-card__preview {
    color: var(--text-dark-muted);
    font-size: var(--text-body);
    flex: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card__link {
    display: inline-block;
    color: var(--table-blue);
    font-weight: 600;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--floor-blue);
    padding-bottom: 2px;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.blog-card__link:hover {
    color: var(--floor-blue);
}

/* --------------------
         BLOG ARTICLE
       -------------------- */
.blog-article {
    background: var(--bg-light);
    text-align: left;
}

.blog-article__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

.blog-article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--table-blue);
    font-weight: 600;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: color 0.2s ease;
}

.blog-article__back:hover {
    color: var(--floor-blue);
}

.blog-article__image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 40px;
    display: block;
}

.blog-article__image--placeholder {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--graphite) 0%, var(--table-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--floor-blue);
    font-size: 80px;
}

.blog-article__title {
    font-size: var(--text-h2);
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.blog-article__meta {
    color: var(--text-dark-muted);
    font-size: var(--text-small);
    margin-bottom: 40px;
    display: block;
}

.blog-article__content {
    color: var(--text-dark);
    font-size: var(--text-body);
    line-height: 1.8;
}

.blog-article__content h2 {
    font-size: var(--text-h3);
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-dark);
    text-align: left;
}

.blog-article__content p {
    margin-bottom: 20px;
}

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

.blog-article__content li {
    margin-bottom: 8px;
}

.blog-article__content strong {
    color: var(--text-dark);
    font-weight: 700;
}

.blog-article__content a {
    color: var(--table-blue);
    border-bottom: 1px solid var(--floor-blue);
    transition: color 0.2s ease;
}

.blog-article__content a:hover {
    color: var(--floor-blue);
}

.blog-article__content blockquote {
    border-left: 4px solid var(--floor-blue);
    padding-left: 20px;
    margin: 28px 0;
    color: var(--text-dark-muted);
    font-style: italic;
}

/* --------------------
         RESPONSIVE
       -------------------- */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-article__image--placeholder {
        height: 200px;
    }
}
