:root {
    --section-gap: 60px;
    --section-gap-m: 60px;
}

h2 {
    margin: 0;
}
h3 {
    margin: 0;
}

.vectors {
    overflow-x: visible !important;
    background: none;
}


.dna_back {
    background-image: url(/local/templates/abit_tpu/img/dna_like.svg);
    background-position: bottom -168px center;
    background-repeat: no-repeat;
    padding: 0;
    margin-top: 48px;
}
/* mobile_start */
#mobile_info {
    display: none;
}
#mobile_info > .program_short_desription {
    display: none;
}
#mobile_button {
    display: none;
}
/* mobile_end */
#program_img {
    display: flex;
    flex-direction: row;
    border-radius: 10px;

    margin: 48px 80px 32px;
    padding: 40px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    max-height: calc(527px - 96px);
}
#program_img > div {
    display: flex;
    flex-direction: column;
    border-radius: 10px;

    padding: 48px;
    gap: 48px;

    width: 50%;

    background-color: rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    backdrop-filter: blur(9px);
}
.program_img__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.program_img__info > h3 {
    font-size: 14px;
    font-weight: bold;
}
.program_img__info > h2 {
    font-size: 32px;
    font-weight: bold;
}
.program_img__info > p {
    font-size: 16px;
}
.program_img__info > div {
    display: flex;
    flex-direction: row;
    gap: 32px;
}
.program_img__info > div > div {
    display: flex;
    flex-direction: row;
    gap: 12px;
    font-size: 14px;

    align-items: center;

    fill: rgba(57, 234, 93, 1);
}

.program_info {
    padding: 24px;
    margin: 32px 80px 0;

    display: flex;
    flex-direction: column;
    gap: 24px;

    background-color: rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);

    border-radius: 10px;
    backdrop-filter: blur(9px);
}
.event_header__tags__elem {
    padding: 6px 12px;
    line-height: 12px;
}
.events__elem__tags__elem.delimit {
    background: none !important;
    backdrop-filter: none !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.events__elem__tags__elem.ness {
    background: rgba(57, 234, 93, 0.15) !important;
}
.program_info > div > h2 {
    font-size: 20px;
    font-weight: bold;
}
.program_info > div > p {
    font-size: 16px;
    opacity: 0.7;
}
.program_info__stats {
    display: flex;
    flex-direction: row;
    gap: 48px;
}
.program_info__stats span {
    margin-left: 12px;
    min-width: 20px;
    padding: 2px 6px 3px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-green-color);
}

.reviews {
    margin: var(--section-gap) 0 0;
}

.program_description {
    margin: var(--section-gap) 80px 0;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 80px;
}
.program_description__left {
    flex: 1;
}
.program_description__left h1 {
    font-family: "ALS Sirius";
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(93deg, #D270F3 0%, #6F6BEE 39.5%, #4F8BFE 62%, #00E37B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    margin: 0 0 32px;
}
.program_description__left h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 0px 0 32px;
}
.program_description__left > *:not(h1, h2, h3, .prog_video) {
    font-size: 16px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.7);
    /* opacity: 0.7; */
}
.program_description__left > *:not(h1, h2, h3, .prog_video) b{
    color: rgba(255, 255, 255, 1);
}
.program_description__left > h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 48px 0 24px;
}
.prog_video {
    width: fit-content;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 48px;
}
.program_description__right {
    position: sticky;

    height: fit-content;
    top: 14px;
    align-self: flex-start;

    display: flex;
    gap: 32px;
    flex-direction: column;

    width: 30%;
}
.program_description__right > div > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.program_description__right > div > h3 {
    color: rgba(255, 255, 255, 1);
}
.program_description__right > div {
    padding: 24px;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(9px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    &:first-child {
        background: linear-gradient(254deg, rgba(210, 112, 243, 0.20) 7.6%, rgba(210, 112, 243, 0.00) 48.85%), var(--Surface-Surface-light, rgba(255, 255, 255, 0.05));
    }
    &:last-child {
        background: linear-gradient(254deg, rgba(25, 133, 255, 0.20) 7.6%, rgba(25, 133, 255, 0.00) 48.85%), var(--Surface-Surface-light, rgba(255, 255, 255, 0.05));
    }
}
.program_description__right > div > p {
    margin: 16px 0 48px;
}
.program_description__right > div > h3 {
    font-size: 20px;
    font-weight: bold;
}
.program_description__right .secondary_button > svg  {
    display: none;
}
.secondary_button > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 5;
}

