body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-family: Arial, sans-serif;

}
* {
    box-sizing: border-box;
}
.max {
    width: 100%;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #add8e6 10%, white 40%);
    margin-top: 60px;
}

.search {
    width: 1200px;
    /* background: aqua; */
}

.search-breadcrumb {
    padding: 15px 0;
}

.search h4 {
    padding: 15px 0;
}

/* 确保图标和输入框对齐 */
.custom-input-with-icon .input-group-text {
    position: absolute;
    left: 1rem;
    /* 根据需要调整左边距 */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

}

/* 给输入框添加内边距以防止文本覆盖图标 */
.custom-input-with-icon .form-control {
    padding-left: 2.5rem;

    /* 根据图标的宽度调整 */
}

main {
    width: 1200px;
    /* background: white; */
    display: flex;
    justify-content: space-between;
}

.main-left {
    width: 65%;
    /* background: blue; */
    height: auto;
}

.main-right {
    width: 30%;
    /* background: rgb(127, 179, 31); */
    /* height: 300px; */
}

.left-text {
    width: 100%;
    /*height: 100%;*/
    padding-top: 40px;
}

.right-text {
    width: 100%;
    height: 100%;
    padding-top: 40px;
}

.left-text-title {
    width: 100%;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    transition: background 0.3s linear;
    padding: 15px;
}

.info {
    color: #888;
    font-size: 12px;
}

.p {
    font-size: 12px;
    padding-bottom: 30px;
}

.left-text-title-top {
    width: 100%;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    padding-top: 35px;
    transition: background 0.3s linear;
    padding: 15px;
}

.section-title {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title h6 {
    display: inline-block;
    border-bottom: 3px solid #007bff;
    padding-bottom: 5px;
    margin-bottom: -1px;
}

.question-list {
    list-style-type: none;
    padding: 0;
}

.question-list li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 45px;
}

.tag-section {
    margin-top: 20px;
}

.tag-section h6 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tag-section h6 span {
    border-bottom: 3px solid #007bff;
    padding-bottom: 5px;
    margin-bottom: -1px;
}

.tag-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list li {
    /* background-color: #f8f9fa; */
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #ddd;
}

.left-text-title:hover {
    background: #e9f1f1;

    h5 {
        color: #007bff;
    }
}

.left-text-title-top:hover {
    background: #e9f1f1;

    h5 {
        color: #007bff;
    }
}

@media (max-width: 768px) {
    .search{
        width: 100%;
    }
    main{
        width: 100%;
    }
}
