.company-detail-page {
    background-color: #F3F3F3;
}
.company-container {
    max-width: 1212px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    padding: 10px 16px 145px 16px;
}

.company-header {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.company-header__background {
    width: 100%;
    height: 100%;
    position: relative;
    bottom: -40px;
    z-index: 1;
}

.company-header__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.company-header__info-block {
    display: flex;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.company-header__info-block--text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.company-header__info-title {
    font-size: 42px;
    line-height: 100%;
    color: #000000;
    margin-bottom: 4px;
}

.company-header__info-description {
    max-width: 800px;
    width: 100%;
}

.company-header__info-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-header__info-text p {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
}

.company-header__info-text p span {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}


.company-header__info-text--sectors,
.company-header__info-text--staff,
.company-header__info-text--locations {
    margin-bottom: 0;
}

.company-header__info-text--sectors span {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.company-header__info-block--logo img {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    background: white;
    border-radius: 15px;
}


/* Стили табов */
.company-tabs {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.company__profile {
    flex-direction: column;
    gap: 50px;
}

.company-tabs__nav {
    display: flex;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-tabs__nav.fixed {
    position: fixed;
    top: 80px;
    z-index: 99;
}

.company-tabs__content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.company-tabs__btn {
    background-color: #F3F3F3;
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: #121217;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s;
}

.company-tabs__btn:hover {
    color: #333;
}

.company-tabs__btn.active {
    background-color: #BD0C1E;
    color: #ffffff;
}

.company-tab {
    display: none;
}

.company-tab.active {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
}

/* Стили для галереи */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.company-tab {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.company__profile-header, .company__profile-statistics--container, .company__profile-detailed, .company__profile-about, .company__profile-leader-program--container, .internship-slider-container, .employee-review {
    display: flex;
    background-color: #ffffff;
    border-radius: 16px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.company__profile-header, .company__profile-detailed {
    justify-content: space-between;
    gap: 30px;
    padding: 40px 40px 72px 40px;
}

.company__profile-header--description, .company__profile-detailed--description {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-size: 16px;
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
}

.company__profile-header--title h2, .company__profile-detailed--title h2 {
    max-width: 280px;
    width: 100%;
    font-size: 40px;
    line-height: 100%;
    color: #000000;
}

.company__profile-header--description p, .company__profile-detailed--description p {
    max-width: 700px;
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.company__profile-header--description h3, .company__profile-detailed--description h3 {
    font-family: 'WalsheimPro Medium', sans-sarif, serif;
    color: #000;
    font-size: 22px;
    font-style: normal;
    line-height: normal;
    margin-bottom: 20px;
}

.company__profile-header--description ul, .company__profile-detailed--description ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 0;
    list-style-position: inside;
    padding-left: 17px;
}

.company__profile-header--description ul li, .company__profile-detailed--description ul li {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    list-style: initial;
}


.company__profile-header--description ul li span, .company__profile-detailed--description ul li span {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
}

.company__profile-header--description ul li p, .company__profile-detailed--description ul li p {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    margin-bottom: 0;
}



.company__profile-statistics--container {
    justify-content: space-between;
    padding: 40px 55px 56px 55px;
}

.company__profile-statistics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.statistics-divider {
    width: 1px;
    height: auto;
    background: rgba(0, 0, 0, 0.20);
    margin: 0 16px;
}

.company__profile-key-figures {
    font-family: 'WalsheimPro Medium', sans-sarif, serif;
    font-size: 40px;
    line-height: 100%;
    color: #000000;
}

.company__profile-type-numbers {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    font-size: 22px;
    line-height: 100%;
    color: #000000;
}

.company__profile-about {
    gap: 152px;
    padding: 40px 40px 50px 40px;
}

.company__profile-about-title h2 {
    font-size: 40px;
    line-height: 100%;
    color: #000000;
}

.company__profile-about-description {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.company__profile-about-description span {
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.company__profile-about-description span p {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    margin-bottom: 0;
}

.company__profile-leader-program--container {
    padding: 40px 40px 47px 40px;
}



.company__profile-leader-program {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 40px 52px 40px;
    gap: 30px;
}

.company__profile-leader {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company__profile-leader-program--tag {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    color: #000000;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    opacity: 0.5;
}

.company__profile-leader-program--description {
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.company__profile-leader-program--description p {
    margin-bottom: 0;
}

.internship-slider-outer-container {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.internship-slider-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.internship-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.internship-slider .internship-slider__wrapper {
    width: 100%!important;
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.internship-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    flex-shrink: 0;
}

.slider-arrow {
    position: absolute;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.slider-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-arrow svg path {
    fill: #ffffff;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-prev {
    left: -73px;
}

.slider-next {
    right: -73px;
}

/* Скрываем dots */
.internship-slider__controls {
    display: none;
}

/* Остальные ваши стили */
.company__profile-leader-program--title h2 {
    font-size: 40px;
    line-height: 100%;
    color: #000000;
    margin-bottom: 0;
}

.company__profile-leader-program--description p {
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 0;
}

.internship-link {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px 24px;
    background: #BD0C1E;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s;
    margin-top: 47px;
}

.internship-link:hover {
    opacity: 0.5;
    color: #ffffff;
}

/* Стили для элементов управления */

.company__profile-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.company__profile-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Заглушка во время загрузки */
.company__profile-video .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.reviews-slider__wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.company__profile-reviews {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 16px;
}

.company__profile-reviews-title {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.company__profile-reviews-title h2 {
    font-size: 40px;
    line-height: 100%;
    color: #000000;
}

.employee-review {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 35px 30px 79px 30px;
}

.employee-review__info {
    display: flex;
    gap: 10px;
}

.employee-review__logo img {
    width: 70px;
    height: 70px;
    background-color: #F5F5F5;
    border: solid 1px #F2F2F2;
    border-radius: 100px;
}

.employee-review__info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.employee-review__info-text h3 {
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 0;
}

.employee-review__info-text span {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    opacity: 0.5;
}

.review-text p {
    font-family: 'WalsheimPro Light', sans-sarif, serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}




/* Основные стили для слайдера отзывов */
.company__profile-reviews {
    margin-top: 20px;
}

.company__profile-reviews-title h2 {
    font-size: 40px;
    line-height: 100%;
    color: #000000;
    margin-bottom: 30px;
}

.reviews-slider-outer-container {
    position: relative;
    width: 100%;
}

.reviews-slider-container {
    overflow: hidden;
    width: 100%;
}

.reviews-slider {
    position: relative;
    width: 100%;
    margin: 0 -15px;
    overflow: hidden;
}

.reviews-slider__wrapper {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
}

.reviews-slide {
    flex: 0 0 auto;
    max-width: 480px;
    height: auto;
    width: fit-content;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Стили для отзыва */
.employee-review {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    background: #F9F9F9;
    border-radius: 12px;
}

.employee-review__info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.employee-review__logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #F2F2F2;
}

.employee-review__info-text {
    display: flex;
    flex-direction: column;
}

.employee-review__info-text h3 {
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin: 0;
    font-family: 'WalsheimPro Regular', sans-serif;
}

.employee-review__info-text .position {
    font-family: 'WalsheimPro Light', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    opacity: 0.7;
}

.review-text p {
    font-family: 'WalsheimPro Light', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin: 0;
}

/* Стили для стрелок навигации */

.reviews-slider-arrows {
    display: flex;
    gap: 10px;
}

.reviews-slider-arrows .slider-arrow {
    display: flex;
    position: relative;
}

.slider-arrow:hover {
    opacity: 1;
}

.reviews-slider-arrows .slider-prev {
    left: 0;
}

.reviews-slider-arrows .slider-next {
    right: 0;
}

@media (max-width: 768px) {
    .company__profile-reviews {
        padding: 20px;
    }
    
    .slider-prev {
        left: -30px;
    }
    
    .slider-next {
        right: -30px;
    }
    
    .employee-review {
        padding: 20px;
        gap: 20px;
    }
    
    .employee-review__logo img {
        width: 50px;
        height: 50px;
    }
    
    .company__profile-reviews-title h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}





.company-gallery-container {
    margin: 40px 0;
}

.company-gallery-title h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.company-gallery-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.gallery-row.gallery-reverse {
    flex-direction: row-reverse;
}

/* Вертикальные изображения */
.gallery-item.vertical {
    width: 100%;
    height: auto;
    max-width: 452px;
    max-height: 448px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Горизонтальные изображения */
.gallery-item.horizontal {
    width: 100%;
    height: 100%;
    max-width: 678px;
    max-height: 448px;
    flex-shrink: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

@media (max-width: 1330px) {

    .internship-slider-outer-container .slider-prev {
        right: 150px;
        bottom: 51px;
        top: auto;
        left: auto;
    }

    .internship-slider-outer-container .slider-next {
        right: 100px;
        bottom: 51px;
        top: auto;
        left: auto;
    }

    .company-gallery-grid, .gallery-row, .gallery-row.gallery-reverse {
        flex-direction: column;
        align-content: center;
        align-items: center;
        gap: 30px;
    }

    .gallery-item.vertical {
        max-width: 678px;
        max-height: 100%;
    }
}

@media (max-width: 800px) {
    .company-header__background {
         bottom: -20px;
    }
    .company__profile-leader-program, .company__profile-detailed, .company__profile-about, .company__profile-header, .company__profile-statistics--container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .company-gallery-grid, .gallery-row, .gallery-row.gallery-reverse {
        gap: 20px;
    }

    .gallery-item.vertical,
    .gallery-item.horizontal {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .gallery-item.horizontal, .gallery-item.vertical {
        max-width: 452px;
        max-height: 100%;
   }
}

@media (max-width: 500px) {
    .company-header__background {
        bottom: -17px;
    }

    .company-header__info-block--logo {
        display: none;
    }

    .company-container {
        gap: 15px;
    }

    .company-header__info-title {
        font-size: 32px;
    }

    .company__profile {
        gap: 30px;
    }

    .company-tabs {
        gap: 24px;
    }

    .company__profile-leader-program, .company__profile-about, .company__profile-header, .company__profile-statistics--container {
        gap: 10px;
    }

    .company__profile-header--title, .company__profile-header--title h2, .company__profile-about-title, .company__profile-about-title h2, .company__profile-statistic span.company__profile-key-figures, .company__profile-leader-program--title, .company__profile-leader-program--title h2 {
        font-family: 'WalsheimPro Medium', sans-sarif, serif;
        font-size: 30px;
        margin-bottom: 0;
        font-weight: 600;
    }

    .company__profile-header--description, .company__profile-header--description p, .company-header__info-text p span, .company__profile-about-description, .company__profile-about-description p, .company__profile-leader-program--description, .company__profile-leader-program--description p, .job-selection__text, .internship-link, .review-text p, .job-selection__btn, .company-tabs__btn {
        font-size: 14px;
    }

    .job-selection__info h2.job-selection__title {
        font-size: 40px;
    }

    .company__profile-reviews-title h2 {
        font-size: 20px;
    }

    .company__profile-type-numbers {
        font-size: 16px;
    }

    .internship-slider-outer-container .slider-prev {
        right: 110px;
        bottom: 52px;
    }

    .internship-slider-outer-container .slider-next {
        right: 60px;
        bottom: 52px;
    }
}

@media (max-width: 450px) {
    .job-selection__container{
        padding: 40px 10px;
    }

    .company-header__background {
        bottom: -16px;
    }

    .internship-slider-outer-container .slider-prev {
        right: 55px;
        bottom: 52px;
    }

    .internship-slider-outer-container .slider-next {
        right: 7px;
        bottom: 52px;
    }
}

@media (max-width: 380px) {
    .company-tabs__nav {
        gap: 4px;
    }

    .company-tabs__btn  {
        font-size: 13px;
    }

    .company-header__background {
        bottom: -11px;
    }
}

@media (max-width: 350px) {
    .company-tabs__nav {
        flex-wrap: wrap;
    }

    .internship-slider-outer-container .slider-prev {
        right: 50%;
        bottom: 1px;
    }

        .internship-slider-outer-container .slider-next {
        right: 35%;
        bottom: 1px;
    }
}




.job-selection__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.05);
    padding: 68px 20px;
}

.job-selection__info {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-selection__title {
    font-size: 56px;
    color: #000000;
    line-height: 60px;
    letter-spacing: -1px;
    text-align: center;
}

.job-selection__text {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    font-size: 16px;
    color: #000000;
    line-height: 22px;
    text-align: center;
}

.job-selection__btn {
    font-family: 'WalsheimPro Regular', sans-sarif, serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 150%;
    letter-spacing: 0.1px;
    text-align: center;
    background: #BD0C1E;
    border-radius: 10px;
    padding: 12px 10px;
    text-decoration: none;
}


.page.changellenge  .similar-vacancies__items-global-wrapper {
    display: none;
}

.page.changellenge .page-container .company-tab.company-internships .similar-vacancies__items-global-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}