/*! (c) 2018-2026 Migovi - migovi.com. All rights reserved. Khong sao chep khi chua duoc phep. */
.migovi-tech-gallery{--gg:10px;margin:32px 0;gap:var(--gg)}.migovi-gallery-item{position:relative;margin:0;overflow:hidden;border-radius:4px;background:#e9e7e4;aspect-ratio:3/2}.entry-content a.migovi-lightbox-trigger,.migovi-lightbox-trigger{display:block;width:100%;height:100%;background:none;box-shadow:none;border:0;text-decoration:none;cursor:zoom-in}.migovi-gallery-item img.migovi-gallery-img{display:block;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;background:none;object-fit:cover;border-radius:0;box-shadow:none;transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .4s}@media (hover:hover){.migovi-gallery-item:hover img.migovi-gallery-img{transform:scale(1.035);box-shadow:none}}.migovi-lightbox-trigger:focus-visible{outline:2px solid var(--mg-red);outline-offset:-2px}.migovi-gallery-cap{position:absolute;left:0;right:0;bottom:0;margin:0;padding:28px 14px 10px;background:linear-gradient(transparent,rgba(0,0,0,.62));color:#fff;font-size:13px;font-style:normal;line-height:1.4;text-align:left;pointer-events:none}.layout-masonry.has-caps .migovi-gallery-cap,.layout-justified.has-caps .migovi-gallery-cap{font-size:12px;padding:22px 10px 8px}@media (prefers-reduced-motion:no-preference){@supports (animation-timeline:view()){.migovi-tech-gallery .mg-rv{animation:mg-gal-in linear both;animation-timeline:view();animation-range:entry 0% entry 35%}}.mg-js-rv .migovi-tech-gallery .mg-rv{transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}.mg-js-rv .migovi-tech-gallery .mg-rv:not(.is-in){opacity:0;transform:translateY(14px)}@keyframes mg-gal-in{from{opacity:0;transform:translateY(14px)}}}.r-1x1 .migovi-gallery-item{aspect-ratio:1}.r-4x3 .migovi-gallery-item{aspect-ratio:4/3}.r-16x9 .migovi-gallery-item{aspect-ratio:16/9}.r-auto .migovi-gallery-item{aspect-ratio:var(--r,1.5)}.layout-auto{display:grid;grid-template-columns:repeat(2,1fr)}.layout-auto.n-1{grid-template-columns:1fr}.layout-auto.n-1 .migovi-gallery-item,.layout-auto.n-3 .migovi-gallery-item:first-child,.layout-auto.a-big .migovi-gallery-item:first-child{grid-column:1/-1;aspect-ratio:16/9}.layout-auto.a-center{display:flex;flex-wrap:wrap;justify-content:center}.layout-auto.a-center .migovi-gallery-item{flex:0 0 calc(50% - 5px)}.layout-auto.a-big.n-even .migovi-gallery-item:last-child{grid-column:1/-1}@media (min-width:601px){.layout-auto.n-3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:3/2}.layout-auto.n-3 .migovi-gallery-item{aspect-ratio:auto}.layout-auto.n-3 .migovi-gallery-item:first-child{grid-column:1;grid-row:1/span 2;aspect-ratio:auto}.layout-auto.n-many{grid-template-columns:repeat(3,1fr)}.layout-auto.a-big{grid-auto-flow:dense}.layout-auto.a-big .migovi-gallery-item:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}.layout-auto.a-big.n-even .migovi-gallery-item:last-child{grid-column:auto}.layout-auto.a-center .migovi-gallery-item{flex-basis:calc(33.333% - 6.67px)}}.layout-grid{display:grid;grid-template-columns:repeat(2,1fr)}@media (min-width:601px){.layout-grid.cols-3{grid-template-columns:repeat(3,1fr)}.layout-grid.cols-4{grid-template-columns:repeat(4,1fr)}.layout-grid.cols-5{grid-template-columns:repeat(5,1fr)}}.layout-bento{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-flow:dense;grid-auto-rows:clamp(110px,30vw,190px)}.layout-bento .migovi-gallery-item{aspect-ratio:auto}.layout-bento .migovi-gallery-item:first-child{grid-column:span 2;grid-row:span 2}.layout-bento .migovi-gallery-item:nth-child(6n+4){grid-column:span 2}.layout-bento .migovi-gallery-item:last-child:not(:first-child){grid-column-end:-1}@media (min-width:601px){.layout-bento{grid-template-columns:repeat(4,1fr);grid-auto-rows:150px}}.layout-justified{display:flex;flex-wrap:wrap}.layout-justified::after{content:"";flex-grow:1000000}.layout-justified .migovi-gallery-item{aspect-ratio:var(--r,1.5);flex:calc(var(--r,1.5)*100) 1 calc(var(--r,1.5)*130px)}@media (min-width:601px){.layout-justified .migovi-gallery-item{flex-basis:calc(var(--r,1.5)*190px)}}.layout-masonry{display:block;column-count:2;column-gap:var(--gg)}.layout-masonry .migovi-gallery-item{aspect-ratio:var(--r,auto);break-inside:avoid;margin:0 0 var(--gg)}@media (min-width:601px){.layout-masonry{column-count:3}}.layout-feature{display:grid;grid-template-columns:repeat(4,1fr)}.layout-feature .migovi-gallery-item{aspect-ratio:1}.layout-feature .migovi-gallery-item:first-child{grid-column:1/-1;aspect-ratio:16/10}.layout-feature .migovi-gallery-item:nth-child(n+6){display:none}@media (min-width:601px){.layout-feature{grid-template-columns:repeat(6,1fr)}.layout-feature .migovi-gallery-item:nth-child(n+6){display:block}.layout-feature .migovi-gallery-item:nth-child(n+8){display:none}}.layout-carousel,.layout-fullscreen,.layout-strip{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.layout-carousel::-webkit-scrollbar,.layout-fullscreen::-webkit-scrollbar,.layout-strip::-webkit-scrollbar{display:none}.layout-carousel .migovi-gallery-item{flex:0 0 auto;height:clamp(220px,52vw,400px);aspect-ratio:var(--r,1.5);max-width:86%;scroll-snap-align:center}.layout-carousel:focus-visible,.layout-fullscreen:focus-visible{outline:2px solid var(--mg-red);outline-offset:4px}.layout-fullscreen{--gg:0px;background:#0b0b0c;border-radius:4px}.mg-no-sidebar .entry-content>.layout-fullscreen{width:100vw;margin-left:calc(50% - 50vw);border-radius:0}.layout-fullscreen .migovi-gallery-item{flex:0 0 100%;height:min(70vh,52vw);min-height:260px;aspect-ratio:auto;border-radius:0;background:#0b0b0c;scroll-snap-align:center}.layout-fullscreen .migovi-gallery-item img.migovi-gallery-img{object-fit:contain}.layout-fullscreen .migovi-gallery-cap{padding:48px 20px 18px;font-size:15px}.mg-no-sidebar .layout-fullscreen .migovi-gallery-item{height:min(86vh,62vw)}.mg-no-sidebar .layout-fullscreen .migovi-gallery-cap{padding:48px max(16px,calc(50vw - 380px)) 18px}@media (hover:hover){.layout-fullscreen .migovi-gallery-item:hover img.migovi-gallery-img{transform:none}}.layout-strip .migovi-gallery-item{flex:0 0 82%;scroll-snap-align:center}@media (min-width:601px){.layout-strip{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}.layout-strip .migovi-gallery-item{flex:none}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .migovi-gallery-item{background:#222}:root:not([data-theme=light]) .mg-gal-nav__b{border-color:#444;color:#ddd}}:root[data-theme=dark] .migovi-gallery-item{background:#222}:root[data-theme=dark] .mg-gal-nav__b,.mg-layout--emag-photo .mg-gal-nav__b{border-color:#3a3a3a;color:#eee}figure.migovi-gallery-item>amp-img,figure.migovi-gallery-item>img{width:100%;height:100%}figure.migovi-gallery-item amp-img img{object-fit:cover}.layout-fullscreen figure.migovi-gallery-item amp-img img{object-fit:contain}
