/* 默认样式适用于电脑端 */
.item {
    position: relative;
    float: right;
    margin-right: 20px;
    margin-bottom: 34px;
}

h1 {
    margin: 0;
    font-size: 40px;
    margin-top: 24px;
}

body {
    font-family: 'Bree Serif', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll; /* 始终显示垂直滚动条 */
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;/*1500*/
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 100px;
}

.dropbtn {
    background-color: transparent;
    color: black;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, +28%);
}

.dropdown-content .flex-container {
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: center;
}

.dropdown-content a{
    padding: 12px 16px;
}
a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: transparent;
    border: none;
    white-space: nowrap;
}


.dropdown-content a:hover {
    color: green;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.green {
    color: green;
}

.imglogo {
    position: relative;
    width: 80px;
    height: auto;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 20px;
}

.imglogobottom {
    position: relative;
    margin-top: 6px;
    width: 80px;
    height: auto;
}

.image-container {
    position: relative;
    margin-top: 30px; /* 保持距离为30px */
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start; /* 修改为flex-start以使子项在列表标题下方 */
    margin-top: 40px;
    margin-right: 40px; /* 根据需要调整此边距 */
    position: relative; /* 添加相对定位，以便后续绝对定位的使用 */
}

.column {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-left: 20px; /* 根据需要调整此边距 */
}

.list-title {
    font-size: 20px; /* 根据需要调整此字体大小 */
    margin-right: 100px;
}

.sub-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* 列表项垂直排列 */
    margin-left: 14px;

}

.sub-list li {
    font-size: 14px;
    margin-bottom: 4px; /* 根据需要调整此边距 */
    margin-top: 6px;
}

.spanarrow{
    font-size: 24px;
}

.line {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1px;
    margin-top: 10px;
    border-left: 1px  solid black; /* 使用border属性来绘制细线 */
    height: 46px;
}

.title{
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;

}

.title h2{
    font-size: 34px;
}
.line1,.line2 {
    flex-grow: 1;
    height: 1.5px;
    background-color: grey;
    margin: 0 36px; /* 调整线条的宽度，可以根据需要调整 */
}

.p1,.p2{
    position: relative;
    margin-top: -20px;
    font-size: 24px;
    text-align: justify;
    line-height: 1.3; /* 设置行距为1.5倍行高，可以根据需要调整 */
}
.p1{
    margin-left: 48px;
    margin-right: 48px;
}
img {
    width: 40%;
    height: auto;
    margin-left: 48px;
    margin-top: 68px;
    display: block;
}

.p2{
    display: flex;
    position: relative;
    align-items: center;
}
h3{
    margin-left: 28px;
    margin-top: -60px;
}
.p2 p{
    margin-left: 28px;
    margin-right: 48px;
    margin-top: -20px;
    flex-grow: 1; /* 让文字占满剩余空间 */
}
.p2content {
    display: flex;
    flex-direction: column; /* 竖直方向布局，文字和按钮堆叠 */
}
.readmorebtn {
    margin-top: auto; /* 将按钮顶到底部 */
    align-self: flex-end; /* 将按钮靠右对齐 */
    margin-right: 48px;
    background-color: #d7d7d7;
    color: #000000;
    border: none;
    padding: 12px 20px; /* 调整按钮的长宽 */
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
}

.imglogobottom {
    position: relative;
    margin-top: 6px;
    width: 80px;
    height: auto;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start; /* 修改为flex-start以使子项在列表标题下方 */
    margin-top: 60px;
    margin-right: 40px; /* 根据需要调整此边距 */
    position: relative; /* 添加相对定位，以便后续绝对定位的使用 */
}

.column {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-left: 20px; /* 根据需要调整此边距 */
}

.list-title {
    font-size: 20px; /* 根据需要调整此字体大小 */
    margin-right: 100px;
}

.sub-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* 列表项垂直排列 */
    margin-left: 14px;

}

