/* 全局样式 */
* {
    transition: all 0.3s ease;
}
html,
body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    color: #333333;
    background-color: #ffffff;
}

/* 从下方滑入动画 */
@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 从左侧滑入动画 */
@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* 从右侧滑入动画 */
@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* 缩放动画 */
@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* 弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
.primary-color {
    color: #885540;
}
.secondary-color {
    color: #885540;
}
.light-bg {
    background-color: #F5F5F5;
}
.sub-title {
    font-size: 20px;
    font-weight: bold;
    color: #885540;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F5F5F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.more-link {
    color: #885540;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}
.more-link:hover {
    transform: translateX(5px);
    text-decoration: none;
    color: #6f412f;
}

/* 顶部导航栏（PC端） */
header.container-fluid.header-top {
    height: 120px;
    position: relative;
    padding: 0 10%;
    background: linear-gradient(135deg, #885540 0%, #6f412f 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(136, 85, 64, 0.22);
}
.school-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 13%;
    transform: translateY(-50%);
    z-index: 1;
}
.logo-img {
    width: auto;
    height: 78px;
    max-width: min(480px, 46vw);
    object-fit: contain;
    transition: transform 0.3s ease;
}
.home-page .logo-img {
    animation: scaleIn 0.6s ease-out;
}
.logo-img:hover {
    transform: scale(1.03);
}
.header-slogan {
    position: absolute;
    top: 50%;
    right: 13%;
    transform: translateY(-50%);
    line-height: 0;
    z-index: 1;
}
.header-slogan-img {
    width: auto;
    height: 68px;
    max-width: min(460px, 40vw);
    object-fit: contain;
}
.nav-link {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
    color: #f2d3bf;
    transform: translateY(-2px);
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f2d3bf;
    transition: width 0.3s ease;
}
.nav-link:hover::before {
    width: 100%;
}

.dropdown-toggle::after {
    display: none !important;
}

/* 导航栏位置调整 */
.navbar {
    min-height: 54px;
    padding: 0 40px;
    background: #6f412f;
    box-shadow: 0 3px 14px rgba(136, 85, 64, 0.18);
}
.navbar-expand-lg {
    justify-content: center;
    margin-right: 0;
}
.navbar-collapse {
    justify-content: center;
}
.navbar-nav {
    align-items: center;
}
.navbar-nav .nav-item {
    position: relative;
    margin: 0 18px;
}
.navbar .nav-link {
    padding: 16px 0;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(242, 211, 191, 0.35);
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* 下拉菜单（PC端） */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    margin-top: 10px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(136, 85, 64, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    overflow: hidden;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/* 下拉菜单居中对齐 */
.dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(-15px) scale(0.95) !important;
}
.dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1) !important;
}
.dropdown-item {
    padding: 12px 18px;
    font-size: 15px;
    color: #333;
    transition: all 0.25s ease;
    position: relative;
    left: 0;
    border-radius: 8px;
    margin: 2px 0;
    display: flex;
    align-items: center;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #885540, #6f412f);
    border-radius: 0 2px 2px 0;
    transition: height 0.25s ease;
}
.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f2ef 0%, #efe0d8 100%);
    color: #885540;
    left: 0;
    padding-left: 22px;
}
.dropdown-item:hover::before {
    height: 60%;
}
.dropdown-item::after {
    content: '›';
    position: absolute;
    right: 15px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
    color: #885540;
    font-size: 18px;
}
.dropdown-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Banner轮播图 */
#carouselExampleCaptions.carousel {
    width: 100%;
    padding: 0;
    margin: 0;
}
#carouselExampleCaptions .carousel-inner {
    border-radius: 0;
    overflow: hidden;
}
#carouselExampleCaptions .carousel-item {
    height: 460px;
}
#carouselExampleCaptions .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
#carouselExampleCaptions .carousel-control-prev,
#carouselExampleCaptions .carousel-control-next {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.95;
    transition: all 0.3s ease;
}
#carouselExampleCaptions .carousel-control-prev {
    left: 10px;
}
#carouselExampleCaptions .carousel-control-next {
    right: 10px;
}
#carouselExampleCaptions .carousel-control-prev:hover,
#carouselExampleCaptions .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.1);
    box-shadow: none;
}
#carouselExampleCaptions .carousel-control-prev-icon,
#carouselExampleCaptions .carousel-control-next-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}
#carouselExampleCaptions .carousel-caption {
    background: linear-gradient(rgba(136, 85, 64, 0.6), rgba(136, 85, 64, 0.6));
    padding: 10px 20px;
    border-radius: 8px;
}
#carouselExampleCaptions .carousel-title {
    font-size: 40px;
    font-weight: bold;
}

