/* 區域專屬頁（2026-11-13）：只在 /area 與 /area/{slug} 載入。沿用 style.css 的色票與元件，這裡只補區域頁特有的區塊。 */
.area-h1-sub { display: block; font-size: .5em; font-weight: 500; opacity: .85; margin-top: 10px; letter-spacing: .02em; }
.area-preview-note { background: #fff7ed; color: #9a3412; font-size: .85rem; padding: 10px 0; border-bottom: 1px solid #fed7aa; }

.area-h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; color: var(--ink); line-height: 1.3; margin-bottom: 24px; }
.area-h2--inline { margin-bottom: 0; }
.area-prose { color: var(--gray-700); line-height: 1.95; font-size: 1rem; }
.area-prose p { margin: 0 0 1em; }
.area-prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.area-more { margin-top: 28px; text-align: center; }
.area-more a { color: var(--blue-600); font-weight: 700; }

/* 介紹＋行情摘要 */
.area-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.area-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.area-stats { background: var(--off); border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 24px; }
.area-stats-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.area-stats dl { margin: 0; }
.area-stats dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--gray-200); }
.area-stats dt { color: var(--gray-500); font-size: .9rem; }
.area-stats dd { margin: 0; font-weight: 800; color: var(--ink); text-align: right; }
.area-stats-note { font-size: .78rem; color: var(--gray-500); margin-top: 12px; line-height: 1.6; }

/* 物件 */
.area-props { background: var(--off); }
.area-props .sch-results-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.area-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.area-tab { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--gray-300); color: var(--gray-700); font-weight: 700; font-size: .9rem; background: var(--white); }
.area-tab.active { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }

/* 成交案例 */
.area-case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.area-case { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md); overflow: hidden; }
.area-case-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.area-case-img img { width: 100%; height: 100%; object-fit: cover; }
.area-case-body { padding: 16px 18px 18px; }
.area-case-cat { display: inline-block; font-size: .72rem; font-weight: 700; color: #c2410c; background: #fff7ed; border-radius: 6px; padding: 2px 8px; }
.area-case-title { font-size: 1rem; font-weight: 800; margin: 8px 0 6px; line-height: 1.5; color: var(--ink); }
.area-case-meta { font-size: .85rem; color: var(--gray-500); margin: 0; }

/* 在地團隊 */
.area-team { background: var(--off); }
.area-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.area-branch { background: var(--blue-900); color: var(--white); border-radius: var(--r-md); padding: 22px; }
.area-branch h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.area-branch p { margin: 0 0 6px; color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.6; }
.area-branch a { color: var(--orange-lt); font-weight: 800; font-size: 1.05rem; }
.area-branch-svc { color: var(--orange-lt) !important; font-weight: 700; }
.area-agent { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 16px; }
.area-agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; }
.area-agent h3 { font-size: 1rem; font-weight: 800; margin: 0 0 4px; }
.area-agent p { margin: 0; font-size: .85rem; color: var(--gray-500); line-height: 1.5; }
.area-agent-spec { margin-top: 4px !important; color: var(--gray-600) !important; }

/* 常見問題 */
.area-faq-list { max-width: 860px; }
.area-faq-list details { border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: var(--white); margin-bottom: 12px; }
.area-faq-list summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 800; color: var(--ink); position: relative; list-style: none; line-height: 1.6; }
.area-faq-list summary::-webkit-details-marker { display: none; }
.area-faq-list summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.4rem; font-weight: 400; }
.area-faq-list details[open] summary::after { content: '−'; }
.area-faq-list .area-prose { padding: 0 20px 18px; font-size: .95rem; }

