/* xechothue.info.vn – shared site CSS (linked from every page by build.py, ?v=<hash> bumps automatically). */
/* Ảnh bo góc 8px (trừ logo/icon) */
.elementor-widget-image img,.elementor-widget-text-editor img,.elementor-widget-theme-post-featured-image img,.elementor-widget-theme-post-content img,[id^="post-details-"] img,.wp-post-image,.gallery img,.wp-block-image img,.elementor-image-gallery img{border-radius:8px}
.elementor-widget-theme-site-logo img,.custom-logo,img.emoji,img[width="16"],img[width="24"],img[width="32"],img[width="48"],.wpfront-scroll-top-container img{border-radius:0}
/* Mobile: ảnh phóng to (Elementor lightbox) sát 2 mép trái/phải, giữ tỉ lệ; ảnh cao thì cuộn dọc */
@media (max-width:767px){
body .elementor-lightbox .swiper .elementor-lightbox-item,body .elementor-lightbox .elementor-lightbox-item{padding:0!important}
body .elementor-lightbox .elementor-lightbox-item .swiper-zoom-container{width:100%;height:100%;display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch}
body .elementor-lightbox .elementor-lightbox-item .elementor-lightbox-image{width:100vw!important;max-width:100vw!important;height:auto!important;max-height:none!important;margin:auto 0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain}
}

/* Ảnh & album căn giữa cột nội dung (ảnh đơn, ảnh có chú thích, album WordPress) */
.wp-block-image{text-align:center}
.wp-block-image img{margin-left:auto;margin-right:auto}
.wp-block-image .aligncenter,.wp-block-image .alignnone,figure.aligncenter,.wp-caption.aligncenter,.wp-caption.alignnone{margin-left:auto;margin-right:auto}
.wp-block-gallery,.wp-block-gallery.has-nested-images,.gallery{justify-content:center}
@media (max-width:767px){.wp-block-image .alignleft,.wp-block-image .alignright,img.alignleft,img.alignright,.wp-caption.alignleft,.wp-caption.alignright{float:none;display:table;margin-left:auto;margin-right:auto}}
