.header--about {
    top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #C0C8D2;
    max-width: 1160px;
    margin: 0 auto;
}

.header--about .logo__img {
    height: 40px;
}

.header--about .header__logo-no-dark {
    line-height: 0;
}

.about-page {
    padding-top: 81px;
}

.about-page .container {
    max-width: 1160px;
}

.about-page__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.about-page__description {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #2F333F;
    max-width: 864px;
}

.about-page__content-part {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-page__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #16181E;
    max-width: 864px;
}

.about-page__p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2F333F;
    max-width: 864px;
}

.about-page__p p + p {
    margin-top: 8px;
}

.about-page__ul {
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 864px;
    padding-left: 20px;
}

.about-page__li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2F333F;
}

.about-page__sert {
    margin-top: 4px;
    padding: 20px 16px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    background-color: #F6F6F6;
}   

.about-page__sert-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 8px;
    color: #16181E;
}

.about-page__sert-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #2F333F;
}

.about-page__sert-images {
    display: flex;
    gap: 8px;
}

.about-page__sert-link {
    width: calc(50% - 4px);
    line-height: 0;
    cursor: zoom-in;
}

.about-page__sert-img {
    border-radius: 8px;
    width: 100%;
}

.about-page__team {
    margin-bottom: 70px;
}

.about-page__team-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #16181E;
    margin-bottom: 16px;
}

.about-page__team-list {
    display: flex;
    gap: 16px;
}

.about-page__img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
}

.about-page__caption-wrapper {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-page__img-caption {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
}

.about-page__img-position {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    opacity: 0.85;
}

.about-page__team-wrapper {
    overflow-x: auto;
    margin-right: -16px;
}

.about-page__banner {
    margin-bottom: 80px;
    padding: 24px 16px 32px 16px;
    border-radius: 16px;
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 20px;
    background: url('../img/bg-about-banner.jpg') no-repeat center center;
    background-size: cover;
}

.about-page__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1928F0;
    border-radius: 16px;
    opacity: 0.42;
    z-index: 1;
}

.about-page__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.about-page__banner-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #FFFFFF;
}

.about-page__banner-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #FFFFFF;
}

.about-page__banner-btns {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
    flex-direction: column;
}

.about-page__banner-btn {
    padding: 20px 28px;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px solid #FFFFFF;
}

.about-page__banner-btn:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #EB5A20;
}

.about-page__banner-btn--primary {
    background-color: #EB5A20;
    color: #FFFFFF;
    border-color: #EB5A20;
}

.about-page__banner-btn--primary:hover {
    background-color: #F56B30;
    border-color: #F56B30;
    color: #fff;
}

.about-page__img {
    width: 216px;
}

.header-fixed .header--about .header__wrapper {
    max-width: 1160px;
}

@media (min-width: 768px){
    .about-page {
        padding-top: 101px;
    }

    .header--about {
        top: 16px;
        padding-bottom: 16px;
        left: 20px;
        right: 20px;
    }

    .about-page__description {
        font-size: 20px;
    }

    .about-page__inner {
        gap: 40px;
        margin-bottom: 80px;
    }

    .about-page__content-part {
        gap: 16px;
    }

    .about-page__title {
        font-size: 28px;
    }

    .about-page__p {
        font-size: 18px;
    }

    .about-page__ul {
        gap: 12px;
        padding-left: 25px;
    }

    .about-page__li {
        font-size: 18px;
    }

    .about-page__sert {
        margin-top: 8px;
        padding: 32px 30px;
        gap: 24px;
    }

    .about-page__sert-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .about-page__sert-description {
        gap: 8px;
        font-size: 16px;
    }

    .about-page__sert-images {
        gap: 24px;
    }

    .about-page__sert-link {
        width: 280px;
    }

    .about-page__team-wrapper {
        margin-right: 0;
        overflow: visible;
    }

    .about-page__team-list {
        width: 100%;
        flex-wrap: wrap;
        gap: 24px 16px;
    }

    .about-page__img {
        width: 232px;
    }

    .about-page__team-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-page__img-caption {
        font-size: 20px;
    }

    .about-page__img-position {
        font-size: 16px;
    }

    .about-page__team {
        margin-bottom: 100px;
    }

    .about-page__banner {
        gap: 24px;
        margin-bottom: 120px;
        padding: 32px 36px 36px 36px;
    }

    .about-page__banner-title {
        font-size: 28px;
    }

    .about-page__banner-description {
        font-size: 18px;
    }

    .about-page__banner-btns {
        flex-direction: row;
        gap: 20px;
    }

    .about-page__banner-btn {
        padding: 24px 36px;
        font-size: 16px;
        width: fit-content;
    }
}

@media (min-width: 1280px){
    .about-page__sert {
        padding: 30px 32px;
        flex-direction: row;
        gap: 28px;
    }

    .about-page__sert-link {
        width: 208px;
    }

    .about-page__sert-content {
        padding-right: 36px;
    }

    .about-page__sert-description {
        padding-right: 60px;
    }

    .about-page__team-list {
        flex-wrap: nowrap;
        gap: 24px;
    }

    .about-page__img-wrapper {
        width: calc(100% / 5 - (24px * 4 / 5));
        line-height: 0;
    }

    .about-page__img {
        width: 100%;
    }

    .about-page__img-caption {
        padding-right: 60px;
    }

    .about-page__banner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .about-page__content {
        max-width: 610px;
    }

    .about-page__banner-description {
        padding-right: 20px;
    }

    .about-page__banner-btn {
        white-space: nowrap;
    }
}

/* Lightbox */
.sert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sert-lightbox--active {
    opacity: 1;
    visibility: visible;
}

.sert-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.sert-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sert-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

.sert-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    line-height: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.sert-lightbox__close:hover {
    opacity: 1;
}

.sert-lightbox__prev,
.sert-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.sert-lightbox__prev:hover,
.sert-lightbox__next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

.sert-lightbox__prev {
    left: 16px;
}

.sert-lightbox__next {
    right: 16px;
}
