/* #region 模块 */
.main {
    overflow: hidden;
}

.module:not(:first-child) {
    margin-top: 40px;
}

.module .content {
    margin-top: 20px;
}

.layout {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.layout>.left {
    overflow: hidden;
    flex: 1;
}

.layout>.right {
    width: 300px;
}

.advertise {
    width: 100%;
    height: 319px;
}

/* #endregion */

/* #region 头版 */
.front {
    display: flex;
    gap: 30px;
}

.front .content {
    margin-top: 16px;
}

.front>.left {
    overflow: hidden;
    flex: 1;
}

.front .left .content {
    display: flex;
    gap: 16px;
}

.front .left .top {
    width: 316px;
}

.front .left .top .img {
    width: 100%;
    height: 175px;
    border-radius: 8px;
}

.front .left .top .text {
    margin-top: 8px;
}

.front .left .top .text a {
    color: #333;
    font-size: 17px;
    font-weight: 700;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.front .left .top .text a:hover {
    color: #8bbf43;
}

.front .left .top .text p {
    margin-top: 6px;
    color: #999;
    font-size: 14px;
    line-height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.front .hide {
    display: none;
}

.front .active {
    display: block;
}

.front .list {
    overflow: hidden;
    flex: 1;
}

.front .list li {
    margin-bottom: 26px;
}

.front .list a {
    display: block;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.front .list a:hover {
    color: #8bbf43;
}

.front .list span {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 14px;
    line-height: 21px;
}

.front .right {
    width: 256px;
}

/* #endregion */

/* #region 专题 */
.module.topic {
    margin-top: 48px;
}

.topic .link {
    display: flex;
    gap: 16px;
}

.topic .link li {
    position: relative;
    width: 203px;
    height: 152px;
    transition: all .3s;
}

.topic .link li:hover {
    transform: translateY(-4px);
}

.topic .link .img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.topic .link .img img {
    object-fit: cover;
}

.topic .link .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
}

.topic .link .text a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
    line-height: 26px;
    background: linear-gradient(1turn, rgba(0, 0, 0, .6), transparent);
    border-radius: 0 0 8px 8px;
}

.topic .nav {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 60px;
    margin-top: 20px;
}

.topic .nav::after,
.topic .nav .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
}

.topic .nav::after {
    z-index: 1;
    width: 100%;
    content: "";
    background: #eee;
}

.topic .nav .underline {
    z-index: 10;
    background: #8bbf43;
    transition: all .3s;
}

.topic .nav .item,
.topic .nav .item a {
    color: #333;
    font-size: 16px;
    line-height: 26px;
    white-space: nowrap;
    transition: none;
    cursor: pointer;
}

.topic .nav .item:hover,
.topic .nav .item:hover a {
    color: #8bbf43;
}

.topic .nav .active,
.topic .nav .active a {
    color: #8bbf43;
    font-weight: 700;
}

.topic .hide {
    display: none;
}

.topic .active {
    display: block;
}

.topic .list {
    margin-top: 15px;
}

.topic .list li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
}

.topic .list .img {
    position: relative;
    width: 240px;
    height: 180px;
    border-radius: 8px;
}

.topic .list .img span {
    position: absolute;
    top: 15px;
    left: 10px;
    padding: 4px 8px;
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    background: rgba(0, 0, 0, .2);
    border-radius: 4px;
}

.topic .list .text {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topic .list .text a {
    color: #333;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic .list .text a:hover {
    color: #8bbf43;
}

.topic .list .text p {
    margin-top: 16px;
    color: #999;
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic .list .user {
    display: flex;
    align-items: center;
    margin-top: auto;
    color: #999;
    font-size: 14px;
}

.topic .list .user .img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.topic .list .user .name {
    margin-left: 6px;
}

.topic .list .user .time {
    margin-left: 24px;
}

.topic .list .user .views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.topic .list .user .views .iconfont {
    font-size: 17px;
}

/* #endregion */

/* #region 今日 */
.today .list li {
    position: relative;
    padding-left: 30px;
}

.today .list li:not(:last-child) {
    padding-bottom: 30px;
}

.today .list li::before,
.today .list li::after {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    display: block;
    content: "";
}

.today .list li::before {
    left: 0;
    width: 12px;
    height: 12px;
    background: transparent;
    border-radius: 100%;
    border: 4px solid #8bbf43
}

.today .list li::after {
    left: 5.5px;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0, transparent 50%, #e6e6e6 0, #e6e6e6) repeat-y;
    background-size: 1px 10px;
}

.today .list a {
    color: #333;
    font-size: 14px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.today .list a:hover {
    color: #8bbf43;
}

.today .list span {
    display: block;
    margin-top: 14px;
    color: #999;
    font-size: 14px;
    line-height: 22px;
}

/* #endregion */