/* ====================== 全局设置 ====================== */
body {
    /* font-family: 'Roboto', sans-serif; */
    font-family: arial;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4f9e4 100%);
    color: #333;
    line-height: 1.7;
}


/* ====================== 顶部 Header ====================== */
#header-wrapper {
    position: relative;
    z-index: 1000;
}

#header {
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#main-navbar {
    transition: all 0.3s ease;
}
/* ==================== 放大后右侧渲染补全修复 ==================== */
#header-wrapper,
#header,
#header .container-fluid,
#main-navbar,
#main-navbar .container-fluid {
    overflow: visible !important;
    max-width: none !important;
    width: 100% !important;
}

/* 固定状态 */
#header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* background: #1b5e20 !important; 深绿 */
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    z-index: 1030;
}

/* 隐藏登录栏和标题 */
#header.fixed #status-section,
#header.fixed #title-section {
    display: none !important;
}

#header.fixed #main-navbar {
    padding: 0.25rem 0;
}


/* 导航链接在固定时更紧凑 */
#header.fixed .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
}

#header .top-bar {
    /* background: rgba(0,0,0,0.15); */
    font-size: 0.9rem;
    /* border-bottom: 1px solid rgba(255,255,255,0.1); */
}

#header .top-bar a {
    color: #e8f5e9 !important;
    transition: color 0.2s;
}

#header .top-bar a:hover {
    color: #fff !important;
}

#header .title-section h1 {
    /* font-family: 'Playfair Display', serif; */
    font-family: arial;
    font-weight: 700;
    font-size: 2.3rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#header .title-section .lead {
    font-weight: 500;
    font-size: 1.1rem;
}

#header .title-section p.opacity-75 {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ====================== 导航栏 ====================== */
/* 导航栏在放大时自动换行（防止溢出） */
#mainNav .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

#mainNav .navbar-nav .nav-link {
    color: #e8f5e9 !important;
    font-weight: 500;
    padding: 0.75rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#mainNav .navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

#mainNav .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
    transform: translateX(-50%);
    border-radius: 8px;
}

#mainNav .navbar-nav .nav-link:hover::before {
    width: 100%;
}

#mainNav .navbar-nav .nav-item.active .nav-link {
    /* background: #1b5e20 !important; */
    /* background: #467746 !important; */
    /* color: #fff !important;
font-weight: 600;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
transform: translateY(-2px); */
    color: #fff !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

#mainNav .nav-link small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 400;
}

@media (max-width: 991px) {
    #mainNav .navbar-nav {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }

    #mainNav .navbar-nav .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }

    #header .title-section h1 {
        font-size: 1.8rem;
    }
}

/* ====================== 主内容区 ====================== */
/* .main-content {
max-width: 1000px;
margin: 2rem auto;
background: #fff;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
overflow: hidden;
padding: 2rem;
} */

.main-content {
    max-width: 1000px;
    padding: 2rem;
    margin: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.main-content p {
    margin: 0 0 1.2rem 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #2d2d2d;
    text-align: justify;
    hyphens: auto;
    /* font-family: 'Georgia', 'Times New Roman', serif; */
    letter-spacing: 0.02em;
}

.card {
    border: none;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(120deg, #4caf50, #8bc34a);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
    border-radius: 12px 12px 0 0 !important;
}

.card-title {
    margin: 0;
    /* font-family: 'Playfair Display', serif; */
    font-family: arial;
    font-weight: 700;
    font-size: 1.5rem;
}

.card-body {
    padding: 1.8rem;
    font-size: 1rem;
    color: #444;
}

/* #wall {
background: linear-gradient(120deg, #4caf50, #8bc34a);
color: white;
padding: 1rem 1.5rem;
border-bottom: none;
border-radius: 12px 12px 0 0 !important;

}
*/
/* .content {
background: #f8fff8;
padding: 1.8rem;
border: 1px solid #e0f2e1;
border-radius: 0 0 12px 12px;
margin-bottom: 2.5rem;
font-size: 1rem;
color: #333;
} */

.main-content table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.main-content table th,
.main-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.main-content table th {
    background-color: #e8f5e9;
    font-weight: 600;
    color: #2e7d32;
}

.main-content table tr:hover {
    background-color: #f1fdf2;
}

.main-content b {
    color: #1b5e20;
    font-weight: 600;
}

.main-content span {
    display: block;
    margin-bottom: 0.8rem;
    padding-left: 0.3rem;
}

.main-content span p {
    margin: 0;
    font-size: 1rem;
}

/* 页面内容美化 */

.info-title {
    color: #2e7d32;
    font-weight: 600;
    font-size: 1.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    /* font-family: 'Playfair Display', serif; */
    font-family: arial;
    display: flex;
    align-items: center;
}

/* speaker 头像 */
.profile-img {
	/* width: 140px; */
	height: 160px;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.profile-card {
	text-align: center;
	padding: 15px;
	transition: transform 0.2s;
}
.profile-card:hover {
	transform: translateY(-5px);
}
.profile-name {
	font-weight: bold;
	margin: 12px 0 5px;
	font-size: 1.1rem;
	color: #333;
}
.profile-org {
	color: #666;
	font-size: 0.95rem;
}

#footer {
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ====================== 响应式调整 ====================== */
@media (max-width: 768px) {
    #title-section h1 {
        font-size: 1.75rem;   /* 比 display-5 再小一点 */
    }

    .main-content {
        margin: 1rem;
        border-radius: 12px;
        padding: 1rem;
    }

    .main-content table {
        font-size: 0.85rem;
    }

    .main-content table th,
    .main-content table td {
        padding: 0.5rem;
    }
}

