/* ─── HEADER ─── */
.brand-logo {
    height: 110px;
    margin-right: 16px;
}

.brand-text h1 {
    font-size: 30px;
}

.brand-text p {
    font-size: 13px;
}

/* ─── MAIN NAV ─── */
.nav-link {
    font-size: 16px;
    padding: 7px 18px;
    min-width: 82px;
    text-align: center;
    letter-spacing: 0.06em;
}

.nav-link.active,
.dropdown-menu {
    width: calc(100% + 6px);
    min-width: unset;
}

.dropdown-item {
    font-size: 15px;
}

.dropdown-item:hover::before {
    left: 0;
}

.dropdown-item:hover {
    color: var(--primary);
}

/* ─── PAGE BANNER (photo bg) ─── */
.page-banner {
    position: relative;
    overflow: hidden;
    height: 220px;
    color: #fff;
}

/* photo layer */
.page-banner-photo {
    position: absolute;
    inset: 0;
    background-image: url('../img/page-banner-photo1.jpg');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.page-banner:hover .page-banner-photo {
    transform: scale(1.00);
}

/* teal colour overlay */
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(0, 90, 86, 0.78) 0%,
            rgba(10, 173, 168, 0.62) 55%,
            rgba(6, 182, 212, 0.45) 100%);
}

/* text content layer */
.page-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    height: calc(100% - 36px);
    /* leave room for static bc at bottom */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 0;
}

.banner-eyebrow::before {
    display: none;
}

.page-banner-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    line-height: 1;
    margin-bottom: 12px;
}

.page-banner-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    letter-spacing: 2px;
}

/* static breadcrumb pinned to banner bottom — always visible */
.banner-static-bc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 36px;
    background: rgba(0, 60, 56, 0.50);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
}

.banner-static-bc-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.banner-static-bc-inner a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.banner-static-bc-inner a:hover {
    color: #fff;
}

.banner-static-bc-inner .sep,
.banner-static-bc-inner .possplit {
    opacity: 0.45;
    background-image: none;
    color: rgba(255, 255, 255, 0.65);
}

.banner-static-bc-inner .cur {
    color: #fff;
    font-weight: 600;
}

/* breadcrumb at bottom of banner */
.banner-breadcrumb {
    position: fixed;
    top: 0;
    /* set dynamically by JS */
    left: 0;
    right: 0;
    background: rgba(0, 80, 76, 0.88);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 850;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.banner-breadcrumb.is-fixed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.banner-bc-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.banner-bc-inner a {
    color: rgba(255, 255, 255, 0.62);
}

.banner-bc-inner a:hover {
    color: #fff;
}

.banner-bc-inner .possplit,
.banner-bc-inner .sep {
    opacity: 0.45;
    color: rgba(255, 255, 255, 0.65);
}

.banner-bc-inner .cur {
    color: #fff;
    font-weight: 600;
}

/* ─── SUB-NAV TABS (horizontal, sticky) ─── */
.sub-nav-outer {
    background: #fff;
    border-bottom: 2px solid rgba(10, 173, 168, 0.12);
    box-shadow: 0 4px 20px rgba(10, 173, 168, 0.08);
    position: sticky;
    top: 56px;
    z-index: 700;
    /* JS will update this */
    overflow: hidden;
}

.sub-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    /*display: flex;*/
    align-items: stretch;
    gap: 0;
    /*overflow: hidden;*/
}

.sub-nav-inner::-webkit-scrollbar {
    display: none;
}

.sub-nav-group {
    display: inline-flex;
    align-items: center;
    border-right: 2px solid rgba(10, 173, 168, 0.30);
}

.sub-nav-group:last-child {
    border-right: none;
}

.sub-group-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    /*padding: 0 18px;*/
    display: block;
    padding: 14px 18px;
    white-space: nowrap;
    border-right: 2px solid rgba(10, 173, 168, 0.30);
}

.sub-nav-tab {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    position: relative;
    transition: color 0.22s, letter-spacing 0.22s, transform 0.22s;
}

.sub-nav-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s var(--ease);
    border-radius: 2px 2px 0 0;
}

.sub-nav-tab:hover {
    color: var(--primary);
    letter-spacing: ;
    transform: translateY(-1px);
}

.sub-nav-tab:hover::after {
    transform: scaleX(0.7);
}

.sub-nav-tab.selected,
.sub-nav-tab.active {
    color: var(--primary);
    font-weight: 700;
}

.sub-nav-tab.selected::after,
.sub-nav-tab.active::after {
    transform: scaleX(1);
}

/* ─── CONTENT ZONE ─── */
.content-zone {
    max-width: 1320px;
    margin: 32px auto 60px;
    padding: 0 20px;
}

