@charset "UTF-8";
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0.1
*/

/**
 * ==================== 性能优化说明 ====================
 * 所有CSS文件已通过 functions/script-style.php 使用 wp_enqueue_style 并行加载
 * 原18个 @import 串行加载已优化为并行加载，性能提升5-10倍
 *
 * 加载的CSS文件列表：
 * - diy.css (基础样式)
 * - css/product.css (产品单页)
 * - css/page.css (单页面)
 * - css/single-archive.css (文章存档)
 * - css/single.css (文章单页)
 * - css/block-faq-list.css (折叠卡)
 * - css/plugin.css (插件)
 * - css/font-type.css (字体)
 * - css/header.css (头部)
 * - css/footer.css (底部)
 * - css/block-btn.css (按钮)
 * - css/clean-layout.css (布局/间距/填充/阴影)
 * - css/icon.css (图标)
 * - css/block-breadcrumb.css (面包屑)
 * - css/block-slider.css (轮播)
 * - css/block-lightbox.css (弹窗)
 * - css/block-tabs.css (切换卡)
 * - css/block-UX.css (UX编辑器，条件加载)
 * ===================================================
 */
 
 @media (max-width: 549px) {
  .category .post-sidebar{
     display: NONE;
 }

}


  @media (max-width: 549px) {
      
      #logo img {
    padding: 0px 0;
}

    #logo img {
        max-height: 64px !important;
    }
    
       .stuck #logo img {
    padding: 14px 0 !important
    }
}



 #categories-3{
     margin: 0;
     background: #fff;
     border-radius: 6px;
     padding: 10px;
     font-size: 12px;
 }
  .mobile-cat-single-list{
      padding-bottom: 0 !important;
  }
 .mobile-cat-single-list{
     .widget .is-divider{
     display: NONE;
 }
 }
 
 .category #content{
     background: #EEE;
 }
 
 .widget .current-cat>a{
     color: var(--fs-color-primary);
 }
   /* ==========================================================================
头部
   ========================================================================== */
.nav-dropdown {
    /* 1. 核心：强制文字不换行 */
    white-space: nowrap;

    /* 2. 核心：确保宽度由内容决定 */
    /* 绝对定位本身就支持根据内容撑开，但 display: table 也可以保留 */
    display: table; 
    width: auto; 

    /* 3. 必须覆盖之前的限制 */
    min-width: 0 !important; /* 或是根据需求设为一个极小值 */

    /* 保持你原有的定位和动画属性 */
    background-color: #fff;
    color: var(--fs-color-base);

    margin: 0;
    max-height: 0;
    opacity: 0;
    padding: 20px 20px; /* 建议左右也给一点 padding，防止文字贴边 */
    position: absolute;
    text-align: left;
    transition: opacity .25s, visibility .25s;
    visibility: hidden;
    z-index: 9;
}

   /* ==========================================================================
底部
   ========================================================================== */

 .label-sale.menu-item > a:after {
    content: "Upcoming" !important;
}
 .label-new.menu-item > a:after {
    content: "Launched" !important
}

.hvr-underline-from-left:before {
    background: #000;
    height: 2px;
}

 /**/
.home-banner {
    position: relative;
    overflow: hidden;
    background-color: #000; /* 保持底色 */
}

/* 遮罩层 1 (Middle)：处理模糊与色彩叠加 */
.home-banner .banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 性能优化：将 100px 降至 60px 左右，视觉差异不大但渲染快得多 */
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    
    /* 混合模式 */
    mix-blend-mode: overlay; 
    
    /* 渐变遮罩 */
    -webkit-mask-image: linear-gradient(to right, black 0%, black 25%, transparent 75%);
    mask-image: linear-gradient(to right, black 0%, black 25%, transparent 75%);
    
    z-index: 1;
    pointer-events: none;

    /* 核心修复：强制开启硬件加速，减少闪烁 */
    transform: translateZ(0);
    will-change: backdrop-filter;
    
    /* 添加淡入动画，消除刷新时的硬切断感 */
    animation: bannerFadeIn 0.5s ease-out forwards;
}

/* 遮罩层 2 (Top)：深色渐变 */
.home-banner .banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 这里的 0.9 透明度确保了左侧文字区域的纯净 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 55%);
    
    z-index: 2;
    pointer-events: none;

    /* 同步淡入 */
    animation: bannerFadeIn 0.3s ease-out forwards;
}

/* 定义淡入动画 */
@keyframes bannerFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 如果你的图片在 banner-bg 内部，建议也给图片加一个 z-index: 0 */
.home-banner .banner-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.home-banner .banner-bg img {
    z-index: 0;
    object-fit: cover;
    transform: scale(1.05);
}

