.a4-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30rem;
}

.a4-box {
    background: #fff;
    border-radius: 30rem;
    overflow: hidden;
}

.a4-box-image {
    width: 100%;
    height: 220rem;
    overflow: hidden;
}

.a4-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.a4-box:hover .a4-box-image img {
    transform: scale(1.05);
}

.a4-box-content {
    padding: 22rem 30rem;
    background-color: #f5f5f5;
}

.a4-box-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    background: var(--main-color);
    color: #fff;
    font-size: 13rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.a4-box-text h6 {
    color: #222;
    font-size: 22rem;
    font-weight: 700;
    line-height: 1.4;
}



/*==================================================*/
@media (max-width: 1024px) {
    .a4-box-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .a4-box-tag {
        font-size: 18rem;
    }

    .a4-box-text h6 {
        height: 85rem;
        font-size: 26rem;
    }
}


@media (max-width: 450px) {
    .a4-box-content {
        padding: 40rem 50rem;
    }
    
    .a4-box-tag {
        font-size: 22rem;
    }

    .a4-box-text h6 {
        font-size: 32rem;
    }
}