/*
 * Speaker list (plugin doagevents_speakers). Until 23.10.2026 the list had no
 * styles at all and rendered as a column of browser-default buttons
 * (Redmine #18631). Kept neutral so it fits every event site theme.
 */
.speaker__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 1.5rem;
}
.speaker__list-item button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
}
.speaker__list-item .ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaker__list-item button:hover img,
.speaker__list-item button:focus-visible img {
    opacity: 0.85;
}
.speaker__list-item button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.speaker__list-item .speaker__name {
    display: block;
    padding: 0.75rem 0.25rem 0;
    font-weight: 600;
    line-height: 1.3;
}
