.banner_ {
    width: 100%;
    height: 760px;
}

.tab_nav {
    width: 100%;
    /*    height: 1000px;*/
    background-color: #F9F4E7;
    position: relative;
}

.tab-content_ {
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
}

.adoptive-party-content-box {
    --min-col-width: 250px;
    --gap-size: 6.21%;
    column-gap: var(--gap-size);
    row-gap: clamp(16px, 6.7vw, 64px);
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .rights-content-box {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .adoptive-party-content-box {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* 中等屏幕显示2列 */
@media (max-width: 899px) and (min-width: 600px) {
    .rights-content-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adoptive-party-content-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* 小屏幕堆叠为1列 */
@media (max-width: 599px) {
    .rights-content-box {
        grid-template-columns: 1fr;
    }

    .adoptive-party-content-box {
        grid-template-columns: 1fr;
    }
}

.adopt-title {
    color: var(--bs-content-color);
}

.adoptive-party-item {
    min-width: 0;
    border-radius: 12px;
    /*    box-shadow: rgba(238, 226, 204, 0.25) 0px 14px 28px, rgba(238, 226, 204, 0.22) 0px 10px 10px;*/
    box-shadow: rgba(238, 226, 204, 0.3) 0px 19px 38px, rgba(238, 226, 204, 0.22) 0px 15px 12px;
    transition: all 0.3s ease-in-out;
}
    .adoptive-party-item:hover .adoptive-party-card-logo {
        transform:scale(1.1);
    }
    .adoptive-party-item:active{
        transform:scale(0.95);
    }

    .adoptive-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .adoptive-scroll::-webkit-scrollbar {
        height: 0;
        display: none;
    }

.adoptive-scroll {
    cursor: default;
}

    .adoptive-scroll:hover {
        cursor: grab;
    }

    .adoptive-scroll.is-dragging {
        cursor: grabbing;
        user-select: none;
    }

.adoptive-party-card-top-box {
    background: var(--bg-adopt-card-top-normal-color);
    border-radius: 12px;
}
    .adoptive-party-card-top-box::after {
        content: '';
        position: absolute;
        inset:0;
        background-image: url('/imgs/cypress/adoptive-party/card-dw.png'); /* 背景图片 */
        background-size: cover;
    }

.adoptive-party-card-logo {
    width: 36.67%;
    aspect-ratio: 1/1;
    background-image: url('/imgs/adoptdetails/adopt-content/normal-logo.png');
    background-size: 100% 100%;
    transition: all 0.5s ease-in-out;
}

.adoptive-party-card-bg {
    top: clamp(12.5px, 2.6vw, 25px);
    bottom: clamp(12.5px, 2.6vw, 25px);
    right: 0;
    height: auto;
}

.adoptive-party-card-subtitle {
    background: var(--bg-yxzx-txt-color);
    border-radius: 6px;
    width: max-content;
}
/*金*/
.adoptive-party-item.gold .adoptive-party-card-top-box {
    background: linear-gradient(180deg, #BC7B18 0%, #D79D2F 100%) !important;
}
.adoptive-party-item.gold .adoptive-party-card-logo {
    background-image: url('/imgs/adoptdetails/adopt-content/gold-logo.png') !important;
}
.adoptive-party-item.gold .adoptive-party-card-subtitle {
    background: var(--bg-yxzx-txt-color);
}
/*银*/
.adoptive-party-item.silver .adoptive-party-card-top-box {
    background: linear-gradient(180deg, #638EC3 0%, #92B5E2 100%) !important;
}
.adoptive-party-item.silver .adoptive-party-card-logo {
    background-image: url('/imgs/adoptdetails/adopt-content/silver-logo.png') !important;
}
.adoptive-party-item.silver .adoptive-party-card-subtitle {
    background: #5885BC !important;
}
/*铜*/
.adoptive-party-item.bronze .adoptive-party-card-top-box {
    background: linear-gradient(180deg, #BF6E31 0%, #EA995D 100%) !important;
}
.adoptive-party-item.bronze .adoptive-party-card-logo {
    background-image: url('/imgs/adoptdetails/adopt-content/bronze-logo.png') !important;
}
.adoptive-party-item.bronze .adoptive-party-card-subtitle {
    background: #C06F32 !important;
}

.lefttop {
    width: 3px;
    height: 180px;
    background: #8C5518;
    opacity: 0; /* 初始透明度为 0，完全透明 */
    transition: opacity 0.3s ease; /* 添加透明度过渡效果 */
}

.famoustree {
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}

    .famoustree:hover .famoustree_content {
        background-color: #fff;
        /*        background-image: url('/imgs/cypresscontent/dragon.png');*/
        width: 100%;
        height: auto;
        background-size: 100% auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        color: #8C5518;
    }

    .famoustree:hover .footer_wy {
        /*        background: url('/imgs/cypresscontent/selected.png') no-repeat;*/
        width: 88px;
        height: 26px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: 88px 26px;
        font-size: 14px;
    }

    .famoustree:hover .leftbottom {
        width: 100%;
        height: 3px;
        background: #8C5518;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

.mmcontent {
    max-width: 1320px;
}

.famoustree_ img {
    max-width: 100%;
    height: auto;
}

.famoustree_content {
    background-color: #fff;
    width: 100%;
    height: auto;
    background-size: 100% auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    color: #333;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.2);
}

.footer_wy {
    /*    background: url('/imgs/cypresscontent/unselected.png') no-repeat;*/
    width: 88px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 88px 26px;
    font-size: 14px;
}

.leftbottom {
    width: 100%;
    height: 3px;
    background: #8C5518;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.famoustree_ {
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2);
}

.list_content:hover .text-muted {
    color: #333333 !important;
}

.contenta {
    display: flex;
}

.list_content:hover .lefttop {
    width: 3px;
    height: 180px;
    background: #8C5518;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.list_content {
    background: var(--bs-whites) !important;
    margin: 10px 0;
}

.list {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    border-radius: 15px;
    height: 16.5rem;
}

    .list:hover .list_image {
        transform: scale(1.05);
    }

.search-container {
    display: flex;
    align-items: center;
    border: 1px solid rgba(var(--bs-page-link-bg-base),0.96);
    border-radius: 50px; /* 圆角 */
    padding: 5px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.search-input {
    border: none; /* 无边框 */
    outline: none; /* 无轮廓 */
    background-color: transparent; /* 输入框背景颜色 */
    padding: 5px 10px; /* 输入框内边距 */
    /*flex-grow: 1;*/ /* 输入框占据剩余空间 */
    transition: all .3s ease-in-out;
    margin-right: 5px; /* 输入框与按钮之间的间距 */
}
/*    .search-input:focus {
        width: 600px;
    }*/


.search-button {
    background-color: #8C5518; /* 按钮背景颜色 */
    color: white; /* 按钮文字颜色 */
    border: none; /* 无边框 */
    border-radius: 3px; /* 按钮圆角 */
    padding: 13px 22px; /* 按钮内边距 */
    cursor: pointer; /* 鼠标悬停时显示指针 */
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.form-control:focus {
    background-color: transparent;
}

.btnsearch {
    width: 40px;
    font-size: 16px;
}

.search-icon {
    margin-right: 5px; /* 图标与文字之间的间距 */
}

.cypresss {
    width: 82px;
    height: 23px;
    border-radius: 11.5px;
    padding: 9px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.list_left {
    padding: 32px 38px;
    display: flex;
    align-items: center;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px
}

.list_right {
    padding: 32px 38px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
}

.list_image {
    width: 150px;
    height: 150px;
    transition: all .5s ease-in-out
}

.title-style {
    border-bottom: 1px dashed #999999;
    padding-bottom: 5px;
    font-weight: 400;
    color: #333
}

.renlist {
    display: flex;
    margin: 20px 0 19px 0;
    flex-wrap: wrap;
    gap: 5px 40px;
    color: #333333;
}



.listtop_ {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
}

.listbottom {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
}

.listzuo {
    position: absolute;
    top: 0;
    right: 21px;
    width: 20px;
    height: 20px;
}

.listyou {
    position: absolute;
    bottom: 0;
    right: 21px;
    width: 20px;
    height: 20px;
}

.footer_ck {
    background: url('/imgs/cypresscontent/borderli.png') no-repeat;
    width: 252px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    margin: 0 auto;
    margin-top: 50px;
    color: #A66314;
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.auspicious_ {
    height: 18px;
}

.auspicious {
    height: 18px;
}

.dashedline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 66px;
}

.dashedline_ {
    width: 0;
    height: 100%;
    border: 1px dashed #8C5518;
    margin: 5px 0;
}

/*.rightdragon {
    width: 279px;
    height: 400px;
    position: absolute;
    right: 0;
    bottom: 0;
}*/

.haeder_nav {
    width: 100%;
    height: 140px;
    background: url('/imgs/cypresscontent/border.png') no-repeat;
    background-size: 100% 140px;
    position: relative;
    top: -70px;
    z-index: 1;
    display: flex;
    /*    justify-content: space-around;*/
    align-items: center;
}


#pills-tab {
    /*    overflow: visible !important;*/
    position: relative;
    display: flex;
    /*    justify-content: space-around;*/
    width: 100%;
}

    #pills-tab li {
        margin: 0 20px;
    }

/*.nav-pills .nav-link {
    position: relative;
    border-bottom: none !important;
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
}

    .nav-pills .nav-link:hover {
        color: #FFE37A;
    }

    .nav-pills .nav-link.active {
        color: #FFE37A;
    }

        .nav-pills .nav-link.active::before,
        .nav-pills .show > .nav-link::before {
            content: '';
            position: absolute;
            left: -18px;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 14px;
            background: url('/imgs/cypresscontent/tab.png') no-repeat;
            background-size: 22px 14px;
            z-index: 10;
        }

        .nav-pills .nav-link.active::after,
        .nav-pills .show > .nav-link::after {
            content: '';
            position: absolute;
            right: -18px;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 14px;
            background: url('/imgs/cypresscontent/tab.png') no-repeat;
            background-size: 22px 14px;
            z-index: 10;
        }*/

@media (max-width: 1400px) {
    .banner_ {
        width: 100%;
        height: 616px;
    }
}

@media (max-width: 1200px) {
    .banner_ {
        width: 100%;
        height: 516px;
    }
}

/*@media (max-width: 992px) {
    .banner_ {
        width: 100%;
        height: 200px;
    }

    .haeder_nav {
        width: 100%;
        height: 80px;
        background: url('/imgs/cypresscontent/border.png') no-repeat;
        background-size: 100% 80px;
        position: relative;
        top: -40px;
        z-index: 1;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .dashedline {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 6px;
    }

    .nav-pills .nav-link {
        position: relative;
        border-bottom: none !important;
        color: #ffffff;
        font-size: 24px;
        display: flex;
        align-items: center;
    }

        .nav-pills .nav-link.active::before,
        .nav-pills .show > .nav-link::before {
            content: '';
            position: absolute;
            left: -18px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 12px;
            background: url('/imgs/cypresscontent/tab.png') no-repeat;
            background-size: 20px 12px;
            z-index: 10;
        }

        .nav-pills .nav-link.active::after,
        .nav-pills .show > .nav-link::after {
            content: '';
            position: absolute;
            right: -18px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 12px;
            background: url('/imgs/cypresscontent/tab.png') no-repeat;
            background-size: 20px 12px;
            z-index: 10;
        }
}*/



@media (max-width: 767.98px) {
    .contenta {
        display: flex;
        flex-direction: column; /* 改为垂直布局 */
    }
}
