:root {
    --primary: #2d5fa3;
    --primary-light: #4f80c0;
    --primary-soft: #eaf2fc;
    --text: #243447;
    --text-soft: #5f7082;
    --surface: #ffffff;
    --border: #d8e4f1;
    --shadow: 0 10px 24px rgba(33, 74, 129, 0.1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure {
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    color: var(--text);
    background: #f5f8fc;
    overflow-x: hidden;
}

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

a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

ul {
    list-style: none;
}

.header {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    border-bottom: 1px solid #dbe7f5;
    position: relative;
    z-index: 1200;
}

.topbar {
    background: #eaf2fc;
    border-bottom: 1px solid #d5e3f3;
}

.topbar-container,
.header-container,
.nav-container,
.main,
.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.topbar-container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.topbar-link {
    font-size: 14px;
    color: #416b9b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.topbar-link:hover {
    color: #294f7c;
}

.header-container {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.site-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-subtitle {
    color: #6f86a0;
    font-size: 13px;
}

.site-title {
    color: #2d5fa3;
    font-size: 30px;
    font-weight: 700;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #bed0e5;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.search-box input {
    width: 260px;
    max-width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px;
    background: transparent;
    font-size: 15px;
}

.search-box button {
    width: 44px;
    height: 46px;
    border: none;
    background: #4f80c0;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.nav {
    background: #2d5fa3;
    position: relative;
    z-index: 1300;
    box-shadow: 0 6px 14px rgba(19, 46, 83, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 15px;
}

.nav-menu {
    display: flex;
    width: 100%;
}

.nav-menu > li {
    flex: 1;
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    min-height: 50px;
    color: #fff;
    font-size: 17px;
    transition: background 0.2s ease;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.nav-arrow {
    font-size: 14px;
    line-height: 1;
    opacity: 0.9;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 170px;
    background: #214d87;
    border: 1px solid #3d6da8;
    border-radius: 3px;
    display: none;
    z-index: 2000;
    box-shadow: 0 8px 18px rgba(11, 32, 61, 0.35);
}

.nav-menu li:hover > .submenu {
    display: block;
}

.submenu a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 12px;
    font-size: 15px;
}

.submenu a:hover {
    background: #3264a4;
}

.main {
    margin: 20px auto 28px;
}

.section-layer {
    margin-bottom: 20px;
}

.section-layer-primary .carousel,
.section-layer-primary .section,
.column {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.section-layer-secondary {
    /* background: linear-gradient(180deg, #edf4fc 0%, #e7f0fa 100%); */
    /* border: 1px solid #d5e3f2; */
    border-radius: 4px;
}

.carousel-section {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    align-items: stretch;
    max-width: 100%;
    min-width: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.carousel-section > * {
    min-width: 0;
}

.carousel {
    overflow: hidden;
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.swiper-container {
    height: 100%;
    flex: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.swiper-wrapper {
    width: 100%;
}

.swiper-slide {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f1f33;
}

.swiper-button-prev,
.swiper-button-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(35, 76, 129, 0.72);
    color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.swiper-pagination {
    position: static !important;
    text-align: right !important;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.carousel-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.65) 75%, rgba(0, 0, 0, 0.3) 100%);
    color: #fff;
    z-index: 3;
}

.carousel-caption-text {
    width: 75%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 17px;
}

.carousel-caption-text i {
    color: #d8e8ff;
}

.carousel-title-text {
    color: #fff;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-caption .swiper-pagination {
    width: 25%;
}

.section {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title,
.column-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid #dce8f5;
    color: var(--primary);
    font-size: 22px;
    font-weight: 400;
}

.section-title {
    justify-content: flex-start;
}

.title-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 400;
    font-size:20px;
}

.title-main:hover {
    color: #244a7a;
}

.title-icon {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

.section-content p {
    color: var(--text-soft);
    margin-bottom: 8px;
    font-size: 16px;
}

.section-content {
    flex: 1;
}

.section-more,
.column-title a {
    font-size: 20px;
    color: var(--primary);
}
.section-more{
    font-size: 16px !important;
}
.section-more:hover,
.column-title a:hover {
    color: #355f94;
}
/* 最新动态和广纳英才 */
.two-columns {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
    min-width: 0;
    align-items: start;
}

.two-columns > * {
    min-width: 0;
}

.column {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.news-item {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 12px;
    padding: 9px;
    margin-bottom: 10px;
    border: 1px solid #e3edf7;
    border-radius: 4px;
    background: #fcfdff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(38, 78, 128, 0.12);
}

.news-item img {
    width: 165px;
    height: 115px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.two-columns .column:last-child .news-item img {
    width: 108px;
    height: 74px;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-content h4 {
    font-size: 17px;
    color: #1f3550;
    margin-bottom: 6px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.news-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.news-item:hover .news-title {
    color: #2d5fa3;
}

.news-content p {
    font-size: 14px;
    color: #607286;
    margin-bottom: 6px;
    line-height: 1.6;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6e8095;
    font-size: 13px;
}

.date-icon {
    width: 16px;
    text-align: center;
    font-size: 16px;
}

.topbar-link i,
.search-box button i,
.carousel-caption-text i {
    width: 16px;
    text-align: center;
    font-size: 16px;
}

.footer {
    background: linear-gradient(180deg, #2f5f9f 0%, #264f84 100%);
    color: #fff;
    padding: 22px 0;
}

.footer-container {
    text-align: center;
}

.footer-info p,
.footer-copyright p {
    margin-bottom: 4px;
    font-size: 14px;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.86;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

body.nav-sticky {
    padding-top: 50px;
}

body.nav-sticky .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* 单篇页面样式 */
.single-page {
    display: grid;
    grid-template-columns: 20% 80%;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    min-width: 0;
}

.single-page > * {
    min-width: 0;
}

.single-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 20px;
    min-height: auto;
    height: fit-content;
    position: relative;
    z-index: 10;
}

.sidebar-menu .submenu {
    margin-top: 5px;
    display: none;
    background-color: #f9fbfd;
    border-radius: 4px;
    padding: 5px 0;
    position: relative;
    z-index: 11;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover {
    background-color: var(--primary-soft);
    color: var(--primary);
}

.sidebar-menu .has-submenu {
    position: relative;
}

.sidebar-menu .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-menu .menu-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-menu .menu-arrow.up {
    border-bottom: 5px solid var(--text);
}

.sidebar-menu .menu-arrow.down {
    border-top: 5px solid var(--text);
}
.sidebar-menu .submenu li {
    margin-bottom: 0;
}

.sidebar-menu .submenu a {
    padding: 8px 12px;
    font-size: 14px;
    color: #4a6b8a;
}

.sidebar-menu .submenu a:hover {
    background-color: #eaf2fc;
    color: var(--primary);
}

.single-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.content-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9fbfd;
    border-radius: 4px;
    font-size: 14px;
    color: #6e8095;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--primary);
}
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.content-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.content-body ul,
.content-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.content-body ul li {
    list-style-type: disc;
}

.content-body ol li {
    list-style-type: decimal;
}

/* 侧边栏切换按钮 */
.sidebar-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #2d5fa3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

.sidebar-toggle.active i {
    transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .sidebar-toggle {
        display: flex;
    }

    .single-page {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        display: none;
        margin-bottom: 0;
        order: unset;
    }

    .single-sidebar.open {
        display: block;
    }

    .single-content {
        order: unset;
    }
}

@media (max-width: 992px) {
    .topbar-container,
    .header-container,
    .nav-container,
    .main,
    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-title {
        font-size: 26px;
    }

    .search-box input {
        width: 200px;
    }

    .carousel-section,
    .two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-container {
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-title {
        font-size: 20px;
    }

    .site-subtitle {
        font-size: 11px;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: calc(100% - 42px);
    }

    .nav-container {
        min-height: 48px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        margin-top: 8px;
        background: #2d5fa3;
        border: 1px solid #4574b0;
        border-radius: 4px;
        overflow: hidden;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu a {
        justify-content: flex-start;
        padding: 0 12px;
        min-height: 44px;
        font-size: 16px;
    }

    .submenu {
        position: static;
        display: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: #3b6fae;
    }

    .nav-menu li:hover > .submenu {
        display: none;
    }

    .nav-menu li.submenu-open > .submenu {
        display: block;
    }

    .swiper-container {
        height: 240px;
        flex: unset;
    }

    .carousel {
        height: auto;
    }

    .carousel-caption {
        position: relative;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px;
    }

    .carousel-caption-text {
        width: 100%;
        font-size: 14px;
    }

    .carousel-caption .swiper-pagination {
        width: 100%;
        text-align: center !important;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100% !important;
        height: 170px !important;
    }

    .two-columns .column:last-child .news-item img {
        width: 100% !important;
        height: auto !important;
    }

    .news-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .single-page {
        grid-template-columns: 1fr;
    }

    .single-content {
        padding: 16px;
    }

    .content-title {
        font-size: 20px;
    }

    .content-meta {
        flex-direction: column;
        gap: 8px;
    }

    .pages span,
    .pages a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
        height: 30px;
        line-height: 30px;
    }

    .footer {
        padding: 16px 0;
    }

    .footer-info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 10px;
    }

    .site-title {
        font-size: 17px;
    }

    .section {
        padding: 12px;
    }

    .section-title,
    .column-title {
        font-size: 18px;
    }

    .title-main {
        font-size: 16px;
    }

    .single-content {
        padding: 12px;
    }

    .content-title {
        font-size: 18px;
    }

    .content-body p {
        font-size: 14px;
    }
}
.pages {
  text-align: center;
  padding-top: 35px;
  padding-bottom: 35px;
}
.pages a,
.pages span {
  display: inline-block;
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
  height: 34px;
  line-height: 34px;
}
.pages a:before,
.pages span:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 1px;
}
.pages a:after,
.pages span:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -6px;
  width: 1px;
  height: 12px;
  border: 1px solid #CECECE;
  display: none;
}
.pages a {
  font-family: 'Roboto-Regular', 'Roboto';
  color: #898989;
}
.pages a:last-child:after {
  display: none;
}
.pages a:before {
  border-bottom: 1px solid transparent;
}
.pages a:hover {
  color: #2d5fa3;
}
.pages a:hover:before {
  border-bottom: 1px solid #2d5fa3;
}
.pages span {
  color: #2d5fa3;
}
.pages span:before {
  border-bottom: 1px solid #2d5fa3;
}
.pages-phone {
  height: 44px;
  line-height: 44px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  margin-top: 20px;
  background-color: #2d5fa3;
  display: none;
}

@media (max-width: 768px) {
  .pages {
    display: none;
  }
  .pages-phone {
    display: block;
  }
}
.pages-phone:hover,
.pages-phone:active {
  color: #fff;
}