html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}
a{text-decoration: none;}
hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}
.clear{clear: both;}
body{background-color: #F4F4F4}

.xxbanner{height: 520px;position: relative;background: linear-gradient(to right, #2148B8, #3573E6);}
.xxbanner .xuexiao{position: absolute;right: 320px;top: 80px;}

.xxbanner .xxbancon{color: #FFFFFF;position: absolute;top: 120px;left:260px;}
.xxbanner .xxbancon h3{font-size: 48px;font-weight: bold;margin: 0px;}
.xxbanner .xxbancon .desc{margin: 30px 0;padding: 30px;color: rgba(255,255,255 ,0.6);font-size: 18px;}
.xxbanner .liaojie{display: block;float: left; width: 120px; }
.xxbanner .shenqing{display:block;float:left; width:120px; margin-left:60px;}
.tongji{margin:60px 0px;background-color: #F8FAFC;display: flex;width: 100%;}
.tongji .item{flex: 1;text-align: center;}
.tongji .item .it{background-color: #FFFFFF;;width: 80%;margin: 20px auto;padding: 30px;border-radius: 10px;}
.tongji .item .it .num{color: #1E40AF;font-size: 36px;margin: 6px;}

.gxchaxun h1{text-align: center;font-weight: bold;}
.gxchaxun p{text-align: center;}
.shaixuan{width: 1220px;display: flex;background-color: #F8FAFC;margin: 20px auto;}
.shaixuan .sxitem{flex: 1;text-align: center;padding: 30px;text-align: center;}

.lists{width: 1220px; height: 700px;   margin: 10px auto;}
.region-select {    padding: 8px 12px;    font-size: 16px;    border: 1px solid #ccc;    border-radius: 4px;
    width: 200px;    background-color: #fff;    cursor: pointer;    transition: border-color 0.3s ease;
}
.region-select:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 0 3px rgba(102, 175, 233, 0.2);
}
.sxitem .sxsub{    background-color: #1E40AF;    color: #FFFFFF;    padding: 8px 18px;    border-radius: 10px;    display: block;}

/* 加载状态 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误状态 */
.error {
    display: none;
    text-align: center;
    padding: 60px 0;
}

.error-icon {
    color: #dc3545;
    font-size: 48px;
    margin-bottom: 16px;
}

.error-message {
    color: #666;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 8px 16px;
    background-color: #165DFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.retry-btn:hover {
    background-color: #0e4cd1;
}
/* 列表容器 */
.list-container {
    display: none;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .list-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.content-card {
    background-color: white;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}

.content-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-content {
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.logo-container {
    flex-shrink: 0;
}

.institution-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #f9f6f6;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.institution-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-values {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #555;
}

.info-value {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f5f7fa;
    border-radius: 4px;
}

/* 空状态 */
.empty {
    display: none;
    text-align: center;
    padding: 60px 0;
}

.empty-icon {
    color: #ccc;
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-message {
    color: #888;
}

/* 分页控件 */
.pagination {
    display: none;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .pagination {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.pagination-info {
    font-size: 14px;
    color: #6B7280;
}

.page-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.page-btn:hover {
    border-color: #165DFF;
    color: #165DFF;
}

.page-btn.active {
    background-color: #165DFF;
    color: white;
    border-color: #165DFF;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    border-color: #ddd;
    color: #333;
}

.ellipsis {
    padding: 0 8px;
    color: #6B7280;
}

.jump-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.jump-input {
    width: 50px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.jump-input:focus {
    outline: none;
    border-color: #165DFF;
}

.jump-btn {
    padding: 4px 12px;
    background-color: #165DFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.jump-btn:hover {
    background-color: #0e4cd1;
}




