/* 布局容器样式 */
.category-container {
    box-sizing: border-box;
    width: 100vw;
    height: calc(100vh - 150px);
    display: flex;
    justify-content: center;
    position: fixed;
}

.category-container .content-container {
    width: 80%;
    height: 90%;
    /*padding: 4vh 3vw;*/
    /*background-image: url("../img/list1-bg.png");*/
    /*background-size: 100% 100%;*/
    /*background-repeat: no-repeat;*/
    position: relative;
}

/* 内容面板样式 */
.category-container .content-container .list-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 专利卡片样式 */
#patent_app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.context-item-box {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.context-item {
    height: 280px;
    width: 100%;
    max-width: 280px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #DBDDDE;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.context-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.item-tp img {
    max-height: 136px !important;
    max-width: 208px !important;
}

/* 隐藏内容容器 */
#patent_content {
    display: none;
}

/* 卡片顶部区域 */
.context-item-header {
    background: #D4DAE3;
    border-radius: 8px 8px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 176px;
    padding: 20px 35px;
}

/* 卡片文本区域 */
.context-item-text {
    padding: 15px 24px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    color: #373F4A;
    font-size: 14px;
}

.page-box {
    margin-top: 20px;
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    min-height: 40px;
}

.page-box .el-pagination {
    display: flex !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .context-item-box {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 15px;
        padding: 15px;
    }

    .context-item {
        max-width: 100%;
    }

    .page-box {
        padding: 0 15px 15px;
        overflow-x: auto;
    }
}

