/* Hero Banner
============*/
#news-room .hero-banner .container {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}
#news-room .hero-banner .banner-wrap {
    height: 500px;
    position: relative;
}
#news-room .hero-banner .content-wrap {
    width: 100%;
}
#news-room .hero-banner .content-wrap h1 {
    color: var(--color-white);
    font-size: 50px;
    font-weight: 700;
    max-width: 55%;
}
#news-room .hero-banner .content-wrap h1:lang(en_US) {
    font-family: 'Montserrat';
}
#news-room .hero-banner .content-wrap p.top {
    margin-bottom: 70px;
}
#news-room .hero-banner .content-wrap p {
    line-height: 28px;
    width: 400px;
}

/* Content */
#news-room .tab-content,
#news-room-detail .tab-content {
    margin: 60px 0;
}
#news-room .tab-content .row,
#news-room-detail .tab-content .row {
    justify-content: center;
}

/* Listing
==========*/
#news-room .tab-content .col:not(:nth-last-child(-n+3)),
#news-room-detail .tab-content .col:not(:nth-last-child(-n+3)) {
    margin-bottom: 30px;
}
#news-room .tab-content .card,
#news-room-detail .tab-content .card {
    border: unset;
    border-radius: 8px;
    overflow: hidden;
}
#news-room .tab-content .card img {
    height: 18rem;
    object-fit: cover;
}

#news-room .tab-content .thumbnail {
    overflow: hidden;
}
#news-room .tab-content .card {
    position: relative;
    overflow: hidden;
    transition: all .3s ease-in-out;
}
#news-room .tab-content .card:hover {
    transition: all .3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
#news-room .tab-content .card:hover img {
    transition: all .3s ease-in-out;
    transform: scale(1.08) rotate(0.4deg);
}
#news-room .tab-content .card img {
    transition: all .3s ease-in-out;
}

#news-room .tab-content .card-title,
#news-room-detail .tab-content .card-title {
    font-size: 20px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 50px;
    margin-bottom: 20px;
}
#news-room .tab-content .card-body,
#news-room-detail .tab-content .card-body {
    background-color: var(--color-gray-light);  
    padding: 25px; 
}
#news-room .tab-content .card-body small,
#news-room-detail .tab-content .card-body small {
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}
#news-room .tab-content .card-body a,
#news-room-detail .tab-content .card-body a {
    border: unset;
    border-radius: 8px;
    background-color: var(--color-blue);
    font-weight: 700;
    padding: 15px 25px;
}
#news-room .tab-content .card-body a:hover,
#news-room-detail .tab-content .card-body  a:hover {
    background-color: var(--color-orange);
}

/* Desktop
========*/
@media(max-width: 1720px) and (max-width: 1440px) {
    #news-room .hero-banner .content-wrap h1 {
        font-size: 50px;
        max-width: 50%;
    }
    #news-room .hero-banner .banner-wrap {
        height: 450px;
    }
    #news-room .tab-content .card-title,
    #news-room-detail .tab-content .card-title {
        -webkit-line-clamp: 3;
    }
    #news-room .corporate-info .container {
        padding: 0;
    }
}

@media(max-width: 1440px) {
    #news-room .tab-content .card img {
        height: 16rem;
        object-fit: cover;
    }
}

/* Laptop
=======*/
@media(max-width: 1280px) {}
@media(max-width: 1200px) {
    #news-room .tab-content .card img {
        height: 13rem;
        object-fit: cover;
    }
	#news-room .hero-banner .banner-wrap,
	#news-room-detail .hero-banner .banner-wrap {
		height: 380px;
	}
   	#news-room .hero-banner .content-wrap h1,
	#news-room-detail .corporate-info .container {
		font-size: 38px;
	}
}

/* iPad Pro
=======*/
@media (max-width: 1024px) {
    #news-room .tab-content .card img {
        height: 18rem;
        object-fit: cover;
    }
    #news-room .tab-content .col,
    #news-room-detail .tab-content .col {
        width: 50%;
    }
    #news-room .hero-banner .content-wrap h1 {
        font-size: 38px;
    }
    #news-room .tab-content {
        margin: 40px 0;
    }
    #news-room .hero-banner .banner-wrap {
        height: 260px;
    }
    #news-room .tab-content .card-body a,
    #news-room-detail .tab-content .card-body a {
        padding: 12px 15px;
    }
}

/* iPad
=====*/
@media(max-width: 768px) {
    #news-room .tab-content .card img {
        height: 13rem;
        object-fit: cover;
    }
    /* Hero Banner */
    #news-room .hero-banner .content-wrap h1 {
        font-size: 28px;
    }
    #news-room .hero-banner .banner-wrap {
        height: 240px;
    }
    #news-room .tab-content .card-title,
    #news-room-detail .tab-content .card-title {
        font-size: 18px;
        -webkit-line-clamp: 4;
    }
}

/* Mobile
=======*/
@media(max-width: 576px) {
    /* Hero Banner */
    #news-room .hero-banner .banner-wrap {
        display: grid;
        align-items: end;
        justify-items: center;
        height: 240px;
    }
    #news-room .hero-banner .content-wrap h1 {
        font-size: 26px;
        max-width: 80%;
    }
    #news-room .hero-banner .content-wrap p.top {
        margin-bottom: 35px;
    }
    #news-room .hero-banner .content-wrap p {
        width: 90%;
    }

    /* Content */
	#news-room .corporate-info .container {
		padding-right: var(--bs-gutter-x,.75rem);
    	padding-left: var(--bs-gutter-x,.75rem);
	}
    #news-room .tab-content,
    #news-room-detail .tab-content {
        margin: 15px 0;
    }
    #news-room .tab-content .col,
    #news-room-detail .tab-content .col {
        width: 100%;
    }
    #news-room .tab-content .col:not(:last-child),
    #news-room-detail .tab-content .col:not(:last-child) {
        margin-bottom: 15px;
    }
    #news-room .tab-content .card-title,
    #news-room-detail .tab-content .card-title {
        font-size: 16px;
        min-height: 40px;
        -webkit-line-clamp: 2;
    }
    .view-all,
    #news-room .tab-content .card-body a,
    #news-room-detail .tab-content .card-body a {
        font-size: 16px;
        padding: 8px 12px;
    }
}