/* 阳谷邦：原版标识、橙色导航与蓝色栏目线，兼顾电脑和手机。 */
:root {
 --bg:#f5f6f8; --panel:#fff; --text:#292e35; --muted:#626b76; --line:#dfe4e9;
 --brand:#a94b0b; --brand-dark:#8b3c08; --brand-soft:#fff4e8; --radius:6px;
 --paper:#f1f6fa; --ink:#253a4b; --seal:#a94b0b; --orange:#f58220; --blue:#2376a0;
}
html { scroll-behavior:smooth; scroll-padding-top:20px; }
body { font-size:15px; line-height:1.65; }
button,input,select,textarea { font:inherit; }
a,button,summary { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.wrap { max-width:1200px; padding-left:24px; padding-right:24px; }
.ui-icon { width:26px; height:26px; display:block; flex:0 0 auto; }
.skip-link { position:absolute; top:-80px; left:20px; z-index:50; padding:10px 18px; background:var(--brand-dark); color:white; }
.skip-link:focus { top:8px; color:white; }
.header { background:white; color:var(--text); }
.utility-bar { background:#f6f7f9; border-bottom:1px solid #e9ecef; color:#626b76; font-size:13px; }
.utility-inner { display:flex; justify-content:space-between; align-items:center; min-height:32px; }
.utility-inner>div { display:flex; gap:22px; }
.header-inner { flex-wrap:nowrap; gap:24px; padding-top:17px; padding-bottom:17px; }
.logo,.logo:hover { color:var(--text); flex-shrink:0; align-items:center; gap:20px; }
.logo img { width:185px; height:51px; object-fit:contain; }
.logo small { font-size:14px; opacity:1; color:var(--muted); font-weight:400; padding-left:20px; border-left:1px solid var(--line); }
.search { min-width:0; max-width:360px; height:44px; border:1px solid #c9d1da; border-radius:5px; align-items:center; background:white; }
.search>.ui-icon { width:19px; height:19px; margin-left:12px; color:#78828d; }
.search input { padding:10px; font-size:14px; background:transparent; }
.search button { padding:0 18px; height:100%; font-size:14px; background:var(--brand); }
.search:focus-within { border-color:var(--brand); }
.header-progress { white-space:nowrap; font-size:14px; color:var(--muted); }
.nav { background:#fff7ed; border-top:1px solid #f5d1aa; border-bottom:3px solid var(--orange); }
.nav-inner { overflow:visible; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:0; position:relative; }
.nav-inner>a,.nav-more>summary { display:flex; justify-content:center; align-items:center; gap:6px; padding:12px 8px; min-height:50px; color:#653a1a; font-size:15px; font-weight:600; }
.nav-inner>a:hover,.nav-more>summary:hover { color:var(--brand-dark); background:#ffead4; }
.nav-inner>a.on,.nav-inner>a[aria-current=page] { background:var(--orange); color:#3f220d; box-shadow:none; }
.nav-more>summary { list-style:none; cursor:pointer; }
.nav-more>summary::-webkit-details-marker { display:none; }
.nav-more>summary .ui-icon { width:14px; height:14px; }
.nav-more>summary.on { background:#ffead4; color:var(--brand-dark); }
.nav-more[open]>summary .ui-icon { transform:rotate(180deg); }
.nav-menu { position:absolute; right:24px; top:calc(100% + 3px); width:650px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:24px; z-index:20; background:white; border:1px solid #d6dce2; border-top:3px solid var(--orange); border-radius:0 0 6px 6px; box-shadow:0 10px 25px #253a4b1a; }
.nav-more:not([open]) .nav-menu { display:none; }
.nav-menu strong { display:block; margin-bottom:6px; color:var(--blue); font-size:14px; }
.nav-menu a { display:block; color:var(--text); padding:7px 0; font-size:14px; }
.nav-menu a:hover { color:var(--brand); box-shadow:none; }
.nav-menu-bottom { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:8px 24px; border-top:1px solid var(--line); padding-top:10px; }
.main { padding-top:22px; padding-bottom:36px; }
.panel,.article-list,.card,.shop-list { border:1px solid var(--line); }
.panel { padding:18px; }
.layout { gap:22px; }
.layout>div,.layout>article,.layout>aside { min-width:0; }
.page-title { font-family:inherit; font-size:24px; color:var(--ink); }
.serif { font-family:inherit; }
.culture-head { background:white; border:1px solid var(--line); border-top:3px solid var(--blue); padding:24px; }
.culture-head h1 { font-size:24px; }
.muted,.crumbs { font-size:14px; }
.chip { border-radius:5px; padding:7px 13px; font-size:14px; }
.chip.on { background:var(--brand); color:white; }
.chip.on:hover { color:white; }
.btn { font-size:14px; min-height:44px; border-radius:5px; }
.form input,.form select,.form textarea,.filters select,.filters input[type=text],.market-filters input,.market-filters select { border-radius:5px; min-height:44px; font-size:15px; }
.article-row { padding:21px; gap:18px; }
.article-row h3 { font-size:17px; line-height:1.6; }
.article-row .excerpt { font-size:14px; line-height:1.8; }
.article-meta { padding:10px 0 16px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.prose-wrap { padding:32px; }
.article-title { font-size:26px; line-height:1.5; }
.prose { font-size:16px; line-height:1.85; }
.empty { background:white; border-radius:6px; padding:36px 22px; }
.empty h2 { font-family:inherit; font-size:20px; color:var(--ink); }
.empty p { font-size:14px; }
.phone-row { padding:16px 0; }
.phone-row a { font-variant-numeric:tabular-nums; }
.phone-group h2 { color:var(--ink); }
.photo-card,.community-intro-grid>div,.resource-shortcuts a { background:white; border-color:var(--line); }
.resource-shortcuts strong { color:var(--blue); }
.resource-visit,.community-join,.submission-receipt,.progress-reply { background:var(--paper); }
/* 首页：常用服务和乡镇目录在前，文章与交流分栏。 */
.home-welcome { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.home-welcome>div { display:flex; align-items:baseline; gap:20px; flex-wrap:wrap; }
.home-welcome h1 { font-size:22px; line-height:1.5; color:var(--ink); }
.home-welcome p { margin:0; font-size:14px; color:var(--muted); }
.home-welcome>a { white-space:nowrap; font-size:14px; color:var(--brand); }
.portal-panel { background:white; border:1px solid var(--line); border-top:2px solid var(--blue); border-radius:5px; overflow:hidden; }
.portal-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 20px; min-height:52px; border-bottom:1px solid var(--line); background:linear-gradient(180deg,#fff,#fafbfc); }
.portal-head h2 { font-size:17px; color:var(--ink); }
.portal-head>a { font-size:14px; color:var(--muted); white-space:nowrap; }
.portal-head>a:hover { color:var(--brand); }
.home-service-row,.home-content-row { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:20px; margin-bottom:20px; align-items:stretch; }
.home-services { border-top-color:var(--orange); }
.service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:6px 10px; }
.service-grid>a { display:flex; align-items:center; gap:10px; padding:17px 10px; min-width:0; border-radius:4px; }
.service-grid>a:hover { background:var(--brand-soft); }
.service-grid .ui-icon { color:var(--blue); width:25px; height:25px; }
.service-grid strong,.service-grid small { display:block; }
.service-grid strong { font-size:15px; font-weight:600; white-space:nowrap; }
.service-grid small { font-size:12px; color:var(--muted); margin-top:2px; white-space:nowrap; }
.service-actions,.section-actions { display:flex; flex-wrap:wrap; gap:8px 25px; padding:11px 20px; border-top:1px solid var(--line); font-size:14px; background:#fcfcfd; }
.service-actions a { color:var(--brand); }
.calendar-body { padding:15px 22px 13px; }
.today-date { color:var(--ink); font-size:26px; font-weight:600; line-height:1.5; }
.today-date>span { font-size:14px; font-weight:400; margin-left:14px; }
.calendar-body p { margin:4px 0; font-size:15px; }
.calendar-body .calendar-lunar { font-size:14px; color:var(--muted); }
.calendar-market { display:flex; align-items:center; justify-content:space-between; padding-top:13px; margin-top:12px; border-top:1px solid var(--line); color:var(--brand); font-size:14px; }
.home-town-panel { margin-bottom:20px; }
.home-towns { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:12px 20px 16px; gap:9px 12px; }
.home-towns a { display:flex; align-items:center; justify-content:space-between; padding:8px 14px; background:#f4f7fa; border:1px solid #e6ebef; border-radius:4px; font-size:15px; min-height:44px; }
.home-towns a>span { color:#8494a2; }
.home-towns a:hover { background:#fff4e8; border-color:#efc59e; }
.home-content-row { align-items:start; }
.story-feature { display:block; padding:20px; }
.story-feature.with-cover { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; align-items:center; }
.story-feature>img { width:180px; height:140px; object-fit:cover; border-radius:3px; }
.story-kicker { color:var(--brand); font-size:13px; }
.story-feature h3 { font-size:20px; line-height:1.55; margin-top:5px; }
.story-feature p { margin:9px 0 0; font-size:14px; color:var(--muted); }
.home-story-list { padding:0 20px 10px; }
.home-story-list>a { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:11px 0; border-top:1px dashed var(--line); font-size:15px; }
.home-story-list>a::before { content:''; width:4px; height:4px; background:var(--orange); flex:0 0 auto; align-self:center; }
.home-story-list>a>span { flex:1; }
.home-story-list small { font-size:13px; color:var(--muted); white-space:nowrap; }
.home-topics { display:flex; flex-wrap:wrap; gap:6px 17px; padding:8px 20px 17px; font-size:14px; }
.home-topics>span { color:var(--muted); }
.home-topics>a { color:var(--blue); }
.home-side-column { display:grid; gap:20px; }
.home-local-list { padding:6px 20px; }
.home-local-list a { display:block; padding:12px 0; border-bottom:1px dashed var(--line); }
.home-local-list a:last-child { border-bottom:0; }
.home-local-list strong { font-size:15px; font-weight:500; line-height:1.6; }
.home-local-list small { display:block; font-size:13px; color:var(--muted); margin-top:5px; }
.home-section-empty { padding:18px 20px; font-size:14px; }
.home-section-empty p { margin:0 0 8px; color:var(--muted); }
.home-section-empty>a { color:var(--brand); }
.community-links { padding:17px 20px; }
.community-links strong { display:block; font-size:15px; font-weight:600; }
.community-links small { display:block; font-size:13px; color:var(--muted); margin:4px 0 14px; }
.community-links>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; font-size:14px; }
.home-business { margin-bottom:20px; }
.life-categories { display:flex; flex-wrap:wrap; gap:10px 23px; padding:18px 20px; font-size:14px; }
.home-business .shop-list { border:0; border-top:1px solid var(--line); border-radius:0; }
.home-extra { margin-bottom:24px; }
.home-contribute { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px; border:1px solid #ead7c0; background:#fff8ee; border-radius:5px; }
.home-contribute h2 { font-size:17px; }
.home-contribute p { color:var(--muted); margin:6px 0 0; font-size:14px; }
.home-contribute .actions { margin:0; flex-shrink:0; }
.footer { background:#eef1f4; border-top:1px solid #d7dfe6; color:#576472; padding:32px 0 22px; }
.footer-top { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:30px; margin-bottom:25px; }
.footer-brand { color:var(--ink); font-size:22px; font-weight:700; }
.footer-about p { font-size:14px; margin:8px 0; }
.footer-about>a:last-child { display:inline-block; font-size:14px; margin-top:8px; color:var(--blue); }
.footer-column h2 { color:var(--ink); font-size:15px; margin-bottom:8px; }
.footer-column>a { display:block; font-size:14px; padding:4px 0; }
.footer-towns { border-top:1px solid #d7dfe6; border-bottom:1px solid #d7dfe6; padding:15px 0; margin:0; gap:8px 18px; font-size:14px; }
.footer-towns>span { font-weight:600; }
.footer-links { gap:8px 20px; font-size:13px; margin:16px 0 8px; }
.footer-links>span { color:var(--muted); }
.footer-copy { font-size:13px; color:var(--muted); }
@media(max-width:1100px) {
 .logo small { display:none; }
 .home-service-row,.home-content-row { grid-template-columns:minmax(0,1fr) 280px; gap:16px; }
 .service-grid>a { flex-direction:column; text-align:center; gap:6px; padding:12px 5px; }
 .home-towns { gap:8px; }
 .home-towns a { padding-left:12px; padding-right:12px; }
}
@media(max-width:800px) {
 .wrap { padding-left:18px; padding-right:18px; }
 .header-inner { gap:18px; }
 .header-progress { display:none; }
 .nav-inner>a,.nav-more>summary { font-size:14px; padding:12px 4px; }
 .nav-menu { right:18px; width:620px; max-width:calc(100% - 36px); }
 .home-welcome>div { gap:4px 18px; }
 .home-service-row { grid-template-columns:minmax(0,1fr) 240px; }
 .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .service-grid>a { flex-direction:row; text-align:left; padding:10px; gap:10px; }
 .home-towns { grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; padding:12px; }
 .home-towns a { font-size:14px; padding:8px; }
 .home-content-row { grid-template-columns:minmax(0,1fr) 240px; }
 .story-feature.with-cover { display:block; }
 .story-feature>img { width:100%; height:170px; margin-bottom:14px; }
 .home-story-list small { display:none; }
 .home-contribute { flex-wrap:wrap; gap:16px; }
 .footer-top { gap:24px; grid-template-columns:1.2fr 1fr 1fr 1fr; }
 .layout { grid-template-columns:1fr; }
}
@media(max-width:600px) {
 .wrap { padding-left:16px; padding-right:16px; }
 .utility-inner { min-height:30px; font-size:12px; }
 .utility-inner>div { gap:16px; }
 .header-inner { flex-wrap:wrap; padding-top:17px; padding-bottom:16px; gap:15px 12px; }
 .logo img { width:166px; height:auto; }
 .header-progress { display:block; margin-left:auto; font-size:13px; }
 .search { order:3; flex-basis:100%; max-width:none; margin:0; }
 .search input { font-size:15px; }
 .nav-inner { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .nav-inner>a,.nav-more>summary { min-height:45px; padding:10px 4px; font-size:14px; }
 .nav-more>summary { white-space:nowrap; }
 .nav-more>summary .ui-icon { display:none; }
 .nav-inner>a:nth-child(-n+4) { border-bottom:1px solid #f2d9bd; }
 .nav-menu { top:calc(100% + 3px); left:16px; right:16px; max-width:none; width:auto; padding:19px 15px; gap:16px 12px; }
 .nav-menu strong { font-size:14px; }
 .nav-menu a { font-size:14px; padding:10px 0; white-space:normal; }
 .nav-menu-bottom { gap:5px 18px; }
 .main { padding-top:18px; padding-bottom:28px; }
 .home-welcome { margin-bottom:15px; }
 .home-welcome>div { display:block; }
 .home-welcome h1 { font-size:20px; }
 .home-welcome p { font-size:14px; margin-top:4px; }
 .home-welcome>a { display:none; }
 .home-service-row,.home-content-row { grid-template-columns:1fr; gap:16px; margin-bottom:16px; }
 .portal-head { padding:12px 16px; gap:10px; }
 .portal-head h2 { font-size:16px; }
 .portal-head>a { font-size:13px; }
 .service-grid { padding:5px 8px; }
 .service-grid>a { padding:13px 8px; gap:10px; }
 .service-grid strong { font-size:15px; }
 .service-grid small { font-size:12px; }
 .service-grid .ui-icon { width:24px; height:24px; }
 .service-actions { gap:10px 18px; padding:12px 16px; font-size:14px; }
 .home-calendar { border-top-width:1px; }
 .home-calendar .portal-head { display:none; }
 .calendar-body { padding:14px 16px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:0 10px; }
 .today-date { font-size:21px; }
 .today-date>span { font-size:14px; margin-left:10px; }
 .calendar-body>p { grid-column:1; font-size:14px; margin:0; }
 .calendar-body .calendar-lunar { font-size:13px; }
 .calendar-market { grid-column:2; grid-row:1 / 4; padding:10px 0; margin:0; border:0; font-size:14px; }
 .calendar-market>span { margin-left:10px; }
 .home-town-panel { margin-bottom:16px; }
 .home-towns { grid-template-columns:repeat(3,minmax(0,1fr)); padding:12px; gap:8px; }
 .home-towns a { padding:8px 11px; font-size:15px; }
 .story-feature { padding:18px 16px; }
 .story-feature h3 { font-size:18px; }
 .story-feature p { font-size:14px; }
 .story-feature>img { height:190px; }
 .home-story-list { padding:0 16px 10px; }
 .home-story-list>a { padding:12px 0; gap:10px; }
 .home-topics { padding:7px 16px 15px; }
 .section-actions { padding:12px 16px; gap:10px 18px; }
 .home-side-column { gap:16px; }
 .home-local-list,.community-links { padding-left:16px; padding-right:16px; }
 .community-links>div { gap:14px; font-size:14px; }
 .life-categories { padding:15px 16px; gap:12px 22px; }
 .home-contribute { padding:18px; }
 .home-contribute h2 { font-size:16px; }
 .home-contribute .actions { flex-shrink:1; }
 .panel { padding:20px; }
 .page-title,.culture-head h1 { font-size:22px; }
 .culture-head { padding:20px; }
 .prose-wrap { padding:22px; }
 .article-title { font-size:22px; }
 .prose { font-size:16px; }
 .article-meta { font-size:13px; }
 .article-row { padding:18px; gap:13px; }
 .article-row h3 { font-size:16px; }
 .article-row .excerpt { font-size:14px; }
 .article-row .thumb { width:85px; height:74px; }
 .shop { display:grid; grid-template-columns:52px minmax(0,1fr); gap:3px 13px; padding:17px; align-items:start; }
 .shop .thumb { width:52px; height:52px; grid-row:span 2; }
 .shop .tel { grid-column:2; font-size:14px; }
 .shop .meta { display:block; }
 .section-head { flex-wrap:wrap; gap:10px; }
 .filters { gap:10px; }
 .filters>select,.filters>input[type=text] { max-width:100%; min-width:0; }
 .footer { padding:26px 0 20px; }
 .footer-top { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 14px; }
 .footer-about { grid-column:1 / -1; }
 .footer-column h2 { font-size:14px; }
 .footer-column>a { font-size:13px; padding:7px 0; }
 .footer-towns { font-size:13px; gap:10px 16px; }
 .footer-links { gap:10px 16px; }
 .footer-links>span { flex-basis:100%; }
 .footer-copy { line-height:1.9; }
}
@media(max-width:359px) {
 .wrap { padding-left:12px; padding-right:12px; }
 .header-progress { font-size:12px; }
 .logo img { width:151px; }
 .service-grid>a { gap:6px; padding-left:4px; padding-right:4px; }
 .service-grid small { font-size:11px; }
 .calendar-market { font-size:12px; }
 .nav-menu { left:12px; right:12px; padding:16px 12px; gap:10px; }
 .nav-menu a { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { transition:none !important; }
}
