/* ========================================
   高校智库页面样式
   根据 Figma 设计生成，使用 uni- 前缀避免冲突
   ======================================== */

/* ========================================
   主内容区
   ======================================== */
.university-page {
    min-height: auto !important;
    background: white !important;
    display: block !important;
    align-items: initial !important;
    flex: none !important;
    padding: 0;
}

/* ========================================
   Banner
   ======================================== */
.uni-banner {
    width: 100%;
    height: 308px;
    background: linear-gradient(90deg, #155DFC 0%, #1447E6 100%);
}

.uni-banner-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 24px 0;
    position: relative;
}

.uni-banner-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.uni-banner-icon img {
    width: 100%;
    height: 100%;
}

.uni-banner-title {
    font-size: 36px;
    font-weight: 600;
    color: white;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.uni-banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #EFF6FF;
    margin: 0 0 32px 0;
}

.uni-search-box {
    position: relative;
    width: 672px;
    height: 56px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
}

.uni-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.uni-search-input {
    width: 100%;
    height: 100%;
    padding: 0 20px 0 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #101828;
    background: transparent;
    outline: none;
    box-sizing: border-box;
}

.uni-search-input::placeholder {
    color: rgba(26, 26, 46, 0.50);
}

/* ========================================
   统计数据卡片区域
   ======================================== */
.uni-stats-cards {
    padding: 48px 0;
    background: white;
}

.uni-stats-cards-container {
    max-width: 1280px;
    width: 100%;
    margin: 30px auto 0;
    padding: 0 24px;
}

.uni-stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.uni-stats-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    border: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 16px;
}

.uni-stats-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uni-stats-icon-blue {
    background: #EFF6FF;
}

.uni-stats-icon-green {
    background: #F0FDF4;
}

.uni-stats-icon-purple {
    background: #FAF5FF;
}

.uni-stats-icon-orange {
    background: #FFF7ED;
}

.uni-stats-card-icon img {
    width: 24px;
    height: 24px;
}

.uni-stats-card-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.uni-stats-card-number {
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    line-height: 1.33;
}

.uni-stats-card-label {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    line-height: 1.43;
}

/* ========================================
   可对接领域区域
   ======================================== */
.uni-fields-section {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.50) 0%, white 100%);
}

.uni-fields-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.uni-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.uni-field-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    border: 1px solid #F3F4F6;
}

.uni-field-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.uni-field-icon {
    font-size: 30px;
    line-height: 1;
}

.uni-field-title {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin: 0;
}

.uni-field-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.uni-field-tag-item {
    height: 48px;
    background: linear-gradient(135deg, #EFF6FF 0%, rgba(219, 234, 254, 0.50) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #1447E6;
}

/* ========================================
   寻求高校技术支持区域
   ======================================== */
.uni-support-section {
    padding: 64px 0;
    background: linear-gradient(90deg, #155DFC 0%, #1447E6 100%);
}

.uni-support-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.uni-support-title {
    font-size: 30px;
    font-weight: 600;
    color: white;
    margin: 0 0 12px 0;
}

.uni-support-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #EFF6FF;
    margin: 0 0 48px 0;
}

.uni-support-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.uni-support-btn-primary {
    width: 172px;
    height: 64px;
    background: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    color: #155DFC;
    cursor: pointer;
    box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.10), 0px 20px 25px -5px rgba(0, 0, 0, 0.10);
    transition: all 0.2s ease;
}

.uni-support-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 10px 12px -6px rgba(0, 0, 0, 0.15), 0px 22px 27px -5px rgba(0, 0, 0, 0.15);
}

.uni-support-btn-secondary {
    width: 176px;
    height: 64px;
    background: transparent;
    border: 2px solid white;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uni-support-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   合作高校区域
   ======================================== */
.uni-universities-section {
    padding: 0;
    background: white;
}

.uni-universities-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 130px 24px 80px;
}

/* 标题区 */
.uni-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.uni-header-left {
    flex: 1;
}

.uni-section-title {
    font-size: 30px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 12px 0;
    text-align: center;
}

.uni-section-title-left{
    text-align: left;
}

.uni-section-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #4A5565;
    margin: 0;
    text-align: center;
}

.uni-section-subtitle-left{
    text-align: left;
}

.uni-view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #155DFC;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.uni-view-all-btn:hover {
    background: #1447E6;
}

.uni-view-all-btn img {
    width: 16px;
    height: 16px;
}

/* 筛选区 */
.uni-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.uni-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
}

.uni-filter-label img {
    width: 20px;
    height: 20px;
}

.uni-filter-tags {
    display: flex;
    gap: 8px;
}

.uni-filter-tag {
    padding: 8px 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #364153;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uni-filter-tag:hover {
    border-color: #155DFC;
    color: #155DFC;
}

.uni-filter-tag.active {
    background: #155DFC;
    border-color: #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);
}

/* ========================================
   高校卡片网格
   ======================================== */
.uni-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.uni-card {
    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;
}

.uni-card:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.uni-card-featured {
    border-color: #BEDBFF;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10), 0px 0px 0px 2px #DBEAFE;
}

/* 卡片头部 */
.uni-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.uni-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;
}

.uni-school-logo span {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.uni-school-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uni-school-name {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0;
}

.uni-recommend-tag {
    padding: 2px 8px;
    background: #FFEDD4;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #F54900;
}

.uni-school-dept {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 统计数据 */
.uni-stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
}

.uni-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
}

.uni-stat-item img {
    width: 20px;
    height: 20px;
}

.uni-stat-item strong {
    color: #155DFC;
    font-weight: 600;
}

