/* ============================================================
   Location Hub — Blog
   File: assets/css/hub/hub-blog.css
   Scope: .hub-blog__* classes only
   Figma: "Blog Block" node 2115:583 — navy bg, manually-selected posts.
   ============================================================ */

.hub-blog {
    background: var(--hub-navy);
    color: var(--hub-cream);
    padding: 50px 0;
}

.hub-blog__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 1220px;
    box-sizing: border-box;
    padding: 0 100px;
    margin: 0 auto 50px;
    text-align: center;
}

.hub-blog__heading {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--hub-font-serif);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--hub-cream);
    text-align: center;
}

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

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

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

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

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

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

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

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

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

.hub-blog__see-all:hover {
    color: var(--hub-blue);
}


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

@media (max-width: 1200px) {
    .hub-blog__card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hub-blog__header {
        padding: 0 24px;
    }

    .hub-blog__heading {
        font-size: 32px;
    }

    .hub-blog__grid {
        padding: 0 24px;
        gap: 24px;
    }
}
