:root {
    --policy-ink: #203b30;
    --policy-muted: #78847a;
    --policy-green: #23694c;
    --policy-red: #bc4a4f;
    --policy-line: #e9e9df;
    --policy-paper: #fffdf8;
}

.policy-page, .policy-page * { box-sizing: border-box; }
.policy-page { margin: 0; background: #f7f8f2; color: var(--policy-ink); font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.policy-page button, .policy-page input, .policy-page select { font: inherit; }
.policy-page button { cursor: pointer; }
.policy-page a { text-decoration: none; }
.policy-page :focus-visible { outline: 2px solid #277353; outline-offset: 3px; }

.policy-main { min-height: calc(100vh - 86px); }
.policy-hero {
    min-height: 138px;
    background-color: #f8faf5;
    background-image: linear-gradient(90deg, #fbfcf77d 0%, #fbfcf738 42%, #fbfcf70a 76%),
        url('/images/jiangsu/policy-hero-watercolor.webp');
    background-position: center, center 6%;
    background-size: cover, cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid #e7eee8;
    position: relative;
    overflow: hidden;
}
.hero-inner { width: min(1400px, calc(100% - 48px)); min-height: 138px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.hero-inner h1 { margin: 0; color: #183e30; font: 700 clamp(32px, 2.7vw, 44px)/1.2 "STKaiti", "KaiTi", "Songti SC", serif; letter-spacing: .1em; }
.hero-inner p { margin: 10px 0 0; color: #606f64; font: 16px/1.5 "KaiTi", "Microsoft YaHei", serif; letter-spacing: .04em; }
.hero-seal { display: inline-grid; place-items: center; vertical-align: middle; width: 24px; height: 36px; margin-left: 2px; border-radius: 3px; background: #c15152; color: #fff; font: 11px/1.05 "KaiTi", serif; letter-spacing: 0; writing-mode: vertical-rl; }
.hero-poem { margin-right: 9%; color: #3d5d52; font: italic 23px/1.5 "KaiTi", serif; letter-spacing: .13em; text-align: center; transform: rotate(-6deg); white-space: nowrap; }

.policy-content { width: min(1600px, calc(100% - 44px)); margin: 0 auto; padding: 14px 0 30px; }
.explore-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(420px, 1fr); gap: 20px; min-height: 565px; }
.map-card, .city-panel, .recommendations { background: var(--policy-paper); border: 1px solid var(--policy-line); border-radius: 17px; box-shadow: 0 10px 32px #4c6b5d0d; }
.map-card { min-height: 565px; position: relative; overflow: hidden; background:
    radial-gradient(circle at 93% 25%, #a8d8e4bb 0%, #d8eff0ab 19%, transparent 41%),
    radial-gradient(circle at 10% 77%, #bfd7c189 0%, transparent 35%),
    linear-gradient(135deg, #f6f7eb 0%, #edf4e9 53%, #d7eced 100%);
}
.map-card::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -7%; height: 34%; pointer-events: none; opacity: .42; background: radial-gradient(ellipse at 20% 100%, #86ae97 0%, transparent 50%), radial-gradient(ellipse at 80% 100%, #76a69c 0%, transparent 46%); }
.map-title-block { position: absolute; z-index: 3; left: 19px; top: 20px; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
.title-mark { width: 12px; height: 24px; border: 2px solid #21765d; border-radius: 3px; margin-top: 2px; }
.map-title-block h2 { margin: 0; color: #213d31; font: 700 18px/1.35 "Songti SC", SimSun, serif; letter-spacing: .06em; }
.map-title-block p { margin: 6px 0 0; color: #7a867d; font-size: 12px; }
#chinaMap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-controls { position: absolute; z-index: 4; top: 107px; left: 16px; width: min(340px, calc(100% - 32px)); padding: 21px 20px 17px; border: 1px solid #edf0e9; border-radius: 15px; background: #fffcf7f2; box-shadow: 0 13px 36px #32544026; backdrop-filter: blur(8px); font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif; }
.map-controls h3 { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: #25382f; font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
.map-controls h3::before { content: ""; flex: 0 0 5px; width: 5px; height: 23px; border-radius: 4px; background: #23856a; }
.search-field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: #fff; border: 1px solid #e2e7e4; border-radius: 10px; color: #8d9891; }
.search-field:focus-within { border-color: #c7d6cb; box-shadow: 0 0 0 2px #d8e6dc55; }
.search-field > .fa-search { display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; line-height: 1; font-size: 14px; }
.search-field input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--policy-ink); font-size: 12px; line-height: 44px; }
.map-controls .search-field input:focus-visible { outline: none; box-shadow: none; }
.search-field input::placeholder { color: #a2aaa3; }
.filter-heading { display: flex; align-items: center; gap: 9px; margin: 20px 0 11px; color: #717a73; font-size: 11px; font-weight: 500; }
.filter-heading i { width: 17px; color: #8a958e; font-size: 11px; text-align: center; }
.filter-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 176px; overflow-y: auto; }
.policy-page .filter-tag { display: grid; place-items: center; min-width: 0; min-height: 36px; padding: 7px 5px; border: 1px solid #e8e9e5; border-radius: 20px; background: #fff; color: #747b75; font: 500 11px/1.2 "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; white-space: nowrap; transition: .18s; }
.filter-tag:hover { border-color: #83ad95; color: #28694b; }
.filter-tag.active { border-color: var(--policy-red); background: var(--policy-red); color: #fff; font-weight: 600; box-shadow: 0 3px 8px #bc4a4f2a; }
.reset-button { display: flex; align-items: center; gap: 9px; width: 100%; margin-top: 18px; padding: 15px 0 2px; border: 0; border-top: 1px solid #e9ece8; background: none; color: #54665a; text-align: left; font-size: 12px; font-weight: 600; }
.reset-button i { width: 17px; font-size: 13px; text-align: center; }
.reset-button:hover { color: var(--policy-green); }
.map-tip { position: absolute; z-index: 3; right: 13px; bottom: 11px; padding: 6px 11px; border-radius: 20px; background: #fffdf8d6; color: #6a8379; font-size: 11px; }
.map-status { position: absolute; z-index: 5; left: 50%; bottom: 50px; transform: translateX(-50%); max-width: 90%; padding: 11px 16px; border: 1px solid #e7e6d7; border-radius: 10px; background: #fffcf0ed; color: #805c39; box-shadow: 0 8px 24px #31503b1b; text-align: center; font-size: 13px; }
.map-status[hidden] { display: none; }

.explore-side { display: flex; flex-direction: column; min-width: 0; gap: 14px; }
.dimension-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dimension-tab { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 86px; padding: 14px 16px; border: 1px solid #e9e7e1; border-radius: 14px; background: #fffdf9; color: #303a32; box-shadow: 0 5px 16px #5065520a; text-align: left; transition: transform .18s, box-shadow .18s; }
.dimension-tab:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #3157441c; }
.dimension-tab > i:first-child { color: var(--policy-red); font-size: 23px; width: 29px; text-align: center; }
.dimension-tab > span { display: flex; flex-direction: column; gap: 5px; min-width: 0; font: 700 17px/1.2 "Songti SC", SimSun, serif; white-space: nowrap; }
.dimension-tab small { color: #92958c; font: 10px/1.4 "Microsoft YaHei", sans-serif; overflow: hidden; text-overflow: ellipsis; }
.dimension-tab .tab-arrow { margin-left: auto; color: #aaa; font-size: 12px; }
.dimension-tab.active { border-color: #257153; background: linear-gradient(135deg, #2a7958, #1d6046); color: #fff; box-shadow: 0 9px 22px #235e462e; }
.dimension-tab.active > i:first-child, .dimension-tab.active small, .dimension-tab.active .tab-arrow { color: #eff8ee; }
.city-panel { flex: 1; min-height: 0; padding: 17px 17px 15px; display: flex; flex-direction: column; overflow: hidden; }
.city-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.city-heading-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.city-heading-main > i { color: #dc7a43; font-size: 23px; }
.city-heading-main h2 { margin: 0; color: #243c31; font: 700 25px/1.2 "Songti SC", SimSun, serif; white-space: nowrap; }
.city-tag { max-width: 135px; overflow: hidden; text-overflow: ellipsis; padding: 4px 9px; border-radius: 14px; background: #c84d55; color: #fff; font-size: 10px; white-space: nowrap; }
.city-tag[hidden] { display: none; }
.city-picker-label { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 5px; width: 145px; height: 34px; padding: 0 25px 0 10px; border: 1px solid #e5e8e2; border-radius: 7px; background: #fff; color: #69776d; white-space: nowrap; }
.city-picker-label:focus-within { border-color: #d58a59; box-shadow: 0 0 0 2px #d58a5926; }
.city-picker-label span { flex: 0 0 auto; font-size: 11px; }
.city-picker-label::after { content: "⌄"; position: absolute; right: 8px; top: 3px; color: #58655a; font-size: 18px; pointer-events: none; }
.city-picker-label select { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; appearance: none; background: transparent; color: #274a38; font-size: 12px; font-weight: 600; cursor: pointer; opacity: 1; }
.policy-page .city-picker-label select:focus-visible { outline: none; }
.city-subtitle { min-height: 18px; margin: 6px 0 12px 30px; color: #8c968b; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-info { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c4d6c8 transparent; }
.panel-loading { display: grid; place-items: center; min-height: 290px; color: #8b988e; font-size: 13px; text-align: center; }
.city-hero-image, .city-hero-empty { width: 100%; height: clamp(132px, 12.2vw, 187px); border-radius: 11px; object-fit: cover; object-position: center; }
.city-hero-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(130deg, #d3e7d2, #dceceb 72%, #b9d3c7); color: #6c967c; }
.city-hero-empty i { font-size: 30px; }
.city-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 9px 0 10px; }
.city-highlights > div { min-width: 0; min-height: 53px; display: grid; grid-template-columns: 19px 1fr; grid-template-rows: auto auto; column-gap: 5px; align-content: center; padding: 7px; border-radius: 10px; background: #f7f9f5; }
.city-highlights i { grid-row: 1 / 3; color: #167a5c; font-size: 17px; align-self: center; }
.city-highlights strong { overflow: hidden; color: #354039; font: 700 11px/1.35 "Songti SC", SimSun, serif; white-space: nowrap; text-overflow: ellipsis; }
.city-highlights small { overflow: hidden; color: #99a099; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.city-description { margin: 5px 0 10px; color: #68756b; font: 12px/1.75 "KaiTi", "Microsoft YaHei", serif; }
.mini-places { display: flex; gap: 10px; margin: 5px 0; color: #7e8980; font-size: 11px; }
.mini-places strong { color: #3c7356; white-space: nowrap; }
.mini-places span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-actions { display: flex; gap: 8px; margin-top: 14px; }
.city-actions a, .city-actions button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font: 700 12px/1.2 "Songti SC", SimSun, serif; white-space: nowrap; transition: .18s; }
.action-main { flex: 1.2; border: 1px solid #287455; background: #257354; color: #fff; }
.action-main:hover { background: #175a3e; color: #fff; }
.action-secondary { flex: .8; border: 1px solid #e5e7e1; background: #fff; color: #424a42; }
.action-secondary:hover { border-color: #93b9a1; color: var(--policy-green); }
.person-feature { display: grid; grid-template-columns: minmax(95px, 34%) 1fr; gap: 16px; min-height: 190px; padding: 12px; border-radius: 12px; background: #f6f8f2; }
.person-feature img { width: 100%; height: 165px; border-radius: 9px; object-fit: cover; object-position: center 20%; }
.person-feature > div { align-self: center; min-width: 0; }
.person-eyebrow { color: #bb5655; font-size: 11px; }
.person-feature h3 { margin: 5px 0 10px; color: #263f31; font: 700 24px "Songti SC", SimSun, serif; }
.person-feature p { margin: 0; color: #6c766e; font: 12px/1.8 "KaiTi", "Microsoft YaHei", serif; }
.people-list-heading { margin: 15px 0 10px; color: #35463b; font: 700 15px "Songti SC", SimSun, serif; }
.people-list-heading span { margin-left: 4px; color: #a0aaa1; font: 11px "Microsoft YaHei", sans-serif; }
.people-list { display: flex; flex-wrap: wrap; gap: 7px; }
.person-pill { padding: 7px 12px; border: 1px solid #dfe9df; border-radius: 20px; background: #fff; color: #51665a; font-size: 11px; }
.person-pill.active, .person-pill:hover { border-color: #2b7757; background: #e9f3e9; color: #1f6948; }
.people-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; color: #8d9b91; text-align: center; }
.people-empty i { font-size: 32px; color: #9ebfa8; }
.people-empty h3 { margin: 15px 0 5px; color: #355442; font: 700 19px "Songti SC", SimSun, serif; }
.people-empty p { margin: 0; font-size: 12px; }

.recommendations { margin-top: 14px; padding: 14px 15px 15px; }
.recommend-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.recommend-heading > div { display: flex; align-items: baseline; gap: 10px; }
.recommend-heading h2 { margin: 0; color: #283d31; font: 700 17px "Songti SC", SimSun, serif; }
.recommend-heading h2 i { color: #c25454; }
.recommend-heading p, .recommend-heading > span { margin: 0; color: #9aa49a; font-size: 11px; }
.recommend-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.recommend-card { min-width: 0; display: flex; align-items: center; gap: 9px; height: 93px; padding: 6px; border: 1px solid #ebece7; border-radius: 10px; background: #fff; color: #263d30; text-align: left; transition: transform .18s, box-shadow .18s; }
.recommend-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #31583d1c; }
.recommend-card img, .recommend-no-image { flex: 0 0 34%; width: 34%; height: 79px; border-radius: 7px; object-fit: cover; }
.recommend-no-image { display: grid; place-items: center; background: #dfece1; color: #4a9b73; font-size: 26px; }
.recommend-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.recommend-copy small { align-self: flex-start; max-width: 100%; padding: 3px 8px; border-radius: 20px; background: #e7f2e8; color: #337b56; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.recommend-card:nth-child(2n) .recommend-copy small { background: #f7e8e8; color: #bd5b5c; }
.recommend-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 13px "Songti SC", SimSun, serif; }
.recommend-copy > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #9aa29a; font-size: 10px; }
.recommend-card > i { margin-right: 5px; color: #516257; font-size: 11px; }
.recommend-loading { grid-column: 1 / -1; padding: 25px 0; text-align: center; color: #8d988e; font-size: 12px; }

@media (max-width: 1200px) {
    .explore-grid { grid-template-columns: minmax(0, 1.15fr) minmax(390px, 1fr); }
    .dimension-tab { gap: 8px; padding: 10px; }
    .dimension-tab > span { font-size: 15px; }
    .dimension-tab small { font-size: 9px; }
    .city-highlights strong { font-size: 10px; }
}
@media (max-width: 950px) {
    .hero-poem { margin-right: 0; }
    .explore-grid { display: flex; flex-direction: column; }
    .map-card { min-height: 560px; }
    .explore-side { min-height: 520px; }
    .city-panel { min-height: 420px; }
    .city-hero-image, .city-hero-empty { height: 190px; }
    .recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .policy-content { width: calc(100% - 24px); padding-top: 10px; }
    .policy-hero { min-height: 124px; background-position: center, 70% 6%; }
    .hero-inner { width: calc(100% - 32px); min-height: 124px; }
    .hero-inner h1 { font-size: 27px; }
    .hero-inner p { font-size: 12px; }
    .hero-poem { display: none; }
    .map-card { min-height: 610px; }
    .map-title-block { top: 16px; left: 14px; }
    .map-title-block h2 { font-size: 16px; }
    .map-controls { top: auto; bottom: 46px; left: 10px; width: calc(100% - 20px); padding: 16px; }
    .filter-tags { max-height: 132px; }
    .filter-tag { font-size: 11px; }
    .map-tip { bottom: 11px; left: 10px; right: auto; }
    .dimension-switch { gap: 7px; }
    .dimension-tab { min-height: 72px; padding: 9px; }
    .dimension-tab > i:first-child { font-size: 18px; width: 20px; }
    .dimension-tab > span { font-size: 13px; }
    .dimension-tab small { display: none; }
    .dimension-tab .tab-arrow { display: none; }
    .city-panel { padding: 13px; }
    .city-heading-main h2 { font-size: 21px; }
    .city-picker-label { width: 119px; padding-left: 7px; padding-right: 18px; gap: 3px; }
    .city-picker-label span { font-size: 10px; }
    .city-picker-label select { font-size: 11px; }
    .city-picker-label::after { right: 5px; }
    .city-highlights { gap: 3px; }
    .city-highlights > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .city-highlights small { display: none; }
    .city-highlights i { font-size: 15px; margin-bottom: 4px; }
    .recommend-heading > div { display: block; }
    .recommend-heading p { margin-top: 3px; }
    .recommend-heading > span { display: none; }
    .recommend-list { grid-template-columns: 1fr; }
}
