/* ===============================
   VARIABLES
================================ */
:root {
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --gap-lg: 2rem;
    --gap-md: 1.5rem;
    --gap-sm: 1rem;

    --text-main: #000;
    --border-light: var(--color);
    --bg-hover: var(--color-dark);

    --transition: 0.3s ease;
}

/* ===============================
   COMMON
================================ */
main section {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

main h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem); /* Увеличено */
    color: var(--color);

}

/* ===============================
   CONF DATE
================================ */
main .conf-date {
    color: var(--text-main);
    border-radius: var(--radius-lg);
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

main .conf-date .conf-i {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

main .conf-date .link-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.65rem 1.6rem;
    background: var(--color);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
}

main .conf-date .link-box a:hover {
    background: var(--color-dark);
}

/* ===============================
   SPEAKERS
================================ */
main .speakers > div {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    overflow: hidden;
    justify-content: space-between;
}

/* BUTTONS */
main .speakers button {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

main .speakers button:hover {
    background: var(--bg-hover);
}

/* LIST — готово под wheel / slider */
main .speakers ul {
    display: flex;
    gap: var(--gap-md);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 50%;

    overflow:visible;
    flex: 1;
}

.hof {
    overflow: hidden;
}
/* ITEM */
main .speakers li {
    flex: 0 0 auto;
    text-align: center;
    user-select: none;
    display: flex;
    width: 100%;
}

main .speakers ul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

main .speakers img {
    aspect-ratio: 1 / 1;
    height: fit-content;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.6rem;
    width: clamp(200px, 20%, 400px);
}

main .speakers div {
    padding: 0 5%;
}

main .speakers p {
    margin: 0;
    line-height: 1.3;
    min-height: fit-content;
    width: 100%;
}

.speaker_name {
    font-size: 2.0rem; /* Увеличено (было 1.9rem) */
    margin-bottom: 20px;
}

.speaker_bio {
    text-align: justify;
    font-size: 1.0rem; /* Увеличено (было 0.9rem) */
}

/* ===============================
   SPONSORS
================================ */
main .sponsors ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);

    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

main .sponsors li {
    display: flex;
    justify-content: center;
}

main .sponsors img {
    max-width: 160px;
    width: 100%;
    height: auto;
}

main .conf-p {
    text-align: left;
}

main .conf-p a {
    color: var(--color);
    font-weight: 500;
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    main .speakers > div {
        flex-direction: column;
        align-items: stretch;
    }

    main .speakers button {
        align-self: center;
    }
}

@media (max-width: 600px) {
    main .speakers li {
        flex-direction: column;
    }
    main .speakers img {
        margin: 0 auto 0.6rem;
    }
}