/*
Theme Name: RehaNext Child Theme
Theme URI: https://zukunftspflege.chinavehiclehub.com/
Description: Custom child theme for Reha-Next (Zukunftspflege) with WooCommerce and News Integration.
Author: Gemini CLI
Template: kadence
Version: 1.3.0
*/

/* 1. 核心配色与字体 (Core Colors & Typography) */
:root {
    --reha-primary: #1a3a5f;
    --reha-secondary: #2c5282;
    --reha-accent: #e53e3e;
    --reha-bg-light: #f7fafc;
    --reha-border: #e2e8f0;
}

/* 2. 首页网格与卡片 (Homepage Grid & Cards) */
.rehanext-news-grid, 
.rehanext-product-grid {
    display: grid;
    gap: 30px;
}

.rehanext-card, 
.rehanext-product-card {
    border: 1px solid var(--reha-border);
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
    border-radius: 8px;
    height: 100%;
}

.rehanext-card:hover, 
.rehanext-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 58, 95, 0.1);
    border-color: var(--reha-primary);
}

/* 3. 商城产品细节 (WooCommerce Product Details) */
.rehanext-product-card img {
    border-radius: 4px;
    margin-bottom: 15px;
}

.rehanext-product-card .price {
    color: var(--reha-accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
}

/* 适配 WooCommerce 默认按钮为专业风格 */
.woocommerce ul.products li.product .button, 
.rehanext-product-card .btn {
    background-color: var(--reha-primary) !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 25px !important;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover,
.rehanext-product-card .btn:hover {
    background-color: var(--reha-secondary) !important;
}

/* 4. 资讯列表样式 (适合 1/3 侧边栏布局) */
.rehanext-news-list .rehanext-list-item {
    border-bottom: 1px solid var(--reha-border);
    padding: 15px 0;
}

.rehanext-news-list .rehanext-list-item:last-child {
    border-bottom: none;
}

.rehanext-news-list .rehanext-list-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #a0aec0;
    text-transform: uppercase;
}

.rehanext-news-list h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.rehanext-news-list h4 a {
    text-decoration: none;
    color: #2d3748;
}

.rehanext-news-list h4 a:hover {
    color: var(--reha-primary);
}

/* 5. 响应式微调 */
@media (max-width: 768px) {
    .rehanext-news-grid, 
    .rehanext-product-grid {
        grid-template-columns: 1fr !important;
    }
}

