/**
 * 人文与管理学院 · 简介/单篇正文页（intro.css）
 * 与母版一致：只配合 index.css；顶栏在 index.css。本文件只管侧栏 + .content-box 正文。
 * 侧栏：.sidebar-menu；侧栏「标题列表」：.sidebar-contact（避免污染正文）。
 */

/* ========== 左右布局 ========== */
.main-wrapper {
    display: flex;
    gap: 30px;
    padding-bottom: 50px;
    margin-top: 40px;
}

/* ========== 左侧侧栏 ========== */
.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-title {
    background: #8b2323;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.sidebar-title span {
    display: block;
    line-height: 1.3;
}

.sidebar-menu {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-menu .menu-item a,
.sidebar-menu li > a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.sidebar-menu .menu-item:last-child a,
.sidebar-menu li:last-child > a {
    border-bottom: none;
}

.sidebar-menu .menu-item a:hover,
.sidebar-menu li > a:hover {
    background: #f9f9f9;
    color: #8b2323;
    padding-left: 25px;
}

.sidebar-menu .menu-item.active a,
.sidebar-menu li.active > a {
    background: #fff;
    color: #8b2323;
    font-weight: bold;
    border-left: 4px solid #8b2323;
}

.sidebar-contact {
    background: #fff;
    padding: 16px 18px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #c0a16b;
    font-size: 14px;
}

.sidebar-contact h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.sidebar-contact p {
    font-size: 13px;
    color: #777;
    margin: 0 0 8px;
}

.sidebar-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-contact li {
    padding: 8px 0;
    border-bottom: 1px dashed #e8e0e0;
    line-height: 1.45;
}

.sidebar-contact li:last-child {
    border-bottom: none;
}

.sidebar-contact a {
    color: #555;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-contact a:hover {
    color: #8b2323;
    padding-left: 4px;
}

.sidebar-contact .news-item {
    display: block;
    padding: 8px 0;
    border-bottom: 1px dashed #e8e0e0;
    font-size: 14px;
}

.sidebar-contact .news-item:last-child {
    border-bottom: none;
}

.sidebar-contact .news-item a {
    display: inline;
    padding: 0;
}

.sidebar-contact .news-item span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

/* ========== 右侧主区 ========== */
.right-content {
    flex: 1;
    background: #fff;
    padding: 30px 40px;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    min-height: 600px;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.breadcrumb a:hover {
    color: #8b2323;
    text-decoration: underline;
}

/* 单篇正文：母版里「单篇正文」可编辑区外包的 .content-box */
.content-box {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

.content-box p {
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify;
}

.content-box .intro-lead {
    font-size: 17px;
    color: #222;
}

.content-img-wrapper {
    text-align: center;
    margin: 30px 0;
    background: #fafafa;
    padding: 10px;
    border: 1px solid #eee;
}

.content-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.img-caption {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4,
.content-box h5 {
    color: #333;
    margin: 1.2em 0 0.6em;
    font-weight: 600;
}

.content-box h1,
.content-box h2,
.content-box h3 {
    text-indent: 0;
}

.content-box ul,
.content-box ol {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.content-box li {
    margin-bottom: 0.35em;
}

.content-box a {
    color: #8b2323;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-box a:hover {
    color: #6e1c1c;
}

.content-box img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
        margin-top: 20px;
    }

    .sidebar {
        width: 100%;
    }

    .right-content {
        padding: 20px;
    }

    .content-box p {
        text-indent: 0;
    }
}
