/* ==========================================================================
   重庆陵园网 - 前台样式表
   主色: teal #1a7a6d | 墨灰 #2c3e50 | 米白 #f8f9f6 | 深金 #b08d57
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN",
        "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei",
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2c3e50;
    background-color: #f8f9f6;
    line-height: 1.7;
    font-size: 15px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #1a7a6d;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #145e54;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    color: #2c3e50;
}

/* --------------------------------------------------------------------------
   2. 容器
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 768px;
}

.container-lg {
    max-width: 1400px;
}

/* --------------------------------------------------------------------------
   3. 头部
   -------------------------------------------------------------------------- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: #2c3e50;
    color: #c8d0d8;
    font-size: 13px;
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #c8d0d8;
}

.header-top a:hover {
    color: #ffffff;
}

.header-top .top-links {
    display: flex;
    gap: 24px;
}

.header-top .top-contact span {
    margin-right: 16px;
}

.header-main {
    padding: 16px 0;
    border-bottom: 1px solid #eef0ec;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1a7a6d 0%, #2c8a7d 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .site-name {
    font-size: 19px;
    font-weight: 700;
    color: #2c3e50;
}

.logo-text .site-slogan {
    font-size: 12px;
    color: #8a95a0;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: #1a7a6d;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a7a6d;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.mobile-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background-color: #1a7a6d;
    color: #ffffff;
    border-color: #1a7a6d;
}

.btn-primary:hover {
    background-color: #145e54;
    border-color: #145e54;
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: #1a7a6d;
    border-color: #1a7a6d;
}

.btn-outline:hover {
    background-color: #1a7a6d;
    color: #ffffff;
}

.btn-gold {
    background-color: #b08d57;
    color: #ffffff;
    border-color: #b08d57;
}

.btn-gold:hover {
    background-color: #967644;
    border-color: #967644;
    color: #ffffff;
}

.btn-ghost {
    background-color: transparent;
    color: #2c3e50;
    border-color: #d8dcd6;
}

.btn-ghost:hover {
    background-color: #f8f9f6;
    color: #1a7a6d;
    border-color: #1a7a6d;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   5. 卡片
   -------------------------------------------------------------------------- */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #eef0ec;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.04);
}

.card-image .tag {
    position: absolute;
    top: 12px;
    left: 12px;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: #1a7a6d;
}

.card-text {
    color: #6b7480;
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eef0ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8a95a0;
    flex-wrap: wrap;
    gap: 8px;
}

.card-meta .meta-price {
    color: #b08d57;
    font-size: 16px;
    font-weight: 600;
}

.card-meta .meta-price small {
    font-size: 12px;
    font-weight: 400;
    color: #8a95a0;
}

/* --------------------------------------------------------------------------
   6. 首页区域
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #1a7a6d 0%, #145e54 60%, #0f473f 100%);
    color: #ffffff;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(176, 141, 87, 0.18), transparent 60%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.hero-search {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-search h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 16px;
}

.hero-search .form-row {
    margin-bottom: 12px;
}

.hero-search select,
.hero-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d8dcd6;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.hero-search select:focus,
.hero-search input:focus {
    outline: none;
    border-color: #1a7a6d;
}

/* 区域导航 - 八方位入口 */
.region-nav {
    padding: 56px 0;
}

.region-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.region-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background-color: #ffffff;
    border: 1px solid #eef0ec;
    border-radius: 8px;
    text-align: center;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.region-nav-item:hover {
    border-color: #1a7a6d;
    background-color: #f8f9f6;
    color: #1a7a6d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.region-nav-item .region-icon {
    font-size: 26px;
    color: #1a7a6d;
    margin-bottom: 12px;
}

.region-nav-item .region-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.region-nav-item .region-count {
    font-size: 12px;
    color: #8a95a0;
}