/* ── Zone heading ── */
.zone-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.zone-title-bar {
    width: 4px;
    height: 24px;
    border-radius: 2px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.zone-heading h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.zone-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-mid);
}

/* ── News list: compact cards ── */
.news-list-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 22px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(10, 173, 168, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.22s var(--ease);
    border-radius: 0 2px 2px 0;
}

.news-item:hover {
    box-shadow: 0 5px 24px rgba(10, 173, 168, 0.12), 0 2px 7px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.news-item:hover::before {
    width: 3px;
}

.news-item:hover .ni-title {
    color: var(--primary);
}

.wp_articlecontent #wp_content_w8_0 img {
    display: inline-block;
    margin: 0 auto;
    max-width: 100%;
    width:auto;
    height:auto;
}

/* date block — light teal pill background */
.news-date-block {
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    background: rgba(10, 173, 168, 0.08);
    border-radius: 8px;
    padding: 7px 4px 6px;
}

.news-date-day {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.news-date-ym {
    font-size: 10px;
    color: var(--text-mid);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

/* body */
.ni-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ni-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.45;
    flex: 1;
    transition: color 0.22s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ni-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.ni-tag,
.arti_views {
    display: inline-block;
    background: rgba(10, 173, 168, 0.10);
    color: var(--primary);
    padding: 1px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.ni-source {
    color: var(--text-mid);
    white-space: nowrap;
}

/* arrow */
.ni-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--primary);
    padding-right: 2px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s, transform 0.22s;
}

.news-item:hover .ni-arrow {
    opacity: 1;
    transform: translateX(0);
}

.wp_single {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
}

.wp_single .wp_articlecontent {
    font-size: 14px;
    line-height: 2em;
}

#wp_content_w8_0 table {
    width: 100%;
}

.Article_MicroImage img {
  width:100%;
  display: inline-block;
}

/* ─── PAGINATION ─── */


.pages,
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.page-number,
.pgNext,
.pg-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(10, 173, 168, 0.20);
    background: #fff;
    color: var(--text-mid);
    transition: all 0.2s;
    white-space: nowrap;
}

.page-number:hover,
.pgNext:hover,
.pg-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}


.page-number.active,
.pgNext.active,
.pg-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── FOOTER ─── */


        /*xswyh*/
        /* ----- 基础样式 (仅用于演示，可完全自定义) ----- */

        .xswyh_box {
            background: #fff;
            border-radius: 2px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: box-shadow 0.3s ease;
            margin: 18px 20px;
        }

        .xswyh_box:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        }

        /* ----- 标题区域 (可点击) ----- */
        .xswyh_title {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.2s ease, color 0.2s ease;
            letter-spacing: 0.3px;
            line-height: 58px;
            color: #fff;
            font-size: 20px;
            padding: 0 16px;
            position: relative;
            /* font-weight: bold; */
            /*border-bottom: 2px solid;*/
            background: #0AADA8;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            -khtml-user-select: none;
            -o-user-select: none;
            user-select: none;

        }

        .xswyh_title:hover {
            background: #2abfba;
        }

        .xswyh_title:active {
            background: #2abfba;
        }

        /* ----- 箭头占位 (通过 jQuery 动态插入) ----- */
        .xswyh_title .arrow-indicator {
            font-size: 16px;
            color: #ffffff;
            transition: transform 0.3s ease, color 0.3s ease;
            margin-left: 12px;
            line-height: 1;
            flex-shrink: 0;
        }

        .xswyh_title:hover .arrow-indicator {
            color: #ffffff;
            font-weight: 600;
        }

        /* ----- 内容区域 (默认隐藏) ----- */
        .xswyh_content {
            padding: 12px 20px;
            font-size: 15px;
            color: #333;
            line-height: 1.5;
            background: #ffffff;
            border-bottom: 1px solid #eef2f7;
            display: none;
            /* 默认隐藏 */
            border-radius: 2px;
            ;
        }

        .xswyh_content p {
            text-justify: inter-ideograph;
            font-size: 16px;
            color: #333;
            line-height: 28px;
            margin: 10px 0;
        }

        .xswyh_content h3 {
            font-weight: bold;
            font-size: 17px;
        }

        .xswyh_content b {
            color: #333;
            font-weight: 600;
        }

        /* ----- 展开时的额外修饰 (可选) ----- */
        .xswyh_title.active {
            background: #2abfba;
        }

        .xswyh_title.active .arrow-indicator {
            color: #ffffff;
        }

        /* 内容出现/消失的微过渡 */
        .xswyh_content {
            transition: opacity 0.25s ease;
        }

