.article4 .article-wrapper {
    width: 80%;
}

.a4-title {
    color: #fff;
    font-size: 65px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 7rem;
}

.a4-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.a4-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.7);
}

.a4-box {
    position: relative;
    transform: scale(.8);
}

.a4-box.show {
    transform: scale(1);
}

.a4-box.show video {
    filter: grayscale(0);
}

.a4-box h5 {
    position: absolute;
    top: -33px; left: 50%;
    transform: translate(-50%, 0);
    padding: 16px 40px;
    color: #fff;
    font-size: 28px;
    border-radius: 5px;
    background-color: #888;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
    margin-bottom: 1rem;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.a4-box.show h5 {
    top: -38px;
    font-size: 36px;
    background-color: var(--main-color);
}

.a4-box p {
    color: rgba(255, 255, 255, .7);
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
    margin-top: 1rem;
}

.a4-box.show p {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
}


/*==================================================*/
@media (min-width: 2250px) {
    .article4 .article-wrapper {
        width: 70%;
    }
}


@media (max-width: 1450px) {
    .article4 .article-wrapper {
        width: 100%;
    }
}


@media (max-width: 1250px) {
    .a4-box-wrapper {
        gap: 3rem;
    }

    .a4-box h5 {
        font-size: 22px;
    }

    .a4-box.show h5 {
        font-size: 32px;
    }
}


@media (max-width: 1050px) {
    .article4 .article-wrapper {
        width: 80%;
    }
    
    .a4-box-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem 3rem
    }
    
    .a4-box {
        transform: scale(1);
    }
    
    .a4-box.show {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }
}


@media (max-width: 768px) {
    .a4-title {
        font-size: 45px;
        margin-bottom: 5rem;
    }
    
    .a4-box p {
        font-size: 20px;
    }

    .a4-box p br {
        display: none;
    }

    .a4-box.show p {
        font-size: 24px;
    }
}


@media (max-width: 650px) {
    .article4 .article-wrapper {
        width: 90%;
    }

    .a4-box h5 {
        top: -22px;
        padding: 10px 25px;
        font-size: 18px;
    }

    .a4-box.show h5 {
        top: -27px;
        padding: 12px 20px;
        font-size: 28px;
    }
}


@media (max-width: 550px) {
    .article4 {
        padding-bottom: 160px;
    }
    
    .article4 .article-wrapper {
        width: 100%;
    }

    .a4-box-wrapper {
        gap: 3rem 1rem;
    }
    
    .a4-box h5 {
        top: -18px;
        padding: 8px 12px;
        font-size: 15px;
    }
        
    .a4-box p {
        font-size: 16px;
    }

    .a4-box.show .a4-box-video {
        width: 75%;
        margin: 0 auto;
    }
    
    .a4-box.show p {
        margin: 0 auto;
        margin-top: 1rem;
        width: 80%;
        font-size: 20px;
    }
}


@media (max-width: 450px) {
    .a4-title {
        font-size: 40px;
        margin-bottom: 4rem;
    }
    
    .a4-box.show h5 {
        top: -24px;
        padding: 12px 22px;
        font-size: 24px;
    }
}