.eposdownload {
    --eposdownload-accent: #006633;
    --eposdownload-border: #d5dbe2;
    background: #f0f5ef;
    color: #172333;
    padding: clamp(1rem, 3vw, 2rem);
}

.eposdownload__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.eposdownload__tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--eposdownload-border);
    border-radius: 0.75rem;
    box-shadow: 0 0.2rem 0.7rem rgba(23, 35, 51, 0.09);
    overflow-wrap: anywhere;
}

.eposdownload__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.eposdownload__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
}

.eposdownload__title {
    margin: 0;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1.25;
}

.eposdownload__teaser {
    margin: 0;
    white-space: pre-line;
}

.eposdownload__button {
    display: inline-block;
    margin-top: auto;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    background: var(--eposdownload-accent);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.eposdownload__button:hover {
    background: #000;
    color: #fff;
}

.eposdownload :where(a):focus-visible {
    outline: 2px solid var(--eposdownload-accent);
    outline-offset: 3px;
}

.eposdownload__pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.eposdownload__pagination :where(a, [aria-current]) {
    display: grid;
    box-sizing: border-box;
    min-width: 2.75rem;
    min-height: 2.75rem;
    place-content: center;
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--eposdownload-border);
    border-radius: 0.375rem;
    background: #fff;
    color: var(--eposdownload-accent);
    text-decoration: none;
}

.eposdownload__pagination a:hover {
    text-decoration: underline;
}

.eposdownload__pagination [aria-current] {
    background: var(--eposdownload-accent);
    color: #fff;
}

.eposdownload__empty {
    margin: 0;
}

@media (max-width: 980px) {
    .eposdownload__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .eposdownload__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
