/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.gallery {
    display: grid;
    gap: 0px;
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
    .gallery.gallery-columns-4   {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
   .gallery.gallery-columns-4   {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .gallery.gallery-columns-4 {
        grid-template-columns: 1fr;
    }
}

/* Style cho các ảnh */
.gallery .gallery-icon {
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery .gallery-item {
    margin-inline: 5px;
	margin-block: 5px;
}

.gallery .gallery-icon img {
    width: 100%;
    height: auto;
    display: block; 
    border-radius: 0;
}

/* doctor-img-fix */
.elementor-element-7da0a57 img,
.elementor-element-f85dca7 img{object-fit:cover !important;object-position:center top !important}
@media (max-width:1024px){
body .elementor-element-7da0a57,
body .elementor-element-f85dca7{width:49% !important}
body .elementor-element-7da0a57 img,
body .elementor-element-f85dca7 img{height:59vh !important}
}
@media (max-width:767px){
body .elementor-element-7da0a57,
body .elementor-element-f85dca7{width:75% !important}
body .elementor-element-7da0a57 img,
body .elementor-element-f85dca7 img{height:54vh !important}
}
