/* 数据治理实施模板详情页样式 */

/* ==================== 页面主布局 ==================== */
.lsd-template-detail-container {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 60px;
}

/* 左侧主内容区 */
.lsd-template-detail-main {
    flex: 1;
    min-width: 0;
}

/* 右侧边栏 */
.lsd-template-detail-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ==================== 面包屑导航 ==================== */
.lsd-template-breadcrumb {
    padding: 0 0 16px 0;
    font-size: 14px;
    color: #6B7280;
}

.lsd-template-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.lsd-template-breadcrumb a:hover {
    color: #0069EA;
}

.lsd-template-breadcrumb .separator {
    margin: 0 8px;
    color: #9CA3AF;
}

.lsd-template-breadcrumb .current {
    color: #1F2937;
    font-weight: 500;
}
.pc-gov-banner {
  height: 300px !important;
}
/* ==================== 页面标题 ==================== */
.lsd-template-page-title {
    font-size: 20px;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 24px;
}

/* ==================== 图片预览区域 ==================== */
.lsd-template-preview-section {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    height: 920px;
    overflow: hidden;
    position: relative;
}

.lsd-template-preview-wrap {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 自定义滚动条样式 */
.lsd-template-preview-wrap::-webkit-scrollbar {
    width: 6px;
}

.lsd-template-preview-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lsd-template-preview-wrap::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.lsd-template-preview-wrap::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.lsd-template-preview-list {
    display: flex;
    align-items: center;
    background-color: #F9FAFB;
    flex-direction: column;
}

.lsd-template-preview-item {
    position: relative;
    width: 90%;
    margin-bottom: 10px;
}

.lsd-template-preview-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.lsd-template-preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 最后一张图片容器（用于定位下载按钮） */
.lsd-template-preview-item-last {
    position: relative;
}

/* 悬浮下载按钮 */
.lsd-template-download-btn-overlay {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0069EA;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.lsd-template-download-btn-overlay:hover {
    background: #0052b8;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 105, 234, 0.4);
}

.lsd-template-download-btn-overlay svg {
    width: 16px;
    height: 16px;
}

/* ==================== 右侧边栏卡片 ==================== */
.lsd-template-sidebar-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.lsd-template-sidebar-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 12px;
}

.lsd-template-sidebar-card-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.lsd-template-sidebar-card-link {
    color: #0069EA;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lsd-template-sidebar-card-link:hover {
    text-decoration: underline;
}

.lsd-template-sidebar-card-link .iconfont {
    font-size: 12px;
}

/* 侧边栏按钮 */
.lsd-template-sidebar-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0069EA;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.lsd-template-sidebar-card-btn:hover {
    color: #0052b8;
}

.lsd-template-sidebar-card-btn svg {
    width: 14px;
    height: 14px;
}

/* 侧边栏列表 */
.lsd-template-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lsd-template-sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E5E7EB;
}

.lsd-template-sidebar-list li:last-child {
    border-bottom: none;
}

.lsd-template-sidebar-list a {
    color: #4B5563;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.lsd-template-sidebar-list a:hover {
    color: #0069EA;
}

/* ==================== 相关解决方案列表 ==================== */
.lsd-template-solution-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lsd-template-solution-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.lsd-template-solution-item:hover {
    background: #F0F7FF;
}

.lsd-template-solution-icon {
    width: 32px;
    height: 32px;
    background: #F0F7FF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0069EA;
    font-size: 16px;
    flex-shrink: 0;
}
.lsd-template-solution-icon svg {
    color: #0069EA !important;
    width: 18px !important;
}
.lsd-template-solution-name {
    font-size: 14px;
    color: #1F2937;
}

/* ==================== 赋能体系区域 ==================== */
.lsd-template-empower-section {
    background: #F9FAFB;
}

.lsd-template-empower-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.lsd-template-empower-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px;
}

.lsd-template-empower-card-title {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 4px;
}

.lsd-template-empower-card-desc {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
}

.lsd-template-empower-card-link {
    color: #0069EA;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lsd-template-empower-card-link:hover {
    text-decoration: underline;
}

.lsd-template-empower-card-link .iconfont {
    font-size: 12px;
}

/* ==================== 响应式适配 ==================== */
@media screen and (max-width: 1024px) {
    .lsd-template-detail-container {
        flex-direction: column;
    }

    .lsd-template-detail-sidebar {
        width: 100%;
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .lsd-template-preview-section {
      height: 600px;
    }
    .lsd-template-detail-container {
        padding-top: 16px;
        padding-bottom: 40px;
    }

    .lsd-template-breadcrumb {
        font-size: 12px;
        padding: 0 0 12px 0;
    }

    .lsd-template-preview-wrap {
        max-height: calc(100vh - 150px);
    }

    .lsd-template-download-btn-overlay {
        padding: 10px 20px;
        font-size: 13px;
        bottom: 16px;
    }

    .lsd-template-sidebar-card {
        padding: 16px;
    }

    .lsd-template-empower-card {
        padding: 12px;
    }
}