/* 研究领域 */
.uni-field-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.uni-field-label,
.uni-achievement-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    margin-bottom: 8px;
}

.uni-field-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.uni-field-tag {
    padding: 4px 12px;
    background: #EFF6FF;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    color: #155DFC;
}

/* 主要成果 */
.uni-achievement-section {
    margin-bottom: 17px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F3F4F6;
}

.uni-achievement-text {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    margin: 0;
}

/* 查看详情按钮 */
.uni-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;
}

.uni-detail-btn:hover {
    background: #155DFC;
    color: white;
}

.uni-detail-btn img {
    width: 16px;
    height: 16px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1400px) {
    .uni-banner-container,
    .uni-universities-container {
        padding-left: 64px;
        padding-right: 64px;
    }
}

@media (max-width: 1200px) {
    .uni-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .uni-section-header {
        flex-direction: column;
        gap: 16px;
    }

    .uni-view-all-btn {
        width: 100%;
        justify-content: center;
    }

    .uni-search-box {
        width: 100%;
    }

    .uni-filter-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .uni-banner {
        height: auto;
        padding: 40px 24px;
    }

    .uni-banner-container {
        padding: 0;
    }

    .uni-banner-title {
        font-size: 28px;
    }

    .uni-universities-container {
        padding: 32px 24px 60px;
    }

    .uni-cards-grid {
        grid-template-columns: 1fr;
    }

    .uni-filter-tags {
        flex-wrap: wrap;
    }

    .uni-stats-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   科研成果区域
   ======================================== */
.uni-achievements-section {
    padding: 64px 0;
    background: white;
}

.uni-achievements-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.uni-achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.uni-achievement-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    border: 1px solid #F3F4F6;
    text-align: center;
}

.uni-achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-achievement-icon img {
    width: 32px;
    height: 32px;
}

.uni-achievement-number {
    display: block;
    font-size: 30px;
    font-weight: 600;
    color: #155DFC;
    margin-bottom: 8px;
    line-height: 1.2;
}

.uni-achievement-title {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 8px 0;
}

.uni-achievement-desc {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
    margin: 0;
    line-height: 1.43;
}

/* ========================================
   特色专家区域
   ======================================== */
.uni-experts-section {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.50) 0%, white 100%);
}

.uni-experts-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.uni-experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 290px);
    gap: 24px;
    justify-content: center;
    margin-bottom: 56px;
}

.uni-expert-card {
    width: 290px;
    height: 411px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
}

.uni-expert-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #155DFC 0%, #1447E6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.uni-expert-avatar span {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.uni-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uni-expert-info {
    text-align: center;
    margin-bottom: 16px;
    height: 72px;
}

.uni-expert-name {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 8px 0;
    line-height: 28px;
}

.uni-expert-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #155DFC;
    margin-bottom: 8px;
    line-height: 20px;
}

.uni-expert-school {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    line-height: 16px;
}

.uni-expert-research {
    margin-bottom: 16px;
    padding-bottom: 0;
}

.uni-expert-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    margin-bottom: 8px;
    text-align: left;
}

.uni-expert-tags {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.uni-expert-tag {
    padding: 4px 8px;
    background: #EFF6FF;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #155DFC;
    line-height: 12px;
}

.uni-expert-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.uni-expert-stat {
    text-align: center;
    width: 50%;
}

.uni-expert-stat-num {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 4px;
    line-height: 16px;
}

.uni-expert-stat-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6A7282;
    line-height: 16px;
}

.uni-expert-honor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 400;
    color: #4A5565;
    line-height: 16px;
    flex: 1;
}

.uni-expert-honor img {
    width: 16px;
    height: 16px;
}

.uni-expert-btn {
    width: 100%;
    height: 36px;
    background: #155DFC;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.uni-expert-btn:hover {
    background: #1447E6;
}

.uni-experts-more {
    text-align: center;
}

.uni-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #155DFC;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uni-more-link:hover {
    color: #1447E6;
}

.uni-more-link img {
    width: 16px;
    height: 16px;
}

/* ========================================
   响应式设计 - 特色专家区域
   ======================================== */
@media (max-width: 1400px) {
    .uni-experts-grid {
        grid-template-columns: repeat(2, 290px);
    }
}

@media (max-width: 1200px) {
    .uni-stats-cards-grid,
    .uni-achievements-grid,
    .uni-experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uni-fields-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .uni-banner {
        height: auto;
        padding: 40px 24px;
    }

    .uni-banner-container {
        padding: 0;
    }

    .uni-banner-title {
        font-size: 28px;
    }

    .uni-stats-cards {
        padding: 32px 0;
    }

    .uni-stats-cards-grid {
        grid-template-columns: 1fr;
    }

    .uni-fields-section {
        padding: 32px 0;
    }

    .uni-field-tags-grid {
        grid-template-columns: 1fr;
    }

    .uni-support-section {
        padding: 48px 0;
    }

    .uni-support-title {
        font-size: 24px;
    }

    .uni-support-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .uni-support-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .uni-support-btn-primary,
    .uni-support-btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .uni-universities-container {
        padding: 32px 24px 60px;
    }

    .uni-cards-grid {
        grid-template-columns: 1fr;
    }

    .uni-filter-tags {
        flex-wrap: wrap;
    }

    .uni-stats-row {
        flex-direction: column;
        gap: 8px;
    }

    .uni-achievements-grid {
        grid-template-columns: 1fr;
    }

    .uni-experts-grid {
        grid-template-columns: 290px;
        justify-content: center;
    }

    .uni-expert-card {
        width: 290px;
    }

    .uni-achievements-section,
    .uni-experts-section {
        padding: 32px 0 60px;
    }
}
