.borox-news--module {
    --borox-ink: #253646;
    --borox-hover: #354d62;
    --borox-line: #d9e2ea;
    --borox-tint: #edf3f8;
    container-type: inline-size;
    /* Give shrink-to-fit Helix positions an intrinsic width even with containment. */
    contain-intrinsic-inline-size: 14rem;
    min-inline-size: 0;
    max-inline-size: 100%;
    color: var(--borox-ink);
    text-align: start;
}

.borox-news--module .borox-news__heading {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .8rem;
    padding: .35rem .5rem;
    border-radius: 8px;
    background: #fff;
    color: var(--borox-ink);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
}
.borox-news--module .borox-news__heading svg {
    flex: none;
}
.borox-news--module .borox-news__list {
    display: grid;
    gap: .7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.borox-news--module .borox-news__card {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-inline-size: 0;
    padding: .85rem;
    border: 1px solid var(--borox-line);
    border-inline-start: 3px solid var(--borox-ink);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 3px rgb(37 54 70 / 8%);
}
.borox-news--module .borox-news__card:focus-within {
    border-color: #8ca3b7;
    border-inline-start-color: var(--borox-ink);
}
@media (hover: hover) {
    .borox-news--module .borox-news__card:hover {
        box-shadow: 0 2px 6px rgb(37 54 70 / 12%);
    }
}
.borox-news--module .borox-news__datebox {
    display: grid;
    gap: .15rem;
    flex: none;
    min-inline-size: 4.15rem;
    padding: .5rem .32rem;
    border-radius: 8px;
    background: var(--borox-tint);
    color: var(--borox-ink);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.borox-news--module .borox-news__day {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1;
}
.borox-news--module .borox-news__month {
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.25;
}
.borox-news--module .borox-news__content {
    flex: 1;
    min-inline-size: 0;
    overflow-wrap: anywhere;
}
.borox-news--module .borox-news__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3rem;
    margin-block-end: .3rem;
}
.borox-news--module :is(.borox-news__category, .borox-news__featured) {
    display: inline-block;
    max-inline-size: 100%;
    padding: .14rem .48rem;
    border-radius: .35rem;
    background: var(--borox-tint);
    color: var(--borox-ink);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.35;
}
.borox-news--module .borox-news__featured {
    background: #faedd5;
    color: #674413;
}
.borox-news--module .borox-news__title {
    margin: 0;
    color: var(--borox-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}
.borox-news--module .borox-news__description {
    margin: .3rem 0 0;
    color: #354758;
    font-size: .875rem;
    line-height: 1.45;
}
.borox-news--module :is(.borox-news__title a, .borox-news__consult) {
    /* Helix position and preset rules may set link colours with an ID. */
    color: var(--borox-ink) !important;
    text-decoration: underline;
    text-underline-offset: .16em;
}
.borox-news--module .borox-news__consult {
    display: inline-block;
    margin-block-start: .35rem;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.4;
}
.borox-news--module .borox-news__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    margin: .85rem 0 0;
}
.borox-news--module .borox-news__archive-button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
    padding: .62rem .85rem;
    border: 1px solid var(--borox-ink);
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.borox-news--module .borox-news__archive-button svg {
    flex: none;
}
.borox-news--module .borox-news__archive-button span {
    min-inline-size: 0;
}
.borox-news--module .borox-news__archive-link {
    background: var(--borox-ink) !important;
    color: #fff !important;
}
.borox-news--module .borox-news__archive-link:is(:hover, :focus-visible) {
    background: var(--borox-hover) !important;
}
.borox-news--module .borox-news__legacy-link {
    background: #fff !important;
    color: var(--borox-ink) !important;
}
.borox-news--module .borox-news__legacy-link:is(:hover, :focus-visible) {
    background: var(--borox-tint) !important;
}
.borox-news--module :is(.borox-news__archive-button, .borox-news__consult, .borox-news__title a):focus-visible {
    outline: 2px solid #205c90;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
.borox-news--module .borox-news__empty {
    margin: 0;
    padding: .65rem;
    border-radius: 8px;
    background: #fff;
}

@container (max-width: 340px) {
    .borox-news--module .borox-news__heading { font-size: 1.25rem; }
    .borox-news--module .borox-news__card { gap: .55rem; padding: .65rem; }
    .borox-news--module .borox-news__datebox { min-inline-size: 3.35rem; padding: .4rem .2rem; }
    .borox-news--module .borox-news__day { font-size: 1.4rem; }
    .borox-news--module .borox-news__month { font-size: .65rem; }
}
