/* Alster+ article stream: the supplied four-column masonry, in Alster typography. */
.alster-stream,
.alster-stream * {
    box-sizing: border-box;
}

.alster-stream {
    container: alster-stream / inline-size;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "neue-haas-unica", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.alster-stream [hidden] {
    display: none !important;
}

.alster-stream .alster-stream-grid {
    --alster-stream-columns: 4;
    --alster-stream-row-gap: 48px;
    display: grid;
    grid-template-columns: repeat(var(--alster-stream-columns), minmax(0, 1fr));
    gap: var(--alster-stream-row-gap) 28px;
    position: relative;
    align-items: start;
    margin: 0;
    padding: 0;
}

.alster-stream .alster-stream-grid--masonry {
    display: block;
}

.alster-stream .alster-stream-item {
    position: relative;
    display: block;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.alster-stream .alster-stream-grid--masonry > .alster-stream-item {
    position: absolute;
    top: 0;
    left: 0;
}

/* A shared separator in the gap around cards without an image. */
.alster-stream .alster-stream-grid--masonry > .alster-stream-item--divider-before::before {
    content: "";
    position: absolute;
    top: calc(var(--alster-stream-row-gap) / -2);
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, .25);
    pointer-events: none;
}

.alster-stream .alster-stream-image-link {
    display: block;
    overflow: hidden;
    margin: 0 0 20px;
    padding: 0;
}

.alster-stream .alster-stream-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    transition: transform .5s ease;
}

/* Optional uniform portrait crops, scoped to the selected stream instance. */
.alster-stream.alster-stream--images-5-7 .alster-stream-image-link {
    position: relative;
    aspect-ratio: 5 / 7;
}

.alster-stream.alster-stream--images-5-7 .alster-stream-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.alster-stream .alster-stream-title,
.alster-stream .alster-stream-title a {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "neue-haas-unica", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 36px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

.alster-stream .alster-stream-title a {
    transition: opacity .2s ease;
}

.alster-stream .alster-stream-title a:hover {
    opacity: .65;
}

.alster-stream .alster-stream-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    opacity: .7;
}

.alster-stream .alster-stream-categories li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.alster-stream .alster-stream-date {
    display: block;
    margin: 14px 0 0;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
    opacity: .7;
}

.alster-stream .alster-stream-excerpt,
.alster-stream .alster-stream-empty {
    margin: 12px 0 0;
    padding: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
}

.alster-stream a {
    color: #fff !important;
    text-decoration: none !important;
}

.alster-stream .alster-stream-controls {
    margin: 0 0 28px;
    padding: 0;
}

.alster-stream .alster-stream-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.alster-stream .alster-stream-controls button,
.alster-stream .alster-stream-controls a,
.alster-stream .alster-stream-load button,
.alster-stream .alster-stream-load a {
    appearance: none;
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: "neue-haas-unica", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 36px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: opacity .2s ease;
}

.alster-stream .alster-stream-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0 0;
    padding: 0;
}

.alster-stream .alster-stream-controls [data-alster-stream-toggle],
.alster-stream .alster-stream-filters a {
    font-size: 18px !important;
    line-height: 26px !important;
}

.alster-stream .alster-stream-filters a {
    opacity: .55;
}

.alster-stream .alster-stream-filters a[aria-current="true"],
.alster-stream .alster-stream-filters a:hover,
.alster-stream .alster-stream-filters a:focus-visible {
    opacity: 1;
}

.alster-stream .alster-stream-controls button:hover,
.alster-stream .alster-stream-load a:hover,
.alster-stream .alster-stream-load button:hover {
    opacity: .65;
}

.alster-stream .alster-stream-search {
    display: block;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-weight: 400;
}

.alster-stream .alster-stream-search input {
    width: 280px;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .35) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: "neue-haas-unica", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 36px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.alster-stream .alster-stream-search input::placeholder {
    color: #fff;
    opacity: .65;
}

.alster-stream .alster-stream-controls .alster-stream-reset {
    margin-top: 16px;
    font-size: 16px !important;
    line-height: 24px !important;
}

.alster-stream .alster-stream-status {
    margin: 0 0 24px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    opacity: .75;
}

.alster-stream .alster-stream-status:empty {
    display: none;
}

.alster-stream .alster-stream-load {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin: 32px 0 0;
}

.alster-stream .alster-stream-load:empty {
    display: none;
}

.alster-stream .alster-stream-load button:disabled {
    cursor: wait;
    opacity: .6;
}

.alster-stream .alster-stream-teaser-link {
    margin: 32px 0 0;
    padding: 0;
    font-size: 24px;
    line-height: 36px;
}

.alster-stream .alster-stream-teaser-link a {
    transition: opacity .2s ease;
}

.alster-stream .alster-stream-teaser-link a:hover {
    opacity: .65;
}

.alster-stream :is(a, button, input):focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 4px;
}

.alster-stream .alster-stream-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .alster-stream .alster-stream-image-link:hover .alster-stream-image {
        transform: scale(1.025);
    }
}

@container alster-stream (max-width: 800px) {
    .alster-stream .alster-stream-grid {
        --alster-stream-columns: 2;
    }
}

@container alster-stream (max-width: 500px) {
    .alster-stream .alster-stream-grid {
        --alster-stream-columns: 1;
        --alster-stream-row-gap: 36px;
    }

    .alster-stream .alster-stream-toolbar {
        gap: 14px 20px;
    }

    .alster-stream .alster-stream-filters {
        gap: 8px 20px;
    }
}

@supports not (container-type: inline-size) {
    @media (max-width: 860px) {
        .alster-stream .alster-stream-grid { --alster-stream-columns: 2; }
    }

    @media (max-width: 560px) {
        .alster-stream .alster-stream-grid { --alster-stream-columns: 1; --alster-stream-row-gap: 36px; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .alster-stream * {
        transition: none !important;
    }

    .alster-stream .alster-stream-image-link:hover .alster-stream-image {
        transform: none;
    }
}