/* 机场中文导航 · 全站共享样式（由 dontup/tools/build.py 发布到 /assets/site.css） */

/* ===== 基础 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: #ffffff; color: #333; line-height: 1.8; -webkit-font-smoothing: antialiased; }

/* ===== 页头 ===== */
.site-header { background-color: #ffffff; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; max-width: 1200px; margin: 0 auto; }
.site-title a { color: #333; text-decoration: none; font-size: 18px; font-weight: 500; }
.site-title a:hover { text-decoration: underline; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: #333; text-decoration: none; font-size: 14px; }
.main-nav a:hover { color: #1677ff; }
.main-nav a[aria-current="page"] { color: #e74c3c; font-weight: bold; }

/* ===== 主体容器与标题 ===== */
.main-container { max-width: 1000px; margin: 30px auto; padding: 20px; background-color: #f8f9fa; }
h1.nav-h1 { text-align: center; color: #2c3e50; font-size: 28px; border-bottom: 2px solid #e74c3c; padding-bottom: 10px; margin-bottom: 20px; font-weight: bold; line-height: 1.4; clear: both; }
h2.nav-h2 { color: #d35400; font-size: 18px; margin-top: 30px; margin-bottom: 15px; border-left: 5px solid #d35400; padding-left: 10px; background: #fff; padding-top: 5px; padding-bottom: 5px; font-weight: bold; line-height: 1.4; }
.content-box > h2.nav-h2:first-child { margin-top: 0; }
.content-box { background: #fff; padding: 20px; border: 1px solid #e0e0e0; margin-bottom: 20px; border-radius: 4px; }
.intro-text { font-size: 14px; color: #555; margin-bottom: 15px; }

/* ===== 面包屑 ===== */
.breadcrumbs { font-size: 13px; color: #7f8c8d; margin-bottom: 15px; padding-left: 5px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { color: #3498db; text-decoration: none; transition: color 0.2s; margin-right: 5px; }
.breadcrumbs a:hover { color: #2980b9; text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: #555; font-weight: bold; margin-left: 5px; }

/* ===== 推荐榜单 ===== */
.airport-item { margin-bottom: 25px; font-size: 15px; padding-bottom: 15px; border-bottom: 1px dashed #eee; }
.airport-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.airport-item strong { color: #333; }
.link { color: #e74c3c; text-decoration: none; font-weight: bold; }
.link:hover { text-decoration: underline; }
.desc { color: #666; font-size: 14px; display: inline; }
.btn-group { margin-top: 10px; }
.btn { display: inline-block; padding: 6px 14px; margin: 5px 8px 5px 0; background-color: #34495e; color: #fff; text-decoration: none; border-radius: 4px; font-size: 13px; border: none; transition: background 0.3s; }
.btn:hover { background-color: #2c3e50; color: #fff; }
.btn-ghost { background: #fff; color: #34495e; border: 1px solid #34495e; }
.btn-ghost:hover { background: #f4f6f8; color: #2c3e50; }
h3.tier-h3 { font-size: 16px; color: #2c3e50; margin: 22px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #f0f0f0; }
h3.tier-h3:first-of-type { margin-top: 4px; }

/* ===== 注册按钮区 ===== */
.conversion-box { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, #fff9f9, #fff0f0); border: 2px solid #ffcccc; border-radius: 8px; margin-bottom: 30px; }
.conversion-title { font-size: 20px; font-weight: bold; margin-bottom: 25px; color: #2c3e50; }
.conversion-btn { display: inline-block; font-size: 20px; font-weight: bold; padding: 15px 50px; background-color: #e74c3c; color: #fff; text-decoration: none; border-radius: 50px; box-shadow: 0 4px 15px rgba(231,76,60,0.4); transition: transform 0.2s, background-color 0.2s; }
.conversion-btn:hover { background-color: #c0392b; transform: translateY(-3px); color: #fff; }

/* ===== 热门网站导航 ===== */
.hot-nav { background: #fff; padding: 20px; border: 1px dashed #ccc; font-size: 13px; line-height: 2.2; margin-bottom: 20px; border-radius: 4px; }
.hot-nav h2.nav-h2 { margin-top: 0; padding-left: 0; border-left: none; background: transparent; }
.hot-nav-row { margin-bottom: 5px; }
.hot-nav-row span { font-weight: bold; color: #2980b9; margin-right: 10px; }
.hot-nav-row a { color: #555; text-decoration: none; margin-right: 15px; }
.hot-nav-row a:hover { color: #e74c3c; text-decoration: underline; }

/* ===== 文章列表 ===== */
.article-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.article-list li { display: block; border-bottom: 1px solid #f5f5f5; padding-bottom: 8px; }
.article-list li:last-child { border-bottom: none; padding-bottom: 0; }
.article-list li::before { content: "• "; color: #e74c3c; font-weight: bold; margin-right: 6px; }
.article-list a { color: #555; text-decoration: none; display: inline-block; padding: 2px 0; transition: color 0.2s, transform 0.2s; }
.article-list a:hover { color: #e74c3c; text-decoration: underline; transform: translateX(5px); }

/* ===== 机场测评页：参数表与测评区 ===== */
.geo-table { width: 100%; border-collapse: collapse; margin-bottom: 25px; background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.geo-table th { background-color: #f8f9fa; color: #2c3e50; font-size: 16px; padding: 15px; text-align: left; border-bottom: 2px solid #e74c3c; }
.geo-table td { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; color: #555; font-size: 15px; }
.geo-table td:first-child { width: 30%; background-color: #fafbfc; color: #333; }
.geo-table tr:last-child td { border-bottom: none; }
.review-detail p { margin-bottom: 12px; }
.review-detail h3 { font-size: 16px; color: #2c3e50; margin: 18px 0 8px; }
.review-detail ul { padding-left: 20px; margin-bottom: 10px; }
.review-detail li { margin-bottom: 4px; }
.table-wrap { overflow-x: auto; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 6px; }
.plan-table th, .plan-table td { border-bottom: 1px solid #eee; padding: 8px 10px; text-align: left; }
.plan-table th { background: #f8f9fa; color: #2c3e50; }
.plan-table td:first-child, .plan-table th:first-child, .plan-table td:nth-child(2) { white-space: nowrap; }
.note { font-size: 13px; color: #888; }
.sources a { color: #1677ff; word-break: break-all; }
.similar-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 18px; }
.similar-list li { border-bottom: 1px dashed #eee; padding: 6px 0; margin: 0 !important; font-size: 14.5px; }
.similar-list a { color: #2c3e50; text-decoration: none; font-weight: bold; }
.similar-list a:hover { color: #e74c3c; text-decoration: underline; }
.similar-list span { display: block; color: #888; font-size: 13px; font-weight: normal; }

/* ===== 测评汇总页 ===== */
.page-hub .main-container { max-width: 1100px; background: none; }
.hero-section { text-align: center; margin-bottom: 40px; padding: 50px 20px; background-color: #f8f9fa; border-radius: 8px; border: 1px solid #e0e0e0; }
.hero-section h1 { color: #2c3e50; font-size: 32px; font-weight: bold; margin-bottom: 15px; line-height: 1.4; }
.hero-section p { color: #555; font-size: 16px; max-width: 800px; margin: 0 auto; line-height: 1.8; }
.review-item { background: #fff; padding: 30px; margin: 0 auto 20px; max-width: 900px; border: 1px solid #eaeaea; border-left: 4px solid #34495e; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.review-item:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.08); }
.review-meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.review-title { font-size: 20px; font-weight: bold; margin-bottom: 12px; line-height: 1.4; }
.review-title a { color: #2c3e50; text-decoration: none; transition: color 0.2s; }
.review-title a:hover { color: #e74c3c; }
.review-excerpt { font-size: 15px; color: #555; line-height: 1.6; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more-link { font-size: 14px; font-weight: bold; color: #1677ff; text-decoration: none; align-self: flex-start; }
.read-more-link:hover { color: #0050b3; text-decoration: underline; }
.all-reviews { max-width: 900px; margin: 30px auto 0; background: #fff; padding: 25px 30px; border: 1px solid #eaeaea; border-radius: 6px; }
.all-reviews h2 { font-size: 20px; color: #2c3e50; margin-bottom: 15px; }
.all-reviews h3 { font-size: 16px; color: #d35400; margin: 22px 0 4px; }
.all-reviews h3:first-of-type { margin-top: 0; }
.all-reviews .group-desc { font-size: 13.5px; color: #888; margin-bottom: 10px; }
.all-reviews ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px 16px; }
.all-reviews a { color: #34495e; text-decoration: none; font-size: 15px; }
.all-reviews a:hover { color: #e74c3c; text-decoration: underline; }

/* ===== 知识库 ===== */
.article-meta { text-align: center; font-size: 13px; color: #888; margin-top: -8px; margin-bottom: 20px; }
.article p { font-size: 15.5px; color: #444; margin-bottom: 14px; }
.article h3 { font-size: 16px; color: #2c3e50; margin: 18px 0 8px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 14px; font-size: 15.5px; color: #444; }
.article li { margin-bottom: 6px; }
.article a { color: #1677ff; }
.article .content-box { padding: 20px 24px; }
.summary-box { background: #fff8f0; border: 1px solid #f5d0a9; border-left: 4px solid #e67e22; padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; font-size: 15.5px; color: #444; }
.kb-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 14px; }
.kb-table th, .kb-table td { border-bottom: 1px solid #eee; padding: 9px 10px; text-align: left; vertical-align: top; }
.kb-table th { background: #f8f9fa; color: #2c3e50; white-space: nowrap; }
.kb-table td:first-child { white-space: nowrap; font-weight: bold; color: #333; }
.related-list { list-style: none; padding: 0 !important; }
.related-list li { border-bottom: 1px dashed #eee; padding: 6px 0; }
.related-list a { text-decoration: none; }
.related-list a:hover { text-decoration: underline; }
.latest { display: block; text-decoration: none; border: 1px solid #eaeaea; border-left: 4px solid #e74c3c; border-radius: 6px; padding: 16px 18px; transition: box-shadow 0.2s, transform 0.2s; }
.latest:hover { box-shadow: 0 6px 14px rgba(0,0,0,0.08); transform: translateY(-2px); }
.latest .meta { font-size: 13px; color: #999; }
.latest .title { display: block; font-size: 18px; font-weight: bold; color: #2c3e50; margin: 4px 0; }
.latest .excerpt { font-size: 14.5px; color: #555; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.topic { border: 1px solid #eee; border-radius: 6px; padding: 14px 16px; }
.topic h3 { font-size: 16px; color: #2c3e50; margin-bottom: 4px; }
.topic .desc { font-size: 13.5px; color: #888; margin-bottom: 8px; display: block; }
.topic ul { list-style: none; }
.topic li { font-size: 14.5px; padding: 4px 0; border-bottom: 1px dashed #f0f0f0; display: flex; justify-content: space-between; gap: 10px; }
.topic li:last-child { border-bottom: none; }
.topic a { color: #1677ff; text-decoration: none; }
.topic a:hover { text-decoration: underline; }
.topic .soon { color: #999; }
.topic .date { font-size: 12.5px; color: #bbb; white-space: nowrap; }
.topic .new { font-size: 12px; color: #fff; background: #e74c3c; border-radius: 3px; padding: 0 6px; white-space: nowrap; height: fit-content; }

/* ===== 404 ===== */
.error-container { display: flex; flex-direction: column; align-items: center; padding: 40px 20px; text-align: center; }
.error-code { font-size: 80px; font-weight: bold; color: #e74c3c; line-height: 1; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); }
.error-title { font-size: 24px; color: #2c3e50; margin-bottom: 20px; font-weight: bold; }
.error-desc { font-size: 16px; color: #666; margin-bottom: 30px; max-width: 500px; }
.page-404 .conversion-box { width: 100%; max-width: 600px; }
.home-link { margin-top: 10px; font-size: 14px; }
.home-link a { color: #3498db; text-decoration: none; }
.home-link a:hover { text-decoration: underline; }

/* ===== 页脚 ===== */
.footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; font-size: 13px; display: flex; justify-content: space-between; align-items: center; color: #7f8c8d; flex-wrap: wrap; }
.footer a { color: #7f8c8d; text-decoration: none; margin-right: 10px; }
.footer a:hover { color: #e74c3c; text-decoration: underline; }

/* ===== 手机端 ===== */
@media (max-width: 768px) {
    .site-header { padding: 16px; }
    .main-nav { gap: 14px; }
    .main-container { padding: 12px; margin: 16px auto; }
    h1.nav-h1 { font-size: 22px; }
    .content-box { padding: 16px; }
    .footer { flex-direction: column; text-align: center; gap: 10px; }
    .article-list { gap: 16px; }
    .conversion-btn { padding: 12px 30px; font-size: 18px; }
    .hero-section { padding: 30px 16px; }
    .hero-section h1 { font-size: 24px; }
    .hero-section p { font-size: 14px; }
    .review-item { padding: 20px; }
    .all-reviews { padding: 20px 16px; }
    .kb-table th, .kb-table td { padding: 7px 6px; font-size: 13.5px; }
}
@media (max-width: 600px) {
    .plan-table th, .plan-table td { padding: 6px 5px; font-size: 13px; }
}
