/* #region */
.topic {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
    background: #fff;
    user-select: none;
}

.topic .img {
    width: auto;
}

.topic h1 {
    color: #ff8686;
    font-size: 24px;
    font-weight: bold;
}

.topic p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 20px;
}

.topic p:nth-child(2) {
    margin-top: 26px;
}
/* #endregion */

/* #region 搜索栏 */
.topic-search {
    height: 60px;
}

.topic-search .box {
    position: relative;
    display: flex;
    align-items: center;
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    margin-top: -18px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.05);
}

.topic-search .box input {
    position: relative;
    box-sizing: border-box;
    width: 85%;
    height: 100%;
    padding: 0;
    padding-left: 80px;
    border: 0;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.topic-search .box::before {
    position: absolute;
    z-index: 100;
    left: 20px;
    width: 36px;
    height: 36px;
    content: "";
    background: url(/pgd/static/icon/qiuyi/search.png) no-repeat center center;
}

.topic-search .box button {
    box-sizing: border-box;
    width: 15%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    background: #ff8686;
    border: 0;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: 0.3s;
}

.topic-search .box button:hover {
    background: #ff6666;
    transition: 0.3s;
}

.topic-search .box button:active {
    border: 1px solid #ff8686;
    transition: 0.3s;
}
/* #endregion */

/* #region 全部话题 */
.all-topic {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
}

.all-topic .title {
    gap: 70px;
}

.all-topic .title h3 {
    font-size: 20px;
    font-weight: 400;
}

.all-topic .title h3::after {
    left: 0;
    width: 100%;
    height: 3px;
}

.all-topic .index {
    display: flex;
    gap: 27px;
    font-size: 14px;
}

.all-topic .index ul {
    display: flex;
    gap: 27px;
    flex: 1;
}

.all-topic .index span {
    cursor: default;
}

.all-topic .index a {
    display: block;
    color: #808080;
    transition: .3s;
}

.all-topic .index a:hover {
    color: #ff8686;
    transition: .3s;
}

.all-topic .list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.all-topic .list li {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 380px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
}

.all-topic .img {
    overflow: hidden;
    width: 88px;
    height: 88px;
    border-radius: 12px;
}

.all-topic .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-topic .text {
    width: calc(100% - 108px);
}

.all-topic .text h3 {
    font-size: 16px;
    font-weight: bold;
}

.all-topic .text h3 a {
    color: #333;
    transition: .3s;
}

.all-topic .text h3 a:hover {
    color: #ff8686;
    transition: .3s;
}

.all-topic .text p {
    margin: 10px 0;
    color: #4d4d4d;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.all-topic .text > div {
    display: flex;
    justify-content: space-between;
}

.all-topic .text span {
    font-size: 12px;
    color: #999;
}
/* #endregion */
