/* Data driven content templates retain the site's existing components. */
.cms-richtext { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.cms-richtext p { margin: 0 0 16px; }
.cms-richtext img { max-width: 100%; height: auto; }
.cms-richtext table { max-width: 100%; }
.cms-contact { padding: 56px 0 72px; }
.cms-contact h1 { font-size: 28px; text-align: center; margin-bottom: 36px; }
.cms-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cms-contact-grid > div { padding: 30px 20px; text-align: center; background: #f8f9fb; border: 1px solid #e5eaf2; overflow-wrap: anywhere; }
.cms-contact-grid img { width: 50px; height: 50px; object-fit: contain; margin-bottom: 18px; }
.cms-contact-grid img.cms-qr { width: 110px; height: 110px; }
.cms-contact-grid h2 { font-size: 18px; margin-bottom: 12px; }
.cms-contact-grid p { font-size: 16px; line-height: 1.8; }
.cms-action { display: inline-block; color: #093AA7; margin-top: 22px; }
.cms-action:hover { color: #072C80; }
.cms-category-intro { margin: 25px auto; text-align: center; color: #657286; font-size: 16px; line-height: 1.8; }
.cms-empty { grid-column: 1 / -1; width: 100%; padding: 50px 0; text-align: center; color: #657286; font-size: 16px; line-height: 1.8; }
.page_nxt { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0; }
.page_nxt a { box-sizing: border-box; display: inline-block; min-width: 38px; padding: 8px 12px; border: 1px solid #dce3ee; text-align: center; line-height: 1.5; font-size: 14px; }
.page_nxt a.current { background: #093AA7; border-color: #093AA7; color: #fff; }
.page_nxt a.disabled { color: #99a4b4; cursor: default; }
.page_nxt a:not(.current):not(.disabled):hover { background: #072C80; border-color: #072C80; color: #fff; }
.pagebar:not(:has(.page_nxt)) { display: none; }
.cms-article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; }
.cms-article-nav > a { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; line-height: 1.7; }
.cms-article-nav > a:not(:first-child):not(:last-child) { text-align: center; }
.cms-article-nav > a:last-child:not(:first-child) { text-align: right; }
.cms-related { margin-top: 44px; }
.cms-related h2 { font-size: 24px; margin-bottom: 20px; }
.cms-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.cms-related-grid img { width: 100%; height: 220px; object-fit: contain; background: #f8f9fb; }
.cms-related-grid p { font-size: 16px; padding-top: 12px; }
.news-category-tabs a { padding: 10px 22px; color: #46576b; border: 1px solid #e4e9ef; margin-right: 8px; display: inline-block; }
.news-category-tabs a.is-active { color: #fff; background: #093AA7; border-color: #093AA7; }
.news-category-tabs a:hover { color: #fff; background: #072C80; border-color: #072C80; }
.news-with-banner .news-list-page { padding-top: 42px; }
.honor-certificates ul li .img { height: 285px; display: flex; align-items: center; justify-content: center; background: #f8f9fb; box-shadow: 0 0 10px #ddd; }
.ncontainer .honor-certificates ul li .img img { width: auto; height: auto; max-width: calc(100% - 24px); max-height: calc(100% - 24px); object-fit: contain; }
.ncontainer .honor-certificates ul li:hover img { transform: none; }
.cms-honor-detail { padding: 50px 0 70px; text-align: center; }
.cms-honor-detail h1 { font-size: 28px; margin-bottom: 30px; }
.cms-honor-detail > img { max-width: 100%; max-height: 720px; object-fit: contain; }
.cms-honor-detail .cms-richtext { margin-top: 24px; }
.cms-simple-list { padding: 50px 0 70px; }
.cms-simple-list article { padding: 22px 0; border-bottom: 1px solid #e5eaf2; }
.cms-simple-list article h2 { font-size: 22px; margin-bottom: 12px; }
.cms-simple-list article p { line-height: 1.8; }
.cms-advantage-photo { max-width: 100%; max-height: 420px; object-fit: contain; }
.cms-search { padding: 160px 0 80px; min-height: 65vh; }
.cms-search form { display: flex; gap: 10px; margin: 28px 0; }
.cms-search input { border: 1px solid #ccd6e5; padding: 12px; max-width: 70%; width: 480px; }
.cms-search button { border: 0; background: #093AA7; color: #fff; padding: 12px 28px; cursor: pointer; }
.cms-search button:hover { background: #072C80; }
.links:has(ul:empty) { display: none; }
.about { overflow: hidden; }
.zyzs-list-box { overflow: hidden; }
@media(max-width:767px) {
  .cms-contact { padding: 36px 0 50px; }
  .cms-contact h1 { font-size: 23px; }
  .cms-contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .cms-related-grid { grid-template-columns: 1fr; }
  .cms-related-grid img { height: 240px; }
  .honor-certificates ul li .img { height: 230px; }
  .news-category-tabs a { margin-bottom: 8px; padding: 10px 14px; }
  .cms-richtext { font-size: 15px; }
}