.region-nav-group-title {
    grid-column: 1 / -1;
    font-size: 14px;
    color: #8a95a0;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e3de;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

/* 通用区域标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding: 0 32px;
}

.section-title h2::before,
.section-title h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 32px;
    height: 2px;
    background-color: #b08d57;
}

.section-title h2::before {
    left: -16px;
}

.section-title h2::after {
    right: -16px;
}

.section-title p {
    color: #6b7480;
    font-size: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.section {
    padding: 56px 0;
}

.section-gray {
    background-color: #f1f3ee;
}

/* 单位网格 */
.unit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.unit-grid .card {
    margin-bottom: 0;
}

/* 统计数据 */
.stats-section {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .stat-num {
    font-size: 36px;
    font-weight: 700;
    color: #b08d57;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-item .stat-num small {
    font-size: 18px;
    font-weight: 600;
    margin-left: 2px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   7. 列表页
   -------------------------------------------------------------------------- */
.page-banner {
    background: linear-gradient(135deg, #1a7a6d 0%, #145e54 100%);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 8px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.list-page {
    padding: 32px 0 56px;
}

.list-toolbar {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 8px 0;
    border-bottom: 1px dashed #eef0ec;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group .filter-label {
    font-size: 14px;
    color: #6b7480;
    flex-shrink: 0;
    min-width: 64px;
}

.filter-group .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    color: #2c3e50;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.filter-chip:hover {
    background-color: #f1f3ee;
    color: #1a7a6d;
}

.filter-chip.active {
    background-color: #1a7a6d;
    color: #ffffff;
}

.filter-search {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.filter-search input {
    padding: 8px 14px;
    border: 1px solid #d8dcd6;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.filter-search input:focus {
    outline: none;
    border-color: #1a7a6d;
}

.list-toolbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    font-size: 13px;
    color: #6b7480;
}

.list-toolbar-bottom .sort-select {
    padding: 6px 12px;
    border: 1px solid #d8dcd6;
    border-radius: 4px;
    background-color: #ffffff;
    color: #2c3e50;
    font-size: 13px;
}

.unit-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.unit-list.list-view {
    grid-template-columns: 1fr;
}

.unit-list.list-view .card {
    flex-direction: row;
    align-items: stretch;
}

.unit-list.list-view .card-image {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: auto;
}

.unit-list.list-view .card-body {
    padding: 24px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8dcd6;
    border-radius: 4px;
    color: #2c3e50;
    font-size: 14px;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: #1a7a6d;
    color: #1a7a6d;
}

.pagination .active,
.pagination .active:hover {
    background-color: #1a7a6d;
    border-color: #1a7a6d;
    color: #ffffff;
}

.pagination .disabled {
    color: #c8ced4;
    background-color: #f8f9f6;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   8. 详情页
   -------------------------------------------------------------------------- */
.detail-page {
    padding: 32px 0 56px;
}

.detail-header {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.detail-cover {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #eef0ec;
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.detail-info .detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-info .detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    padding: 16px 0;
    border-top: 1px solid #eef0ec;
    border-bottom: 1px solid #eef0ec;
    margin-bottom: 20px;
}

.detail-meta .meta-item {
    font-size: 14px;
}

.detail-meta .meta-item .meta-label {
    color: #8a95a0;
    margin-right: 8px;
}

.detail-meta .meta-item .meta-value {
    color: #2c3e50;
    font-weight: 500;
}

.detail-price {
    background-color: #f8f9f6;
    border-left: 3px solid #b08d57;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.detail-price .price-label {
    font-size: 13px;
    color: #6b7480;
    margin-bottom: 4px;
}

.detail-price .price-value {
    font-size: 26px;
    font-weight: 700;
    color: #b08d57;
}

.detail-price .price-value small {
    font-size: 14px;
    font-weight: 400;
    color: #8a95a0;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 详情标签页 */
.detail-tabs {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eef0ec;
    background-color: #f8f9f6;
}

.tab-nav .tab-link {
    padding: 16px 28px;
    font-size: 15px;
    color: #6b7480;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tab-nav .tab-link:hover {
    color: #1a7a6d;
}

.tab-nav .tab-link.active {
    color: #1a7a6d;
    border-bottom-color: #1a7a6d;
    background-color: #ffffff;
}

.tab-content {
    padding: 32px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.image-gallery .gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #eef0ec;
    cursor: pointer;
    position: relative;
}

.image-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery .gallery-item:hover img {
    transform: scale(1.06);
}

/* 价格表 */
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.price-table th,
.price-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eef0ec;
}

.price-table th {
    background-color: #f8f9f6;
    color: #2c3e50;
    font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
    background-color: #fbfcf9;
}

.price-table tbody tr:hover {
    background-color: #f1f5f0;
}

.price-table .price-cell {
    color: #b08d57;
    font-weight: 600;
}

.price-table .status-cell .badge {
    font-size: 12px;
}

/* 评价列表 */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background-color: #f8f9f6;
    border-radius: 6px;
    border-left: 3px solid #1a7a6d;
}

.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.review-item .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-item .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1a7a6d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.review-item .author-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.review-item .review-date {
    color: #8a95a0;
    font-size: 13px;
}

.review-item .review-content {
    color: #4a525c;
    font-size: 14px;
    line-height: 1.8;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background-color: #f1f3ee;
    border-radius: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.review-summary .summary-score {
    text-align: center;
}

.review-summary .score-num {
    font-size: 40px;
    font-weight: 700;
    color: #b08d57;
    line-height: 1;
}

.review-summary .score-label {
    font-size: 13px;
    color: #6b7480;
    margin-top: 4px;
}

/* 星级评分 */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: #b08d57;
}

.star-filled::before,
.star-empty::before {
    content: "★";
}

.star-empty {
    color: #d8dcd6;
}

.star-rating .rating-num {
    margin-left: 6px;
    color: #6b7480;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   9. 地图页
   -------------------------------------------------------------------------- */
.map-page {
    padding: 24px 0;
}

.map-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.map-container {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #eef0ec;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
}

.map-container #map-canvas,
.map-container iframe,
.map-container .map-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a95a0;
    font-size: 14px;
    background:
        linear-gradient(0deg, rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
        repeating-linear-gradient(0deg, #e0e3de, #e0e3de 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, #e0e3de, #e0e3de 1px, transparent 1px, transparent 40px);
}

.map-sidebar {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-height: 600px;
    overflow-y: auto;
}

.map-sidebar .sidebar-title {
    padding: 16px 20px;
    border-bottom: 1px solid #eef0ec;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9f6;
    position: sticky;
    top: 0;
    z-index: 1;
}

.nearby-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0ec;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nearby-item:last-child {
    border-bottom: none;
}

.nearby-item:hover {
    background-color: #f8f9f6;
}

.nearby-item.active {
    background-color: #eef5f3;
    border-left: 3px solid #1a7a6d;
    padding-left: 17px;
}

.nearby-item .nearby-thumb {
    width: 72px;
    height: 56px;
    border-radius: 4px;
    background-color: #eef0ec;
    overflow: hidden;
    flex-shrink: 0;
}

.nearby-item .nearby-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nearby-item .nearby-info {
    flex: 1;
    min-width: 0;
}

.nearby-item .nearby-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nearby-item .nearby-meta {
    font-size: 12px;
    color: #8a95a0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nearby-item .nearby-distance {
    color: #1a7a6d;
    font-size: 12px;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   10. Q&A 页
   -------------------------------------------------------------------------- */
.qa-page {
    padding: 32px 0 56px;
}

.qa-category-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.qa-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 8px;
    background-color: #ffffff;
    border: 1px solid #eef0ec;
    border-radius: 8px;
    text-align: center;
    color: #2c3e50;
    transition: all 0.2s ease;
    text-decoration: none;
}

.qa-category:hover,
.qa-category.active {
    border-color: var(--cat-color, #1a7a6d);
    background-color: #f8f9f6;
    color: var(--cat-color, #1a7a6d);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.qa-category .cat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.qa-category:hover .cat-icon-circle {
    transform: scale(1.06);
}

.qa-category .cat-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.qa-category .cat-count {
    font-size: 12px;
    color: #8a95a0;
    margin-top: 4px;
}

.qa-list {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.qa-item {
    border-bottom: 1px solid #eef0ec;
}

.qa-item:last-child {
    border-bottom: none;
}

.qa-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
}

.qa-question:hover {
    background-color: #f8f9f6;
}

.qa-question .qa-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #1a7a6d;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.qa-question .qa-toggle {
    margin-left: auto;
    color: #8a95a0;
    transition: transform 0.2s ease;
    font-size: 14px;
}

.qa-item.open .qa-question {
    color: #1a7a6d;
    background-color: #f8f9f6;
}

.qa-item.open .qa-toggle {
    transform: rotate(180deg);
    color: #1a7a6d;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px 0 60px;
    color: #4a525c;
    font-size: 14px;
    line-height: 1.8;
}

.qa-item.open .qa-answer {
    max-height: 600px;
    padding: 0 24px 20px 60px;
}

/* Q&A分组(每个分类一个分组) */
.qa-group-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qa-group {
    background-color: transparent;
}

.qa-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a7a6d;
}

.qa-group-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.qa-group-icon {
    color: #1a7a6d;
    font-size: 20px;
}

.qa-group-count {
    color: #8a95a0;
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
}

.qa-group-more {
    font-size: 13px;
    color: #1a7a6d;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid #1a7a6d;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.qa-group-more:hover {
    background-color: #1a7a6d;
    color: #ffffff;
}

/* Q&A响应式: 1024px以下3列, 768px以下2列 */
@media (max-width: 1024px) {
    .qa-category-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .qa-category-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .qa-group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .qa-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    .qa-item.open .qa-answer {
        padding: 0 16px 16px 48px;
    }
    .qa-answer {
        padding: 0 16px 0 48px;
    }
}

/* --------------------------------------------------------------------------
   11. 帮助中心
   -------------------------------------------------------------------------- */
.help-page {
    padding: 32px 0 56px;
}

.help-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

.help-sidebar {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 90px;
}

.help-sidebar .help-nav-title {
    padding: 8px 20px;
    font-size: 13px;
    color: #8a95a0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.help-sidebar .help-nav-item {
    display: block;
    padding: 10px 20px;
    color: #2c3e50;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.help-sidebar .help-nav-item:hover,
.help-sidebar .help-nav-item.active {
    color: #1a7a6d;
    background-color: #f8f9f6;
    border-left-color: #1a7a6d;
}

.help-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 32px;
    min-height: 400px;
}

/* 帮助文章标题 */
.help-article-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 16px;
}

/* 帮助文章元信息 */
.help-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0ec;
    margin-bottom: 24px;
    color: #8a95a0;
    font-size: 13px;
}

.help-article-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 帮助文章摘要 */
.help-summary {
    background: linear-gradient(135deg, #f8f9f6 0%, #f0f4ef 100%);
    border-left: 3px solid #1a7a6d;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 4px;
    color: #4a525c;
    font-size: 14px;
    line-height: 1.8;
}

/* 帮助文章正文(富文本) */
.help-article-body {
    color: #4a525c;
    font-size: 15px;
    line-height: 1.9;
}

.help-article-body p {
    margin-bottom: 16px;
}

.help-article-body h2,
.help-article-body h3,
.help-article-body h4 {
    color: #2c3e50;
    margin: 24px 0 12px;
    font-weight: 600;
}

.help-article-body h2 { font-size: 20px; }
.help-article-body h3 { font-size: 17px; }
.help-article-body h4 { font-size: 15px; }

.help-article-body ul,
.help-article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.help-article-body ul li,
.help-article-body ol li {
    margin-bottom: 6px;
    line-height: 1.8;
}

.help-article-body ul li { list-style: disc; }
.help-article-body ol li { list-style: decimal; }

.help-article-body a {
    color: #1a7a6d;
    text-decoration: underline;
}

.help-article-body img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 6px;
}

.help-article-body blockquote {
    border-left: 4px solid #b08d57;
    padding: 12px 20px;
    margin: 16px 0;
    background-color: #fbf6ee;
    color: #6b7480;
    border-radius: 0 4px 4px 0;
}

.help-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.help-article-body table th,
.help-article-body table td {
    border: 1px solid #eef0ec;
    padding: 8px 12px;
    text-align: left;
}

.help-article-body table th {
    background-color: #f8f9f6;
    font-weight: 600;
}

.help-article-body strong,
.help-article-body b {
    color: #2c3e50;
    font-weight: 600;
}

/* 帮助文章底部 */
.help-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eef0ec;
}

/* 侧边栏相关文章 */
.help-nav-related {
    padding: 10px 20px !important;
    border-left: 3px solid transparent !important;
}

.help-nav-related .rel-title {
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.help-nav-related .rel-date {
    font-size: 12px;
    color: #8a95a0;
    margin-top: 4px;
}

.help-content h2 {
    font-size: 18px;
    color: #2c3e50;
    margin: 24px 0 12px;
}

.help-content p {
    color: #4a525c;
    margin-bottom: 12px;
    line-height: 1.8;
}

.help-content ul,
.help-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.help-content ul li,
.help-content ol li {
    list-style: disc;
    color: #4a525c;
    margin-bottom: 6px;
}

.help-content ol li {
    list-style: decimal;
}

/* --------------------------------------------------------------------------
   12. 福地吉日
   -------------------------------------------------------------------------- */
.auspicious-page {
    padding: 32px 0 56px;
}

.auspicious-intro {
    text-align: center;
    margin-bottom: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #f8f9f6 0%, #eef5f3 100%);
    border-radius: 8px;
    border: 1px solid #e0e3de;
}

.auspicious-intro h2 {
    font-size: 22px;
    color: #b08d57;
    margin-bottom: 8px;
}

.auspicious-intro p {
    color: #6b7480;
    font-size: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.auspicious-form {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.auspicious-form .form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #6b7480;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d8dcd6;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a7a6d;
}

/* 日历 */
.calendar-wrap {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header .calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.calendar-header .calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekday {
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #6b7480;
    font-weight: 600;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 8px;
    border: 1px solid #eef0ec;
    border-radius: 6px;
    font-size: 13px;
    color: #2c3e50;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 64px;
}

.calendar-day:hover {
    border-color: #1a7a6d;
    background-color: #f8f9f6;
}

.calendar-day.other-month {
    color: #c8ced4;
    background-color: #fafbfa;
}

.calendar-day .day-num {
    font-size: 15px;
    font-weight: 600;
}

.calendar-day .day-lunar {
    font-size: 11px;
    color: #8a95a0;
}

.calendar-day.day-suitable {
    border-color: #b08d57;
    background-color: #fbf6ee;
}

.calendar-day.day-suitable .day-tag {
    color: #b08d57;
    font-size: 11px;
    font-weight: 600;
}

.calendar-day.day-avoid {
    border-color: #6b7480;
    background-color: #f1f3f0;
}

.calendar-day.day-avoid .day-tag {
    color: #6b7480;
    font-size: 11px;
    font-weight: 600;
}

.calendar-day.today {
    border-color: #1a7a6d;
    border-width: 2px;
}

.calendar-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef0ec;
    flex-wrap: wrap;
}

.calendar-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7480;
}

.calendar-legend .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid;
}

.legend-dot.suitable {
    background-color: #fbf6ee;
    border-color: #b08d57;
}

.legend-dot.avoid {
    background-color: #f1f3f0;
    border-color: #6b7480;
}

/* 吉日结果卡片 */
.result-card {
    background: linear-gradient(135deg, #fbf6ee 0%, #f8f0e0 100%);
    border: 1px solid #e0d4be;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
}

.result-card .result-title {
    font-size: 18px;
    color: #b08d57;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-card .result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.result-card .result-day {
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 3px solid #b08d57;
}

.result-card .result-day .day-date {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.result-card .result-day .day-lunar {
    font-size: 12px;
    color: #8a95a0;
    margin-top: 2px;
}

.result-card .result-day .day-note {
    font-size: 12px;
    color: #b08d57;
    margin-top: 4px;
}

/* 日历导航按钮 */
.calendar-nav-btn {
    text-decoration: none;
}

.calendar-header .calendar-title {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 中性日标签(忌日) */
.calendar-day .day-tag.day-tag-neutral {
    color: #8a95a0;
    font-size: 11px;
    font-weight: 600;
    background-color: #eef0ec;
    padding: 0 6px;
    border-radius: 3px;
}

.calendar-day .day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-day .day-ganzi {
    font-size: 11px;
    color: #b08d57;
    font-weight: 500;
}

.calendar-day .day-suitable-text,
.calendar-day .day-avoid-text {
    font-size: 10px;
    line-height: 1.4;
    color: #6b7480;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-day .day-suitable-text {
    color: #1a7a6d;
}

.calendar-day .day-avoid-text {
    color: #8a95a0;
}

/* 双栏布局: 推演表单 + 当月吉日吉时 */
.auspicious-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-top: 32px;
    align-items: start;
}

.auspicious-form .form-title {
    margin-bottom: 20px;
}

.auspicious-form .form-title h3 {
    font-size: 18px;
    color: #b08d57;
    margin-bottom: 6px;
}

.auspicious-form .form-title p {
    font-size: 13px;
    color: #6b7480;
}

.form-grid-2col {
    grid-template-columns: repeat(2, 1fr) !important;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.kin-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.kin-row .kin-rel {
    width: auto;
    min-width: 100px;
}

.kin-row .kin-date {
    flex: 1;
    min-width: 140px;
}

.kin-row .kin-hour {
    width: auto;
    min-width: 90px;
    flex-shrink: 0;
}

.kin-row .kin-remove {
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.form-hint {
    font-size: 12px;
    color: #8a95a0;
}

/* 侧边栏 */
.auspicious-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0ec;
}

.sidebar-card .sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a7a6d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0ec;
}

.sidebar-card.sidebar-tip {
    background-color: #f8f9f6;
}

.sidebar-card.sidebar-tip .sidebar-title {
    color: #b08d57;
}

.sidebar-card.sidebar-tip ul {
    list-style: disc;
    color: #6b7480;
    font-size: 13px;
    line-height: 2;
}

/* 当月吉日吉时列表 */
.recent-day-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.recent-day-list::-webkit-scrollbar {
    width: 4px;
}
.recent-day-list::-webkit-scrollbar-thumb {
    background: #d8dcd6;
    border-radius: 2px;
}

.recent-day-item {
    padding: 12px 14px;
    background: linear-gradient(135deg, #fbf6ee 0%, #f8f0e0 100%);
    border-radius: 6px;
    border-left: 3px solid #b08d57;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recent-day-item:hover {
    transform: translateX(2px);
    box-shadow: 0 3px 8px rgba(176, 141, 87, 0.15);
}

.recent-day-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.recent-day-date .rd-solar {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
}

.recent-day-date .rd-lunar {
    font-size: 12px;
    color: #b08d57;
    font-weight: 500;
}

.recent-day-item .rd-suitable {
    font-size: 12px;
    color: #1a7a6d;
    margin-bottom: 3px;
    line-height: 1.5;
    padding: 3px 6px;
    background-color: rgba(26, 122, 109, 0.06);
    border-radius: 3px;
}

.recent-day-item .rd-avoid {
    font-size: 11px;
    color: #8a95a0;
    margin-bottom: 6px;
    line-height: 1.5;
}

.recent-day-item .rd-hours {
    font-size: 12px;
    color: #b08d57;
    font-weight: 600;
    margin-bottom: 4px;
    padding: 4px 8px;
    background-color: rgba(176, 141, 87, 0.1);
    border-radius: 3px;
    display: inline-block;
}

.recent-day-item .rd-direction {
    font-size: 11px;
    color: #6b7480;
    padding-top: 4px;
    border-top: 1px dashed #e0d4be;
    margin-top: 4px;
}

/* 当月吉日吉时 - 点击展开交互 */
.rd-expand-hint {
    font-size: 12px;
    color: #8a95a0;
    margin-bottom: 12px;
    text-align: center;
    padding: 6px 10px;
    background-color: #f8f9f6;
    border-radius: 4px;
}

.rd-accordion-item {
    cursor: pointer;
}

.rd-accordion-item .rd-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    outline: none;
}

.rd-accordion-item .rd-header:focus-visible {
    box-shadow: 0 0 0 2px rgba(26, 122, 109, 0.3);
    border-radius: 4px;
}

.rd-accordion-item .rd-toggle {
    margin-left: auto;
    color: #b08d57;
    font-size: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.rd-accordion-item.rd-open .rd-toggle {
    transform: rotate(90deg);
}

.rd-accordion-item .rd-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.rd-accordion-item.rd-open .rd-detail {
    max-height: 400px;
    padding-top: 8px;
}

.rd-accordion-item .rd-hours-full {
    font-size: 12px;
    color: #b08d57;
    margin: 4px 0;
    padding: 4px 8px;
    background-color: rgba(176, 141, 87, 0.08);
    border-radius: 3px;
}

/* 推演记录区 */
.calc-records-section {
    margin-top: 48px;
}

.calc-records-table {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow-x: auto;
}

.calc-records-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.calc-records-table thead {
    background-color: #f8f9f6;
}

.calc-records-table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #eef0ec;
    white-space: nowrap;
}

.calc-records-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eef0ec;
    color: #2c3e50;
    vertical-align: middle;
}

.calc-records-table tbody tr:hover {
    background-color: #fafbfa;
}

.calc-records-table tbody tr:last-child td {
    border-bottom: none;
}

.text-muted {
    color: #8a95a0 !important;
}

/* 免责声明 */
.disclaimer-section {
    margin-top: 40px;
}

.disclaimer-box {
    background-color: #fffaf0;
    border: 1px solid #e0d4be;
    border-left: 4px solid #b08d57;
    border-radius: 8px;
    padding: 24px 28px;
}

.disclaimer-box h3 {
    font-size: 16px;
    color: #b08d57;
    margin-bottom: 12px;
}

.disclaimer-box ol {
    list-style: decimal;
    padding-left: 20px;
    color: #6b7480;
    font-size: 13px;
    line-height: 2;
}

.disclaimer-box ol li {
    margin-bottom: 4px;
}

.disclaimer-box strong {
    color: #2c3e50;
}

/* --------------------------------------------------------------------------
   13. 新闻页
   -------------------------------------------------------------------------- */
.news-page {
    padding: 32px 0 56px;
}

/* 新闻双栏布局 */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.news-cover {
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #eef0ec;
}

.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-body h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.news-body h3 a {
    color: inherit;
}

.news-body h3 a:hover {
    color: #1a7a6d;
}

.news-body .news-excerpt {
    color: #6b7480;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body .news-meta {
    margin-top: auto;
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #8a95a0;
    flex-wrap: wrap;
}

/* 新闻详情 */
.news-detail {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.news-detail h1 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-detail .news-meta {
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0ec;
    margin-bottom: 24px;
    color: #8a95a0;
    font-size: 13px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.news-detail .news-content {
    color: #4a525c;
    font-size: 15px;
    line-height: 1.9;
}

.news-detail .news-content p {
    margin-bottom: 16px;
}

.news-detail .news-content img {
    margin: 24px 0;
    border-radius: 6px;
}

/* 新闻摘要 */
.news-summary {
    background: linear-gradient(135deg, #f8f9f6 0%, #f0f4ef 100%);
    border-left: 3px solid #1a7a6d;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 4px;
    color: #4a525c;
    font-size: 14px;
    line-height: 1.8;
}

/* 新闻封面图(详情页) */
.news-cover-detail {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-cover-detail img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* 新闻详情标题 */
.news-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 16px;
}

/* 新闻详情元信息 */
.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0ec;
    margin-bottom: 24px;
    color: #8a95a0;
    font-size: 13px;
}

.news-detail-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-detail-meta .meta-source {
    color: #1a7a6d;
    font-weight: 500;
}

/* 上一条/下一条导航 */
.prev-next-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eef0ec;
}

.prev-next-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background-color: #f8f9f6;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.prev-next-item:hover {
    background-color: #f0f4ef;
}

.next-item {
    text-align: right;
}

.pn-label {
    font-size: 12px;
    color: #8a95a0;
    font-weight: 500;
}

.pn-link {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

a.pn-link:hover {
    color: #1a7a6d;
}

.pn-link.pn-disabled {
    color: #c0c5cc;
    cursor: default;
}

/* 新闻详情底部 */
.news-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* 侧边栏分类导航 */
.cat-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-nav-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 4px;
    color: #4a525c;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.cat-nav-list a:hover,
.cat-nav-list a.active {
    background-color: #f8f9f6;
    color: #1a7a6d;
}

.cat-nav-list .cat-arrow {
    color: #c0c5cc;
}

/* 侧边栏最新资讯列表 */
.recent-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-news-list li {
    margin: 0;
}

.recent-news-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 6px;
    background-color: #f8f9f6;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.recent-news-item:hover {
    background-color: #f0f4ef;
    transform: translateX(2px);
}

.recent-news-item .rn-title {
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.recent-news-item:hover .rn-title {
    color: #1a7a6d;
}

.recent-news-item .rn-date {
    font-size: 12px;
    color: #8a95a0;
}

/* 侧边栏分类列表 */
.news-sidebar .sidebar-card .sidebar-tip ul {
    list-style: none;
}

.news-sidebar .sidebar-card.sidebar-tip a {
    color: #4a525c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
}

.news-sidebar .sidebar-card.sidebar-tip a:hover {
    background-color: #f8f9f6;
    color: #1a7a6d;
}

.news-detail .news-content h2,
.news-detail .news-content h3 {
    margin: 24px 0 12px;
    color: #2c3e50;
}

/* --------------------------------------------------------------------------
   富文本内容通用样式(新闻详情 / 帮助文章详情 / TinyMCE 输出)
   同时作用于 .news-detail .news-content 与 .help-content
   -------------------------------------------------------------------------- */
.news-detail .news-content,
.help-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-detail .news-content p,
.help-content p {
    margin-bottom: 16px;
}

.news-detail .news-content h2,
.help-content h2 {
    font-size: 20px;
    color: #1a7a6d;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0ec;
}

.news-detail .news-content h3,
.help-content h3 {
    font-size: 17px;
    color: #2c3e50;
    margin: 24px 0 10px;
}

.news-detail .news-content h4,
.help-content h4 {
    font-size: 15px;
    color: #2c3e50;
    margin: 18px 0 8px;
}

.news-detail .news-content ul,
.news-detail .news-content ol,
.help-content ul,
.help-content ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.news-detail .news-content ul li,
.help-content ul li {
    list-style: disc;
    margin-bottom: 6px;
    color: #4a525c;
}

.news-detail .news-content ol li,
.help-content ol li {
    list-style: decimal;
    margin-bottom: 6px;
    color: #4a525c;
}

.news-detail .news-content a,
.help-content a {
    color: #1a7a6d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-detail .news-content a:hover,
.help-content a:hover {
    color: #14b8a6;
}

.news-detail .news-content img,
.help-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}

.news-detail .news-content blockquote,
.help-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    background-color: #f8f9f6;
    border-left: 3px solid #1a7a6d;
    color: #4a525c;
    border-radius: 4px;
}

.news-detail .news-content blockquote p,
.help-content blockquote p {
    margin-bottom: 0;
}

.news-detail .news-content table,
.help-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.news-detail .news-content table th,
.news-detail .news-content table td,
.help-content table th,
.help-content table td {
    border: 1px solid #eef0ec;
    padding: 8px 12px;
    text-align: left;
}

.news-detail .news-content table th,
.help-content table th {
    background-color: #f8f9f6;
    color: #2c3e50;
    font-weight: 600;
}

.news-detail .news-content table tr:nth-child(even) td,
.help-content table tr:nth-child(even) td {
    background-color: #fafbf9;
}

.news-detail .news-content pre,
.help-content pre {
    background-color: #f5f5f4;
    border: 1px solid #eef0ec;
    border-radius: 4px;
    padding: 14px 16px;
    overflow-x: auto;
    margin: 16px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #2c3e50;
}

.news-detail .news-content code,
.help-content code {
    background-color: #f5f5f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    color: #b91c1c;
}

.news-detail .news-content pre code,
.help-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.news-detail .news-content strong,
.news-detail .news-content b,
.help-content strong,
.help-content b {
    color: #2c3e50;
    font-weight: 600;
}

.news-detail .news-content hr,
.help-content hr {
    border: none;
    border-top: 1px solid #eef0ec;
    margin: 24px 0;
}

.news-detail .news-content figure,
.help-content figure {
    margin: 16px 0;
    text-align: center;
}

.news-detail .news-content figcaption,
.help-content figcaption {
    font-size: 12px;
    color: #8a95a0;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   14. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #2c3e50;
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 0;
    margin-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background-color: #b08d57;
    border-radius: 2px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #b08d57;
    padding-left: 4px;
}

/* 品牌列 */
.footer-brand-col .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-col .footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(26, 122, 109, 0.2);
    border: 1px solid rgba(176, 141, 87, 0.4);
    border-radius: 8px;
    color: #b08d57;
    font-size: 18px;
}

.footer-brand-col .footer-site-name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-brand-col .footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.8;
}

/* 友情链接(footer) */
.footer-friend-links {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
}

.footer-friend-links .friend-links-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    flex-shrink: 0;
}

.footer-friend-links .friend-link-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    line-height: 1.6;
}

