.speakers {
    position: relative;
    background: var(--pink);
    padding: 100px 0;
}

.speakers__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.speakers__title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 80px;
    line-height: 96px;
    text-transform: uppercase;
    color: var(--ink);
}

.speakers__label {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--ink);
}

.speakers__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.speakers__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 28px;
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--white);
}

.speakers__photo {
    width: 100%;
    height: auto;
    border-bottom: 2px solid var(--ink);
}

.speakers__info {
    padding: 19px 20px 20px;
}

.speakers__name {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 36px;
    text-transform: uppercase;
    color: var(--ink);
}

.speakers__role {
    margin-top: 9px;
    font-size: 16px;
    line-height: 24px;
    color: var(--grey);
}

.speakers__role + .speakers__role {
    margin-top: 0;
}

.speakers__decor {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.speakers__decor--ring {
    left: 65px;
    top: -25px;
    width: 183px;
}

.speakers__decor--magnifier {
    right: 57px;
    top: 457px;
    width: 188px;
}

@media (max-width: 1380px) {
    .speakers {
        padding: 80px 0;
    }

    .speakers__title {
        font-size: 64px;
        line-height: 72px;
    }

    .speakers__decor--ring {
        left: 0;
        width: 140px;
    }

    .speakers__decor--magnifier {
        right: 0;
        top: auto;
        bottom: -60px;
        width: 140px;
    }
}

@media (max-width: 1023px) {
    .speakers {
        padding: 64px 0;
    }

    .speakers__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .speakers__title {
        font-size: 48px;
        line-height: 52px;
    }

    .speakers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .speakers__name {
        font-size: 24px;
        line-height: 30px;
    }

    .speakers__role {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 767px) {
    .speakers {
        padding: 48px 0;
    }

    .speakers__title {
        font-size: 36px;
        line-height: 38px;
    }

    .speakers__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .speakers__decor--ring {
        left: 0;
        top: -20px;
        width: 100px;
    }

    .speakers__decor--magnifier {
        right: 0;
        bottom: -40px;
        width: 100px;
    }
}
