/*faculty*/
.container {
    max-width: 1010px;
}

.filter-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
padding-top:8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 80px;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #236593;
    color: #236593;
}

.filter-btn.active {
    background: #236593;
    color: white;
    border-color: #236593;
}

.filter-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.filter-btn:disabled:hover {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
}

.faculty-grid {
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faculty-card {
    background: white;
    padding: 28px 28px 24px;
    border-radius: 4px;
    display: flex;
    gap: 24px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(35,101,147,0.10), 0 1px 3px rgba(0,0,0,0.06);
    border: none;
    position: relative;
}

.faculty-card > a {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-top: 2px solid #236593;
    border-left: 2px solid #236593;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.faculty-card:hover {
    box-shadow: 0 12px 36px rgba(35,101,147,0.16), 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.faculty-card:hover::before {
    opacity: 1;
}

.faculty-photo {
    width: 120px;
    height: 155px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    background: #f0f2f4;
}

.faculty-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 2px;
    min-width: 0;
}

.faculty-name {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 2;
    min-width: 0;
}

.info-label {
    color: #999;
    min-width: 64px;
    flex-shrink: 0;
}

.info-value {
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 200px;
    flex-shrink: 1;
}

.title-badge {
    display: inline-block;
    font-size: 11px;
    padding: 1px 10px;
    border-radius: 2px;
    font-weight: 500;
    margin-left: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.title-badge.professor {
    background: #236593;
    color: white;
}

.title-badge.associate {
    background: #5a9ab8;
    color: white;
}

.title-badge.lecturer {
    background: #a8c4d4;
    color: #2c4a5c;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #236593;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(35,101,147,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2d7ab8;
    box-shadow: 0 4px 20px rgba(35,101,147,0.4);
    transform: translateY(-2px);
}

/*详情页*/

.header-card {
    background: #fff;
    padding: 40px 36px;
    display: flex;
    gap: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px -4px rgba(35,101,147,0.15), 0 1px 3px rgba(0,0,0,0.04);
margin-bottom:80px;
}

.header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-top: 3px solid #236593;
    border-left: 3px solid #236593;
    pointer-events: none;
}

.header-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-bottom: 3px solid #2d7ab8;
    border-right: 3px solid #2d7ab8;
    pointer-events: none;
}

.photo-wrapper {
    flex-shrink: 0;
}

.photo-wrapper img {
    width: 160px;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #eee;
    border: 3px solid #e8e4e2;
}

.info-main {
    flex: 1;
    min-width: 0;
}

.info-name {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.info-item .icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #236593;
}

.info-item .icon svg {
    width: 16px;
    height: 16px;
}

.info-item .label {
    color: #888;
    white-space: nowrap;
}

.info-item .value {
    color: #444;
    word-break: break-all;
}

.section {
    background: #fff;
    padding: 28px 36px;
    margin-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8e4e2;
    margin-bottom: 18px;
}

.section-header .section-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #236593;
}

.section-header .section-icon svg {
    width: 22px;
    height: 22px;
}

.section-header .section-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.section-body {
    font-size: 14.5px;
    color: #555;
    line-height: 1.9;
}

.section-body p {
    margin-bottom: 10px;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-body ul {
    list-style: none;
    padding: 0;
}

.section-body ul li {
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.section-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #236593;
}

.section-body strong {
    color: #333;
    font-weight: 600;
}

.section-body a {
    color: #236593;
    text-decoration: none;
}

.section-body a:hover {
    text-decoration: underline;
}

.update-note {
    text-align: right;
    font-size: 13px;
    color: #aaa;
    margin-top: 4px;
}