/* 轮播指示器动画 */
#carouselExampleCaptions .carousel-indicators button {
    transition: all 0.3s ease;
}
#carouselExampleCaptions .carousel-indicators button.active {
    transform: scale(1.3);
}

/* 学院动态板块（PC端） */
.college-news {
    padding: 50px 0 25px;
}
.news-main-card > a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-side-item {
    text-decoration: none;
    color: inherit;
}
.news-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.news-main-card {
    width: 60%;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: visible;
    animation: slideUp 0.6s ease-out;
}
.news-main-img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.news-main-card:hover .news-main-img {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.news-main-title {
    font-size: 18px;
    font-weight: bold;
    color: #885540;
    margin: 12px 0 8px;
    transition: color 0.3s ease;
}
.news-main-card:hover .news-main-title {
    color: #6f412f;
}
.news-main-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-main-date {
    font-size: 14px;
    color: #999999;
}
.news-side-list {
    --news-side-height: 416px;
    width: 40%;
    --news-side-gap: 10px;
    position: relative;
    height: var(--news-side-height);
    overflow: hidden;
}
.news-side-track {
    display: flex;
    flex-direction: column;
    gap: var(--news-side-gap);
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.22s ease;
}
.news-side-track.is-fading {
    opacity: 0;
}
.news-side-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex: none;
    min-height: 0;
    height: calc((var(--news-side-height) - (var(--news-side-gap) * 3)) / 4);
    transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
    border-radius: 8px;
    padding: 6px 10px;
    background-color: #ffffff;
}
.news-side-item:hover {
    transform: translateX(5px);
    background-color: rgba(136, 85, 64, 0.05);
}
.news-side-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #DDDDDD;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-side-item:hover .news-side-img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.news-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.news-side-title {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-side-desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.news-main-carousel {
    width: 60%;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.news-carousel {
    --news-carousel-media-width: 484px;
    --news-carousel-media-height: 272px;
    width: 100%;
    max-width: var(--news-carousel-media-width);
    height: 100%;
    min-height: 428px;
}
.news-carousel .carousel-inner,
.news-carousel .carousel-item {
    height: 100%;
}
.news-carousel .carousel-item {
    padding: 2px;
}
.news-carousel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    background: #ffffff;
}
.news-carousel-media {
    flex: none;
    width: 100%;
    height: var(--news-carousel-media-height);
    min-height: var(--news-carousel-media-height);
    max-height: var(--news-carousel-media-height);
    overflow: hidden;
    background: #f8f8f8;
}
.news-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.news-carousel-card:hover .news-carousel-media img {
    transform: scale(1.03);
}
.news-carousel-body {
    padding: 14px 16px 16px;
    border-top: 1px solid #EFEFEF;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 146px;
}
.news-carousel-date {
    font-size: 13px;
    color: #999999;
    order: 3;
    margin-top: auto;
}
.news-carousel-title {
    font-size: 18px;
    font-weight: bold;
    color: #885540;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-carousel-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-carousel .carousel-control-prev,
.news-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: calc(var(--news-carousel-media-height) / 2);
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(136, 85, 64, 0.65);
    opacity: 0.95;
}
.news-carousel .carousel-control-prev {
    left: 12px;
}
.news-carousel .carousel-control-next {
    right: 12px;
}
.news-carousel .carousel-control-prev:hover,
.news-carousel .carousel-control-next:hover {
    background: rgba(136, 85, 64, 0.9);
    transform: translateY(-50%) scale(1.05);
}
.news-carousel .carousel-control-prev-icon,
.news-carousel .carousel-control-next-icon {
    width: 1.1rem;
    height: 1.1rem;
    filter: brightness(0) invert(1);
}

