
.speakers-info-section {
    padding: 1rem 0 4rem;
}

.speakers-info-heading {
    font-size: 3rem;
    margin: 0 0 2rem;
}

.speaker-detail {
    margin-bottom: 3rem;
    scroll-margin-top: 4rem;
}

.speaker-detail .mat {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.speaker-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.speaker-row .mat {
    flex: 0 0 300px;
    margin: 0;
}

.speaker-body {
    flex: 1 1 auto;
    min-width: 0;
}

.speaker-name {
    font-size: 1.4rem;
    margin: 1.1rem 0 0.2rem;
}

.bio {
    white-space: pre-line;
    text-align: left;
    line-height: 1.7;
    margin: 1rem auto 1.25rem;
    max-width: 65ch;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.topics {
    white-space: pre-line;
    text-align: left;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 65ch;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.topics-table,
.speaker-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.topics-table td,
.speaker-table td {
    border: 3px solid var(--border-color, #ddd);
    padding: 0.75rem 1rem;
    vertical-align: top;
}

.speaker-table .bio,
.speaker-table .topics {
    margin: 0;
    max-width: none;
}

/* Stack once .main-content stops being at its full max-width:
   64rem max-width + 2 * 4rem padding = 72rem. */
@media (max-width: 72rem) {
    .speaker-row {
        flex-direction: column;
        align-items: center;
    }

    .speaker-row .mat {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .speakers-info-heading {
        font-size: 2rem;
    }
}
