.speakers {
    padding-top: 100px;
}

.speakers__title {
    margin-bottom: 40px;
}

.speakers__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.speaker {
    position: relative;
    display: flex;
    min-height: 540px;
    background: var(--white);
    border: 1px solid rgba(43, 127, 255, 0.12);
    border-radius: 32px;
    padding: 49px;
    overflow: hidden;
}
.speaker--flip {
    justify-content: flex-end;
}

.speaker__word {
    position: absolute;
    bottom: 0;
    left: 12%;
    transform: translate(-18%, 20%);
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 150px;
    line-height: 1;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #f0e9ff;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}
.speaker--flip .speaker__word {
    left: auto;
    right: 12%;
    transform: translate(18%, 20%);
}

.speaker__photo {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 0;
}
.speaker--flip .speaker__photo {
    right: auto;
    left: 0;
}

.speaker__decor {
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 520px;
    height: 520px;
    transform: rotate(8deg);
    object-fit: contain;
    pointer-events: none;
}
.speaker--flip .speaker__decor {
    left: -200px;
    transform: rotate(-8deg) scale(-1, 1);
}

.speaker__picture {
    position: absolute;
    inset: 0;
}

.speaker__img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.speaker__logo {
    position: absolute;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    top: 48px;
}
.speaker__logo--roistat {
    height: 30px;
    right: 80px;
}
.speaker__logo--iq {
    height: 41px;
    left: 48px;

}

.speaker__body {
    position: relative;
    z-index: 1;
    width: 621px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.speaker__name {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 50px;
    line-height: 1.12;
    letter-spacing: -2px;
    color: var(--ink);
}

.speaker__role {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    color: var(--violet);
}

.speaker__facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.speaker__fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    background: #f9f6ff;
    border: 1px solid rgba(59, 59, 59, 0.1);
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
}

.speakers__inner {
    position: relative;
}

.speakers__blob {
    position: absolute;
    width: auto;
    z-index: -1;
    pointer-events: none;
}

.speakers__blob.top {
    top: -260px;
    left: -200px;
    height: 840px;
}

.speakers__blob.bottom {
    bottom: -150px;
    right: -200px;
    height: 850px;
}

@media (max-width: 1280px) {
    .speaker__photo {
        width: 50%;
    }
    .speaker__body {
        width: 520px;
    }
    .speaker__name {
        font-size: 40px;
    }
    .speaker__fact {
        font-size: 16px;
    }
    .speaker__logo {
        top: 30px;
    }
    .speaker__logo--roistat {
        right: 40px;
        height: 26px;
    }
    .speaker__logo--iq {
        left: 30px;
        height: 30px;
    }
}

@media (max-width: 1023px) {
    .speakers {
        padding-top: 72px;
    }
    .speaker {
        padding: 0;
        min-height: unset;
        border-radius: 24px;
    }
    .speaker__photo {
        position: relative;
        width: 44%;
    }
    .speaker__img {
        position: static;
        width: 100%;
        height: 100%;
    }
    .speaker__body {
        width: 56%;
        gap: 14px;
        padding: 26px;
    }
    .speaker__name {
        font-size: 32px;
    }
    .speaker__role {
        font-size: 14px;
    }
    .speaker:first-child {
        flex-direction: row-reverse;
    }
    .speaker__logo {
        top: 16px;
    }
    .speaker__logo--roistat {
        right: 20px;
        height: 24px;
    }
    .speaker__logo--iq {
        left: 30px;
        height: 30px;
    }
    .speaker__word {
        font-size: 100px;
    }
}

@media (max-width: 767px) {
    .speakers {
        padding-top: 56px;
    }
    .speaker,
    .speaker--flip {
        flex-direction: column;
        padding: 0 0 24px;
        border-radius: 24px;
    }
    .speaker__picture {
        height: fit-content;
        display: flex;
        position: initial;
    }
    .speaker__photo {
        position: relative;
        width: 100%;
    }
    .speaker__img {
        position: relative;
        inset: 0;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: bottom center;
        background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(205, 177, 250, 0.5) 100%);;
    }
    .speaker__decor {
        display: none;
    }
    .speaker__body {
        width: 100%;
        padding: 24px 20px 0;
        gap: 14px;
    }
    .speaker__name {
        font-size: 28px;
        letter-spacing: -1px;
    }
    .speaker__fact {
        font-size: 15px;
    }
    .speaker__word {
        display: none;
    }
    .speaker:first-child {
        flex-direction: column;
    }
    .speaker__logo {
        top: 16px;
    }
    .speaker__logo--roistat {
        right: 16px;
        height: 20px;
    }
    .speaker__logo--iq {
        left: 16px;
        height: 24px;
    }
}

@media (max-width: 390px) {
    .speaker__name {
        font-size: 24px;
    }
}
