/* =========================================================
   详情页富文本 / 元数据 / 标签样式（真实后台内容渲染）
   2026-07-13
   ========================================================= */

/* 标签与导语 */
.detail-tags { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}
.detail-lead {
    max-width: 780px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.85;
    opacity: .95;
    color: #fff;
}

/* 富文本正文 */
.detail-content { font-size: 17px; color: #333; line-height: 1.9; }
.detail-content p { margin: 0 0 18px; }
.detail-content .rt-h {
    color: #1a1a1a;
    font-weight: 700;
    margin: 32px 0 16px;
    line-height: 1.35;
}
.detail-content h2.rt-h { font-size: 28px; }
.detail-content h3.rt-h { font-size: 24px; }
.detail-content h4.rt-h { font-size: 20px; }
.detail-content a { color: #FF6B35; text-decoration: underline; }
.detail-content strong { color: #1a1a1a; }

/* 通用提示（小程序后台“注：所有项目均为定制...”） */
.rt-notice {
    background: #f8f9fa;
    border-left: 4px solid #FF6B35;
    color: #666;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 22px;
    line-height: 1.6;
}

/* 图片画廊：保持原比例，不强制裁剪 */
.rt-gallery { display: grid; gap: 16px; margin: 24px 0; }
.rt-cols-1 { grid-template-columns: 1fr; }
.rt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rt-img {
    margin: 0; overflow: hidden; border-radius: 12px; background: #f3f3f3;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.rt-img img { width: 100%; height: auto; display: block; transition: transform .45s ease; }
.rt-img:hover img { transform: scale(1.03); }

/* 视频 */
.rt-video { margin: 20px 0; border-radius: 12px; overflow: hidden; background: #000; }
.rt-video video { width: 100%; display: block; }

/* 关联方案胶囊 */
.rt-related {
    display: inline-block;
    margin: 6px 10px 6px 0;
    padding: 8px 18px;
    background: #FFF3ED;
    color: #FF6B35;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
}
.rt-related:hover { background: #FF6B35; color: #fff; }
.rt-mention { color: #FF6B35; font-weight: 600; }

/* 元数据条 */
.detail-metabar { background: #fff; border-bottom: 1px solid #eee; }
.detail-metabar-inner { display: flex; flex-wrap: wrap; gap: 12px 44px; padding: 22px 0; }
.meta-item { display: flex; flex-direction: column; }
.meta-k { font-size: 12px; color: #999; margin-bottom: 5px; letter-spacing: .5px; }
.meta-v { font-size: 16px; font-weight: 700; color: #1a1a1a; }

/* 行内 CTA */
.detail-related-inline {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 22px; border-top: 1px solid #f0f0f0;
}
.btn-ghost {
    display: inline-block;
    border: 2px solid #FF6B35;
    color: #FF6B35;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    text-decoration: none;
    transition: all .2s;
}
.btn-ghost:hover { background: #FFF3ED; }

/* 场地相册标题 */
.detail-album { margin-top: 26px; }

/* =========================================================
   小程序风格详情页头部与信息卡
   ========================================================= */

/* 封面大图 */
.mini-hero { background: #f8f9fa; padding-bottom: 0; }
.mini-hero-img {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #e9ecef;
}
.mini-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 白底标题卡（重叠在封面下方，像小程序详情页） */
.mini-title-card {
    background: #fff;
    border-radius: 22px 22px 0 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding: 32px 36px 26px;
    box-shadow: 0 -8px 30px rgba(0,0,0,.04);
}
.mini-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}
.mini-breadcrumb a { color: #FF6B35; text-decoration: none; }
.mini-breadcrumb span { margin: 0 6px; }
.mini-title-card h1 {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 14px;
}
.mini-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.mini-tag {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 30px;
    font-weight: 600;
}
.mini-tag.orange {
    background: #FFF3ED;
    color: #FF6B35;
}
.mini-views {
    font-size: 13px;
    color: #999;
    margin-left: auto;
}
.mini-summary {
    margin-top: 14px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 信息条 */
.mini-info-bar { background: #fff; border-bottom: 1px solid #f0f0f0; }
.mini-info-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
    padding: 22px 0 24px;
}
.mini-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mini-info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF3ED;
    border-radius: 50%;
    font-size: 16px;
    font-style: normal;
}
.mini-info-item small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.mini-info-item strong {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

/* 内容卡片标题 */
.mini-content-card { padding-top: 34px; }
.mini-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-left: 14px;
    position: relative;
}
.mini-section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 4px;
    border-radius: 3px;
    background: #FF6B35;
}

/* 小程序风格正文：更大的间距，更明显的段落 */
.mini-content { font-size: 17px; color: #444; line-height: 1.9; }
.mini-content p { margin: 0 0 18px; }
.mini-content .rt-h { margin: 34px 0 16px; }

/* 侧边栏 CTA 统一化 */
.side-box.mini-cta p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
}
.side-box.mini-phone .tel {
    font-size: 22px;
    font-weight: 800;
    color: #FF6B35;
    margin: 8px 0 4px;
}
.side-box.mini-phone .time {
    font-size: 13px;
    color: #888;
}

/* 响应式 */
@media (max-width: 768px) {
    .rt-cols-2, .rt-cols-3 { grid-template-columns: 1fr; }
    .detail-metabar-inner { gap: 12px 24px; }
    .detail-content { font-size: 16px; }
    .mini-hero-img { height: 260px; }
    .mini-title-card { padding: 24px 20px 20px; margin-top: -30px; border-radius: 18px 18px 0 0; }
    .mini-title-card h1 { font-size: 24px; }
    .mini-info-inner { gap: 12px 20px; }
    .mini-info-item i { width: 34px; height: 34px; font-size: 14px; }
    .detail-content h2.rt-h { font-size: 24px; }
    .detail-content h3.rt-h { font-size: 20px; }
    .detail-content h4.rt-h { font-size: 18px; }
}
