.home-story-grid {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.home-story-grid--news {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-story-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #fff;
    color: #10254c;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.home-story-card:hover,
.home-story-card:focus-visible {
    border-color: #87a8d1;
    box-shadow: 0 5px 16px rgb(16 37 76 / 10%);
    color: #10254c;
    text-decoration: none;
}

.home-story-card:focus-visible {
    outline: 2px solid #184d8c;
    outline-offset: 2px;
}

.home-story-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f1f5f9;
}

.home-story-grid--announcements .home-story-card__image {
    aspect-ratio: 2 / 1;
}

.home-story-card__body {
    display: grid;
    gap: 7px;
    padding: 12px 14px;
}

.home-story-card__title {
    margin: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

.home-story-card__date {
    color: #4e6079;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

@media (max-width: 850px) {
    .home-story-grid--news,
    .home-story-grid--announcements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .home-story-grid--news,
    .home-story-grid--announcements {
        grid-template-columns: minmax(0, 1fr);
    }
}
