/* Match the event page surface so opaque white logo backgrounds blend away. */
.zwik-previous-participants-section .wiklhtwknt-p-title {
    text-wrap: balance;
}

.event-previous-participants-section .wiklhtwknt-p-title {
    margin-top: 0;
}

@media (max-width: 600px) {
    .event-previous-participants-section .wiklhtwknt-p-title {
        font-size: 2em !important;
        padding-inline: 1rem;
    }
}

.previous-participants-wall {
    padding-bottom: 5rem;
    background: #fafafa;
    isolation: isolate;
}

.previous-participants-wall .previous-participants-wall__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.previous-participants-wall .previous-participants-wall__item {
    height: 7em;
    min-width: 0;
    padding: 1em;
}

.previous-participants-wall__item > a {
    display: flex;
    height: 100%;
    width: 100%;
    color: black !important;
    text-align: center;
}

.previous-participants-wall__item img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    mix-blend-mode: multiply;
    transition: filter 160ms ease, opacity 160ms ease;
}

.previous-participants-wall__item > a:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

@media (hover: hover) {
    .previous-participants-wall__item > a:hover img {
        filter: grayscale(0);
        opacity: 1;
    }
}

.previous-participants-wall__item span {
    margin: auto;
    overflow-wrap: anywhere;
}

.previous-participants-wall__actions {
    text-align: center;
}

.previous-participants-wall .previous-participants-wall__toggle {
    margin-top: 3rem;
    min-height: 44px;
    padding: 0.7em 1.5em !important;
    border: 1px solid #004697 !important;
    border-radius: 4px;
    background: transparent !important;
    color: #004697 !important;
    box-shadow: none !important;
    font: 700 16px 'Source Sans Pro', sans-serif;
    cursor: pointer;
}

.previous-participants-wall__item > a:focus-visible,
.previous-participants-wall .previous-participants-wall__toggle:focus-visible {
    outline: 3px solid #3d8eff;
    outline-offset: 4px;
}

.previous-participants-wall .previous-participants-wall__toggle:hover {
    background: #004697 !important;
    color: white !important;
}

.previous-participants-wall [hidden] {
    display: none !important;
}

@media (max-width: 991px) {
    .previous-participants-wall .previous-participants-wall__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .previous-participants-wall .previous-participants-wall__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .previous-participants-wall__item img {
        transition: none;
    }
}
