/* 
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
*/
.message-form-box {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 998;
    width: 220px;
}

/* 底部触发按钮样式 */
.message-trigger {
    background: #156944;
    color: white;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease; border-radius:5px 5px 0 0
}

.message-trigger.hidden {
    display: none;
}

/* 弹出框样式 */
.message-popup {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.message-popup.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

/* 头部样式 */
.message-header {
    background:#156944!important;
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.message-popup .wpforms-submit{ background:#156944!important;}
.message-popup .wpforms-container .wpforms-field{ padding:7px 0!important}
.radius-top {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.message-header b {
    flex-grow: 1;
}

.arrow-toggle {
    transition: transform 0.3s ease;
}
.wpf-captcha-container{ margin:0 0 20px 0!important}
.wpf-captcha-container label{ display:none}
.wpf-captcha-field{ display:flex;white-space: nowrap;align-items: center;gap: 10px;}
/* 表单容器样式 */
.message-form {
    padding: 20px;
    background: white;
    max-height: 80vh;
    overflow-y: auto;
}

/* WPForms 样式优化 */
.message-form .wpforms-container {
    margin: 0;
}

.message-form .wpforms-field {
    padding: 8px 0;
}

.message-form .wpforms-field input,
.message-form .wpforms-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
}

.message-form .wpforms-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* hCaptcha 验证码优化 */
.message-form .h-captcha {
    margin: 10px 0;
    transform-origin: left;
    transform: scale(0.9);
}

/* 提交按钮样式 */
.message-form .wpforms-submit {
    width: 100%;
    background: #20B2AA;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-form .wpforms-submit:hover {
    background: #1a9690;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .message-form-box {
        width: 100%;
    }
    
    .message-form .h-captcha {
        transform: scale(0.8);
    }
}
.banner-bottom-section .column:nth-child(n+2):after{ content:'';background-color: #fff;
    bottom: 10px;
    content: " ";
    left: 0;
    position: absolute;
    top: 30px;
    width: 1px; display:block; height:80px}
.home-table .e-n-tabs-heading{justify-content: space-between!important;border-bottom: 1px solid #86868b;padding-bottom: 14px;}
.home-table .e-n-tab-title{line-height: 40px; min-width: 110px; padding: 0 10px!important;}
.main-nav {bottom: 0; position: fixed;top: 0px; width:120px; z-index:99}
.logo-img img{transition: .5s;}
.logo-img:hover img{transform: rotate(180deg);}
.main-nav .menu-item a{ display:block; text-align:center;border-left: 3px solid transparent;}
.main-nav .menu-item:hover a,.main-nav .menu-item a.elementor-item-active,body.category .menu-item-575 a{ border-color:#2997ff}
body.category .menu-item-575 a{color:#2997ff!important}
.main-nav .menu-item.fund-nav:hover a,.main-nav .menu-item.fund-nav a.elementor-item-active{ color:#ffcf63!important; border-color:#ffcf63}
.main-nav .menu-item.nav-img img{filter: grayscale(100%); -webkit-filter: grayscale(100%);  filter: brightness(0%) invert(100%);  -webkit-filter: brightness(0%) invert(100%);}
.main-nav .menu-item.nav-img:hover img,.main-nav .menu-item.nav-img .elementor-item-active img{ filter:none}
.head-language{position: absolute;right: 25px;top: 15px; z-index: 310;}
.foot-icon-box .elementor-icon-box-content{ display:flex;flex-wrap: wrap;}
.foot-icon-box .elementor-icon-box-content .elementor-icon-box-title{width: 60px; margin-right:5px;}
.foot-icon-box .elementor-icon-box-content .elementor-icon-box-description{ width:calc(100% - 65px)}
.foot-copyright a{ color:#86868b}
.foot-section{background-position: 70% bottom!important;}
.fund-block1,.join-banner .swiper-slide{height: 50vw!important;
    max-height: 900px; min-height: 600px;}
.blog-top-post .elementor-post__thumbnail{border: 1px solid rgb(203, 203, 203);}
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img{height: auto;left: auto;position: inherit;top: auto;transform: none;}
.elementor-post__thumbnail{ padding-bottom:0!important}  
.blog-top-post .elementor-post__thumbnail img{ height:255px; width:100%; object-fit:cover}
.blog-top-post .elementor-post__excerpt p{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;}
.blog-top-post .elementor-post__text,.blog-bottom-post .elementor-post__text{ display:flex; flex-direction: column}
.blog-top-post .elementor-post__title,.blog-bottom-post .elementor-post__title{ order:1}
.blog-top-post .elementor-post__excerpt{ order:2;flex: 1 1 0%;}
.blog-top-post .elementor-post__meta-data,.blog-bottom-post .elementor-post__meta-data{ order:3}
.blog-bottom-post .elementor-post__excerpt{ order:2;}
.blog-category-nav .menu-item a{border: 1px solid #677b8c;border-radius: 30px;line-height: 30px;min-width: 80px; padding: 0px 10px!important; text-align: center; display:block;transition: 0.5s;  width: max-content;}
.blog-category-nav .menu-item a:hover,.blog-category-nav .menu-item a.elementor-item-active{ background:#2e55a5}
.blog-bottom-post .elementor-post{ padding:20px}
.blog-bottom-post .elementor-post:hover{box-shadow:0px 0 10px rgba(0, 0, 0, 0.25);}
.blog-bottom-post .elementor-post__thumbnail img{ width:100%!important;height:235px!important;object-fit:cover}
.blog-bottom-post .elementor-post__title a{-webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 18px;
    height: 48px;
    line-height: 24px;
    overflow: hidden;}
.blog-bottom-post .elementor-post__excerpt p{-webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    height: 100px;
    line-height: 25px;
    overflow: hidden;}
.elementor-pagination{ padding-top:50px;}
.page-numbers{ border-radius:5px; padding:8px 15px; color:#333;display: inline-block; margin: 10px 0;}
.page-numbers.current,.page-numbers:hover{ background:#d2d2d7; color:#000}
.elementor-widget-image-box .elementor-image-box-content{ width:auto}
.table-of-content-info{position: fixed;right: 20px; width:96px;top:90px; z-index:999;}
.table-of-content-info .elementor-toc__header{ display:none}
.table-of-content-info ol.elementor-toc__list-wrapper .elementor-toc__list-item-text-wrapper:before{ display:none}
.table-of-content-info .elementor-toc__body{ padding:0;overflow: inherit;}
.single-con-txt a{ color:#515154}
.single-post .main-nav{ display:none}
.highlight-txt b{ font-weight:normal; width:90px; display:inline-block}





@media screen and (max-width:1024px){
.main-nav-mob .elementor-menu-toggle{ margin:-40px 15px 0 0}
.main-nav-mob .elementor-nav-menu--dropdown{background: #2e55a5 }
.main-nav-mob .menu-item a{ display:block; color:#fff; text-align:center;border-bottom: 1px solid #86868b;}
	.main-nav-mob .menu-item:last-child a{ border-bottom:0}
	.main-nav-mob .menu-item.nav-img img{filter: grayscale(100%); -webkit-filter: grayscale(100%);  filter: brightness(0%) invert(100%);  -webkit-filter: brightness(0%) invert(100%);}
.main-nav-mob .menu-item.nav-img:hover img,.main-nav-mob .menu-item.nav-img .elementor-item-active img{ filter:none}
	.mob-head-section{left: 0;
        position: fixed;
        top: 0; z-index: 302;}
	.blog-category-nav .menu-item a{ margin-bottom:10px}
.sociology-txt .txt-section{ order:1}
.sociology-txt .img-section{ order:2}
	.black-txt p{color: #676767!important;}
}


@media screen and (max-width:480px){
.sub-table.elementor-widget-n-tabs .e-n-tabs-heading{ display:flex}
.elementor.elementor .sub-table.elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title[aria-selected=true] {margin-block-end: 0; }
.elementor.elementor .sub-table.elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title:not(:first-child) {margin-block-start: 0;}
.sub-table .e-n-tabs-heading{ margin-bottom:30px}
	.banner-bottom-section .column:nth-child(n+2):after{ display:none}
.blog-top-post .elementor-posts .elementor-post { display: block;}

}















