/* ============================================================
   页脚订阅表单 (Contact Form 7) — 2026-09-08 设计
   深色页脚上的一体式邮箱订阅组件:
   磨砂半透明输入框 + 品牌金(#E9A925)订阅按钮, 呼应全站CTA
   ============================================================ */

.footer-subscribe {
    max-width: 280px;
}

.footer-subscribe-label {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .72);
    font-weight: 500;
}

/* 输入框 + 按钮并排成一体 */
.footer-subscribe .wpcf7-form p {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.footer-subscribe .wpcf7-form-control-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: block;
}

.footer-subscribe input[type="email"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .30);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, background .2s;
}

.footer-subscribe input[type="email"]::placeholder {
    color: rgba(255, 255, 255, .45);
}

.footer-subscribe input[type="email"]:focus {
    background: rgba(255, 255, 255, .13);
    border-color: #E9A925;
}

.footer-subscribe .wpcf7-submit {
    height: 44px;
    padding: 0 18px;
    margin: 0;
    background: #E9A925;
    color: #03254A;
    border: none;
    border-radius: 0 6px 6px 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .10em;
    line-height: 44px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.footer-subscribe .wpcf7-submit:hover {
    background: #F3BC45;
}

/* CF7 输出的 <br> 与转圈动画会破坏布局 */
.footer-subscribe .wpcf7-form br {
    display: none;
}

.footer-subscribe .wpcf7-spinner {
    display: none;
}

/* 校验与提交反馈 */
.footer-subscribe .wpcf7-not-valid-tip {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    display: block;
    font-size: 12px;
    color: #FFB199;
}

.footer-subscribe .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 0;
    border: none;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
}

.footer-subscribe .wpcf7-form.sent .wpcf7-response-output {
    color: #E9A925;
}

/* 移动端: 页脚变单列, 表单放宽 */
@media (max-width: 768px) {
    .footer-subscribe {
        max-width: 420px;
    }
}
