#patch_video {
    overflow: hidden;
}

.patch_wrapper {
    padding: 113px 0 112px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.patch_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.patch_text p {
    text-align: center;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.18px;
    text-transform: uppercase;
}

.patch_text h2 {
    color: #AA0909;
    text-shadow: 0px 2px 4px #00000059;
}

body.dark .patch_text h2 {
    color: #BD9C49;
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
}

.patch_head {
    width: 100%;
    padding: 50px 16px 25px;
    position: relative;
}

.patch_head::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../assets/long.png);
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
}

body.dark .patch_head:before {
    opacity: 0.2;
}

.row_video {
    width: 788px;
    height: 435px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row_video iframe {
    width: 710px;
    height: 390px;
    margin: 0 auto;
}

.angle {
    position: absolute;
    pointer-events: none;
}

.angle_white {
    display: block !important;
}

.angle_black {
    display: none !important;
}

body.dark .angle_white {
    display: none !important;
}

body.dark .angle_black {
    display: block !important;
}

.angle_lt {
    top: -101px;
    left: -131px;
}

.angle_rt {
    top: -101px;
    right: -124px;
}

.angle_rb {
    bottom: -97px;
    right: -124px;
}

.angle_lb {
    bottom: -97px;
    left: -131px;
}

.row_text {
    max-width: 576px;
    font-family: Evolventa;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
    color: #000000;
    text-indent: 32px;
}

body.dark .row_text {
    color: #E7E7E7;
}

.patch_slider_wrapper {
    position: relative;
}

.patch_row {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 25px 0;
}

.row_block {
    position: relative;
    z-index: 3;
    padding: 0 16px;
}

.arrow_patch {
    position: absolute;
    width: 80px !important;
    height: 80px !important;
    background-image: url(../assets/arrowback.png);
    filter: drop-shadow(0px 2px 6px #00000026);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-prev {
    top: 48%;
    left: 22%;
    z-index: 5000;
}

.custom-next {
    top: 48%;
    right: 22%;
    z-index: 5000;
}

body.dark .arrow_patch {
    background-image: url(../assets/arrow_b.png);
}

.arrow_patch img {
    opacity: 50%;
    transition: all 0.3s ease;
}

body.dark .arrow_patch img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(37%) saturate(570%) hue-rotate(5deg) brightness(92%) contrast(84%);
}

.arrow_patch:hover img {
    opacity: 1;
}

.arrow_patch:hover {
    filter: drop-shadow(0px 4px 4px #0000004D);
}

.custom-next img {
    transform: rotate(180deg);
}

.patch_timeline {
    height: 136px;
    margin: 0 auto;
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    padding: 25px 16px 0;
    position: relative;
    max-width: 1077px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-around;
}

.patch_timeline::before {
    background: url(../assets/timeline.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 82px;
    width: 100%;
    height: 18px;
    z-index: 0;
    opacity: 1;
}

.grey_rombs {
    position: absolute;
    top: 89px;
    width: 100%;
}

body.dark .patch_timeline::before {
    opacity: 0.2;
}

.patch_timeline span {
    color: var(--red-70);
}

body.dark .patch_timeline span {
    color: #BD9C49;
}

.timeline_item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.timeline_title,
.timeline_date {
    transition: all 0.3s ease;
}

.timeline_item.active_timeline {
    gap: 6px;
}

.timeline_item.active_timeline .timeline_title {
    font-size: 24px !important;
    color: var(--red-70);
}

.timeline_item.active_timeline .timeline_date {
    color: var(--red-70);
}

body.dark .timeline_item.active_timeline .timeline_title {
    color: #BD9C49;
}

body.dark .timeline_item.active_timeline .timeline_date {
    color: #BD9C49;
}

.timeline_romb {
    width: 12px;
    height: 12px;
    transform: rotate(-45deg);
    background: #080808;
    border: 1px solid inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline_inromb {
    width: 12px;
    height: 12px;
    background: #080808;
    transition: all 0.3s ease;
}

body.dark .timeline_inromb {
    background: #E7E7E7;
}

.timeline_item.active_timeline .timeline_inromb {
    width: 15px;
    height: 15px;
    background: var(--red-70);
    border: 2px solid #FFFFFF;
}

.timeline_item.active_timeline .timeline_romb {
    background: var(--red-70);
    width: 23px;
    height: 23px;
}

body.dark .timeline_item.active_timeline .timeline_inromb {
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
    border: 2px solid #080808;
}

body.dark .timeline_item.active_timeline .timeline_romb {
    background: linear-gradient(180deg, #FFE5A3 0%, #CBA74C 63.5%, #EECE7F 79%, #8C7845 98.5%);
}

@media (max-width: 1600px) {
    .custom-next {
        right: 14%;
    }

    .custom-prev {
        left: 14%;
    }
}

@media (max-width: 1220px) {
    .custom-next {
        right: 4%;
    }

    .custom-prev {
        left: 4%;
    }
}

@media (max-width: 970px) {
    .arrow_patch {
        display: none !important;
    }

    .patch_timeline::before {
        background-size: cover;
    }
}

@media (max-width: 900px) {
    .patch_text h2 {
        font-size: 32px !important;
        line-height: 36px !important;
    }

    .timeline_item.active_timeline .timeline_title {
        font-size: 20px !important;
    }

    .patch_timeline {
        font-size: 16px;
        line-height: 18px;
    }

    .timeline_item {
        gap: 8px;
    }
}


@media (max-width: 800px) {

    .patch_head::before {
        background-size: cover;
    }

    .patch_timeline {
        margin-top: 0px;
        padding: 25px 0 0;
    }

    .patch_arrows {
        bottom: 0;
        left: 0;
        padding: 0 16px;
        transform: none;
        top: inherit;
    }

    .row_video {
        height: 195px;
        max-width: 375px;
        position: relative;
    }

    .row_video iframe {
        width: 335px;
        height: 180px;
        margin: 0 auto;
    }

    .angle {
        transform: scale(0.8);
    }

    .angle_lt {
        top: -87px;
        left: -112px;
    }

    .angle_rt {
        top: -87px;
        right: -116px;
    }

    .angle_rb {
        bottom: -87px;
        right: -116px;
    }

    .angle_lb {
        bottom: -87px;
        left: -112px;
    }

    .patch_head {
        background-size: cover;
        padding: 70px 17px 0px;
    }

    .patch_text {
        padding: 0px;
        gap: 8px;
    }

    .patch_wrapper {
        padding: 42px 0 150px;
    }

    .patch_text h2 {
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.008em;
    }

    .patch_text p {
        font-size: 18px;
        line-height: 24px;
        text-align: center;
        text-transform: none;
    }

    .patch_row {
        gap: 24px;
        padding: 32px 0 13px;
    }

    .row_text {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
    }

    .timeline_inromb {
        width: 8px;
        height: 8px;
    }

    .timeline_romb {
        width: 8px;
        height: 8px;
    }

    .timeline_item.active_timeline .timeline_romb {
        width: 19px;
        height: 19px;
    }

    .timeline_item.active_timeline .timeline_inromb {
        width: 11px;
        height: 11px;
    }
}