/*resbase*/
    /* 外层容器：flex 三列布局 */
    .resbases {
      display: flex;
      flex-wrap: wrap;
      gap: 1.8rem;
      max-width: 1100px;
      width: 100%;
      justify-content: center;
      margin: 28px auto;
    }

    /* 每个卡片：flex basis 控制三列 */
    .resbase {
      position: relative;
      flex: 1 1 260px;
      /* 最小宽度260px，三列自适应 */
      max-width: 320px;
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 12px 28px rgba(0, 20, 30, 0.08);
      overflow: hidden;
      /* 保证遮罩圆角 */
      transition: transform 0.2s ease, box-shadow 0.25s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      /*padding-bottom: 0.6rem;*/
      cursor: default;
    }

    .resbase:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 36px rgba(0, 20, 30, 0.12);
    }

    /* 图片 — 默认显示 */
    .resbaseimg {
      display: block;
      width: 100%;
      height: 180px;
      object-fit: cover;
      background-color: #eef2f7;
      transition: opacity 0.2s;
    }

    /* 名称 (span.resbasename) — 默认显示 */
    .resbasename {
      display: none;
      /* 使其在flex流中占位 */
      width: 100%;
      padding: 0.5rem 1rem 0.1rem;
      font-weight: 600;
      font-size: 1.1rem;
      color: #0AADA8;
      text-align: center;
    }

    /* 描述段落 p — 默认显示 */
    .resbase p {
      display: block;
      padding: 0.1rem 1rem 0.1rem;
      font-size: 0.95rem;
      color: #475569;
      text-align: center;
      line-height: 1.4;
      margin: 0;
    }

    /* ---------- 遮罩层 + 子项 ---------- */
    .resbaseimgcvr {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 180px;
      /* 与图片高度一致 */
      background: rgba(10, 173, 168, 0.75);
      /* 红色半透明遮罩 */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      opacity: 0;
      /* 默认隐藏 */
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
      border-radius: 24px 24px 0 0;
      /* 保持圆角顶部 */
      pointer-events: none;
      /* 避免遮挡下方链接交互 (若有点击需求可调整) */
    }

    /* 遮罩下的文字：span 和 i */
    .resbaseimgcvr span {
      color: #fff;
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
      background: rgba(0, 0, 0, 0.12);
      padding: 0.2rem 1rem;
      border-radius: 40px;
      backdrop-filter: blur(2px);
      text-align: center;
      line-height: 30px;
    }

    .resbaseimgcvr i {
      color: #fffaf5;
      font-style: normal;
      background: rgba(255, 255, 240, 0.2);
      padding: 0.3rem 1.4rem;
      border-radius: 60px;
      font-size: 1rem;
      font-weight: 500;
      border: 1px solid rgba(255, 255, 194, 0.3);
      backdrop-filter: blur(4px);
      transition: background 0.2s;
    }

    .resbaseimgcvr i:hover {
      background: rgba(255, 255, 194, 0.3);
    }

    /* ----- 悬停时显示遮罩 ----- */
    .resbase:hover .resbaseimgcvr {
      opacity: 1;
      visibility: visible;
    }

    /* 同时保证图片在遮罩下层 (遮罩absolute已覆盖) */
    .resbase .resbaseimg {
      position: relative;
      z-index: 1;
    }

    .resbase .resbaseimgcvr {
      z-index: 10;
    }

    /* 修正 a 标签位置 (原有结构似乎有误，优化) */
    /* 原有HTML中 a 标签未闭合或位置错乱，这里通过CSS重置并保持功能性 */
    .resbase a[target="_blank"] {
      display: none;
      /* 原始结构中存在游离a，隐藏以免破坏布局 */
    }

    /* 确保内容按预期显示：resbaseimg / span.resbasename / p 可见 */
    /* 并且遮罩正确覆盖图片区域 */

    /* 额外: span.resbasename 内容为空，添加伪内容展示示例 */
    /* 但保留原结构，利用伪元素填充占位视觉效果 */
    .resbasename:empty::before {
      content: "";
      color: #1e293b;
      font-weight: 600;
      opacity: 0.75;
    }

    /* 同时给p标签内若有空文本也补充 (但已经填充文字) */
    .resbase p:empty::before {
      content: "";
      color: #64748b;
    }

    /* 卡片内部排版微调 */
    .resbase>.resbaseimg {
      display: block;
    }

    /* 修复重复a标签的影响 */
    .resbase {
      position: relative;
    }

    /* 美化滚动与间距 */
    .resbase:focus-visible {
      outline: 3px solid #0AADA8;
      outline-offset: 2px;
    }

    /* 响应式：小屏保持三列弹性 */
    @media (max-width: 800px) {
      .resbase {
        flex: 1 1 280px;
        max-width: 380px;
      }
    }

    @media (max-width: 550px) {
      .resbase {
        flex: 1 1 100%;
        max-width: 420px;
      }
    }

