/* 自定义样式调整 */

/* 1. 调整PC端轮播图高度 */
@media (min-width: 768px) {
    /* PC端轮播图高度调整 - 使用更具体的选择器来覆盖内联样式 */
    #homepage-slider.homepage-slider .bdt-prime-slider ul.bdt-slideshow-items,
    .homepage-slider .bdt-prime-slider ul.bdt-slideshow-items li.bdt-slideshow-item section.elementor-top-section .elementor-container {
        min-height: 750px !important; /* 从660px增加到750px */
    }
    
    /* 针对具体的轮播图元素 */
    .elementor-33959 .elementor-element.elementor-element-274edc3 .bdt-prime-slider-custom .bdt-slideshow-items,
    .elementor-33959 .elementor-element.elementor-element-342315f .bdt-prime-slider-custom .bdt-slideshow-items,
    .elementor-33959 .elementor-element.elementor-element-e42aa75 .bdt-prime-slider-custom .bdt-slideshow-items {
        min-height: 750px !important; /* 从660px增加到750px */
    }
    
    /* 覆盖bdt-slideshow的内联样式 */
    .bdt-prime-slider-custom .bdt-position-relative {
        min-height: 750px !important;
    }
    
    /* 确保轮播图容器也有正确的高度 */
    .bdt-prime-slider-custom .bdt-slideshow-items {
        min-height: 750px !important;
    }
    
    /* 强制覆盖所有可能的轮播图高度设置 */
    .homepage-slider .bdt-prime-slider,
    .homepage-slider .bdt-prime-slider-custom,
    .homepage-slider .bdt-position-relative {
        min-height: 750px !important;
    }
}

/* 2. 调整手机端轮播图高度 */
@media (max-width: 767px) {
    /* 手机端轮播图高度调整 - 调低一点 */
    #homepage-slider.homepage-slider .bdt-prime-slider ul.bdt-slideshow-items,
    .homepage-slider .bdt-prime-slider ul.bdt-slideshow-items li.bdt-slideshow-item section.elementor-top-section .elementor-container {
        min-height: 250px !important; /* 从300px调低到250px */
    }
    
    /* 针对具体的轮播图元素 */
    .elementor-33959 .elementor-element.elementor-element-274edc3 .bdt-prime-slider-custom .bdt-slideshow-items,
    .elementor-33959 .elementor-element.elementor-element-342315f .bdt-prime-slider-custom .bdt-slideshow-items,
    .elementor-33959 .elementor-element.elementor-element-e42aa75 .bdt-prime-slider-custom .bdt-slideshow-items {
        min-height: 250px !important; /* 从600px调低到250px */
    }
    
    /* 覆盖bdt-slideshow的内联样式 */
    .bdt-prime-slider-custom .bdt-position-relative {
        min-height: 250px !important;
    }
    
    /* 确保轮播图容器也有正确的高度 */
    .bdt-prime-slider-custom .bdt-slideshow-items {
        min-height: 250px !important;
    }
    
    /* 强制覆盖所有可能的轮播图高度设置 */
    .homepage-slider .bdt-prime-slider,
    .homepage-slider .bdt-prime-slider-custom,
    .homepage-slider .bdt-position-relative {
        min-height: 250px !important;
    }
}

/* 3. 调整币种图片尺寸为50x50 */
.elementor-image-carousel .swiper-slide-image {
    max-width: 50px !important; /* 设置为50px */
    max-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
}

/* 针对特定的币种轮播图 */
.mapGallery .elementor-image-carousel .swiper-slide-image {
    max-width: 50px !important; /* 设置为50px */
    max-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
}

/* 针对比特币、以太坊、币安币、瑞波币、索拉纳的图片 */
.elementor-image-carousel .swiper-slide-image[data-src*="btc.png"],
.elementor-image-carousel .swiper-slide-image[data-src*="eth.png"],
.elementor-image-carousel .swiper-slide-image[data-src*="bnb.png"],
.elementor-image-carousel .swiper-slide-image[data-src*="xrp.png"],
.elementor-image-carousel .swiper-slide-image[data-src*="sol.png"] {
    max-width: 50px !important;
    max-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
}

/* 针对gallery中的币种图片 */
.gallery-item img[data-src*="btc.png"],
.gallery-item img[data-src*="eth.png"],
.gallery-item img[data-src*="bnb.png"],
.gallery-item img[data-src*="xrp.png"],
.gallery-item img[data-src*="sol.png"] {
    max-width: 50px !important;
    max-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
}

/* 4. 将ATFX_map_AP_20250519.svg图片居中 */
.elementor-element-30081c48 .elementor-widget-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.elementor-element-30081c48 img {
    margin: 0 auto !important;
    display: block !important;
}

/* 确保地图图片在容器中居中 */
#imgMapAP .elementor-widget-container {
    text-align: center !important;
}

#imgMapAP img {
    margin: 0 auto !important;
    display: inline-block !important;
}
