@charset "utf-8";

:root {
    --main-color: #01736a;
    --main-light: #40998f;
    --accent-color: #d4782c;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-gray: #f7fafa;
}

body {
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* ===== 精简布局基础（替代 Bootstrap CSS，仅保留本站用到的部分） ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    vertical-align: middle;
}

.container {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row > * {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

.text-center { text-align: center; }
.ms-auto { margin-left: auto; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.justify-content-center { justify-content: center; }

/* 导航栏布局 */
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-toggler {
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.nav-link {
    display: block;
    white-space: nowrap;
}

/* 折叠菜单：默认收起，加 .show 展开（由 nav.js 控制） */
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: 3px;
    content: "";
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 176px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(4px);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
}

@media (min-width: 1200px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg > .container {
        flex-wrap: nowrap;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

/* 分页 */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-link {
    position: relative;
    display: block;
    padding: 6px 12px;
    margin-left: -1px;
    font-size: 15px;
    color: var(--main-color);
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.page-item:first-child .page-link {
    border-radius: 4px 0 0 4px;
}

.page-item:last-child .page-link {
    border-radius: 0 4px 4px 0;
}

.page-link:hover {
    z-index: 2;
    color: var(--main-color);
    background-color: var(--bg-gray);
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.page-item.disabled .page-link {
    color: #999999;
    pointer-events: none;
    background-color: #ffffff;
}

/* ===== 主导航 ===== */
.navbar {
    position: relative;
    background-color: var(--main-color);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    padding: 12px 0;
}

.logo-img {
    height: 60px;
    display: block;
}

@media (max-width: 768px) {
    .navbar-brand {
        padding: 6px 0;
    }

    .logo-img {
        height: 38px;
    }

    .navbar-toggler {
        padding: 3px 6px;
        font-size: 13px;
        border-radius: 4px;
    }

    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
}

.nav-link {
    color: #ffffff !important;
    padding: 14px 10px !important;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 电脑版：鼠标移入子栏目时，保持一级栏目悬停背景色 */
@media (min-width: 1200px) {
    .nav-item.dropdown:hover > .nav-link {
        background-color: rgba(255, 255, 255, 0.15);
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none;
    outline: none;
}

.dropdown-menu {
    border: none;
    border-radius: 0 0 6px 6px;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: var(--text-dark);
    font-size: 15px;
    padding: 10px 20px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-gray);
    color: var(--main-color);
}

@media (min-width: 1200px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* 手机端导航浮层（展开后覆盖页面内容，不推挤布局） */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: var(--main-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
        padding: 8px 16px 12px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        background-color: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding-left: 12px;
    }

    .navbar-collapse .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 9px 28px;
        font-size: 15px;
    }

    .navbar-collapse .dropdown-item:hover,
    .navbar-collapse .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }
}

/* ===== 首屏横幅 ===== */
.hero-section {
    position: relative;
    background-color: var(--main-color);
    color: #ffffff;
    height: 420px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

/* 轮播圆点指示器 */
.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
}

.btn-primary-custom {
    background-color: var(--main-color);
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: #015a53;
}

@media (max-width: 768px) {
    .hero-section {
        height: 200px;
    }

    .hero-dots {
        bottom: 10px;
        gap: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }
}

/* ===== 内容区 ===== */
.section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 4px solid var(--main-color);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-title a {
    color: var(--main-color);
    text-decoration: none;
}

.section-title a:hover {
    color: var(--main-light);
}

.section-more {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    white-space: nowrap;
    margin-left: 16px;
}

.section-more:hover {
    color: var(--main-color);
}

.content-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .content-card {
        padding: 24px 12px;
    }
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
}

.notice-list a:hover {
    color: var(--main-color);
}

.notice-date {
    font-size: 14px;
    color: var(--text-gray);
    white-space: nowrap;
    margin-left: 16px;
}

.notice-list li > a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list .tag {
    flex-shrink: 0;
}

.tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .notice-list .tag,
    .notice-list .notice-date {
        display: none;
    }

    .notice-list li > a {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* ===== 页脚 ===== */
.footer {
    background-color: var(--main-color);
    color: #ffffff;
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 12px;
}

.footer a:hover {
    color: #ffffff;
}

/* 手机端页脚导航：三列网格，整齐居中 */
@media (max-width: 768px) {
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 360px;
        margin: 0 auto;
    }

    .footer-nav a {
        flex: 0 0 33.33%;
        margin: 0;
        padding: 9px 0;
        font-size: 14px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 24px;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== 栏目列表页 / 内容正文页 公共样式 ===== */
.page-banner {
    background: linear-gradient(rgba(1, 115, 106, 0.88), rgba(1, 115, 106, 0.88)),
        url("images/1.jpg") center center no-repeat;
    background-size: cover;
    color: #ffffff;
    padding: 80px 0;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 28px 0;
    }
}

.page-banner-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 8px;
}

.page-crumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.page-crumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.page-crumb a:hover {
    color: #ffffff;
}

/* 列表页增强：斑马纹 + 行首竖条 + 悬停高亮 */
.list-lg li {
    padding: 18px 12px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.list-lg li:nth-child(even) {
    background-color: var(--bg-gray);
}

.list-lg li::before {
    content: "";
    flex-shrink: 0;
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background-color: var(--main-light);
    opacity: 0.5;
    margin-right: 10px;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.list-lg li:hover {
    background-color: #edf5f4;
}

.list-lg li:hover::before {
    opacity: 1;
    background-color: var(--main-color);
}

@media (max-width: 768px) {
    .list-lg li {
        padding: 10px 8px;
    }

    .list-lg li::before {
        height: 14px;
        margin-right: 8px;
    }
}

.article-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-meta i {
    margin-right: 4px;
}

.article-body {
    font-size: 17px;
    line-height: 2;
    color: var(--text-dark);
    margin-top: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .article-body {
        font-size: 16px;
    }
}

.article-body p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.article-nav {
    border-top: 1px solid #f0f0f0;
    margin-top: 24px;
    padding-top: 16px;
    font-size: 15px;
    color: var(--text-gray);
}

.article-nav p {
    margin-bottom: 8px;
}

.article-nav a {
    color: var(--main-color);
    text-decoration: none;
}

.article-nav a:hover {
    text-decoration: underline;
}

.article-nav a.btn-primary-custom,
.article-nav a.btn-primary-custom:hover {
    color: #ffffff;
    text-decoration: none;
}