/* 通知公告板块（PC端） */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed #EEEEEE;
}
.notice-date {
    background-color: #885540;
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 0 8px 0 8px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notice-date-day {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}
.notice-date-month {
    font-size: 12px;
    line-height: 1;
    margin-top: 2px;
}
.notice-item a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    flex: 1;
    min-width: 0;
    line-height: 1.5;
    transition: color 0.3s ease, transform 0.3s ease;
}
.notice-item:hover a {
    color: #885540;
    transform: translateX(5px);
}
.notice-item:hover .notice-date {
    animation: bounce 0.6s ease;
}

/* 综合动态板块（PC端） */
.comprehensive-dynamic {
    padding: 50px 0;
}
.section-title {
    font-size: 28px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
    animation: scaleIn 0.6s ease-out;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #885540;
    transition: width 0.6s ease;
}
.section-title.visible::after {
    width: 80px;
}
.dynamic-card {
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}
.dynamic-card:nth-child(1) { animation-delay: 0.1s; }
.dynamic-card:nth-child(2) { animation-delay: 0.2s; }
.dynamic-card:nth-child(3) { animation-delay: 0.3s; }
.dynamic-card:nth-child(4) { animation-delay: 0.4s; }
.dynamic-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    border: 1px solid #885540;
}
.dynamic-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}
.dynamic-icon {
    width: 50px;
    height: 50px;
    background-color: #885540;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dynamic-card:hover .dynamic-icon {
    transform: scale(1.15);
    background-color: #6f412f;
    box-shadow: 0 5px 20px rgba(136, 85, 64, 0.4);
}
.dynamic-title {
    font-size: 18px;
    font-weight: bold;
    color: #885540;
    text-align: center;
    margin-bottom: 0;
}
.dynamic-header .more-link {
    margin-left: auto;
    flex-shrink: 0;
}
.dynamic-sub-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    width: 100%;
}
.dynamic-sub-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed #DDDDDD;
    width: 100%;
}
.dynamic-sub-date {
    color: #999999;
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1.2;
    margin-left: 12px;
    text-align: right;
    white-space: nowrap;
    word-break: keep-all;
    min-width: 80px;
}
.dynamic-sub-item a:not(.dynamic-sub-link) {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    white-space: normal;
    flex: 1;
    margin-right: 10px;
    transition: all 0.3s ease;
    position: relative;
    left: 0;
}
.dynamic-sub-item:hover a:not(.dynamic-sub-link) {
    color: #885540;
    left: 5px;
}
.dynamic-sub-item:hover .dynamic-sub-link {
    animation: bounce 0.5s ease;
}
.dynamic-sub-link {
    color: #885540;
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
}

/* 板块分隔（PC端） */
.news-section {
    border-right: 2px solid #E8E8E8;
    padding-right: 30px;
}
.notice-section {
    padding-left: 30px;
}

/* 滚动渐显动画 */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 底部信息栏（PC端） */
.footer {
    background: url("../images/foot_bj.png") center/cover no-repeat;
    color: #ffffff;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out;
}
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-link:hover {
    transform: translateX(5px);
    color: #f2d3bf;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-left {
    flex: 1;
}
.footer-right {
    text-align: right;
    flex: 1;
}
.footer-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}
.footer-link:hover {
    text-decoration: underline;
}

