/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

/* 帖子容器样式 */
#data-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 增加帖子之间的间距 */
}

/* 单个帖子样式 */
.topic-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease-in-out;
    position: relative; /* 为分割线定位 */
}

.topic-item:hover {
    transform: translateY(-5px);
}

/* 标题样式 */
.topic-title {
    font-size: 2.5em; /* 增大标题的字体大小 */
    margin-bottom: 20px;
    color: #ff6347; /* 添加颜色 */
    text-align: center;
    font-weight: bold; /* 加粗标题 */
}

/* 内容样式 */
.topic-content {
    font-size: 1em;
    line-height: 1.6;
    color: #ff6347; /* 添加颜色 */
}

/* 图片样式 */
.topic-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 5px;
}

/* 音频样式 */
audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

/* 分割线样式 */
.topic-item + .topic-item::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0; /* 调整分割线的上下间距 */
}

/* 响应式布局 */
@media (max-width: 600px) {
    .topic-title {
        font-size: 2em; /* 在手机屏幕上适当减小标题字体大小 */
    }

    .topic-content {
        font-size: 0.9em;
    }
}
