@charset "utf-8";

/* 仅由 /M 页面加载，桌面页面不引用。 */
.portal-header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
}

.portal-site {
    --portal-gutter: 32px;
    font-size: 14px;
    --portal-section-gap: 24px;
    --portal-block-gap: 16px;
}
.logo {
    padding: 12px 0;
}
.logo_center {
    align-items: center;
    gap: 8px;
}
.logo_left {
    flex: 1;
    align-items: center;
    gap: 10px;
}
.logo_left > img {
    width: 42px;
    height: auto;
}
.logo_left ol li:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: inherit;
    line-height: 1.25;
}
.logo_left .brand-region {
    font-size: 12px;
    font-weight: 500;
}
.logo_left .brand-name {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
.logo_left ol li:last-child {
    display: none;
}
.wechat-toggle, .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d8e3db;
    border-radius: 6px;
    background: #fff;
    color: #356e44;
    touch-action: manipulation;
}
.wechat-toggle svg, .nav-toggle svg {
    width: 22px;
    height: 22px;
}
.nav-toggle .nav-close-icon {
    display: none;
}
.is-navigation-open .nav-toggle .nav-open-icon {
    display: none;
}
.is-navigation-open .nav-toggle .nav-close-icon {
    display: block;
}
.is-navigation-open .nav-toggle, .is-qr-open .wechat-toggle {
    background: #eaf3ed;
    border-color: #a6c9af;
}
.logo_right .qr {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: min(216px, calc(100vw - 32px));
    height: 232px;
    height: min(232px, calc(100dvh - 84px));
    padding: 14px 22px;
    overflow: auto;
    border: 1px solid #d8e3db;
    border-radius: 8px;
    background: #fff;
    color: #365a43;
    box-shadow: 0 8px 24px rgba(20, 45, 29, 0.16);
}
.logo_right.is-qr-open .qr {
    display: flex;
}
.logo_right .qr img {
    width: 168px;
    width: min(168px, calc(100dvh - 144px));
    height: auto;
    margin: 0;
}
.logo_right .qr span {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}
.portal-header .nav_box {
    display: none;
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.portal-header.is-navigation-open .nav_box {
    display: block;
}
.portal-header .nav {
    display: block;
    width: 100%;
    padding: 4px 16px 12px;
}
.nav_menu {
    min-width: 0;
    border: 0;
    border-bottom: 1px solid #dce4de;
    font-size: 14px;
    line-height: 48px;
    text-align: left;
}
.nav_menu:last-child {
    border-right: 0;
}
.portal-header .nav_menu > a {
    padding: 0 16px;
}
.portal-header .nav_menu.has-submenu > a {
    padding-right: 56px;
}
.nav_menu.currents, .nav_menu.is-open {
    border-color: #dce4de;
}
.nav-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    touch-action: manipulation;
}
.nav-submenu-toggle svg {
    width: 16px;
    height: 16px;
}
.nav-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.nav_menu.currents > .nav-submenu-toggle, .nav_menu.is-open > .nav-submenu-toggle {
    color: #eee;
}
.drop_down_menu {
    position: static;
    min-width: 0;
    border: 0;
    background: #f1f5f2;
}
.portal-header .drop_down_menu a {
    padding: 0 28px;
    color: #3c5a45;
    font-size: 14px;
    font-weight: 400;
    line-height: 46px;
}
.portal-header .drop_down_menu li + li {
    border-top: 1px solid #e0e8e2;
}
.footer_top {
    min-height: 0;
    padding: 0;
}
.footer_top ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0;
}
.footer_top ol li {
    margin: 0;
}
.portal-site .footer_top a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 12px;
    white-space: nowrap;
}
.footer_center {
    grid-template-columns: minmax(0, 1fr);
}
.footer_center > div {
    grid-column: auto;
    grid-row: auto;
    padding: var(--portal-block-gap) 0;
}
.footer_center h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
}
.footer_center li {
    font-size: 13px;
    line-height: 24px;
}
.footer_center_center li:first-child {
    margin-bottom: 10px;
}
.footer_center_center li:not(:first-child) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}
.footer_center_center li > span {
    flex: 1;
    min-width: 0;
}
.footer_center_center li img {
    flex-shrink: 0;
    width: 14px;
    height: auto;
    margin: 3px 0 0;
    padding: 0;
}
.portal-site .footer_center_center a {
    font-size: inherit;
}
.footer_center_right {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer_center_right ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}
.footer_center_right li:first-child {
    flex-basis: 100%;
    margin-bottom: 4px;
}
.portal-site .footer_center_right a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
}
.footer_bottom {
    padding: 12px 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.footer_bottom ol {
    display: block;
    font-size: 12px;
    line-height: 24px;
}
.footer_bottom li {
    margin: 0;
    overflow-wrap: anywhere;
}
.footer_bottom li:first-child, .footer_bottom li:nth-child(2) {
    padding: 0;
}
.portal-site .footer-registration {
    max-width: 100%;
    height: auto;
    min-height: 24px;
    line-height: 24px;
}
.footer-registration img {
    margin-top: 2px;
}
.position ul {
    padding: 8px 0;
}
.position li {
    margin-right: 8px;
    font-size: 12px;
    line-height: 24px;
}
.position li img {
    width: 18px;
    height: auto;
    vertical-align: middle;
}
.newbox, .contentbox, .contentTraining, .bodyContent {
    margin-top: var(--portal-block-gap);
}
.newbox > .title, .newbox #ajaxdiv > .title {
    padding-top: 0;
    font-size: 20px;
    line-height: 30px;
}
.new_content > ul > li {
    margin-top: 0;
    padding: 16px 0;
    border-bottom: 1px solid #e7ece9;
}
.article-list-link {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}
.article-list-date {
    margin-right: 8px;
    color: #849087;
    font-size: 12px;
    line-height: 20px;
}
.page-pagination {
    margin-top: var(--portal-block-gap);
}
.contentbox > h1 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
}
.contentbox .attribute {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 12px;
    text-align: left;
}
.contentbox .attribute span {
    min-width: 0;
    padding: 0;
    font-size: 12px;
    line-height: 20px;
    overflow-wrap: anywhere;
}
.contentbox > hr {
    margin-bottom: 20px;
}
.contentbox > .article-body {
    margin: 0;
    padding-bottom: 0;
}
.contentTraining > h1 {
    padding: 14px;
    font-size: 18px;
    line-height: 1.6;
}
.contentTraining > .article-body {
    margin: 16px 0 0;
}
.article-body {
    font-size: 0.9375rem;
    line-height: 1.85;
}
.article-body p, .article-body div, .article-body span, .article-body li, .article-body td, .article-body th {
    font-size: inherit !important;
    line-height: inherit !important;
}
.article-body p {
    margin-bottom: 1em;
}
.article-body h1, .article-body h2, .article-body h3 {
    margin: 1em 0 0.6em;
    font-size: 1.15em;
    line-height: 1.6;
}
.article-body ul, .article-body ol {
    margin: 0.6em 0 1em;
    padding-left: 1.5em;
}
.article-body ul > li {
    list-style: disc;
}
.article-body ol > li {
    list-style: decimal;
}
.article-body table {
    font-size: 0.8125rem;
    line-height: 1.7;
}
.article-body p > img:only-child {
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.info {
    margin: 0;
}
.info .title img {
    width: 48px;
    margin-right: 12px;
}
.info .title p {
    font-size: 18px;
    line-height: 1.5;
}
.info .title .eng {
    font-size: 11px;
    line-height: 1.5;
}
.info > .content {
    padding: 0;
}
.info > .content p {
    font-size: 15px;
    line-height: 1.85;
}
.info .wx, .association-contact {
    padding: 0;
}
.association-contact p {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.8;
}
#maplocation {
    height: 220px;
    margin: var(--portal-section-gap) 0 0;
    overflow: hidden;
    border-radius: 6px;
}
.member_content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    border: 0;
}
.member_content .item {
    overflow: hidden;
    border: 1px solid #e1e8e3;
    border-radius: 6px;
}
.member_content .item .title {
    position: static;
    box-sizing: border-box;
    height: auto;
    min-height: 60px;
    padding: 8px 10px;
    background: #f4f7f5;
    opacity: 1;
    font-size: 14px;
    line-height: 22px;
}
.member_content .item .title span {
    display: -webkit-box;
    padding: 0;
    color: #36513f;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
}
.bodyContent .search ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 8px;
}
.bodyContent .search li {
    min-width: 0;
}
.bodyContent .search li:first-child {
    grid-column: 1 / -1;
    font-size: 15px;
    line-height: 24px;
}
.bodyContent .search input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #c9d8cd;
    border-radius: 4px;
    font-size: 16px;
}
.bodyContent .search input[type="submit"] {
    box-sizing: border-box;
    width: 52px;
    height: 44px;
    padding: 0;
}
.listcontent_img {
    flex-direction: column;
    gap: 16px;
}
.listcontent_img > img {
    width: min(360px, 100%);
    height: auto;
}
.listcontent_img li {
    font-size: 14px;
    line-height: 24px;
}
.listcontent_img li:first-child {
    font-size: 20px;
    line-height: 1.5;
}
.listcontent_introduction, .listcontent_achievement {
    margin-top: var(--portal-section-gap);
}
.listcontent_introduction p, .listcontent_achievement p {
    padding: 14px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: normal;
    word-spacing: normal;
}
.MagazineContent {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.MagazineTitle {
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.portal-site .MagazineText a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px;
    font-size: 14px;
}
.search-results-container {
    padding: 0 16px;
}
.search-header {
    margin-bottom: var(--portal-block-gap);
    padding: 16px;
}
.search-header h1 {
    font-size: 20px;
}
.search-info {
    font-size: 14px;
    line-height: 1.6;
}
.search-box-results {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.search-input-results {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
}
.search-btn-results {
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
}
.result-item {
    padding: 16px;
}
.result-title {
    font-size: 15px;
    line-height: 1.6;
}
.result-meta {
    gap: 4px 12px;
    font-size: 12px;
    line-height: 20px;
}
.result-description {
    font-size: 14px;
    line-height: 1.8;
}
.no-results {
    padding: 40px 16px;
}

.mobile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    margin-top: var(--portal-block-gap);
    color: #849087;
    font-size: 13px;
    text-align: center;
    overflow-anchor: none;
}
.portal-site .mobile-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #cfddd3;
    border-radius: 6px;
    color: #26753b;
    font-size: 14px;
    touch-action: manipulation;
}
.mobile-pagination.is-enhanced .mobile-load-more { display: none; }
.mobile-pagination.is-error .mobile-load-more { display: inline-flex; }
.mobile-pagination.is-loading .mobile-load-status::before {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border: 2px solid #dfe8e2;
    border-top-color: #22ac38;
    border-radius: 50%;
    content: "";
    vertical-align: -2px;
    animation: mobile-loading 0.8s linear infinite;
}
@keyframes mobile-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .mobile-pagination.is-loading .mobile-load-status::before { animation: none; }
}

.mobile-error { padding: 64px 16px; text-align: center; }
.mobile-error p { margin-top: 20px; color: #22ac38; font-size: 18px; }
/* 在电脑上主动查看 /M 时也保持手机导航，避免桌面悬停规则介入。 */
.portal-mobile .portal-header .nav:hover .nav_menu.currents:not(:hover):not(.is-open),
.portal-mobile .portal-header .nav_menu.currents,
.portal-mobile .portal-header .nav_menu.is-open {
    border-color: #dce4de;
    background-image: url(../../web/images/green.png);
}
.portal-mobile .portal-header .nav:hover .nav_menu.currents:not(:hover):not(.is-open) > a { color: #eee; }
