#primary section.about-team {
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-team__label {
    margin-bottom: 24px;
}

.about-team__inner {
    display: flex;
    flex-direction: column;
}

.about-team__header {
    margin-bottom: 40px;
}

.about-team__main {
    display: flex;
    gap: 40px;
}

.about-team__member {
    display: flex;
    flex-direction: column;
    flex-basis: 39.4%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-team__member-photo {
    display: flex;
}

.about-team__member-photo img {
    width: 100%;
    height: auto;
}

.about-team__member-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    bottom: -1px;
    left: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    width: 100%;
    box-sizing: border-box;
}

.about-team__member-position {
    color: var(--black-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
}

.about-team__text {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: flex-end;
    flex: 1 1 calc(100% - 39.4% - 40px);
    overflow: hidden;
}

.about-team__decoration {
    position: absolute;
    top: clamp(-420px, calc(-367px - (1440px - 100vw) * 0.12), -367px);
    right: clamp(-154px, calc(-154px + (1440px - 100vw) * 0.08), -100px);

    width: clamp(300px, 58vw, 834px);
}

.about-team__text-title {
    margin-bottom: 24px;
}

.about-team__text-description p {
    color: var(--grey-600);
}

.about-team__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.about-team__tags p {
    color: var(--black-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 7px 15px;
    align-items: center;
    border-radius: 24px;
    border: 1px solid var(--BlueGrey-50);
    background: var(--BlueGrey-25);
}

.about-team__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    margin-top: 24px;
}

.about-team__cta--mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    #primary section.about-team {
        padding-bottom: 40px;
    }

    .about-team__text-title {
        margin-bottom: 16px;
    }

    .about-team__text-description p,
    .about-team__tags p {
        font-size: 16px;
    }

    .about-team__cta--desktop {
        display: none;
    }

    .about-team__cta--mobile {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .about-team__member-position {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .about-team__container {
        overflow: hidden;
    }

    .about-team__label {
        margin-bottom: 16px;
    }
}

@media screen and (min-width: 700px) and (max-width: 1024px) {
    .about-team__main {
        gap: 24px;
    }

    .about-team__text {
        flex-basis: calc(100% - 39.4% - 24px);
    }
}

@media screen and (max-width: 700px) {
    .about-team__main {
        flex-direction: column;
    }

    .about-team__member,
    .about-team__text {
        flex-basis: 100%;
    }

    .about-team__decoration {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .about-team__cta {
        flex-direction: column;
    }

    .about-team__cta-button {
        width: 100%;
    }
}
