/* 寺庙导览板块补充样式（zen.css 之外的新组件），版本随模板 ?v= 一起升 */
.temple-search { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; }
.temple-search input[type="text"] {
    flex: 1; max-width: 420px; padding: 9px 14px; border: 1px solid #c8b89a;
    border-radius: 6px; font-size: 14px; color: #3a3a3a; outline: none;
}
.temple-search input[type="text"]:focus { border-color: #6b5b3e; }
.temple-search-clear { font-size: 13px; color: #999; text-decoration: none; }
.temple-search-clear:hover { color: #a0522d; }

.temple-card-img { height: 150px; object-fit: cover; border-radius: 6px 6px 0 0; margin: -18px -18px 12px; width: calc(100% + 36px); display: block; }
.temple-card { overflow: hidden; }

.temple-disclaimer { margin-top: 8px; font-size: 12px; color: #b0a58f; }

.map-nav-btn { display: block; text-align: center; margin-top: 10px; text-decoration: none; }

/* 地图导航面板：纯 CSS 自绘（不嵌高德分享页 iframe，其推广干扰多，2026-08-27 用户要求去除） */
.temple-map-panel {
    position: relative; overflow: hidden; border-radius: 8px; padding: 22px 16px 16px;
    text-align: center; border: 1px solid #e8e0d0;
    background:
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(160,140,94,.12) 23px 24px),
        repeating-linear-gradient(90deg, transparent 0 23px, rgba(160,140,94,.12) 23px 24px),
        linear-gradient(135deg, #f7f3ea 0%, #efe8d8 55%, #e7ddc8 100%);
}
.temple-map-panel::before {
    content: ""; position: absolute; top: -30%; right: -20%; width: 70%; height: 90%;
    background: radial-gradient(closest-side, rgba(176,196,168,.35), transparent);
}
.temple-map-pin {
    width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); background: #c0392b; position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.temple-map-pin::after {
    content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff;
}
.temple-map-name { font-size: 17px; font-weight: 600; color: #5a4a30; }
.temple-map-loc { font-size: 13px; color: #8a7a5c; margin-top: 4px; padding: 0 4px; word-break: break-all; }
.temple-map-coord { font-size: 12px; color: #b0a58f; margin-top: 4px; font-family: Consolas, monospace; }
.temple-map-note { font-size: 12px; color: #b0a58f; margin-top: 4px; }
.temple-map-panel .map-nav-btn { margin-top: 14px; }

.temple-nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.temple-nearby-card {
    display: flex; flex-direction: column; gap: 4px; background: #faf7f0;
    border: 1px solid #e8e0d0; border-radius: 8px; padding: 10px; text-decoration: none;
}
.temple-nearby-card:hover { border-color: #c8b89a; }
.temple-nearby-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 5px; }
.temple-nearby-name { font-size: 14px; font-weight: 600; color: #6b5b3e; }
.temple-nearby-loc { font-size: 12px; color: #999; }

/* gs 老模板（不继承 base/zen.css）里的导览板块 */
.gs-temple-section { margin: 14px 0; }
.gs-temple-head { overflow: hidden; margin-bottom: 8px; }
.gs-temple-head h2 { font-size: 18px; color: #6b5b3e; float: left; margin: 0; }
.gs-temple-head .gs-temple-more { float: right; color: #a08c5e; font-size: 14px; text-decoration: none; }
.gs-temple-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gs-temple-grid a { display: block; background: #fff; border: 1px solid #e8e0d0; border-radius: 6px; padding: 8px; text-decoration: none; }
.gs-temple-grid a:hover { border-color: #c8a25a; }
.gs-temple-grid img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; }
.gs-temple-grid p { margin: 6px 2px 2px; font-size: 14px; color: #444; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gs-temple-grid span { display: block; font-size: 12px; color: #999; text-align: center; margin-bottom: 2px; }