.home-banner .banner-layers {
    z-index: 10;
}
  /* ==========================================================================
首页卡片
   ========================================================================== */
 
 .consider .ux-lottie{
     border:1px solid  #0000001f;
     border-radius: 50%;
     margin-bottom: 20px;
     transition: .25s;

 }
 .consider .box-shadow-1{
      transition: .15s;
      border-top: 3px solid #fff0;
 }
 .consider .item:hover .ux-lottie *{
     filter: invert(1)
 }
 .consider.evaluate-property .item:hover .ux-lottie *{
     filter: brightness(0) invert(1);
 }
  .consider .item:hover .box-shadow-1{
      border-top: 3px solid var(--fs-color-primary);
  }
  .consider .item:hover h3{
      color: var(--fs-color-primary);
  }
  .consider .item:hover .ux-lottie{
    background: var(--fs-color-primary);

  }
 /* ==========================================================================
首页新闻列表
   ========================================================================== */


 .home-post-list .item h3{
      display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5 !important; 
  min-height: 3em; 
}
 .home-post-list .item .col-inner{
     border-radius: 10px !important;
     overflow: hidden !important;
 }
.home-post-list .tag-label {
    border-radius: 100px !important;
    color: #bfa36a;
    background: linear-gradient(to right, rgba(191, 163, 106, 0.209) 0%, rgba(191, 163, 106, 0.169) 51%, rgba(191, 163, 106, 0.209) 100%);
    transition: 0.5s;
    font-size: .7em !important;
    font-weight: 300;
    display: inline-block;
    text-transform: capitalize;
    line-height: 1.4;
    padding: 3px 8px;
        margin-bottom: 8px;
}
 .author-box .is-small:after{
     content: "|";
     font-size: 10px;
     opacity: .5;
 }
 

    .home-post-list .post-item{
        transition: .25s;
    }
     .home-post-list .post-item:hover .post-title{
         color: var(--fs-color-primary);
     }
      .home-post-list .post-item:hover .cat-label{
          background:  var(--fs-color-secondary) !important;
          color: #fff  !important;
      }

 /* ==========================================================================
公寓
   ========================================================================== */
/* 表格外层（关键：手机横向滑动） */
.table-style{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

/* 表格 */
.table-style table{
    margin:0 auto;
    border-collapse:separate;
    border-spacing:0;
    background-color:#FFFFFF;
    border:1px solid #505050;
    text-align:center;
    border-radius:12px;
    overflow:hidden;
    min-width:640px; /* 关键：保证手机不会挤压 */
}

/* 表头 */
.table-style table th{
    background-color:#1F1F1F;
    color:#FFFFFF;
    font-size:16px;
    font-weight:600;
    padding:16px;
    border-bottom:1px solid #E8E8E8;
    text-transform:capitalize;
    text-align:center;
}

/* 单元格 */
.table-style table td{
    font-size:15px;
    text-align:center;
    color:#555555;
    padding:16px;
    border-bottom:1px solid #E8E8E8;
    border-right:1px solid #E8E8E8;
}

/* 去掉最后一列右边框 */
.table-style table td:last-child,
.table-style table th:last-child{
    border-right:none;
}

/* 最后一行不需要底部边框 */
.table-style table tr:last-child td{
    border-bottom:none;
}

/* 手机端优化 */
@media (max-width:549px){

    .table-style table{
        min-width:560px; /* 手机滚动宽度 */
    }

    .table-style table th{
        font-size:13px;
        padding:12px;
    }

    .table-style table td{
        font-size:12px;
        padding:12px;
    }
}

.table-style table td:last-child {
    border-right: none;
}

.table-style table tr:last-child td {
    border-bottom: none;
}

.table-style table tr:nth-child(even) {
    background-color: #FAFAFA;
}


/*公寓详情-目录*/
 .dak-auto-toc-list {
  list-style: none;
  padding-left: 0;
  padding: 20px 0;
  border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
      background: #fff;

}

.dak-auto-toc-list li a{
    padding: 10px 30px 10px 20px;
    display: block;
}

.dak-auto-toc-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.dak-auto-toc-list a {
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
    border-left: 4px solid #ffffff00;
}

.dak-auto-toc-list a.active {
  color: #bfa36a;
  font-weight: 600;
  border-left: 4px solid var(--fs-color-primary);
}


/*公寓数据行-间距*/
.single-item-row {
    margin-bottom: 80px;
}

@media (max-width: 549px) {
    .single-item-row {
    margin-bottom: 50px;
}

/*公寓数据行-标题*/
}





/*按钮*/
.style-hover{
 background: #fff;
 color: #999;
 border-color:#ccc;
}

.style-hover:hover{
  background: var(--fs-color-primary);
  border-color: var(--fs-color-primary) !important;
  box-shadow: none;

}
  
.card-item .box {
  transition: box-shadow 0.3s ease; 
  border-radius: 8px; 
  overflow: hidden;
}

.card-item .gradientbtn:hover{
    box-shadow: none !important;
}
.card-item .col-inner:hover {
  box-shadow: inset 0 0 0 1px var(--fs-color-primary); 
}

/*摘要*/
.card-item .summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.5 !important; 
  min-height: 4.5em; 
  

}







