/* ========== 帮助面板整体容器 ========== */
#description-container {
    max-width:1190px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

/* ========== 每个折叠卡片 ========== */
.desc-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid #eef2f6;
}

.desc-item.open {
    box-shadow: 0 6px 24px rgba(0, 80, 160, 0.12);
    border-color: #d0ddea;
}

/* ========== 折叠标题栏（仅直接子元素） ========== */
.desc-item > .desc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    background: #f8fafd;
    border-bottom: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s;
    user-select: none;
}

.desc-item.open > .desc-header {
    background: #eef3fa;
    border-bottom: 1px solid #d9e2f0;
}

.desc-item > .desc-header:hover {
    background: #f0f4fc;
}

.desc-item > .desc-header .title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a2b4c;
    letter-spacing: 0.3px;
}

/* 右侧箭头图标 */
.desc-item > .desc-header .arrow {
    display: inline-block;
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.desc-item > .desc-header .arrow::before,
.desc-item > .desc-header .arrow::after {
    content: "";
    position: absolute;
    background: #5b6e8c;
    border-radius: 2px;
    transition: background 0.2s;
}

.desc-item > .desc-header .arrow::before {
    top: 50%;
    left: 6px;
    right: 6px;
    height: 2px;
    margin-top: -1px;
}

.desc-item > .desc-header .arrow::after {
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 2px;
    margin-left: -1px;
}

/* 打开状态箭头旋转 90 度 */
.desc-item.open > .desc-header .arrow {
    transform: rotate(90deg);
}

.desc-item.open > .desc-header .arrow::before,
.desc-item.open > .desc-header .arrow::after {
    background: #2d4b7c;
}

/* ========== 子标题（不能点击展开） ========== */
.desc-item .desc-body .desc-header {
    font-size: 0.98rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 8px 0 4px;
    background: none;
    border: none;
    cursor: default;
    display: block;
    margin-top: 12px;
}

/* ========== 描述体（折叠内容） ========== */
.desc-body {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    background: #fff;
}

.desc-item.open .desc-body {
    /* 高度由 JS 动态设置，此处不写死 */
}

.desc-body .content,
.desc-body .extra-content,
.desc-body .subcontent-container {
    padding: 12px 24px 18px;
    color: #3b4252;
    font-size: 0.95rem;
    line-height: 1.6;
}

.desc-body .content:first-child {
    padding-top: 20px;
}

.desc-body .content:last-child {
    padding-bottom: 22px;
}

/* 副标题（subtitle） */
.subtitle {
    font-size: 0.8rem;
    color: #596b88;
    font-style: italic;
    padding: 0 24px 10px;
    margin-top: -6px;
    border-bottom: 1px dashed #e0e5ec;
}

/* 内容分类标题 */
.contenttitle {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f2a44;
    margin-top: 8px;
    padding: 0 24px;
}

.contentsubtitle {
    font-size: 0.9rem;
    color: #5b6f8c;
    padding: 4px 24px 12px;
    border-bottom: 1px solid #eef1f7;
    margin-bottom: 8px;
}

/* 子内容区块 */
.subcontent-container {
    border-top: 1px solid #f0f3f8;
    padding: 12px 24px 8px;
}

.subcontent-header {
    font-weight: 700;
    color: #0f2b5c;
    margin-bottom: 6px;
    font-size: 0.96rem;
}

/* 额外补充说明 */
.extra-content {
    color: #4a5568;
    font-size: 0.9rem;
    border-left: 3px solid #b0c8e0;
    margin: 12px 24px 16px;
    padding: 10px 16px;
    background: #f9fbfd;
    border-radius: 6px;
}

/* 加粗文字 */
.font-bold {
    font-weight: 700;
    color: #162b4a;
}

/* 适应小屏幕 */
@media (max-width: 768px) {
    #description-container {
        padding: 15px 10px 30px;
    }

    .desc-item > .desc-header {
        padding: 14px 18px;
    }

    .desc-item > .desc-header .title {
        font-size: 1rem;
    }

    .desc-body .content,
    .desc-body .extra-content,
    .desc-body .subcontent-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}