/*
Theme Name:     HKQuery
Theme URI:      https://www.86hc.com/
Author:         You & Gemini
Author URI:     https://www.86hc.com/
Description:    A modern, professional, and data-driven theme for 86hc.com.
Version:        5.3.0 (Final Gold Master)
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    hkquery
*/

/* ==========================================================================
   0. CSS Variables & Resets
   ========================================================================== */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --text-color: #333;
    --bg-light: #f4f6f9;
}

/* ==========================================================================
   APPENDED: Homepage Services Section & Sidebar Services Widget
   ========================================================================== */

/* --- 首页核心服务卡片 --- */
.services-section {
    padding-top: 80px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #64748b;
    margin-top: -35px;
    margin-bottom: 50px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.services-grid .service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.services-grid .service-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
    transform: translateY(-6px);
}
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}
.service-icon svg {
    color: #ffffff;
}
.service-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}
.service-description {
    font-size: 1em;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* --- 单页侧边栏服务 Widget --- */
.services-widget {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #007bff;
}
.services-widget .widget-title {
    border-bottom-color: #0284c7;
}
.widget-intro {
    font-size: 0.95em;
    color: #334155;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
}
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-list li {
    margin-bottom: 10px;
}
.services-list li:last-child {
    margin-bottom: 0;
}
.services-list a {
    display: block;
    padding: 10px 14px;
    background-color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    color: #0c4a6e;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.services-list a:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateX(6px);
}

/* --- 分类归档：按注册年/月筛选（「N月成立公司」分类） --- */
.archive-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 0 0 24px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    max-width: 1200px;
}
.archive-filter-form label {
    font-weight: 600;
    color: #334155;
}
.archive-filter-form select {
    min-width: 120px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* ==========================================================================
   END APPENDED
   ========================================================================== */