/**
 * P1 — Media fill chung (card tin, album, partner, html-content, hero home).
 * Load trên Site.Master. Phần Tour-only → ola-tour-images.css
 */
#OLA .promo-item,
#ola .promo-item,
#OLA .bento-item,
#ola .bento-item,
#OLA .ba-item,
#ola .ba-item,
#OLA .gal-item,
#ola .gal-item,
#OLA .album-grid-custom .album-item,
#ola .album-grid-custom .album-item {
    position: relative;
    overflow: hidden;
}

#OLA .album-grid-custom .album-item,
#ola .album-grid-custom .album-item {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    line-height: 0;
    background: #e9ecef;
}

#OLA .album-grid-custom .album-item > img,
#ola .album-grid-custom .album-item > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
}

#OLA .album-grid-custom .album-item:hover > img,
#ola .album-grid-custom .album-item:hover > img {
    transform: scale(1.05);
}

#OLA .partner-box img,
#ola .partner-box img,
#OLA .press-section .press-item img,
#ola .press-section .press-item img {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
}

#OLA .partner-box img,
#ola .partner-box img {
    max-height: 56px !important;
}

#OLA .press-section .press-item img,
#ola .press-section .press-item img {
    max-height: 52px !important;
}

#OLA .hero-wrap .hero-slide.hero-slide--image > a,
#ola .hero-wrap .hero-slide.hero-slide--image > a,
#OLA .hero-wrap .hero-slide.hero-slide--image > div,
#ola .hero-wrap .hero-slide.hero-slide--image > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

#OLA .hero-wrap .hero-slide.hero-slide--image img,
#ola .hero-wrap .hero-slide.hero-slide--image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
}

#OLA .promo-item,
#ola .promo-item {
    display: block;
    min-height: 270px;
}

#OLA .promo-item > img,
#ola .promo-item > img {
    position: relative !important;
    inset: auto !important;
    height: 270px !important;
    min-height: 270px !important;
}

#OLA .bento-item,
#ola .bento-item,
#OLA .ba-item,
#ola .ba-item {
    min-height: 200px;
}

#OLA .bento-item > img,
#ola .bento-item > img {
    position: absolute !important;
}

#OLA a.news-card .nc-img,
#ola a.news-card .nc-img {
    line-height: 0;
    flex-shrink: 0;
}

#OLA a.news-card .nc-img img,
#ola a.news-card .nc-img img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

#OLA .html-content img,
#ola .html-content img,
#OLA .article-content img,
#ola .article-content img,
#main-content .html-content img,
#main-content .article-content img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
