/* ========================================
   高校智库-全部高校页面样式（Figma 227_5）
   使用 ua- 前缀避免与 university.css 冲突
   ======================================== */

.university-all-page{
    display: block;
    padding: 0;
}

/* ========================================
   Banner
   ======================================== */
.ua-banner {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #155DFC 0%, #1447E6 100%);
    position: relative;
}

.ua-banner-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 24px 0;
    position: relative;
}

.ua-banner-title {
    font-size: 36px;
    font-weight: 600;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.ua-banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #EFF6FF;
    margin: 0;
}

/* ========================================
   筛选区域
   ======================================== */
.ua-filter-section {
    background: white;
    padding: 0;
    margin-top: -53px;
    position: relative;
    z-index: 10;
}

.ua-filter-container {
    max-width: 1230px;
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    background: white;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    outline: 1px solid #F3F4F6;
    outline-offset: -1px;
    box-sizing: border-box;
}

/* 搜索框 */
.ua-search-box {
    width: 100%;
    height: 54px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    outline: 1px solid #E5E7EB;
    outline-offset: -1px;
    position: relative;
    margin-bottom: 25px;
    box-sizing: border-box;
    background: white;
}

.ua-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.ua-search-input {
    width: 100%;
    height: 100%;
    padding: 0 20px 0 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #1A1A2E;
    background: transparent;
    outline: none;
    box-sizing: border-box;
}

.ua-search-input::placeholder {
    color: rgba(26, 26, 46, 0.50);
}

/* 筛选行 - 标题和选项在同一行 */
.ua-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.ua-filter-row-border {
    padding-top: 25px;
    border-top: 1px solid #F3F4F6;
    margin-top: 25px;
}

.ua-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    flex-shrink: 0;
    white-space: nowrap;
}

.ua-filter-label-icon {
    width: 20px;
    height: 20px;
}

/* 类别标签 */
.ua-category-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ua-category-tag {
    height: 36px;
    padding: 0 16px;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #364153;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ua-category-tag:hover {
    background: #F3F4F6;
}

.ua-category-tag.active {
    background: #155DFC;
    color: white;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

.ua-tag-count {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
}

.ua-category-tag.active .ua-tag-count {
    color: white;
}

/* 研究领域标签 */
.ua-field-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ua-field-tag {
    height: 36px;
    padding: 0 16px;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #364153;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ua-field-tags01 .ua-field-tag{
    height: 26px;
}

.ua-field-tag:hover {
    background: #F3F4F6;
}

.ua-field-tag.active {
    background: #155DFC;
    color: white;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

/* ========================================
   高校列表区域
   ======================================== */
.ua-universities-section {
    padding: 0;
    background: #F9FAFB;
    min-height: 500px;
}

.ua-universities-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* 结果信息 */
.ua-result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ua-result-count {
    font-size: 14px;
    color: #4A5565;
}

.ua-result-count strong {
    color: #155DFC;
    font-weight: 600;
}

.ua-sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ua-sort-label {
    font-size: 14px;
    color: #6A7282;
}

.ua-sort-select {
    padding: 6px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #101828;
    background: white;
    outline: none;
    cursor: pointer;
}

/* ========================================
   高校卡片网格
   ======================================== */
.ua-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.ua-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    border: 1px solid #F3F4F6;
    padding: 25px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.ua-card:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 卡片头部 */
.ua-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.ua-school-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #155DFC 0%, #1447E6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    flex-shrink: 0;
}

.ua-school-logo span {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.ua-school-info {
    flex: 1;
    min-width: 0;
}

.ua-school-name {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-school-dept {
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 统计数据 */
.ua-stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.ua-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
}

.ua-stat-item img {
    width: 20px;
    height: 20px;
}

.ua-stat-item strong {
    color: #155DFC;
    font-weight: 600;
}

/* 研究领域 */
.ua-field-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.ua-field-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    margin-bottom: 8px;
}

.ua-field-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ua-field-tag {
    padding: 4px 12px;
    background: #EFF6FF;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    color: #155DFC;
}

/* 主要成果 */
.ua-achievement-section {
    margin-bottom: 17px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F3F4F6;
}

.ua-achievement-text {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    margin: 0;
    line-height: 1.5;
}

/* 查看详情按钮 */
.ua-detail-btn {
    width: 100%;
    height: 48px;
    background: white;
    border: 2px solid #155DFC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #155DFC;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ua-detail-btn:hover {
    background: #155DFC;
    color: white;
}

.ua-detail-btn img {
    width: 16px;
    height: 16px;
}

/* ========================================
   分页
   ======================================== */
.ua-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.ua-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #364153;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ua-page-btn:hover {
    border-color: #155DFC;
    color: #155DFC;
}

.ua-page-btn.active {
    background: #155DFC;
    border-color: #155DFC;
    color: white;
}

.ua-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ua-page-ellipsis {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6A7282;
}

/* 加载状态 */
.ua-loading {
    text-align: center;
    padding: 60px 0;
    color: #6A7282;
    font-size: 14px;
}

.ua-no-data {
    text-align: center;
    padding: 60px 0;
    color: #6A7282;
    font-size: 14px;
}

/* ========================================
   统计数据区域 (Figma 227_5)
   ======================================== */
.ua-stats-section {
    padding: 0;

}

.ua-stats-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.ua-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -59px;
    position: relative;
    z-index: 10;
}

.ua-stats-card {
    width: 100%;
    height: 118px;
    background: white;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    outline: 1px solid #F3F4F6;
    outline-offset: -1px;
    box-sizing: border-box;
    padding: 25px;
}

.ua-stats-number {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ua-stats-card:nth-child(1) .ua-stats-number {
    color: #155DFC;
}

.ua-stats-card:nth-child(2) .ua-stats-number {
    color: #00A63E;
}

.ua-stats-card:nth-child(3) .ua-stats-number {
    color: #9810FA;
}

.ua-stats-card:nth-child(4) .ua-stats-number {
    color: #F54900;
}

.ua-stats-label {
    font-size: 16px;
    font-weight: 400;
    color: #4A5565;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .ua-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ua-banner {
        height: auto;
        padding: 32px 0;
    }

    .ua-banner-container {
        padding: 0 24px;
    }

    .ua-banner-title {
        font-size: 24px;
    }

    .ua-banner-subtitle {
        font-size: 14px;
    }

    .ua-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ua-cards-grid {
        grid-template-columns: 1fr;
    }

    .ua-filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ua-filter-tags {
        width: 100%;
    }

    .ua-result-info {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .ua-stats-row {
        flex-direction: column;
        gap: 8px;
    }

    .ua-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .ua-stats-cards {
        grid-template-columns: 1fr;
    }
}
