/* .product_card{

    } */

.related_tip_section{
    /* display: none; */
    margin-bottom: 3em;
}
.product__card--thumbnail {
    /* border-radius: 10px 10px 0 0; */
    position: relative;
    overflow: hidden;
    line-height: 1;
    height: 200px;
    --thumbnail-img-height: calc(180px - 2rem);
    /* padding: 1rem; */
    display: flex;
    align-items: center;
}
.product__card--content-name{
    font-size: 1.5rem;
}
.product__card--content {
    padding: 1em 0;
}
.product__card{
    position: relative;
    min-height: 450px;
}
@media only screen and (min-width: 375px) and (max-width: 767px) {
    .product__card--thumbnail {
        height: 100px;
        --thumbnail-img-height: calc(200px - 2rem);
    }
    .product__card--content {
        padding: 0;
    }
        .product__card--content-name{
        font-size: 1.3rem;
    }
    .product__card{
    min-height: 350px;
}
}
.product__card--content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.product__card--content-updated_date{
    color:grey;
    margin-top:-0.8em;
    /* margin-bottom:0.5em; */
    font-size: small;
}

.two-line-clamp {
    overflow: hidden; /* ซ่อนข้อความที่เกิน */
    display: -webkit-box; /* ทำให้ใช้งานคุณสมบัติ -webkit-line-clamp ได้ */
    -webkit-box-orient: vertical; /* กำหนดให้กล่องเป็นแนวตั้ง */
    -webkit-line-clamp: 2; /* **กำหนดจำนวนบรรทัดที่ต้องการแสดง** */
    /* ต้องเพิ่ม vendor prefixes อื่นๆ สำหรับเบราว์เซอร์อื่น */
}
    /* .product__card--btn-action{

    }
    .product__card--content-name{
        width: 2rem;
    } */
.product__card--btn-read_more{
    text-align: center;
}
.product__card--btn-read_more a{
    border: solid 1px black;
    border-radius: 5px;
    padding: 0 1em;
    color:black;
}
.product__card--btn-read_more--link{
    color:black !important;
}
.product__card--content-brief{
    margin-bottom: 1em;
}

.product__card--btn-action{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.related_tip_section h3, .related_tip_section .h3 {font-size: 22px!important; }
.related_tip_section h4, .related_tip_section .h4 {font-size: 20px!important; }