/* ============================================================
   Location Spoke — Blog
   File: assets/css/spoke/spoke-blog.css
   Scope: .spoke-blog__* classes only
   Figma: node 2205:429 — navy bg, header + dynamic latest-posts
   grid (featured image + category + title) + "See all" link.
   ============================================================ */

.spoke-blog__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 825px;
    margin: 0 auto 50px;
    text-align: center;
}

.spoke-blog__heading {
    margin: 0;
    color: var(--spoke-white);
}

.spoke-blog__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1220px;
    margin: 0 auto 50px;
}

.spoke-blog__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 350px;
    height: 450px;
    padding: 30px;
    background: var(--spoke-white);
    border-radius: var(--spoke-radius-card);
    text-decoration: none;
    color: var(--spoke-navy);
    transition: opacity 0.15s;
}

.spoke-blog__card:hover {
    opacity: 0.9;
}

.spoke-blog__card-image {
    width: 100%;
    height: 240px;
    border-radius: var(--spoke-radius-img);
    overflow: hidden;
    flex-shrink: 0;
}

.spoke-blog__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spoke-blog__card-label {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.0112em;
    color: var(--spoke-blue);
    margin: 0;
}

.spoke-blog__card-title {
    font-family: var(--spoke-font-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0;
}

.spoke-blog__footer {
    text-align: center;
}

.spoke-blog__see-all {
    display: inline-block;
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-white);
    text-align: center;
    text-decoration: underline;
}

.spoke-blog__see-all:hover {
    color: var(--spoke-gold);
}


/* ============================
   RESPONSIVE — BLOG
   ============================ */

@media (max-width: 1024px) {
    .spoke-blog__grid {
        gap: 24px;
    }

    .spoke-blog__card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .spoke-blog__header {
        margin-bottom: 32px;
    }

    .spoke-blog__grid {
        gap: 24px;
    }
}