.footer-friend-links .friend-link-item:hover {
    color: #b08d57;
}

.footer-friend-links .friend-link-logo {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* 联系方式列 */
.footer-contact-col .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-contact-col .contact-icon {
    color: #b08d57;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.footer-contact-col .contact-text {
    flex: 1;
}

.footer-contact-col .contact-phone {
    color: #b08d57;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-col .contact-phone:hover {
    color: #d4a96a;
    text-decoration: underline;
}

/* 兼容旧版样式 */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-contact .contact-icon {
    color: #b08d57;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.footer-brand .footer-logo .site-name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

.footer-qr {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-qr .qr-item {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-qr .qr-img {
    width: 84px;
    height: 84px;
    background-color: #ffffff;
    border-radius: 6px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .footer-links a:hover {
    color: #b08d57;
}

/* --------------------------------------------------------------------------
   15. 通用组件
   -------------------------------------------------------------------------- */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: #8a95a0;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 8px;
    color: #c8ced4;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: #6b7480;
}

.breadcrumb a:hover {
    color: #1a7a6d;
}

.breadcrumb li:last-child {
    color: #2c3e50;
}

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    background-color: #eef0ec;
    color: #6b7480;
    line-height: 1.5;
}

.badge-success {
    background-color: #eef5f3;
    color: #1a7a6d;
}

.badge-gold {
    background-color: #fbf6ee;
    color: #b08d57;
}

.badge-gray {
    background-color: #eef0ec;
    color: #2c3e50;
}

/* 类型标签 */
.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1.6;
}

.tag-commercial {
    background-color: #1a7a6d;
    color: #ffffff;
}

.tag-public {
    background-color: #2c3e50;
    color: #ffffff;
}

.tag-city-public {
    background-color: #b08d57;
    color: #ffffff;
}

/* 加载 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: #8a95a0;
    font-size: 14px;
    gap: 10px;
}

.loading::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #eef0ec;
    border-top-color: #1a7a6d;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: #8a95a0;
}

.empty-state .empty-icon {
    font-size: 56px;
    color: #d8dcd6;
    margin-bottom: 16px;
    line-height: 1;
}

.empty-state .empty-title {
    font-size: 16px;
    color: #6b7480;
    margin-bottom: 8px;
    font-weight: 500;
}

.empty-state .empty-text {
    font-size: 14px;
    color: #8a95a0;
    margin-bottom: 20px;
}

/* 浮动按钮组(首页/在线咨询/返回顶部) */
.fab-group {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 90;
}

.fab-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border: none;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.fab-btn svg {
    pointer-events: none;
}

/* 桌面端隐藏文字标签(用hover提示) */
.fab-label {
    display: none;
}

.fab-home {
    background-color: #1a7a6d;
}

.fab-home:hover {
    background-color: #145e54;
    transform: translateY(-3px);
}

.fab-consult {
    background-color: #b08d57;
}

.fab-consult:hover {
    background-color: #94703f;
    transform: translateY(-3px);
}

.fab-top {
    background-color: #2c3e50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.fab-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-top:hover {
    background-color: #1e2d3a;
    transform: translateY(-3px);
}

/* 点击拨号反馈动画 */
.fab-pulse {
    animation: fabPulse 0.6s ease;
}

@keyframes fabPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.92); box-shadow: 0 0 0 8px rgba(176, 141, 87, 0.25); }
    100% { transform: scale(1); }
}

