@charset "UTF-8";
body {
  background-image: url('../img/bg-dalian-night.jpeg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0b2b45;
  color: #333;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.18);
}
body > .container {
  max-width: 1110px;
  background-color: #fff;
  padding: 1.5rem 2.25rem;
  border-radius: 0;
  box-shadow: none;
}
.cm-navbar {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding-top: 2rem !important;
  padding-bottom: 0 !important;
}
.cm-navbar > .container {
  position: relative;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 1110px !important;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.92);
  padding: 1.25rem 0 0 !important;
}
.cm-navbar .navbar-brand {
  margin-left: 0;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
}
.cm-navbar .navbar-brand img {
  filter: drop-shadow(0 2px 3px rgba(0, 54, 106, 0.14));
}

.cm-site-headline-wrap {
  min-height: 112px;
  padding-left: 1rem;
  padding-right: 230px;
}

.cm-site-headline {
  margin-left: 1.25rem;
  color: #c5161d;
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 2px rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.cm-navbar .navbar-nav .nav-link {
  min-width: 118px;
  height: 48px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  transition: background-color 0.15s ease-in-out;
}
.cm-navbar .navbar-nav .nav-item:last-child .nav-link {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.cm-navbar .navbar-nav .nav-link:hover,
.cm-navbar .navbar-nav .nav-link.active {
  background-color: #004b9a;
  color: #fff;
}

.navbar-nav-scroll {
  max-width: 100%;
  width: 100%;
  align-self: stretch;
  flex: 0 0 auto;
  height: auto;
  margin-top: 1rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #075fb8;
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  /*padding-bottom: 2rem;*/
  justify-content: center;
  display: flex;
  width: 100%;
  min-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  -webkit-overflow-scrolling: touch;
}

.cm-header-tools {
  position: absolute !important;
  top: 3.35rem;
  right: 1rem;
  z-index: 2;
}

.cm-header-tools .btn-light {
  width: 44px;
  height: 36px;
  border: 0;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #0d5dab !important;
  box-shadow: 0 2px 8px rgba(0, 65, 125, 0.12);
}

.cm-header-search {
  display: flex;
  align-items: center;
  width: 310px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(0, 58, 108, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 8px rgba(0, 65, 125, 0.12);
}

.cm-header-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 1rem 0 1.25rem;
  color: #42566b;
  font-size: 14px;
}

.cm-header-search input::placeholder {
  color: #8a949e;
  opacity: 1;
}

.cm-header-search button {
  flex: 0 0 58px;
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(0, 58, 108, 0.18);
  background: transparent;
  color: #064b80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cm-header-search button:hover {
  background: rgba(7, 95, 184, 0.08);
  color: #003f73;
}

.cm-header-tools .btn-outline-primary,
.cm-header-tools .btn-light.text-primary {
  border-radius: 18px;
}

.cm-hidden {
  display: none !important;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 2px;
  border-color: #075fb8;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(var(--bs-dark-rgb, 0, 0, 0), 0.5);
}

.cm-media-img, .cm-d-flex-img {
  max-width: 180px;
  max-height: 120px;
  object-fit: cover;
  border-radius: var(--bs-border-radius);
}

@media screen and (max-width: 767.98px) {
  body {
    background-size: auto 360px;
  }
  body > .container {
    padding: 1rem;
  }
  .cm-navbar {
    padding-top: 1rem !important;
  }
  .cm-navbar > .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .cm-navbar .navbar-brand img {
    width: 76px !important;
    height: 76px !important;
  }
  .cm-site-headline-wrap {
    min-height: 86px;
    padding-right: 0;
  }
  .cm-site-headline {
    margin-left: 0.75rem;
    font-size: 24px;
    white-space: normal;
  }
  .navbar-nav-scroll {
    margin-top: 0.75rem;
  }
  .cm-navbar .navbar-nav .nav-link {
    min-width: 88px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 42px;
  }
  .cm-header-tools {
    position: static;
    margin-top: 0.75rem;
  }
  .cm-header-tools .d-flex {
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cm-header-search {
    width: min(100%, 300px);
    margin-left: 0 !important;
  }
  .cm-channel-subnav .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .cm-channel-subnav ol.list-inline {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
  .cm-channel-subnav .btn-sm {
    min-width: auto;
    white-space: nowrap;
  }
  .cm-channel-layout {
    display: block;
    margin-top: 0 !important;
  }
  .cm-channel-layout .cm-channel-subnav {
    margin-bottom: 1rem;
  }
  .cm-channel-layout .cm-channel-subnav-title {
    font-size: 18px;
    padding: 0.75rem 1rem;
    text-align: left;
  }
  .cm-channel-layout .cm-channel-subnav ol.list-inline {
    display: flex;
    overflow-x: auto;
  }
  .cm-channel-layout .cm-channel-subnav .list-inline-item {
    flex: 0 0 auto;
    border-bottom: 0;
    border-right: 1px solid #e1e6ec;
  }
  .cm-channel-layout .cm-channel-subnav .btn-sm {
    padding: 0.75rem 1rem;
    font-size: 14px;
  }
  .cm-channel-layout .cm-channel-subnav .btn-sm::before {
    display: none;
  }
  .cm-detail-card {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.cm-page-detail > .container.cm-detail-card {
    max-width: 100% !important;
  }
  .cm-detail-breadcrumb {
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .cm-detail-card > .row {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .cm-media-img, .cm-d-flex-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-video-card {
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: var(--bs-border-radius);
  padding: 6px;
  background-color: var(--bs-body-bg, #fff);
}

.cm-video-card .card-img-top {
  border-radius: calc(var(--bs-border-radius) - 4px);
}

.cm-link {
  color: var(--bs-body-color, #212529);
  text-decoration: none;
}
.cm-link:hover {
  color: #075fb8;
}

body > div.bg-white {
  max-width: 1110px;
  margin: 0 auto;
  background-color: #fff !important;
  box-shadow: none;
}

body > div.bg-white .container {
  max-width: 1110px;
}

body > div.bg-white:not(.mt-4) {
  border-top: 1px solid #e4edf6;
}

body > div.bg-white:not(.mt-4) ol.list-inline {
  margin-bottom: 0 !important;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.cm-channel-subnav {
  margin-top: 0 !important;
  border-top: 0 !important;
  background: #fff !important;
}

.cm-channel-subnav .container {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.cm-channel-subnav nav {
  min-height: 50px;
  align-items: center;
  border-top: 0;
  border-bottom: 1px solid #dceaf6;
  background: #f8fbff;
}

.cm-channel-subnav ol.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}

.cm-channel-subnav ol.list-inline::before {
  content: "";
  width: 4px;
  height: 20px;
  margin-right: 0.55rem;
  background: #075fb8;
}

.cm-channel-subnav .list-inline-item {
  margin-right: 0;
}

.cm-channel-subnav .btn-sm {
  min-width: 68px;
  border-radius: 0;
  padding: 0.5rem 0.7rem 0.42rem;
  font-size: 14px;
  line-height: 1.25;
}

.cm-channel-subnav .btn-primary {
  border-color: transparent;
  border-bottom: 3px solid #075fb8;
  background-color: transparent;
  color: #075fb8;
  font-weight: 700;
}

.cm-channel-subnav .btn-link {
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  color: #315f91 !important;
  background-color: transparent;
}

.cm-channel-subnav .btn-link:hover {
  border-bottom-color: #9ec3e8;
  background-color: transparent;
  color: #075fb8 !important;
}

body > div.bg-white + .container.mt-3 {
  margin-top: 0 !important;
  padding-top: 1.5rem;
}

body > div.bg-white + .container.mt-3 + .container.mt-3 {
  margin-top: 0 !important;
  padding-top: 1.5rem;
}

body > .container.mt-4 {
  margin-top: 0 !important;
}

.cm-channel-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 0 !important;
  padding-top: 1.5rem;
}

.cm-channel-layout .cm-channel-subnav {
  flex: 0 0 230px;
  margin-top: 0 !important;
  background: transparent !important;
}

.cm-channel-layout .cm-channel-subnav-title {
  background: #075196;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  padding: 1rem 0.75rem;
}

.cm-channel-layout .cm-channel-subnav nav {
  min-height: 0;
  border: 0;
  background: #f5f7fa;
}

.cm-channel-layout .cm-channel-subnav ol.list-inline {
  display: block;
  padding: 0 !important;
  margin: 0 !important;
}

.cm-channel-layout .cm-channel-subnav ol.list-inline::before {
  display: none;
}

.cm-channel-layout .cm-channel-subnav .list-inline-item {
  display: block;
  margin: 0;
  border-bottom: 1px solid #e1e6ec;
}

.cm-channel-layout .cm-channel-subnav .btn-sm {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0.95rem 1rem 0.95rem 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #24364a !important;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
}

.cm-channel-layout .cm-channel-subnav .btn-sm::before {
  content: ">";
  position: absolute;
  left: 1rem;
  color: #50677f;
  font-size: 14px;
}

.cm-channel-layout .cm-channel-subnav .btn-primary,
.cm-channel-layout .cm-channel-subnav .btn-link:hover {
  background: #eaf3fd;
  color: #075196 !important;
  font-weight: 700;
}

.cm-channel-layout .cm-channel-subnav .btn-primary::before,
.cm-channel-layout .cm-channel-subnav .btn-link:hover::before {
  color: #075196;
}

.cm-channel-main {
  flex: 1 1 auto;
  min-width: 0;
}

.cm-channel-list {
  margin-top: 1.25rem;
}

.cm-member-single {
  display: flex;
  justify-content: center;
  margin-top: 0 !important;
}

.cm-member-single .cm-member-content {
  max-width: 720px;
  width: 100%;
}

.cm-member-single .cm-member-content > .border {
  border-color: #dceaf6 !important;
  border-radius: 0 !important;
}

.cm-member-single .cm-member-content h5 {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e6edf5;
  color: #075196;
  font-size: 20px;
  font-weight: 700;
}

.cm-member-form {
  display: block;
}

.cm-member-form .mb-3 {
  margin-bottom: 1rem !important;
}

.cm-member-form .form-label {
  margin-bottom: 0.5rem;
  color: #24364a;
  font-size: 15px;
  font-weight: 600;
}

.cm-member-form .form-label:has(+ input[required])::after,
.cm-member-form .form-label:has(+ textarea[required])::after,
.cm-member-form .form-label:has(+ .input-group input[required])::after {
  content: " *";
  color: #d93025;
  font-weight: 700;
}

.cm-member-form .form-control {
  min-height: 42px;
  border-color: #d7e1ea;
  background-color: #fff;
}

.cm-member-form textarea.form-control {
  min-height: 92px;
  resize: vertical;
}

.cm-member-form .form-control:focus {
  border-color: #2274c9;
  box-shadow: 0 0 0 0.18rem rgba(34, 116, 201, 0.12);
}

.cm-member-form .btn-primary {
  min-height: 42px;
  font-weight: 600;
}

.cm-about-single h3.cm-ff-yh {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e6edf5;
  color: #075196;
  font-size: 24px;
  font-weight: 700;
}

.cm-about-single {
  width: 100%;
  margin-top: 0 !important;
}

.cm-about-layout .cm-about-main {
  padding-top: 0.15rem;
}

.cm-page-detail .cm-channel-subnav {
  display: none !important;
}

.cm-page-detail .cm-channel-layout {
  display: block;
}

.cm-page-detail > .bg-white,
.cm-page-detail > .bg-gray-200 {
  max-width: 1110px;
  margin: 0 auto;
  background: #fff !important;
  box-shadow: none;
}

.cm-page-detail nav[aria-label="breadcrumb"] {
  justify-content: flex-start;
}

.cm-page-detail nav[aria-label="breadcrumb"] ol.list-inline {
  flex: 1 1 auto;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0.85rem 0;
  background: transparent;
  color: #315f91;
}

.cm-page-detail nav[aria-label="breadcrumb"] .list-inline-item {
  margin-right: 0.35rem;
}

.cm-page-detail > .bg-white .container,
.cm-page-detail > .bg-gray-200 .container {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.cm-page-detail > .bg-white + .container,
.cm-page-detail > .bg-gray-200 + .container {
  margin-top: 0 !important;
  padding-top: 1.25rem;
}

.cm-page-detail > .bg-white + .container.mt-4,
.cm-page-detail > .bg-gray-200 + .container.mt-4,
.cm-page-detail > .bg-white + .container.flex-grow-1,
.cm-page-detail > .bg-gray-200 + .container.flex-grow-1 {
  border-top: 0;
}

.cm-detail-card {
  box-sizing: border-box;
  max-width: 1110px;
  width: 100%;
  margin: 0 auto !important;
  background: #fff;
  padding: 0 !important;
  --bs-gutter-x: 0;
}

body.cm-page-detail > .container.cm-detail-card {
  box-sizing: border-box;
  max-width: 1110px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cm-detail-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 2.25rem;
  border-bottom: 1px solid #e6edf5;
  background: #fff;
}

.cm-detail-card > .row {
  margin-left: 0;
  margin-right: 0;
  padding: 1.25rem 2.25rem 1.5rem;
}

.cm-detail-card > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.cm-detail-breadcrumb ol.list-inline {
  margin: 0 !important;
  padding: 0 !important;
  color: #315f91;
}

.cm-detail-breadcrumb .list-inline-item {
  margin-right: 0.35rem;
}

.breadcrumb,
ol.list-inline {
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a,
ol.list-inline a {
  color: #315f91;
}

h1, h2, h3, h4, h5, h6,
.cm-ff-yh {
  color: #2c3e50;
}

.article-content {
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.article-content p {
  margin-bottom: 1.1rem;
}

.cm-page-article h3.cm-ff-yh {
  margin-top: 0;
  margin-bottom: 0.85rem;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
}

.cm-page-article h3.cm-ff-yh + .mt-2,
.cm-page-article h3.cm-ff-yh ~ .border-bottom.small.text-muted {
  text-align: center;
}

.cm-page-article h3.cm-ff-yh ~ .border-bottom.small.text-muted {
  padding-top: 0.45rem;
  padding-bottom: 0.9rem !important;
  border-bottom-color: #e6ebf0 !important;
}

.cm-page-detail .article-content {
  margin-top: 1.75rem !important;
}

.carousel-caption {
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: rgba(0, 52, 104, 0.62);
}

.carousel-caption p {
  margin-bottom: 0;
  font-weight: 700;
}

.cm-home-focus .carousel-indicators,
.cm-channel-carousel .carousel-indicators {
  bottom: 48px;
  margin-bottom: 0.35rem;
}

.cm-home-focus .carousel-indicators [data-bs-target],
.cm-channel-carousel .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 3px;
}

body > .bg-white.mt-4.border-top {
  max-width: none;
  margin-top: 2.5rem !important;
  border-top: 0 !important;
  background: #263b46 !important;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

body > .bg-white.mt-4.border-top a {
  color: rgba(255, 255, 255, 0.92) !important;
}

body > .bg-white.mt-4.border-top .container {
  max-width: 1110px;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus {
  text-decoration: none;
}

.es-highlight em {
  color: var(--bs-danger, #dc3545);
  font-style: normal;
  font-weight: bold;
}

/*
 * 文章正文标题样式
 * 问题：后台富文本编辑器的字号选择器(fontsizeseselect)会给文字添加内联 font-size 样式，
 *   如 <h3><span style="font-size:14px">标题</span></h3>。
 *   后台 HTML 净化器(OWASP)不会剥离 font-size，导致前台内联字号覆盖 Bootstrap 的标题字号，
 *   使标题显示为"加粗但字号没变大"。
 * 修复：用 !important 强制标题字号，并让标题内子元素继承标题字号。
 */
.article-content h1 { font-size: calc(1.375rem + 1.5vw) !important; }
.article-content h2 { font-size: calc(1.325rem + 0.9vw) !important; }
.article-content h3 { font-size: calc(1.3rem + 0.6vw) !important; }
.article-content h4 { font-size: calc(1.275rem + 0.3vw) !important; }
.article-content h5 { font-size: 1.25rem !important; }
.article-content h6 { font-size: 1rem !important; }
@media (min-width: 1200px) {
  .article-content h1 { font-size: 2.5rem !important; }
  .article-content h2 { font-size: 2rem !important; }
  .article-content h3 { font-size: 1.75rem !important; }
  .article-content h4 { font-size: 1.5rem !important; }
}
/* 标题内的 span 等子元素继承标题字号，防止内联 font-size 覆盖 */
.article-content h1 span, .article-content h2 span, .article-content h3 span,
.article-content h4 span, .article-content h5 span, .article-content h6 span {
  font-size: inherit !important;
}
