
.title-box {
    background-color: var(--first-bg);
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    margin: 30px 0;
    position: relative;
}

.title-box .title-content {
    width: 100%;
}

.title-up {
    display: flex;
    padding-top: 24px;
    margin-bottom: 34px;
    justify-content: space-between;
}
.title-box h1 {
    color: white;;
    font-size: 28px;
    line-height: 56px;
    margin: 0;
}

.title-box img.attachment {
    width: 318px;
    height: 318px;
    border-radius: 10px;
    margin-right: 20px
}

.title-link{
    display: block;
    padding: 0 96px;
    line-height: 56px;
    border-radius: 10px;
    font-size: 20px;
    color: var(--background);
    background: var(--primary-color);
}

.title-box legend {
    font-family: unset;
    padding: 0.1rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.desc-content{
    margin-bottom: 12px;
    text-align: left;
}

.title-box {
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-item {
    display: block;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    font-size: 12px;
    color: #24CC77;
    padding: 0 15px;
    border-radius: 10px;
    border: solid 1px #24CC77;
}
.tag-item:link {
    color: #24CC77;
}
.more-tag {
    margin: 20px auto 5px;
}
.tag-item:is(:hover, .selected) {
    color: white;
    background: #24CC77;;
}

.detail {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.2rem;
}
.desc {
    color: #FFFFFF80;
}
.desc.field-box {
    padding: 15px 20px;
}

.desc-title{
    margin-bottom: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.decs-img {
    width: 100%;
}



.content-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.content-card {
    display: -webkit-box;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 17px;
    gap: 8px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background-color: var(--second-bg);
    border-radius: 8px;
    border: solid 1px var(--border-color);
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.content-card:hover {
    background-color: #383847;
    border-color: #484857;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.content-card a {
    color: white;
}

.content-card-img {
    width: 100px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    -o-object-fit: cover;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.content-card-text {
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    overflow: hidden;
}

.content-card-title {
    font-size: 22px;
    margin-bottom: 3px;
    color: #ffffff;
}

.content-card-desc {
    font-size: 11px;
    color: rgb(203, 156, 99);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* 防止文字被截断异常 */
    word-break: break-all;
}
.content-card-button {
    display: block;
    padding: 0 33px;
    height: 46px;
    line-height: 46px;
    color: #FFFFFF80;
    border-radius: 10px;
    border:solid 1px #FFFFFF80 
}
.content-card-button:hover {
    color: var(--background);
    background-color: #FFC45C;
    border-color: #FFC45C;
}
.content-card-button-box {
    display: flex;
    align-items: center;
}

.tabs{
    display: flex;
    overflow: hidden;
    color: white;
    line-height: 57px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--second-bg);
}
.tab-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.tab-item:is(:hover, .selected) {
    color: var(--primary-color);
    background-color: var(--button-bg);
}
.recommend-list{
    gap: 12px;
}
@media (max-width: 992px) {
    .app-box .app-item {
        width: 20%;
    }

    .container {
        padding: unset !important;
    }

    .website-box .item {
        width: 50%;
    }

    .nav-box .nav-item {
        width: 25%;
    }

    .title-box img.attachment {
        width: 200px;
        height: 200px;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .result .button {
        margin: 0.5rem;
        font-size: 0.8rem;
        font-weight: 400;
        width: calc(33.33333333% - 1rem);
    }
}

@media (max-width: 768px) {
    .app-box .app-item {
        width: 20%;
    }

    .header {
        padding: 0.8rem 0.5rem;
    }

    .nav-box .nav-item {
        width: 33.33333333%;
    }

    .title-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .title-box h1 {
        text-align: center;
    }

    .favorite-box .favorite-item {
        width: 50%;
    }

    .favorite-box .favorite-item .item img {
        width: 100%;
        height: 160px;
    }

    .result .button {
        margin: 0.5rem;
        font-size: 0.8rem;
        font-weight: 400;
        width: calc(50% - 1rem);
    }
    .content-card-title {
        font-size: 18px;
    }
}

@media(max-width: 576px) {
    .website-box .item {
        width: 50%;
    }

    .website-box img {
        height: 50px;
        width: 50px
    }

    .list-box .item-box {
        width: 20%;
    }

    .nav-box .nav-item {
        width: 50%;
    }

    fieldset legend {
        background-color: white;
        border-radius: 10px;
        border: 1px solid rgb(221, 221, 221);
        font-size: 1rem;
        font-weight: 100;
        font-family: 'ZCOOL KuaiLe';
    }

    fieldset legend i {
        margin-right: 0.5rem;
    }

    fieldset .more-box {
        position: absolute;
        right: 1rem;
        top: -2rem;
        background-color: white;
        padding: 0 0.5rem;
        font-size: 1rem;
        cursor: pointer;
        border: 1px solid rgb(221, 221, 221);
    }

    .title-box .attachment {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .title-box a#link {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        clear: both;
        width: 35%;
        margin: 0 auto;
        text-align: center;
        height: 3rem;
        line-height: 3rem;
        padding: 0 !important;
    }

    .recommend-list .content-card {
        width: 100%;
    }
}