/* Homepage latest alerts - newest documents from the chosen Documents page */

.latest-alerts {
    padding: 100px 0;
    background: var(--primary-50, #E6F5FB);
}

.latest-alerts__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.latest-alerts__head .Section-title {
    margin-bottom: 0;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.2;
}

.alert-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
    border-radius: 12px;
    background: var(--color-white);
}

.alert-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--color-body);
}

.alert-card__type {
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--primary-50, #E6F5FB);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.alert-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
}

.alert-card__desc {
    margin: 0 0 24px;
    font-size: 15px;
}

/* Keeps the buttons lined up along the bottom of each card */
.alert-card__download {
    margin-top: auto;
}

@media (max-width: 767px) {
    .latest-alerts {
        padding: 64px 0;
    }

    .latest-alerts__head {
        margin-bottom: 32px;
    }

    .alert-card {
        padding: 24px;
    }
}