/* 總覽 */
.area-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.area-hub-card { display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh-sm); transition: box-shadow .2s, transform .2s; color: inherit; }
.area-hub-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.area-hub-city { font-size: .75rem; font-weight: 700; color: #c2410c; letter-spacing: .1em; }
.area-hub-name { font-size: 1.4rem; font-weight: 900; margin: 6px 0 10px; color: var(--ink); }
.area-hub-count { font-weight: 700; color: var(--gray-700); margin: 0 0 8px; }
.area-hub-hl { font-size: .85rem; color: var(--gray-500); margin: 0 0 16px; line-height: 1.6; }
.area-hub-go { color: var(--blue-600); font-weight: 800; font-size: .9rem; }

@media (max-width: 900px) {
  .area-intro-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 主視覺：物件查詢頁的背景圖內含「精選物件」字樣，區域頁改用純色漸層，避免文字重疊 */
.area-hero { background: radial-gradient(120% 140% at 85% 0%, var(--blue-700) 0%, var(--blue-900) 60%); }
.area-hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px); pointer-events: none; }
.area-hero .sch-hero-inner { position: relative; z-index: 1; }
.area-hero { min-height: 400px; padding-bottom: 40px; }
@media (max-width: 600px) {
  .area-team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .area-branch { grid-column: 1 / -1; }
  .area-agent { padding: 12px; }
}

/* ── 主題關鍵字頁（/kaohsiung/*，2026-11-14）── */
.lp-summary-wrap { padding-bottom: 0; }
.lp-summary { background: var(--blue-50); border: 1px solid var(--blue-100); border-left: 5px solid var(--blue-600); border-radius: var(--r-md); padding: 24px 28px; }
.lp-summary .area-h2 { margin-bottom: 12px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.lp-summary ul { margin: 0; padding-left: 1.2em; color: var(--gray-700); line-height: 1.9; }
.lp-summary strong { color: var(--ink); }
.lp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--gray-200); border-radius: var(--r-md); }
.lp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.lp-table th, .lp-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); text-align: right; white-space: nowrap; }
.lp-table thead th { background: var(--off); color: var(--gray-600); font-weight: 700; font-size: .85rem; }
.lp-table th[scope="row"], .lp-table thead th:first-child { text-align: left; }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table a { color: var(--blue-600); font-weight: 700; }
.lp-guide .lp-prose { max-width: 860px; }
.lp-prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 900; color: var(--ink); margin: 8px 0 16px; line-height: 1.4; }
.lp-prose h2:not(:first-child) { margin-top: 40px; }
.lp-prose h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 24px 0 8px; }
.lp-prose ol, .lp-prose ul { padding-left: 1.4em; margin: 0 0 1em; }
.lp-prose li { margin: 6px 0; }
.lp-prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .92rem; }
.lp-prose th, .lp-prose td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; vertical-align: top; }
.lp-prose thead th { background: var(--off); }
.lp-prose .lp-table-scroll table { min-width: 620px; margin: 0; }
.lp-why { color: var(--gray-700); line-height: 1.9; margin: -8px 0 24px; max-width: 860px; }
.lp-related .area-chips a { color: var(--blue-700); }
.lp-def { color: var(--ink); font-size: 1.02rem; line-height: 1.9; margin: 0 0 10px; font-weight: 500; }
.lp-pains-wrap { padding-bottom: 0; }
.lp-pains { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lp-pain { background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid #c2410c; border-radius: var(--r-md); padding: 20px; }
.lp-pain h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.lp-pain-why { color: var(--gray-600); font-size: .92rem; line-height: 1.75; margin: 0 0 10px; }
.lp-pain-fix { color: var(--gray-700); font-size: .92rem; line-height: 1.75; margin: 0; background: var(--off); border-radius: var(--r-sm); padding: 10px 12px; }
.lp-check th, .lp-check td { white-space: normal; text-align: left; vertical-align: top; line-height: 1.7; }
.lp-check th[scope="row"] { white-space: nowrap; color: var(--ink); }
.lp-check { min-width: 640px; }
.lp-sources { padding-bottom: 0; }
.lp-source-list { margin: 0 0 16px; padding-left: 1.2em; line-height: 2; color: var(--gray-700); }
.lp-source-list a { color: var(--blue-600); font-weight: 700; }
.lp-reviewed { font-size: .85rem; color: var(--gray-600); border-top: 1px solid var(--gray-200); padding-top: 12px; margin: 0; }

/* 2026-11-15 區域總覽說明 */
.area-hub-guide { max-width: 860px; margin: 48px auto 0; }
.area-hub-guide h2 { font-size: 1.35rem; margin: 0 0 14px; }
.area-hub-guide p { line-height: 1.85; margin: 0 0 12px; color: var(--gray-700, #374151); }
.area-hub-guide a { color: var(--orange-text, #c2410c); font-weight: 700; }
