/* ============================================================
   单页模块样式 - 插件专用 (page_detail_addons.css)
   ============================================================ */

/* 面包屑导航 */
.breadcrumb-nav {
    background: transparent;
    border-bottom: none;
    padding: 15px 0;
}

.breadcrumb {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    line-height: 1;
}

.breadcrumb-item {
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.breadcrumb-item a {
    color: #666;
    line-height: 1;
}

.breadcrumb-item a:hover {
    color: #1890ff;
}

.breadcrumb-item.active {
    color: #333;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    margin: 0 6px;
    color: #ccc;
    line-height: 1;
}

/* 页面头部 */
.page-header {
    position: relative;
    height: 300px;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #555;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-desc {
    font-size: 16px;
    opacity: .85;
}

/* 页面内容区 */
.page-content-section {
    padding: 10px 0 40px;
}

.page-content {
    padding: 20px 0 40px;
    background: #f5f5f5;
}

/* 插件专用布局 - 单栏全宽 */
.page-layout {
    display: block;
    width: 100%;
}

/* 主内容 - 全宽 */
.page-main {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.page-body {
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.page-content-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1890ff;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

.page-body p {
    margin-bottom: 15px;
}

.page-body h2,
.page-body h3,
.page-body h4 {
    margin: 25px 0 12px;
    font-weight: 600;
    color: #333;
}

.page-body h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.page-body h3 {
    font-size: 18px;
}

.page-body ul,
.page-body ol {
    margin: 10px 0 15px 20px;
}

.page-body li {
    margin-bottom: 5px;
}

.page-body blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #1890ff;
    border-radius: 0 4px 4px 0;
    color: #666;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.page-body th,
.page-body td {
    padding: 10px 15px;
    border: 1px solid #e8e8e8;
    text-align: left;
    font-size: 14px;
}

.page-body th {
    background: #fafafa;
    font-weight: 600;
    color: #666;
}

.page-body a {
    color: #1890ff;
    text-decoration: underline;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state p {
    font-size: 16px;
    margin-top: 10px;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }

    .page-header {
        height: 200px;
        padding-top: 60px;
    }

    .page-content {
        padding: 20px 0;
    }

    .page-main {
        padding: 20px;
    }
}
