:root {
    --primary-color: #153158;
    --text-gray: #666;
    --border-color: #eee;
    --star-color: #f5a623;
}

        /* ================= 英雄区域 & 搜索 ================= */
        /* 使用了类似海滨公路的背景图代替截图背景 */
        .hero { position: relative; height: 450px; background: url("../../picture/line1-1024x683.webp") no-repeat center center/cover; display: flex; align-items: center; justify-content: center; }
        .hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
        .search-container { position: relative; z-index: 2; width: 100%; max-width: 800px; background: #fff; padding: 8px; border-radius: 50px; display: flex; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-top: 140px; }
        .search-container input { flex: 1; border: none; outline: none; padding: 15px 25px; font-size: 16px; border-radius: 50px; }
        .btn-search { background-color: var(--primary-color); color: #fff; border: none; padding: 15px 40px; border-radius: 50px; font-size: 16px; cursor: pointer; font-weight: bold; transition: 0.3s;}
        .btn-search:hover { background-color: #152b66; }

        /* ================= 线路列表网格 ================= */
        .route-section { padding: 60px 0; }
        .route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        
        .card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .card-img { height: 240px; width: 100%; object-fit: cover; }
        .card-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        
        .stars { color: var(--star-color); font-size: 14px; margin-bottom: 8px; letter-spacing: 2px; }
        .card-title { font-size: 18px; font-weight: bold; margin-bottom: 15px; color: #222; }
        
        .card-rating { display: flex; align-items: center; font-size: 13px; color: var(--text-gray); margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
        .score-box { border: 1px solid #ddd; padding: 2px 6px; border-radius: 4px; margin-right: 8px; font-weight: bold; color: #333; }
        
        .card-price { font-size: 18px; font-weight: bold; color: #333; margin-top: auto; }
        .card-price span { font-size: 13px; color: var(--text-gray); font-weight: normal; }



        /* 响应式适配 */
        @media (max-width: 992px) {
            .route-grid { grid-template-columns: repeat(2, 1fr); }

        }
        @media (max-width: 768px) {
            .route-grid { grid-template-columns: 1fr; }

            .search-container { flex-direction: column; border-radius: 8px; padding: 15px; }
            .search-container input, .btn-search { width: 100%; border-radius: 4px; }
            .btn-search { margin-top: 10px; }
        }

/* EyouCMS dynamic helpers */
.nav-links .is-current,
.nav-links a.active,
.nav-links a:hover { color: #f5a623; }
.cms-content img { max-width: 100%; height: auto; }
.cms-content table { max-width: 100%; border-collapse: collapse; }
.cms-content p { margin-bottom: 12px; }
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.pagination a,
.pagination span { min-width: 36px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; text-align: center; }
.pagination a:hover,
.pagination .active { background: var(--primary-color, #1e3a8a); border-color: var(--primary-color, #1e3a8a); color: #fff; }
.logo a { color: inherit; }
.header-actions a { color: inherit; }
.subscribe-box form { display: flex; width: 100%; }
.empty-tip { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: #888; background: #fff; border-radius: 8px; }
/* Extracted common helpers */
.footer-logo { color: #f5a623; margin-bottom: 15px; }
.detail-side-image { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