#traectory {
    background-image: url(/local/templates/abit_tpu/img/traectory_promo.svg);
    background-position: center right -34px;
    background-size: 89%;
}
.event_directions {
    margin: var(--section-gap) 80px 0;
    display: flex;
    flex-direction: column;
}
.event_directions__title {
    width: fit-content;
    margin-bottom: 32px;
}
.event_directions__list__elem > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 5;
}
.gradient_border {
    fill: rgb(255, 255, 255);
    justify-content: space-between;
}

.promo {
    position: relative;
    display: flex;
    background-image: url(/local/templates/abit_tpu/img/promo_back.svg);
    background-size: contain;
    background-position: center right 0;
    background-repeat: no-repeat;
    backdrop-filter: blur(12px);
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}
.about_block {
    margin-top: var(--section-gap);
}

#traectory > .promo__left {
    align-items: start;
}

/* .prog_partners {
    margin: 0 80px;
} */
.prog_partners .event_directions__title {
    margin: 32px 80px 32px;
}
.prog_partners__list {
    margin: 32px 50px 24px 50px;
    display: flex;
    width: calc(100vw - 180px);
    gap: 16px;
    overflow: hidden;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 30px, /* 100%, */ black calc(100% - 30px), transparent);
    mask-image: linear-gradient(to right, transparent, black 30px, /* 100%, */ black calc(100% - 30px), transparent);
}
.prog_partners > .buttons {
    margin: 0px var(--side-margin-desc) 0px var(--side-margin-desc);
    display: flex;
    gap: 16px;
}
.prog_partners__elem {
    padding: 16px;
    aspect-ratio: 1 / 1;
    height: 182px;
    width: 182px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.prog_partners__elem > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* Аккордион */
details {
    overflow: hidden;
    margin: 16px 0;
}
details > summary {
    padding: 14px 40px 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    border-radius: 4px 4px 0 0;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease;
}
details[open] > summary::after {
    transform: translateY(-40%) rotate(-135deg);
}
.content-wrapper {
    height: 0;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    border-top: unset;
    background: rgba(255, 255, 255, 0.03);
}
details[open] .content-wrapper {
    height: auto;
    transform: scaleY(1);
    border-radius: 0 0 4px 4px;
}
.content {
    padding: 14px 16px;
    opacity: 0;
    min-height: 0;
    transition: opacity 0.2s linear 0.1s;
}
details[open] .content {
    opacity: 1;
}
.content ul {
    margin: 0;
    padding-left: 40px;
}

/* ТУТ БЛОКИ ДЛЯ МОБИЛКИ */
/* .program_description__right__m {
    margin: var(--section-gap-m) var(--side-margin-mobile);

    display: none;

    height: fit-content;
    top: 14px;
    align-self: flex-start;
    flex-direction: column;

    width: 30%;
} */
.program_description__right__m.bg_purpl {
    background: linear-gradient(254deg, rgba(210, 112, 243, 0.20) 7.6%, rgba(210, 112, 243, 0.00) 48.85%), var(--Surface-Surface-light, rgba(255, 255, 255, 0.05));
}
.program_description__right__m.bg_blue {
    background: linear-gradient(254deg, rgba(25, 133, 255, 0.20) 7.6%, rgba(25, 133, 255, 0.00) 48.85%), var(--Surface-Surface-light, rgba(255, 255, 255, 0.05));
}
.program_description__right__m > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.program_description__right__m > h3 {
    color: rgba(255, 255, 255, 1);
}
.program_description__right__m {
    margin: var(--section-gap-m) var(--side-margin-mobile);

    padding: 24px;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(9px);

    display: none;
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
}
.program_description__right__m > p {
    margin: 16px 0 48px;
}
.program_description__right__m > h3 {
    font-size: 20px;
    font-weight: bold;
}
.program_description__right__m .secondary_button > svg  {
    display: none;
}
/* /ТУТ БЛОКИ ДЛЯ МОБИЛКИ */

@media (max-width: 575px) {
    .prog_partners .event_directions__title {
        margin: 32px 12px 24px;
    }
    .prog_partners__list {
        margin: 32px 12px 32px;
        width: calc(100vw - 21px);
        padding-left: 0px;
        padding-right: 0px;
        padding-left: 6px;
        -webkit-mask-image: linear-gradient(to right, transparent, black 6px, /* 100%, */ black calc(100% - 6px), transparent);
        mask-image: linear-gradient(to right, transparent, black 6px, /* 100%, */ black calc(100% - 6px), transparent);
    }
    .prog_partners > .buttons {
        margin: 0px 12px 0px;
    }

    .directions_content {
        margin: 24px var(--side-margin-mobile) 80px var(--side-margin-mobile);
        flex-direction: column;
    }

    .dna_back {
        display: flex;
        flex-direction: column;
    }
    #program_img {    
        margin: 0 32px 32px;
        max-height: calc(300px - 96px);
    }
    #program_img > div {
        display: flex;
        flex-direction: column;
    
        padding: 0;
        gap: 0;
    
        width: 60%;
    
        background: none;
        backdrop-filter: unset;
    }
    #program_img > div > .chat_bot_button {
        display: none;
    }
    .program_img__info {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .program_img__info > h3 {
        display: none;
    }
    .program_img__info > h2 {
        display: none;
    }
    .program_img__info > p {
        font-size: 16px;
    }
    .program_img__info > div {
        display: none;
        gap: 16px;
    }

    /* mobile_start */
    #mobile_info {
        display: flex;
        width: auto;
        margin: 24px 12px;

        background-color: rgba(255, 255, 255, 0);
        color: rgb(255, 255, 255);
        backdrop-filter: none;
        padding: 0;
    }
    #mobile_info > h2 {
        display: flex;
        font-family: "ALS Sirius";
        font-size: 24px;
        font-weight: bold;
        background: linear-gradient(93deg, #D270F3 0%, #6F6BEE 39.5%, #4F8BFE 62%, #00E37B 100%);
        width: fit-content;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    #mobile_info > div {
        display: flex;
        flex-wrap: wrap;
    }
    #mobile_button {
        display: flex;
        width: calc(100% - 84px);
        justify-content: center;
        margin: 0px 12px;
    }

    .promo {
        background-image: url(/local/templates/abit_tpu/img/mobile_promo.svg) !important;
        background-size: 150% !important;
    }
    .promo:last-of-type {
        margin-bottom: 0px !important;
    }
    /* mobile_end */

    .program_description__right {
        width: 100%;
        gap: 24px;
        flex-direction: column;
    }

    #traectory {
        /* background-image: url(/local/templates/abit_tpu/img/mobile_promo.svg) !important; */
        background-size: 150% !important;
        background-position: bottom right 52%;
    }

    #program_img {    
        margin: 0px var(--side-margin-mobile) 32px;
        padding: 16px;
    }
    #program_img > div {    
        width: 100%;
    }
    .program_info {
        padding: 24px;
        /* margin: 32px var(--side-margin-mobile) 80px; */
        margin: 32px var(--side-margin-mobile) 0;
    }
    .program_description {
        margin: var(--section-gap-m) var(--side-margin-mobile);
        flex-direction: column;
    }
    .program_description__right {
        display: none;
    }
    .event_directions {
        margin: var(--section-gap-m) var(--side-margin-mobile);
    }

    .reviews {
        margin: var(--section-gap-m) 0 0;
    }

    .program_info__stats {
        flex-direction: column;
        gap: 16px;
        font-size: 14px;
    }
    .prog_video {
        width: 100%;
    }
    .prog_video > iframe {
        width: 100%;
        height: 200px;
    }

    .program_description__right__m {
        display: block;
        width: calc(100% var(--side-margin-mobile));
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .dna_back {
        display: flex;
        flex-direction: column;
    }
    #program_img {    
        margin: 0 32px 32px;
        max-height: calc(300px - 96px);
    }
    #program_img > div {
        display: flex;
        flex-direction: column;
    
        padding: 0;
        gap: 0;
    
        width: 60%;
    
        background: none;
        backdrop-filter: unset;
    }
    #program_img > div > .chat_bot_button {
        display: none;
    }
    .program_img__info {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .program_img__info > h3 {
        display: none;
    }
    .program_img__info > h2 {
        display: none;
    }
    .program_img__info > p {
        font-size: 16px;
    }
    .program_img__info > div {
        display: none;
        gap: 16px;
    }

    /* mobile_start */
    #mobile_info {
        display: flex;
        width: auto;
        margin: 24px 32px;

        background-color: rgba(255, 255, 255, 0);
        color: rgb(255, 255, 255);
        backdrop-filter: none;
        padding: 0;
    }
    #mobile_info > h2 {
        display: flex;
        font-family: "ALS Sirius";
        font-size: 32px;
        font-weight: bold;
        background: linear-gradient(93deg, #D270F3 0%, #6F6BEE 39.5%, #4F8BFE 62%, #00E37B 100%);
        width: fit-content;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    #mobile_info > div {
        display: flex;
        flex-wrap: wrap;
    }
    #mobile_button {
        display: flex;
        width: calc(100% - 128px);
        justify-content: center;
        margin: 0 32px;
    }
    /* mobile_end */

    .program_description__right {
        width: 100%;
        gap: 24px;
        flex-direction: row;
    }

    .program_info {
        /* margin: 32px 32px 120px; */
        margin: 32px 32px 0;
    }
    .program_info > div > h2 {
        font-size: 20px;
        font-weight: bold;
    }
    .program_info > div > p {
        margin-top: 12px;
        font-size: 16px;
        opacity: 0.7;
    }
    .program_info__stats {
        display: flex;
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
        font-size: 14px;
    }

    .program_description {
        margin: var(--section-gap-m) 32px;
        flex-direction: column;
    }

    .reviews {
        margin: var(--section-gap-m) 0 0;
    }
    
    .prog_video {
        width: auto;
    }
    #traectory {
        margin: 80px 32px 80px 32px;
        /* background-image: url(/local/templates/abit_tpu/img/mobile_promo.svg) !important; */
        background-size: 150% !important;
    }
    #traectory > .promo__left {
        max-width: 100%;
        align-items: flex-start;
    }
    .event_directions__list__elem {
        width: calc((100% - 80px) / 2);
    }
    .event_directions {
        margin: 120px 32px 120px;
    }

    .prog_partners .event_directions__title {
        margin: 32px 32px 24px;
    }
    .prog_partners__list {
        margin: 32px 24px 32px 24px;
        width: calc(100vw - 21px);
        padding-left: 0px;
        padding-right: 0px;
        padding-left: 8px;
        -webkit-mask-image: linear-gradient(to right, transparent, black 8px, /* 100%, */ black calc(100% - 8px), transparent);
        mask-image: linear-gradient(to right, transparent, black 8px, /* 100%, */ black calc(100% - 8px), transparent);
    }
    .prog_partners > .buttons {
        margin: 0px 32px 0px;
    }

    .promo {
        background-image: url(/local/templates/abit_tpu/img/mobile_promo.svg) !important;
        background-size: 150% !important;
    }
    .promo:last-of-type {
        margin-bottom: 0px !important;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    #program_img {    
        margin: 48px 48px 32px;
        max-height: calc(527px - 66px);
        display: flex;
        flex-direction: column;
    }

    #program_img > div {
        width: 70%; 
    }
    .program_info__stats {
        display: flex;
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
        font-size: 14px;
    }
    .program_info {
        padding: 24px;
        margin: 32px 48px 0;
    }
    .program_description {
        margin: var(--section-gap) 48px 0;
    }
    .program_description__left {
        /* width: 60%; */
        flex: 1;
    }
    .program_description__right {
        flex: 0 0 25%;
    }
    .prog_video {
        width: unset;
    }
    .prog_video > iframe {
        width: 100%;
        height: 308px;
    }
    .event_directions {
        margin: var(--section-gap) 48px 0;
    }
    
    .reviews {
        margin: var(--section-gap) 0 0;
    }

    .prog_partners .event_directions__title {
        margin: 32px 48px 24px;
    }
    .prog_partners__list {
        margin: 32px 36px 32px 36px;
        width: calc(100vw - 21px);
        padding-left: 0px;
        padding-right: 0px;
        padding-left: 12px;
        -webkit-mask-image: linear-gradient(to right, transparent, black 12px, /* 100%, */ black calc(100% - 12px), transparent);
        mask-image: linear-gradient(to right, transparent, black 12px, /* 100%, */ black calc(100% - 12px), transparent);
    }
    .prog_partners > .buttons {
        margin: 0px 48px 0px;
    }

    .promo {
        margin: var(--section-gap) 48px 0;
        padding: 24px;
    }
    .event_directions__list__elem {
        width: calc((100% - 80px) / 2);
    }
    .secondary_button {
        font-weight: normal;
    }
    .chat_bot_button {
        width: fit-content;
    }
}

@media (min-width: 1280px) {
    .dna_back {
        background-size: 160%;
    }
}