/* 内页通用样式 */
.inner-page {
    background: #f7f7f7;
}
.page-main {
    padding: 34px 0 56px;
}
.page-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.side-panel,
.content-panel {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.side-title {
    background: #885540;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
}
.side-nav {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.side-nav li a {
    display: block;
    color: #333333;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 16px;
    border-bottom: 1px dashed #eeeeee;
}
.side-nav li a:hover,
.side-nav li a.active {
    color: #885540;
    background: #f8f2ef;
    padding-left: 22px;
}
.content-panel {
    padding: 26px 30px 34px;
    min-height: 520px;
}
.breadcrumb-line {
    color: #777777;
    font-size: 14px;
    padding-bottom: 14px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eeeeee;
}
.breadcrumb-line a {
    color: #885540;
    text-decoration: none;
}
.page-heading {
    color: #000000;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 22px;
}
.page-single-heading {
    text-align: center;
}
.list-head {
    border-bottom: 2px solid #f0e4de;
    margin-bottom: 8px;
}
.list-head .page-heading {
    display: inline-block;
    border-bottom: 2px solid #885540;
    padding-bottom: 10px;
    margin-bottom: -2px;
}
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.article-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed #dddddd;
}
.article-list li a {
    color: #333333;
    text-decoration: none;
    line-height: 1.5;
    white-space: normal;
}
.article-list li a:hover {
    color: #885540;
}
.article-list-rich li {
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 10px;
    margin: 0 -10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.article-list-rich li:hover {
    background: #fffaf7;
}
.article-date-card {
    width: 62px;
    min-width: 62px;
    border: 1px solid #e8d8d0;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    background: #fffaf7;
}
.article-date-day {
    display: block;
    color: #885540;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0 6px;
}
.article-date-month {
    display: block;
    color: #ffffff;
    background: #885540;
    font-size: 12px;
    line-height: 1;
    padding: 6px 0;
}
.article-list-main {
    min-width: 0;
    flex: 1;
}
.article-list-main a {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}
.article-list-main p {
    color: #777777;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}
.article-list-main p:empty {
    display: none;
}
.article-date {
    color: #999999;
    font-size: 14px;
    flex-shrink: 0;
}
.pages,
#pages,
#wp_paging_w6,
.pagination {
    margin-top: 26px;
    text-align: center;
}
.pages a,
.pages span,
#pages a,
#pages span,
#wp_paging_w6 a,
#wp_paging_w6 span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0 3px;
    padding: 0 10px;
    color: #885540;
    border: 1px solid #e2d3cc;
    border-radius: 4px;
    text-decoration: none;
    background: #ffffff;
}
.pages a:hover,
#pages a:hover,
#wp_paging_w6 a:hover {
    color: #ffffff;
    background: #885540;
    border-color: #885540;
}
.single-content {
    color: #333333;
    font-size: 16px;
    line-height: 1.9;
}
.single-content img {
    max-width: 100%;
    height: auto;
}
.article-title {
    color: #222222;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin: 6px 0 12px;
}
.article-meta {
    color: #888888;
    font-size: 14px;
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}
.article-meta span {
    margin: 0 10px;
}
.empty-tip {
    color: #999999;
    text-align: center;
    padding: 40px 0;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.category-card {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid transparent;
}
.category-card:hover {
    background: #ffffff;
    border-color: #885540;
    box-shadow: 0 12px 30px rgba(136, 85, 64, 0.12);
}
.category-card h3 {
    font-size: 20px;
    color: #885540;
    margin: 0 0 14px;
}

/* 文章详情页 */
.show-panel {
    padding: 30px 38px 38px;
}
.show-article {
    max-width: 880px;
    margin: 0 auto;
}
.show-article table {
    max-width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    border-spacing: 0;
}
.show-article table:not([border]) {
    border: 1px solid #d8d8d8;
}
.show-article table:not([border]) th,
.show-article table:not([border]) td {
    border: 1px solid #d8d8d8;
    padding: 8px 10px;
    line-height: 1.7;
    vertical-align: top;
}
.show-article table:not([border]) th {
    background: #f8f2ef;
    font-weight: 700;
}
.article-meta-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    background: #f8f2ef;
    border: 1px solid #efe0d8;
    border-radius: 4px;
    padding: 6px 10px;
    margin-bottom: 25px;
    font-size: 12px;
    line-height: 1.5;
}
.article-meta-bar span {
    margin: 0;
}
.person-profile {
    max-width: 960px;
}
.person-hero {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin: 12px 0 34px;
    padding: 28px;
    background: linear-gradient(135deg, #fbf7f5 0%, #ffffff 56%, #f5ede8 100%);
    border: 1px solid #efe1d9;
    border-radius: 8px;
}
.person-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f3eee9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(80, 54, 40, 0.14);
}
.person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.person-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #a78372;
    font-size: 16px;
    letter-spacing: 0;
    border: 1px dashed #cfb7aa;
}
.person-summary {
    min-width: 0;
}
.person-name {
    color: #222222;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    margin: 0 0 18px;
}
.person-desc {
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 22px;
}
.person-meta {
    position: absolute;
    right: 18px;
    bottom: 14px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #8a6a5b;
    font-size: 12px;
    line-height: 1.6;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #efe1d9;
    border-radius: 4px;
}
.person-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #885540;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 20px;
}
.person-section-title::before {
    content: "";
    width: 4px;
    height: 20px;
    background: #885540;
    border-radius: 2px;
}
.person-content {
    padding: 4px 6px 0;
}
.person-content-body {
    color: #333333;
    font-size: 16px;
    line-height: 2;
}
.person-content-body p {
    margin: 0 0 16px;
}
.person-content-body img {
    max-width: 100%;
    height: auto;
}
.person-content-body table {
    width: 100% !important;
}
.teacher-profile {
    width: 100%;
    max-width: none;
}
.teacher-hero {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin: 12px 0 34px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f4ef 0%, #ffffff 54%, #f2e8df 100%);
    border: 1px solid #eadccf;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(96, 67, 50, 0.08);
}
.teacher-photo-wrap {
    position: relative;
    align-self: start;
}
.teacher-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 14px -12px -14px 14px;
    background: linear-gradient(180deg, rgba(174, 131, 101, 0.18) 0%, rgba(174, 131, 101, 0.04) 100%);
    border-radius: 10px;
    z-index: 0;
}
.teacher-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f1e9e2;
    border: 1px solid #eadccf;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(93, 63, 44, 0.16);
}
.teacher-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9b7764;
    font-size: 16px;
    border: 1px dashed #cdb3a3;
}
.teacher-summary {
    display: flex;
    align-items: center;
    min-width: 0;
}
.teacher-summary-inner {
    width: 100%;
}
.teacher-label {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 6px 14px;
    color: #8a5b44;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e5d5c8;
    border-radius: 999px;
}
.teacher-name {
    text-align: center;
    margin: 0 0 18px;
    color: #2f241d;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}
.teacher-intro {
    color: #4f433b;
    font-size: 16px;
    line-height: 2;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.74);
    border-left: 4px solid #9d6d53;
    border-radius: 0 8px 8px 0;
}
.teacher-intro p:last-child {
    margin-bottom: 0;
}
.teacher-intro img {
    max-width: 100%;
    height: auto;
}
.teacher-intro table {
    width: 100% !important;
}
.teacher-content-body {
    color: #333333;
    font-size: 16px;
    line-height: 2;
}
.teacher-content-body p {
    margin: 0 0 16px;
}
.teacher-content-body img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0 auto;
}
.teacher-content-body table {
    width: 100% !important;
}
.teacher-intro-empty {
    color: #8a7b72;
}
.teacher-meta {
    margin-top: 18px;
    color: #8a6a5b;
    font-size: 13px;
    line-height: 1.8;
}
.download-block {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px dashed #dddddd;
}
.download-block h2 {
    color: #885540;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
}
.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.download-list li {
    color: #333333;
    line-height: 1.7;
}
.download-list a,
.download-button {
    color: #ffffff;
    text-decoration: none;
    background: #885540;
    border-radius: 4px;
    padding: 8px 18px;
    display: inline-block;
}
.download-list a:hover,
.download-button:hover {
    color: #ffffff;
    background: #6f412f;
}
.download-direct-panel {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.picture-gallery {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}
.picture-gallery figure {
    margin: 0;
    text-align: center;
}
.picture-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #eeeeee;
}
.picture-gallery figcaption {
    color: #777777;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    header.container-fluid.header-top {
        height: auto;
        min-height: 96px;
        padding: 18px 28px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .school-logo,
    .header-slogan {
        position: static;
        transform: none;
    }
    .logo-img {
        height: 58px;
        max-width: 56vw;
    }
    .header-slogan-img {
        height: 48px;
        max-width: 34vw;
    }
    .navbar {
        padding: 0 16px;
        justify-content: flex-start;
    }
    .navbar-collapse {
        padding: 10px 0;
    }
    .navbar-nav {
        align-items: stretch;
    }
    .nav-link {
        margin: 0;
    }
    .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-top: 0 !important;
        background: #ffffff;
    }
    .dropdown-menu.show {
        display: block;
    }
    #carouselExampleCaptions .carousel-item {
        height: 300px;
    }
    .news-container {
        flex-direction: column;
    }
    .news-main-carousel,
    .news-side-list {
        width: 100%;
    }
    .news-main-carousel {
        justify-content: flex-start;
    }
    .news-side-list {
        --news-side-height: 420px;
    }
    .news-carousel {
        --news-carousel-media-width: 100%;
        --news-carousel-media-height: 200px;
        max-width: 100%;
        min-height: 340px;
    }
    .news-carousel-media {
        height: var(--news-carousel-media-height);
        min-height: var(--news-carousel-media-height);
        max-height: var(--news-carousel-media-height);
    }
    .news-section {
        border-right: 0;
        padding-right: 12px;
    }
    .notice-section {
        padding-left: 12px;
    }
    .page-shell {
        grid-template-columns: 1fr;
    }
    .content-panel {
        padding: 22px 18px 28px;
    }
    .show-panel {
        padding: 22px 18px 30px;
    }
    .teacher-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 18px;
    }
    .teacher-photo-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
    .teacher-photo-wrap::after {
        inset: 10px -8px -10px 10px;
    }
    .teacher-name {
        font-size: 28px;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 48px;
        max-width: 62vw;
    }
    .header-slogan-img {
        display: none;
    }
    #carouselExampleCaptions .carousel-item {
        height: 220px;
    }
    .college-news,
    .comprehensive-dynamic {
        padding: 30px 0;
    }
    .news-side-list {
        --news-side-height: 404px;
    }
    .news-carousel {
        --news-carousel-media-width: 100%;
        --news-carousel-media-height: 160px;
        max-width: 100%;
        min-height: 280px;
    }
    .news-carousel-media {
        height: var(--news-carousel-media-height);
        min-height: var(--news-carousel-media-height);
        max-height: var(--news-carousel-media-height);
    }
    .news-carousel-body {
        padding: 12px 14px 14px;
        min-height: 120px;
    }
    .news-carousel-title {
        font-size: 16px;
    }
    .news-carousel-desc {
        -webkit-line-clamp: 2;
    }
    .news-carousel .carousel-control-prev,
    .news-carousel .carousel-control-next {
        width: 34px;
        height: 34px;
    }
    .news-side-img {
        width: 108px;
        height: 78px;
    }
    .footer-container {
        flex-direction: column;
        gap: 12px;
    }
    .footer-right {
        text-align: left;
    }
    .article-list li {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .article-list-rich li {
        flex-direction: row;
        gap: 12px;
    }
    .article-date-card {
        width: 58px;
        min-width: 58px;
    }
    .article-date-day {
        font-size: 18px;
        padding: 8px 0 6px;
    }
    .article-date-month {
        font-size: 11px;
        padding: 6px 0;
    }
    .article-list-main a {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .article-list-main p {
        font-size: 13px;
        line-height: 1.6;
    }
    .article-list li a {
        white-space: normal;
    }
    .article-title {
        font-size: 18px;
    }
    .article-meta-bar {
        justify-content: flex-start;
        gap: 4px 10px;
        padding: 6px 8px;
        font-size: 12px;
    }
}
