/* Style dla sekcji bio prowadzących */
.content_container h2 {
    color: #EE728A;
    text-align: justify;
    margin-bottom: 20px;
}

.bio-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: flex-start;
    justify-content: space-between;
}

.bio-image {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-text {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    text-align: justify;
    font-size: 18px;
    line-height: 1.6;
}

.bio-text h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 28px;
}

.bio-text p {
    margin-bottom: 10px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .bio-section {
        flex-direction: column;
        align-items: center;
        padding: 0px;
        gap: 30px;
        margin: 30px auto;
    }

    .bio-image {
        flex: none;
        width: 100%;
        max-width: 320px; /* Obrazek na środku, nie za duży na telefony */
        min-width: 0;
    }

    .bio-text {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .bio-text h3 {
        text-align: center; /* Wyśrodkowany nagłówek na telefonach */
    }
}
