/* Latest from Jim - home-page MB Journal preview */
.bs-latest-mb {
    width: min(100%, 1320px);
    margin: 1.1rem auto 1.25rem;
    padding: clamp(0.88rem, 2vw, 1.1rem);
    border: 1px solid rgba(34, 112, 143, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 248, 251, 0.88)),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(21, 79, 108, 0.12);
    box-sizing: border-box;
}

.bs-latest-mb * {
    box-sizing: border-box;
}

.bs-latest-mb__head {
    display: grid;
    gap: 0.34rem;
    max-width: 820px;
    margin-bottom: 0.85rem;
}

.bs-latest-mb__head h2 {
    margin: 0;
    color: var(--bs-text-strong);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.02;
    font-weight: 850;
}

.bs-latest-mb__head p {
    margin: 0;
    color: var(--bs-text-soft);
    font-size: 1rem;
    line-height: 1.42;
}

.bs-latest-mb__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) repeat(2, minmax(0, 0.89fr));
    gap: 0.78rem;
    align-items: stretch;
}

.bs-latest-mb-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0.95rem;
    border: 1px solid rgba(34, 112, 143, 0.17);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(21, 79, 108, 0.08);
}

.bs-latest-mb-card--primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 247, 253, 0.9));
    border-color: rgba(34, 112, 143, 0.26);
    box-shadow: 0 18px 38px rgba(21, 79, 108, 0.14);
}

.bs-latest-mb-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    min-height: 1.55rem;
    margin-bottom: 0.58rem;
    color: var(--bs-accent-dark);
    font-size: 0.78rem;
    font-weight: 850;
}

.bs-latest-mb-card__meta time,
.bs-latest-mb-card__meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.26rem 0.5rem;
    background: rgba(47, 159, 195, 0.11);
}

.bs-latest-mb-card h3 {
    margin: 0;
    color: var(--bs-text-strong);
    font-size: 1.08rem;
    line-height: 1.12;
    font-weight: 850;
}

.bs-latest-mb-card--primary h3 {
    font-size: clamp(1.22rem, 2.3vw, 1.62rem);
}

.bs-latest-mb-card h3 a {
    color: inherit;
    text-decoration: none;
}

.bs-latest-mb-card h3 a:hover,
.bs-latest-mb-card h3 a:focus {
    color: var(--bs-accent-dark);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.bs-latest-mb-card p {
    flex: 1 1 auto;
    margin: 0.62rem 0 0.85rem;
    color: var(--bs-text-soft);
    font-size: 0.95rem;
    line-height: 1.42;
}

.bs-latest-mb-card--primary p {
    color: #435f6e;
    font-size: 1rem;
}

.bs-latest-mb-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 2.45rem;
    padding: 0.68rem 0.85rem;
    border: 1px solid rgba(34, 112, 143, 0.26);
    border-radius: 8px;
    background: #17617d;
    color: #fff;
    box-shadow: 0 10px 22px rgba(23, 97, 125, 0.16);
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.bs-latest-mb-card__link:hover,
.bs-latest-mb-card__link:focus {
    background: #104f68;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 980px) {
    .bs-latest-mb__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .bs-latest-mb {
        margin-top: 0.9rem;
        padding: 0.82rem;
    }

    .bs-latest-mb-card {
        padding: 0.85rem;
    }

    .bs-latest-mb-card__link {
        width: 100%;
    }
}
