﻿.assets-page-top {
    border-radius: 1rem;
}

.nv-more,
.navlists-custom {
    width: 23.5rem;
    height: 5rem;
    text-align: center; /* border-bottom: 2px solid rgba(238, 238, 238, .6) !important; */
    font-size: 1.375rem;
    color: var(--bs-link-color);
}

.all_ {
    background: url('/imgs/public/ruinsnav.png');
    width: 100%;
    /*    height: 60px;*/
    background-size: cover;
    display: flex;
    align-items: center;
}

#pills-tab-2 {
    white-space: nowrap;
    overflow-x: auto;
    flex-flow: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    #pills-tab-2::-webkit-scrollbar {
        display: none;
    }


    #pills-tab-2 .nav-link.active {
        color: var(--bs-color-g);
        border-bottom: none;
        font-weight: bold;
    }


#pills-tab {
    white-space: nowrap;
    overflow-x: auto;
    flex-flow: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    #pills-tab::-webkit-scrollbar {
        display: none;
    }

.nv-more {
    border: 0 !important;
    background-color: var(--bs-color-events_7);
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

.navlists-custom:hover {
    color: var(--bs-link-hover-color) !important;
}

.nav-link.active,
.active {
    /*    color: var(--bs-link-hover-color) !important;*/
    /*    color: var(--bs-color-events) !important;*/
    font-weight: medium !important;
    /*    background: linear-gradient(to right, rgba(151, 66, 14, 1), rgba(215, 127, 73, 1));*/
    /*    background: linear-gradient(to right, var(--bs-public), var(--bs-assetscolor));
    background-color: var(--bs-whites) !important;*/
}

    .active:hover {
        /*        color: var(--bs-link-hover-color);*/
    }

.clear-active-custom {
    color: var(--bs-link-color) !important;
    background: var(--bs-whites);
}

.ellipsis-container {
    width: 100%; /* 或者设置一个固定的宽度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 限制显示三行 */
    line-clamp: 3; /* 标准属性，但尚未广泛支持 */
    line-height: 1.5em; /* 设置行高 */
    max-height: 4.5em; /* 3行的最大高度，3行 * 1.5行高 = 4.5em */
}

.tab_:hover {
    background-color: var(--bs-color-events_7);
}

.tab-content {
    position: relative;
    z-index: 9;
}

.yxzx_ :hover {
    background-color: var(--bs-color-events_7);
}

.yxzx :hover .bofang {
    background-color: transparent;
}

.tab_2 {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--bs-color-events_7);
}

    .tab_2:hover {
        background-color: var(--bs-color-events_7);
    }

.list_ {
    background-color: var(--bs-whites);
    /*    padding: 15px;*/
    border-radius: 5px;
}

.listhover_:hover {
    background-color: aliceblue;
}
/* 分类 */
.assets-sort-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3.75rem 0;
}

.sort-module {
    width: 87.5rem;
}

.card-footer,
.card-header {
    border: 0 !important;
    background-color: var(--bs-whites);
    padding: 2.25rem 2.75rem !important;
}

    .card-header img {
        width: 16rem;
    }

    .card-footer p {
        width: 100%;
        text-align: right;
        margin: 0 !important;
    }

.card {
    border: 0 !important;
}


.card-body-list-top img {
    width: 12.5rem;
}

.card-body-list-top {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.card-body-list-top-content {
    flex: 1;
    background-color: var(--bs-color-events_7);
}

.card-date {
    text-align: right;
    color: var(--bs-color-gays);
    font-weight: regular;
}

.card-body-list-body {
    display: flex;
    flex-direction: column;
    height: 11.88rem;
}

.card-body-list-first {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    text-decoration: none;
}

.card-body-list-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: .63rem 0;
    border-style: none none dashed none;
    border-bottom: .1rem dashed #D7D7D7;
}

    .card-body-list-line a {
        text-decoration: none;
        color: var(--bs-link-color) !important;
        font-size: 1rem;
        flex: 1;
    }

    .card-body-list-line:hover * {
        color: var(--bs-public) !important;
    }

    .card-body-list-line p {
        margin: 0 !important;
        color: var(--bs-color-gays);
        font-size: 1rem;
    }


/* 定义小于等于991.98px的样式 */
@media (max-width: 991.98px) {
    .documentary-video {
        width: 100%;
    }

    .assets-page-top {
        width: 100%;
        flex-direction: column;
    }

    .navlists-custom-pc-h5 {
        width: 100%;
    }
}

/* 定义某一区间: 大于991.98px 的样式*/
@media (min-width: 991.98px) {
    .documentary-video {
        height: 100%
    }

    .assets-page-top {
        max-width: 87.5rem;
        margin: 3.75rem 0;
        height: 36rem;
        align-items: flex-start;
        justify-content: flex-end;
    }
}
