/* 基础字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.box {
    display: flex;
    gap: 40px;
    overflow: hidden;
    margin-top: 20px;
}

/* 字体层级设置 */
h4 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

p {
    font-size: 15px;
    color: #34495e;
}

.box-left,
.box-right {
    overflow: hidden;
    flex: 1;
}

.item1,
.item2 {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item2 span {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.img {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.img img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.text {
    margin-top: 15px;
    background-color: #f9fafc;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.text div {
    margin-bottom: 15px;
}

.text-content {
    margin-top: 15px;
    background-color: #f9fafc;
    padding: 20px;
    border-radius: 8px;
}

.text-content h4 {
    font-size: 18px;
    color: #2c3e50;
}

.when>div {
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.when>div>div:first-child {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f9fafc;
}

/* 展开项的悬停效果 */
.when>div:hover,
.when>div.active:hover {
    background: #f5f7fa;
    border-color: #d0d7dc;
}

.when p {
    padding: 0 20px 20px;
    display: none;
    font-size: 14px;
    color: #4a5568;
}

.when>div.active p {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item2 .img {
    margin-bottom: 20px;
}

.right-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e1e1e1;
}

.right-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 标题栏样式 */
.contentS-top {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.contentS-top p {
    font-size: 28px;
    margin-top: 10px;
    color: #0566c5;
    font-weight: 700;
}

.contentS-top div {
    width: 60px;
    height: 4px;
    background-color: #00cc88;
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .box {
        flex-direction: column;
        gap: 20px;
    }

    .item1, .item2 {
        padding: 15px;
    }

    .contentS-top p {
        font-size: 24px;
    }
}