﻿/* Phase 05X.24
   Home Central News responsive image fix.
   Applies only to homepage central-news list.
*/

.home-section4 .qs-cms-home-central-layout
.news_center_list img.qs-home-central-list-cover {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

/* Mobile */
@media screen and (max-width: 767px) {

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item {
        padding: 14px 0;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item table,

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item tbody,

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item tr,

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item td {
        display: block;
        width: 100% !important;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item td.image-wrap {
        padding: 0;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .item td.info-body {
        padding: 14px 0 0;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .image {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: #f3f4f4;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .image img.qs-home-central-list-cover {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    .home-section4 .qs-cms-home-central-layout
    .news_center_list .title {
        display: block;
        line-height: 1.55;
    }
}
