/* Speakers Section Styles */

.speakers-section {
    background-color: #fff;
    padding: 80px 40px;
}

.speakers-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.speakers-heading {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 60px 0;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #09293b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.speakers-grid {
    width: 100%;
    max-width: 1140px;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    grid-template: "." / 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: row;
    align-content: stretch;
    justify-content: center;
    align-self: center;
    align-items: stretch;
    justify-items: stretch;
    display: grid;
    margin: 50px auto 0;
}

.speaker-item {
    text-align: center;
    flex-flow: column;
    align-items: center;
    font-size: 14px;
    line-height: 22px;
    display: flex;
}

.speaker-link {
    display: block;
    text-decoration: none;
}

.speaker-link:hover .speaker-name, .speaker-link:hover .speaker-affiliation {
    text-decoration: underline;
}

.speaker-image {
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f5f5f5;
    width: 270px;
    height: 270px;
    max-height: none;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speaker-name {
    margin-bottom: 0;
    padding-right: 0;
    font-family: Open Sans, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #09293b;
}

.speaker-affiliation {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    color: #09293b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .speakers-section {
        padding: 60px 20px;
    }
    
    .speakers-heading {
        font-size: 2.25rem;
        margin-bottom: 40px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-item {
        max-width: 100%;
    }
    
    .speaker-image {
        width: 180px;
        height: 180px;
    }
    .speaker-name {
        font-size: 14px;
    }
    
    .speaker-affiliation {
        font-size: 14px;
    }
}