.sub-list li {
    font-size: 14px;
    margin-bottom: 4px; /* 根据需要调整此边距 */
    margin-top: 6px;
}
.pdiv{
    margin-top: 68px;
}
.pdiv p {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 0.5; /* 设置行距为1.5倍行高，可以根据需要调整 */
    color: grey;
    font-size: 14px;
}

/*phone*/
@media only screen and (max-width: 600px) {
    /* 在屏幕宽度小于等于600px时应用以下样式 */
    /*基本框架代码*/
    .item {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 24px;
        margin-top: 12px;
    }

    body {
        overflow-x: visible;
        overflow-y: scroll; /* 始终显示垂直滚动条 */
    }

    .dropdown {
        margin-right: 0px;
    }

    .dropbtn {
        margin-left: 10px;
        font-size: 20px;
    }
    .spanarrow{
        font-size: 20px;
    }
    .dropdown-content {
        min-width: 120px;
        transform: translate(-30%, 10%);
        font-size: 12px;
    }

    .dropdown-content .flex-container {
        flex-direction: row;
        justify-content: space-between;  /* 在水平方向上平均分布子元素 */
    }
    .dropdown-content a {
        padding: 8px 10px;  /* 调整下拉项的内边距 */
    }
    .imglogo {
        width: 60px;
        margin-top: 10px;
    }
    .image-container {
        margin-top: 6px; /* 保持距离为30px */
    }

    .imglogobottom {
        width: 50%; /* 相对宽度，按比例缩小 */
        max-width: 50px; /* 设置最大宽度，防止过度缩小 */
        margin-top: 4px;
    }

    .container {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 20px;
        margin-right: 20px;
    }

    .column {
        flex-direction: row;
        margin-top:6px;
        margin-left: -20px;
    }

    .list-title {
        margin-right: 6px;
        font-size: 16px;
    }

    .sub-list {
        margin-left: 4px;
    }

    .sub-list li {
        font-size: 10px;
        margin-bottom: 2px; /* 调整边距 */
        margin-top: 2px; /* 调整边距 */
    }

    .pdiv {
        margin-top: 20px; /* 调整上边距 */
    }

    .pdiv p {
        margin-top: 0;
        line-height: 0.5;
        font-size: 8px;
    }

    .line {
        margin-top: 8px; /* 调整上边距 */
        height: 26px; /* 调整线的高度 */
    }

    /*other*/
    .title {
        flex-direction: column; /* 垂直方向布局，元素堆叠 */
        align-items: flex-start; /* 左对齐 */
        margin-top: 10px; /* 根据需要调整上边距 */
    }

    .title h2 {
        font-size: 28px; /* 根据需要调整字体大小 */
        margin-bottom: 0px; /* 根据需要调整下边距 */
        margin-top: 0; /* 不再需要负上边距 */
        margin-left: auto; /* 居中 */
        margin-right: auto; /* 居中 */
        text-align: center; /* 文本居中对齐 */
    }
    /*none line*/
    .line1, .line2 {
        flex-grow: 1;
        height: 1.5px;
        background-color: grey;
        margin: 0 36px; /* 调整线条的宽度，可以根据需要调整 */
        display: flex; /* 显示线条 */
    }

    .p1, .p2 {
        margin-top: 0; /* 移除上边距 */
        font-size: 18px; /* 根据需要调整字体大小 */
    }

    h3,.p1 {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-right: 20px; /* 根据需要调整右边距 */
    }
    h3{
        margin-top: 20px;
        margin-bottom: -20px;
    }

    img {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-top: 10px; /* 根据需要调整上边距 */
        width: 90%; /* 根据需要调整图片宽度 */
    }

    .p2 {
        flex-direction: column; /* 移动端文字和按钮垂直排列 */
        align-items: flex-start; /* 左对齐 */
    }

    .p2 p {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-right: 20px; /* 根据需要调整右边距 */
        margin-top: 20px; /* 根据需要调整上边距 */
    }

    .readmorebtn {
        margin-top: 20px; /* 根据需要调整上边距 */
        align-self: stretch; /* 按钮宽度充满父容器 */
        margin-left: 20px;
        margin-right: 20px; /* 根据需要调整右边距 */
    }
}