.card-item:hover .style-hover{
  background: var(--fs-color-primary);
  border-color: var(--fs-color-primary) !important;
  color: #fff !important;
  box-shadow: none;
  box-shadow: 0px 1px 10px #bfa36a40
}

.card-item h3{
  transition: .25s;
  
}

.card-item:hover h3{
    color: var(--fs-color-primary); 
}


.card-item .box-image {
    overflow: hidden;
}
.card-item .box-image img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 极长过渡时间才显高级 */
}

.card-item:hover .box-image img {
    transform: scale(1.04) translateY(-2%); 
}

  /* ==========================================================================
联系
   ========================================================================== */
   
.page-contact .ff-custom_html{
    margin: 0 !important;
}
.privacy-note {
    font-synthesis: style !important; 
    font-style: italic !important;
    font-size: 12px;
    opacity: .5;
}

.page-contact form.fluent_form_1 .wpf_has_custom_css.ff-btn-submit:hover{
    background-color: #222 !important;
    color: #fff !important;

}

/*修复点击无下拉*/
#ff_1_dropdown {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* 注入一个深灰色的箭头图标 */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 12px) center !important; 
    background-size: 16px !important;
    
    padding-right: 40px !important;
}

#ff_1_dropdown:focus {
    outline: none !important;
}



 /* ==========================================================================
团队动画
   ========================================================================== */
.team-item .is-border {
    width: 0;
    height: 3px;
    transition: width 0.5s ease;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 42%; 
    border-top: 3px solid var(--primary-color) !important;
    z-index: 1;
}

 .team-item:hover .is-border {
    width: 58%;
}

@media (max-width: 767px) {
    .team-item .is-border {
        left: 42%;
        width: 58%;
    }
}

 .team-item .col-inner {
    position: relative;
    transition: transform 0.3s ease;
    z-index: 5;
}

 .team-item:hover h3 {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

 .team-item:hover .col-inner {
    transform: translateY(-3px);
}


 /* ==========================================================================
卡片动画
   ========================================================================== */


.order .item .is-border {
    height: 0; 
    transition: height 0.5s ease;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    border-left: 3px solid var(--primary-color) !important;
    border-width: 0px 0px 0px 3px !important;
    z-index: 10;
}

.order .item:hover .is-border {
    height: 100%;
}

.order .item .col-inner {
    position: relative;
    transition: transform 0.3s ease;
}

/* 重点：当容器被 hover 时，改变内部 h3 的颜色 */
.order .item:hover h3 {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.order .item:hover .col-inner {
    transform: translateY(-3px);
}






.center-qz .col-inner {
        margin-left: auto !important;
        margin-right: auto !important;

    
}
.ovh .box-shadow-1{
    overflow: hidden;
}

.order .item .num p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #BFA36A;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.page-about .table-style {
    display: flex;
    justify-content: center;
    background-color: #F7F7F7;
    padding: 20px 10px;
}

.page-about .table-style table {
    width: 480px;

    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #FFFFFF;
    border: 1px solid #505050;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

.page-about .table-style table th {
    background-color: #1F1F1F;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border-bottom: 1px solid #E8E8E8;
    text-transform: capitalize;
    text-align: center;
}

.page-about .table-style table td {
    font-size: 15px;
    color: #555555;
    padding: 16px;
    border-bottom: 1px solid #E8E8E8;
    border-right: 1px solid #E8E8E8;
}

.page-about .table-style table td:last-child {
    border-right: none;
}

.page-about .table-style table tr:last-child td {
    border-bottom: none;
}

.page-about .table-style table tr:nth-child(even) {
    background-color: #FAFAFA;
}

@media (max-width: 480px) {
    .page-about .table-style table {
        width: 100%;
        font-size: 12px;
    }
    .page-about .table-style table th, 
    .page-about .table-style table td {
        padding: 12px 8px;
           font-size: 12px;
    }
}