/*
Theme Name: Kadence Child
Theme URI: https://telonx.com/kadence-child/
Description: Kadence 主题的子主题
Author: Wan
Author URI: https://telonx.com
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

/* ================== 兼容型号样式 ================== */

/* SEO优化隐藏内容 */
.seo-compatible-models {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 兼容型号模块容器 */
.compatibility-section {
    margin-top: 0;
    padding: 0;
    border: none;
}

/* 切换按钮 */
.compatibility-toggle {
    display: inline-block;
    margin: 10px 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.compatibility-toggle:hover {
    color: #2b6cb0;
}

.compatibility-toggle.active {
    color: #1a56db;
}

/* 切换图标 */
.toggle-icon {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.compatibility-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* 兼容型号内容区域 */
.compatibility-content {
    display: none;
    padding: 10px 0;
    margin: 0;
    border: none;
}

.compatible-models-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compatible-models-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.compatible-models-list li:last-child {
    border-bottom: none;
}

/* 分割线 */
.compatibility-divider {
    display: block;
    height: 1px;
    margin: 5px 0;
    background-color: #eee;
}

/* =========================================================
   Fluent Forms 全局美化样式
========================================================= */

/* 字体统一 */
.fluentform .ff-el-form-control,
.fluentform .ff-el-input--label label,
.fluentform .ff-btn {
    font-family: "Roboto", sans-serif;
}

/* 标签样式 */
.fluentform .ff-el-input--label label {
    color: #54595f;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

/* 输入框样式 */
.fluentform .ff-el-form-control {
    font-size: 14px;
    height: 30px;
    padding: 6px 10px;
    margin-bottom: 5px;
    border-radius: 4px;
}

/* 字段组间距 */
.fluentform .ff-el-group {
    margin-bottom: 5px;
}

/* 提交按钮 */
.fluentform .ff-btn-submit {
    background: #0b3a66;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 22px;
    margin: 10px 0 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fluentform .ff-btn-submit:hover {
    background: #ff6600;
}

/* 分段分隔符 */
.fluentform .ff-el-section-break {
    margin: 10px 0;
}

/* Elementor中的Fluent Forms容器 */
.elementor-widget-shortcode .elementor-widget-container form[class*="fluent_form_"],
.elementor-widget-shortcode .elementor-widget-container [class*="fluent_form_"] {
    margin-bottom: 0;
    padding-bottom: 0;
}