/*
Theme Name: Astra Child
Template: astra
*/

/* 在这里添加您的自定义 CSS 样式 */

.ast-above-header-wrap .ast-search-menu-icon .search-form {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid rgb(0, 0, 0);
}

.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 60px;
}

.main-header-bar {
    padding: 0;
}

.main-navigation ul li:last-child a {
    padding-right: 0px;
}

/*odd*/
#hy-news-list .uael-post-wrapper:nth-child(even) .uael-post__inner-wrap {
  flex-direction: row-reverse;
}

#hy-news-list .uael-post__thumbnail img {
    height: 100%;
    object-fit: cover;
}


/* 将单产品页主图容器宽度设为70% */
.woocommerce-product-gallery {
    width: 65% !important;
    float: left !important; /* 使摘要信息靠右 */
    box-sizing: border-box; /* 确保padding和border包含在宽度内 */
}
/* 相应地调整右侧摘要容器（.summary.entry-summary）的宽度 */
.woocommerce div.product .summary.entry-summary {
    width: 33% !important;
    float: right !important;
    box-sizing: border-box;
}
/* 在移动设备上恢复为全宽，保持响应式 */
@media (max-width: 768px) {
    .woocommerce-product-gallery,
    .woocommerce div.product .summary.entry-summary {
        width: 100% !important;
        float: none !important;
    }
}

/* 增加单产品页面主内容区域与顶部的间距 */
.single-product #content.site-content {
    padding-top: 40px !important;
}


.concept-logo {
    position: absolute;
    opacity: 0.02;
    width: 25%;
    right: -1vw;
    top: calc(100vh - 27vw);
    transform: rotate(8deg);
    z-index: -1
}

/* 覆盖Elementor的全局内容宽度变量 */
.e-con {
    --content-width: 1220px !important;
}

.page-title-entry-content p {
    margin-bottom: 0 !important;
}

.page-section-gradient-title {
    /* 1. 创建渐变背景 */
    background-image: linear-gradient(to left, #d9604d, #e68e3c, #e7c037);
    /* 2. 关键：将背景裁剪到文字形状 (写标准属性，浏览器会自动选择支持的) */
    -webkit-background-clip: text; /* 用于 Safari、旧版Chrome等 */
    background-clip: text; /* 标准属性，用于新版浏览器 */
    /* 3. 关键：将文字颜色变透明，让背景透出来 */
    -webkit-text-fill-color: transparent; /* 带前缀 */
    color: transparent; /* 标准写法，备用且逐步被支持 */
    /* 4. 确保布局 */
    display: inline-block;
    /* 5. 字体样式 */
    font-family: 'Gilroy Semibold';
    font-weight: 600; /* 如果字体族加载失败，用字重做后备 */
    /* 6. 可选：添加细微文字阴影提升可读性 */
    text-shadow: none !important;
}

.page-section-gradient-title .elementor-heading-title {
    text-shadow: none !important;
}

.ast-separate-container {
    background-color: #ffffff !important;
}

.site-header {
    background-color: #ffffff !important;
}

/* 去掉搜索结果页中列表项的meta */
.search-results .entry-meta { display: none !important; }

/* 调整搜索结果页标题位置 */
.search .ast-container section.ast-archive-description {
    padding-left: 0;
}

/* 调整搜索结果页内容宽度 */
.search .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1240px !important;
}

/* 产品详情页短描述 */
.woocommerce-product-details__short-description {
    text-align: justify;
}

/* 产品 meta 样式 */
.woocommerce div.product .summary.entry-summary {
    padding-right: 32px;
}

/* 产品相册图样式 */
.woocommerce-js div.product div.images .flex-control-thumbs li img {
    object-fit: cover;
    height: 200px;
}

/* News 样式 */
#hy-news-list .new {
    box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, .1);
}

/* Footer social 样式 */
.ast-footer-social-1-wrap .ast-builder-social-element {
    padding: 6px 12px 6px 0;
}

/*Footer ul 样式*/
.footer-ullist-text-right {
    text-align: right;
}

.footer-ullist-text-center {
    text-align: center;
}