/* 桌面端悬浮提示文字 */
.fab-btn::after {
    content: attr(title);
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(44, 62, 80, 0.92);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.fab-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 兼容旧版返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    background-color: #1a7a6d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 90;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #145e54;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   18. 图片占位
   -------------------------------------------------------------------------- */
.placeholder-image {
    background-color: #eef0ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8c0c8;
    font-size: 32px;
    width: 100%;
    height: 100%;
}

.placeholder-image::after {
    content: "🏟";
    opacity: 0.6;
}

.placeholder-image.placeholder-person::after {
    content: "👤";
}

.placeholder-image.placeholder-news::after {
    content: "📰";
}

/* --------------------------------------------------------------------------
   19. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .region-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .unit-grid,
    .unit-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .qa-category-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail-header {
        grid-template-columns: 1fr;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .map-layout {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 480px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .auspicious-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    body {
        font-size: 14px;
    }

    /* 移动端导航 */
    .header-top {
        display: none;
    }

    .header-main .container {
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .main-nav li {
        border-bottom: 1px solid #eef0ec;
    }

    .main-nav a {
        padding: 14px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a.active,
    .main-nav a:hover {
        color: #1a7a6d;
        background-color: #f8f9f6;
        padding-left: 12px;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* 导航遮罩 */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 98;
    }

    .nav-overlay.visible {
        display: block;
    }

    /* 首屏 */
    .hero-section {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn {
        flex: 1;
    }

    /* 区域标题 */
    .section-title h2 {
        font-size: 22px;
    }

    .section {
        padding: 40px 0;
    }

    /* 单列布局 */
    .region-nav-grid,
    .unit-grid,
    .unit-list,
    .qa-category-list,
    .stats-grid,
    .image-gallery {
        grid-template-columns: 1fr;
    }

    /* 页脚在768px采用2列布局(关于我们占整行) */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .unit-list.list-view .card {
        flex-direction: column;
    }

    .unit-list.list-view .card-image {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    /* 详情 */
    .detail-header,
    .tab-content,
    .help-content,
    .news-detail {
        padding: 20px;
    }

    .detail-info .detail-meta {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-nav .tab-link {
        padding: 12px 18px;
        white-space: nowrap;
        font-size: 14px;
    }

    /* 列表筛选 */
    .list-toolbar {
        padding: 16px;
    }

    .filter-search {
        margin-left: 0;
        width: 100%;
    }

    .filter-search input {
        flex: 1;
        min-width: 0;
    }

    /* 帮助中心 */
    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
    }

    .help-sidebar .help-nav {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        padding: 8px;
    }

    .help-sidebar .help-nav-title {
        display: none;
    }

    .help-sidebar .help-nav-item {
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        padding: 8px 14px;
    }

    .help-sidebar .help-nav-item.active {
        border-left: none;
        border-bottom-color: #1a7a6d;
    }

    /* 表单 */
    .auspicious-form .form-grid {
        grid-template-columns: 1fr;
    }

    /* 日历 */
    .calendar-day {
        min-height: 48px;
        padding: 4px;
    }

    .calendar-day .day-lunar,
    .calendar-day .day-tag {
        display: none;
    }

    .calendar-day .day-num {
        font-size: 13px;
    }

    /* 新闻 */
    .news-item {
        flex-direction: column;
    }

    .news-cover {
        width: 100%;
        height: 180px;
    }

    /* 地图 */
    .map-container {
        height: 360px;
    }

    .map-sidebar {
        max-height: 400px;
    }

    /* 详情页 */
    .detail-actions .btn {
        flex: 1;
    }

    .detail-price .price-value {
        font-size: 22px;
    }

    .review-summary {
        gap: 16px;
    }

    /* 页脚 */
    .site-footer {
        padding-top: 32px;
    }

    .footer-grid {
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-bottom {
        padding: 16px 0 20px;
    }

    .footer-bottom .footer-links {
        gap: 12px;
    }

    /* 移动端: 浮动按钮组改为底部横幅 */
    .fab-group {
        right: 0;
        left: 0;
        bottom: 0;
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
        padding: 8px 12px;
        background: linear-gradient(180deg, rgba(44, 62, 80, 0.96) 0%, rgba(26, 122, 109, 0.96) 100%);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(176, 141, 87, 0.3);
    }

    .fab-btn {
        width: auto;
        min-width: 60px;
        height: 48px;
        border-radius: 10px;
        flex-direction: column;
        gap: 3px;
        padding: 6px 8px;
        box-shadow: none;
        flex: 1;
    }

    /* 移动端显示文字标签 */
    .fab-label {
        display: inline;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1;
    }

    .fab-btn svg {
        width: 20px;
        height: 20px;
    }

    /* 隐藏桌面端hover提示 */
    .fab-btn::after {
        display: none;
    }

    /* 移动端各按钮背景透明化(用横幅整体背景) */
    .fab-home,
    .fab-consult,
    .fab-top {
        background-color: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .fab-home:hover,
    .fab-consult:hover,
    .fab-top:hover {
        background-color: rgba(255, 255, 255, 0.12);
        transform: none;
    }

    /* 高亮在线咨询按钮 */
    .fab-consult .fab-label {
        color: #d4a96a;
        font-weight: 600;
    }

    /* body底部留出横幅空间 */
    body {
        padding-bottom: 64px;
    }

    /* 兼容旧版返回顶部 */
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }

    .section-title h2 {
        font-size: 20px;
        padding: 0 24px;
    }

    .section-title h2::before,
    .section-title h2::after {
        width: 20px;
    }

    .stat-item .stat-num {
        font-size: 28px;
    }

    .btn {
        padding: 9px 16px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 15px;
    }

    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* 页脚移动端优化 */
    .site-footer {
        padding-top: 24px;
        margin-top: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 18px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-col p {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 8px;
    }

    .footer-col ul li {
        margin-bottom: 7px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .footer-brand-col .footer-brand {
        gap: 8px;
        margin-bottom: 10px;
    }

    .footer-brand-col .footer-logo-mark {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .footer-brand-col .footer-site-name {
        font-size: 15px;
    }

    .footer-brand-col .footer-desc {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-contact-col .contact-item {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding: 14px 0 18px;
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-bottom p {
        margin: 0;
    }

    /* 友情链接移动端 */
    .footer-friend-links {
        padding: 12px 0;
        gap: 6px 12px;
        font-size: 12px;
    }

    .footer-friend-links .friend-links-title {
        font-size: 11px;
        width: 100%;
        margin-bottom: 2px;
    }

    .footer-friend-links .friend-link-item {
        font-size: 12px;
    }

    .footer-friend-links .friend-link-logo {
        height: 14px;
    }

    /* 底部横幅按钮在小屏更紧凑 */
    .fab-group {
        padding: 6px 8px;
    }

    .fab-btn {
        min-width: 52px;
        height: 44px;
        padding: 5px 6px;
    }

    .fab-label {
        font-size: 10px;
    }

    .fab-btn svg {
        width: 18px;
        height: 18px;
    }

    body {
        padding-bottom: 58px;
    }
}
