/* ============================================================
   名寺古刹栏目样式
   复用文化解析栏目基础样式（articles.css），在此补充专属元素
   ============================================================ */

@import url('articles.css?v=20260826');

/* ---------- 卡片头图 ---------- */
.temple-card-img {
    margin: -24px -24px 18px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #F5EFE2;
}

.temple-card-img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ---------- 详情页头图 ---------- */
.temple-hero {
    margin: 24px 0 6px;
    text-align: center;
}

.temple-hero img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #F0E8D8;
}

.temple-hero-cap {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #B7A67A;
    letter-spacing: 1px;
}

/* ---------- 分类徽章 ---------- */
.temple-type-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 12px;
}

.temple-type-badge.buddhist {
    color: #8B6914;
    background: rgba(212, 175, 55, 0.12);
}

.temple-type-badge.taoist {
    color: #4A6741;
    background: rgba(122, 158, 112, 0.15);
}

/* ---------- 地域与朝代 ---------- */
.temple-region {
    font-size: 12px;
    color: #bbb;
}

.temple-era {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #A08B55;
}

/* ---------- 卡片内标题 ---------- */
.temple-name {
    display: block;
    margin-top: 14px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}

/* ---------- 筛选区（复用文创页筛选按钮结构，微调间距） ---------- */
.temples-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

/* ---------- 详情页头部 ---------- */
.temple-detail-head .temple-name {
    font-size: 26px;
    margin-top: 16px;
}

/* ---------- 文内配图 ---------- */
.temple-photo {
    margin: 22px 0;
    text-align: center;
}

.temple-photo img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #F0E8D8;
}

.temple-photo figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: #B7A67A;
    letter-spacing: 1px;
}

/* ---------- 文末祈福链接 ---------- */
.temple-pray {
    margin-top: 24px;
    text-align: center;
}

.temple-pray-btn {
    display: inline-block;
    padding: 12px 34px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #8B6914;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid #D4AF37;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.temple-pray-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    transform: translateY(-2px);
}

/* ---------- 文末导航 ---------- */
.temple-nav {
    margin-top: 26px;
    text-align: center;
}

.temple-nav-btn {
    display: inline-block;
    padding: 12px 34px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #C9A227, #A67C1B);
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(166, 124, 27, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.temple-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(166, 124, 27, 0.4);
}

.temple-nav-addr {
    margin-top: 12px;
    font-size: 13px;
    color: #8a7a55;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 600px) {
    .temple-card-img {
        margin: -24px -24px 14px;
    }

    .temple-card-img img {
        height: 160px;
    }

    .temple-name {
        font-size: 19px;
    }

    .temple-detail-head .temple-name {
        font-size: 22px;
    }
}
