.article1 {
    background: url(../images/a1-bg-ai.jpg) no-repeat;
    color: #222;
    height: 100%;
}

.a1-inner{
    width: 100%;
    height: 100%;
    margin: auto;
    text-align: center;
    /* display: flex;
    justify-content: space-between; */
}
.a1-title{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 6rem;
    /* letter-spacing: 1px; */
}
.a1-items{
    width: 100%;
    /* display: flex;
    align-items: center;
    justify-content: space-around; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    /* border: 1px solid #000; */
}
.a1-item{
    padding: 40px 10px 35px;
    border-radius: 3px;
    background-color: #ffffff4f;
    backdrop-filter: blur(4px);
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
    color: #23283d;
    overflow: hidden;

}
.a1-item img{
    width: 85px;
    transition: 0.12s;
}


.a1-item h2{
    margin: 1.5rem auto;
    font-size: 2rem;
    font-weight: bold;
    color: #23283d;
    transition: 0.12s;
}
.a1-tag{
    margin: auto;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    transition: 0.15s;
}
.a1-tag span{
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: -0.015rem;
}
.a1-item:hover .a1-tag{
    opacity: 0;
}
.a1-line{
    display: block;
    margin: 0 auto 1.5rem;
    width: 90%;
    height: 2px;
    background: linear-gradient(to right, transparent, #23283d25, transparent);
}

.a1-text{
    display: inline-block;
    width: 100%;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    transition: 0.2s;
    opacity: 0;
}
.a1-item:hover .a1-text{
    opacity: 1;
    bottom: 42px;
}
.a1-item:hover img{width: 68px;}
.a1-item:hover h2{margin: 1rem auto;}


/*==================================================*/
@media (max-width: 1450px) {
    .a1-items{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .a1-item{
        padding: 20px 10px;
        animation: none;
    }
    .a1-item p{
        text-align: center;
        width: 100%;
    }
    .a1-item:hover .a1-text{
        bottom: 30px;
    }
/*     .a1-item:nth-child(1) p{width: 100%;}
    .a1-item:nth-child(2) p{width: 100%;}
    .a1-item:nth-child(3) p{width: 100%;}
    .a1-item:nth-child(4) p{width: 100%;}
    .a1-item:nth-child(5) p{width: 100%;}
    .a1-item:nth-child(6) p{width: 100%;} */

}


@media (max-width: 768px) {
    .article1 {
        background: url(../images/a1-bg-ai-m.jpg) no-repeat;
    }
    .a1-items{
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }
    .a1-title{
        font-size: 2rem;
        font-weight: bold;
        /* margin: 2rem auto 2rem; */
        margin-bottom: 2rem;
        /* letter-spacing: 1px; */
    }
    .a1-item:hover .a1-text{
        bottom: 12px;
    }
    .a1-tag span{font-size: 0.9rem;}


}


@media (max-width: 550px) {
    .a1-item{
        padding: 40px 10px 108px;
    
    }
    .a1-item img{
        width: 85px;
        transition: 0.12s;
    }
    
    
    .a1-item h2{
        margin: 1.5rem auto;
        font-size: 1.7rem;
        font-weight: bold;
        color: #23283d;
        transition: 0.12s;
    }
    .a1-tag{
        position: absolute;
        bottom: 17px;
        margin: auto;
        width: 95%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        transition: 0.15s;
    }
    .a1-tag span{
        font-size: 0.9rem;
        font-weight: bold;
        letter-spacing: -0.015rem;
    }
    .a1-item:hover .a1-tag{
        opacity: 1;
    }
    .a1-line{
        /* display: none; */
        position: absolute;
        bottom: 28px;
    }
    
    .a1-text{
        display: inline-block;
        width: 100%;
        position: absolute;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        bottom: 70px;
        transition: 0.2s;
        opacity: 1;
    }
    .a1-item:hover .a1-text{
        opacity: 1;
        bottom: 70px;
    }
    .a1-item:hover img{width: 85px;}
    .a1-item:hover h2{margin: 1.5rem auto;}

}