/*
Theme Name: WP快站 Kuaizhan
Theme URI: https://www.wpkuaizhan.com
Author: WP快站
Author URI: https://www.wpkuaizhan.com
Description: 由 WPKuaizhan 建站模板二次开发的 WordPress 主题。内置「博客 / 案例展示 / 模板」三种内容模型（分别按内容字段区分），列表页与内容页完全沿用原模板视觉与 JS 交互，导航支持后台菜单管理（含一级/二级层级），并集成动态 AJAX 搜索与性能优化。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuaizhan
Tags: blog, portfolio, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   基础全局样式（原模板 header.php 内联样式迁移，保持视觉一致）
   ========================================================================== */

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #fff;
}

.feature-gradient-1 {
    background: radial-gradient(circle at 10% 20%, rgba(255, 237, 213, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
}

.feature-gradient-2 {
    background: radial-gradient(circle at 90% 80%, rgba(219, 234, 254, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.mobile-menu-translate {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-popup {
    animation: fadeInScale 0.3s ease-out forwards;
}

.transition-standard {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-shadow-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.1);
}

.faq-panel {
    transition: max-height 0.5s ease-in-out;
}

.swiper-wrapper {
    will-change: transform;
}

/* 动态搜索结果面板 */
.kz-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    max-height: 340px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.15);
    z-index: 120;
}
