/* ========================================
   公共样式表
   ======================================== */
body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
p, h1, h2, h3, h4, ul, ol {
    margin: 0 0 0.5em 0;
}
h1, h2, h3, h4 {
    color: #2d5016;
    font-weight: bold;
}
h1 {
    font-size: 28px;
    border-bottom: 2px solid #2d5016;
    padding-bottom: 10px;
}
h2 {
    font-size: 22px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
    border-left: 3px solid #2d5016;
    padding-left: 10px;
}
ul, ol {
    padding-left: 2em;
}
a {
    color: #2d5016;
    text-decoration: none;
}
a:hover {
    color: #3d6b1f;
    text-decoration: underline;
}
strong {
    color: #2d5016;
    font-weight: bold;
}

.main-content {
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 10px;
    max-width: 1140px;
}
.content-block {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.content-block h1 {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.content-block h1 a {
    font-size: 16px;
    font-weight: normal;
}
.content-block.sm-block {
    flex: 1;
    min-width: 400px;
}

.titlem
{
    width: 1200px;
}
.titleliu
{
    position: relative;
    top: 10px;
    font-family:"STXingkai";
    text-align: center;

}
@media only screen and (max-width:1200px){
    .titlem
    {
        width: 100%;
    }
        
    
}

/* ========== 页面加载动画 ========== */
body.page-loading {
    visibility: hidden;
    opacity: 0;
}

body.page-loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* ========== 语言切换按钮 ========== */
.lang-switch-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #2d5016;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    z-index: 1000;
    transition: background 0.3s;
}

.lang-switch-btn:hover {
    background: #3d6b1f;
}

/* ========== 主导航栏 ========== */
.navbar-main {
    background-color: #2d5016;
    min-height: 50px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
}

.navbar-main .navbar-nav > li > a {
    color: #fff !important;
    font-size: 16px !important;
    padding: 15px 20px;
    text-decoration: none !important;
}

.navbar-main .navbar-nav > li > a:hover {
    background-color: #3d6b1f !important;
    color: #fff !important;
}

/* 当前页面导航高亮 */
.navbar-main .navbar-nav > li.active > a,
.navbar-main .navbar-nav > li.active > a:hover,
.navbar-main .navbar-nav > li.active > a:focus {
    background-color: #3d6b1f !important;
    color: #fff !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* 导航栏居中容器 */
.nav-content {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.navbar-main .navbar-nav {
    display: inline-block;
    float: none;
}

/* ========== 页脚样式 ========== */
.jumbotron {
    text-align: center;
    font-size: 18px;
    font-weight: lighter;
}
.contact-notice-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1140px;
    margin: auto;
}
.contact-notice-section .column {
    flex: 1;
}
#footer-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

/* ========== 响应式设计 ========== */

/* 平板和移动端导航栏 */
@media only screen and (max-width: 768px) {
    .navbar-main .navbar-nav > li > a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contact-notice-section {
        flex-direction: column;
    }
    
    .contact-column,
    .notice-column {
        min-width: 100%;
    }
}

/* 手机端语言切换按钮 */
@media only screen and (max-width: 480px) {
    .lang-switch-btn {
        top: 5px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}
