.bios-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.bio-item {
/*    width: 45%;*/
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    flex-basis: 48%;
}

.bio-item img {
    max-width: 100%;
    border-radius: 5px;
}

.speaker-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.speaker-card img {
    height: 300px !important;
    object-fit: contain;
    display: block;
    margin: auto;
}

.speaker-info {
/*    padding: 20px;*/
    padding-top: 20px;
}

.speaker-name {
    font-size: 1.5em;
    font-size: 2.0rem !important;
    color: #284770 !important;
    margin-bottom: 15px;
    text-align: center !important;
}

.speaker-bio {
    font-size: 1em;
    text-align: justify;
    color: #333;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .bio-item {
        flex-basis: 100%;
    }
}