.ita-wrap{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding:10px 5px;
}

.ita-card{
    width:250px;
    min-width:150px;
    height:365px;               /* ความสูงคงที่ */
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:16px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.35s;
    /*box-shadow:0 2px 7px rgba(0,0,0,.08);*/
}
/*
.ita-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    transition:.4s;
}*/
.ita-card img{
    width:100%;
    height:200px;          /* กำหนดความสูง */
    display:block;
    object-fit:cover;      /* รูปเต็มกรอบ */
    object-position:center center;
    background:#f5f5f5;
    transition:transform .4s ease;
}

.c{
    padding:16px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/* หัวข้อไม่เกิน 2 บรรทัด */
.c h3{
    margin:0 0 10px;
    font-size:17px;
    line-height:1.5;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
}

/* วันที่ */
.c p{
    margin:0 0 15px;
    color:#777;
    font-size:14px;
}

/* ปุ่มอยู่ด้านล่างเสมอ */
/*
.c a{
    margin-top:auto;
    display:inline-block;
    text-align:center;
    padding:10px 16px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
}*/
/* ปุ่มสไตล์ Gmail */
.c a{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:10px 20px;
    background:#fff;
    color:#000;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    border-radius:999px;

    transition:all .25s ease;
}

.c a:hover{
    background:#2B6EAB;
    color:#fff;
    /*box-shadow:0 1px 4px rgba(26,115,232,.35);*/
}

.c a:active{
    transform:scale(.98);
}

.ita-card:hover{
    transform:translateY(-6px);
    box-shadow:0 1px 3px rgba(0,0,0,.18);
}

.ita-card:hover img{
    transform:scale(1.08);
}