.case {

}
.case .row {
    padding: 128px 0;
}
.case .row .container {
    width: 90%;
    max-width: 1664px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 6%;
    align-items: center;
}
.case img {
    border-radius: 40px;
    height: 512px;
    width: 512px;
    object-fit: cover;
}
.case img.original-ratio {
    height: unset;
}
.case .video-wrapper {
    position: relative;
}
.case .video-wrapper .play-button-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.case .video-wrapper .play-button {
    width: 92px;
    height: 92px;
}
.case .video-wrapper video {
    max-width: 900px;
    max-height: 512px;
    border-radius: 20px;
    transition: 0.5s;
    display: block;
}
.case .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 64px;
    min-width: 800px;
}
.case .info .note {
    display: flex;
}
.case .info .title {
    min-width: 252px;
    font-weight: 500;
    font-size: 24px;
    line-height: 33px;
}
.case .info .value {
    width: 80%;
    max-width: 805px;
}
.case .info .value a {
    color: #fff;
    text-decoration: none;
}
.case .note-case .title {
    line-height: 66px;
}
.case .note-case .value {
    font-weight: 500;
    font-size: 48px;
    line-height: 66px;
}
.case .note-project .title {
    line-height: 44px;
}
.case .note-project .value {
    font-size: 32px;
    line-height: 44px;
}
.case .note-task .title {
    line-height: 36px;
}
.case .note-task .value{
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
}

.case .info .value-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.case .info .value-list .item {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    padding: 8px 16px;
    border: 1px solid #FFFFFF;
    border-radius: 100px;
}

.case .text {
    font-weight: 500;
    font-size: 24px;
    line-height: 33px;
}
.case .text ul,
.case .text ol {
    padding-left: 25px;
}
.case .row-2 .container {
    flex-direction: row-reverse;
}
/*.case .row-3 img {*/
/*    width: unset;*/
/*}*/

/***********************/

.case .row:nth-child(2n+1){
    background-color: #1A191D;
    color: #fff;
}
.case .row:nth-child(2n+1) .container {
    flex-direction: row;
}
.case .row:nth-child(2n+1) a {
    color: #fff;
}

/***********************/

.case .row:nth-child(2n){
    background-color: #fff;
    color: #1A191D;
}
.case .row:nth-child(2n) .container {
    flex-direction: row-reverse;
}
.case .row:nth-child(2n) a {
    color: #1A191D;
}

.case .row.without-media .container {
    flex-direction: row;
}
/***********************/
.case .container .media-wrapper-vertical {
    min-width: 512px;
    height: 512px;
    position: relative;
    pointer-events: none;
}
.case .container .media-wrapper-vertical img {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 100%;
    width: unset;
    z-index: 2;
    border-radius: 0;
    pointer-events: none;
}
.case .container .media-wrapper-vertical .video-wrapper-vertical {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    border-radius: 20px;
    height: 500px;
    width: 230px;
    top: 5px;
    overflow: hidden;
}
.case .container .media-wrapper-vertical .video-wrapper-vertical video{
    height: 100%;
    transform: translateX(-50%);
    margin-left: 50%;
}
/***********************/
.case .container .media-wrapper-youtube iframe {
    height: 512px;
    width: 900px;
    border-radius: 20px;
}
/***********************/
@media (max-width: 1440px) {
    .case .info {
        row-gap: 20px;
        min-width: 500px;
    }
    .case .row-1 .container {
        align-items: center;
    }
    .case img {
        height: 284px;
        width: 284px;
    }
    .case .video-wrapper video {
        max-width: 600px;
    }
    .case .container .media-wrapper-vertical {
        height: 284px;
        min-width: 284px;
    }
    .case .container .media-wrapper-vertical .video-wrapper-vertical {
        height: 275px;
        width: 130px;
    }
    .case .container .media-wrapper-youtube iframe {
        width: 600px;
        height: 340px;
    }
}
@media (max-width: 1280px) {
    .case {
        padding-top: 24px;
    }
    .case .row {
        padding: 48px 0;
    }
    .case .row .container {
        max-width: 896px;
        width: 90%
    }
    .case .info .title {
        min-width: 152px;
        font-size: 14px;
        line-height: 19px;
    }
    .case .note-case .value {
        font-size: 28px;
        line-height: 38px;
    }
    .case .note-project .value {
        font-size: 16px;
        line-height: 22px;
    }
    .case .note-task .value {
        font-size: 16px;
        line-height: 21px;
    }
    .case .info .value-list .item {
        font-size: 7px;
        line-height: 10px;
        padding: 4px 8px;
    }
    .case .info .value-list {
        gap: 11px;
    }
    .case .text {
        font-size: 16px;
        line-height: 22px;
    }
    .case .video-wrapper .play-button-wrapper {
        border-radius: 10px;
    }
    .case .video-wrapper .play-button {
        width: 76px;
        height: 76px;
    }
    .case .video-wrapper video {
        max-height: 284px;
        max-width: 400px;
        border-radius: 10px;
    }
    .case .container .media-wrapper-youtube iframe {
        width: 400px;
        height: 226px;
        border-radius: 10px;
    }
}
@media (max-width: 960px) {
    .case .video-wrapper video {
        max-height: 284px;
        max-width: 284px;
    }
}
@media (max-width: 920px) {
    .case .row .container {
        flex-direction: column !important;
        gap: 32px;
    }
    .case img {
        height: 311px;
        width: 311px;
    }
    .case .info {
        min-width: unset;
    }
    .case .info .note {
        flex-direction: column;
        gap: 8px;
    }
    .case .info .value {
        width: 100%;
        max-width: unset;
    }
    .case .image-wrapper {
        width: 311px;
        height: 311px;
    }
    .case .image-wrapper img {
        width: 311px;
        height: 311px;
    }
    .case .video-wrapper .play-button {
        width: 64px;
        height: 64px;
    }
    .case .video-wrapper video {
        max-height: 311px;
        max-width: 311px;
    }
    .case .container .media-wrapper-vertical {
        height: 355px;
        min-width: 311px;
    }
    .case .container .media-wrapper-vertical .video-wrapper-vertical {
        height: 350px;
        width: 170px;
        border-radius: 40px;
    }
    .case .container .media-wrapper-youtube iframe {
        width: 311px;
        height: 176px;
    }
    .case .video-wrapper .play-button-wrapper {
        backdrop-filter: blur(4px);
    }
}
@media (max-width: 480px) {
    .case .row .container {
        width: 90%;
        max-width: 311px;
    }
    .case .info .title{
        font-size: 10px;
        line-height: 14px;
    }
    .case .info .value {
        font-size: 24px;
        line-height: 33px;
    }
    .case .note-project .value {
        font-size: 16px;
        line-height: 22px;
    }
    .case .note-task .value {
        font-size: 14px;
        line-height: 19px;
    }
    .case .info .value-list .item {
        font-size: 7px;
        line-height: 10px;
    }
    .case .text {
        font-size: 14px;
        line-height: 19px;
    }
}
/*=== Firefox Fix ===*/
@media (max-width: 1919px) and (min-width: 1441px) {
    body.firefox-body .case .video-wrapper video {
        max-width: 600px;
    }
}
