.legacy-home-banner img { width: 100%; display: block; }
.legacy-simple-news { max-width: 980px; margin: 0 auto 50px; }
.legacy-simple-news li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e8e8e8; }
.legacy-simple-news a { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.legacy-simple-news span { color: #999; font-size: 14px; white-space: nowrap; }
.news_hot { padding: 24px; background: #f8f8f8; }
.news_hot h2 { font-size: 22px; margin-bottom: 16px; color: #077ed1; }
.news_hot li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
.news_hot em { flex: 0 0 auto; background: #b7191c; color: #fff; border-radius: 4px; font-style: normal; font-weight: bold; padding: 3px 6px; }
.news_hot a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.right_kf { position: fixed; left: 0; top: 338px; z-index: 20; width: 50px; background: #555; color: #fff; text-align: center; font-size: 13px; }
.right_kf li { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.2); line-height: 1.25; }
.news_img img, .g_img img, .m_img img { width: 100%; height: 100%; object-fit: cover; }
.image-missing { display: none !important; }
.newsshow_wnnr img { max-width: 100%; height: auto !important; }
.seo-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.newsshow_title h1 { margin: 0; color: inherit; font: inherit; line-height: inherit; }
.article-source { margin-top: 12px; color: #777; font-size: 14px; font-weight: normal; }
.article-source a { color: #077ed1; }
.news_banner .page-section-title { color: white; font-size: 2.25rem; font-weight: bold; }
.m_nr > h1 { color: #434242; font-size: 2.25rem; font-weight: 100; border-bottom: 1px solid #e5e5e5; margin-bottom: 25px; }
@media (max-width: 1024px) { .m_nr > h1 { padding-bottom: 5px; } }
@media (max-width: 768px) { .news_banner .page-section-title, .m_nr > h1 { font-size: 1.65rem; } }
.topic-page { padding: 56px 0 72px; background: #fff; }
.topic-lead { max-width: 900px; margin: 0 auto 34px; color: #555; font-size: 18px; line-height: 1.9; text-align: center; }
.topic-results h2 { margin: 0 0 14px; color: #222; font-size: 24px; }
.topic-action a { color: #b7191c; }
.topic-results { max-width: 960px; margin: 0 auto; }
.topic-results li { border-bottom: 1px solid #ededed; }
.topic-results li a { display: flex; justify-content: space-between; gap: 24px; padding: 15px 4px; color: #333; }
.topic-results time { flex: 0 0 auto; color: #888; }
.topic-action { margin: -16px auto 32px; text-align: center; }
.topic-action a { display: inline-block; padding: 11px 22px; border: 1px solid #b7191c; border-radius: 3px; }
.historical-contact-notice { margin: 24px 0 30px; padding: 22px 26px; border: 1px solid #e5d6b8; border-left: 4px solid #c7861d; background: #fffaf0; }
.historical-contact-notice h2 { margin: 0 0 10px; color: #6b4a16; font-size: 21px; }
.historical-contact-notice p { margin: 7px 0; color: #5f5545; line-height: 1.8; }
.historical-contact-notice a { color: #a54f00; font-weight: 600; }
@media (max-width: 768px) {
  .topic-page { padding: 36px 0 52px; }
  .topic-results li a { display: block; }
  .topic-results time { display: block; margin-top: 6px; }
  .historical-contact-notice { padding: 20px; }
}
.article-layout { color: #333; font-size: 16px; line-height: 2; }
.article-layout h2 { margin: 32px 0 14px; font-size: 26px; line-height: 1.45; color: #222; }
.article-layout h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.4; color: #222; }
.article-layout p { margin: 0 0 18px; text-align: justify; }
.article-layout figure { margin: 24px auto; text-align: center; }
.article-layout figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.article-layout figcaption { margin-top: 8px; color: #777; font-size: 14px; line-height: 1.6; }
.article-layout blockquote { margin: 24px 0; padding: 14px 18px; border-left: 4px solid #b7191c; background: #f7f7f7; color: #555; }
.article-layout hr { border: 0; border-top: 1px solid #e5e5e5; margin: 34px 0; }
.image-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 42%); gap: 28px; align-items: center; margin: 30px 0; }
.image-text.image-right { grid-template-columns: minmax(220px, 42%) minmax(0, 1fr); }
.image-text.image-right div { order: 2; }
.image-text.image-right figure { order: 1; }
.admin { max-width: 1180px; margin: 40px auto; padding: 24px; font-family: "Microsoft YaHei", Arial, sans-serif; }
.admin h1 { font-size: 26px; margin-bottom: 18px; }
.admin h2 { margin: 16px 0; font-size: 20px; }
.admin input, .admin select, .admin textarea { width: 100%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; padding: 9px 10px; margin-top: 6px; font: inherit; }
.admin label { display: block; margin: 12px 0; }
.admin button, .admin .button { display: inline-block; border: 0; background: #077ed1; color: #fff; border-radius: 4px; padding: 9px 14px; margin: 8px 8px 8px 0; cursor: pointer; }
.admin table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.admin th, .admin td { border-bottom: 1px solid #eee; padding: 10px; text-align: left; font-size: 14px; }
.muted { color: #777; font-size: 14px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.toolbar button { background: #444; margin: 0; }
.editor-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 46%); gap: 24px; align-items: start; }
.editor-shell > section { border: 1px solid #e6e6e6; border-radius: 6px; padding: 18px; background: #fff; }
.editor-block { position: relative; border: 1px solid #e5e5e5; border-radius: 6px; padding: 14px; margin: 12px 0; background: #fafafa; }
.editor-block h3 { margin: 0 0 8px; font-size: 16px; }
.block-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.block-actions button { margin: 0; padding: 5px 8px; background: #777; font-size: 12px; }
.admin-editor #preview { min-height: 320px; padding: 20px; background: #fff; border: 1px dashed #ccc; }
.admin details { margin: 18px 0; }
.admin summary { cursor: pointer; color: #555; }
.module-card { margin: 22px 0; padding: 18px; border: 1px solid #e6e6e6; border-radius: 6px; background: #fff; }
.module-card h2 { margin-top: 0; }
.admin-modules table { table-layout: fixed; }
.admin-modules th, .admin-modules td { vertical-align: top; }
.admin-modules td input, .admin-modules td select, .admin-modules td textarea { margin: 0; }
.admin-modules td button { margin: 0; background: #777; }
.admin-modules textarea { min-height: 44px; }
.joinb_txt .contact-phone-link { white-space: nowrap; font-size: 1.45rem; letter-spacing: 0; }
.joinb_list ul li { min-width: 0; }
.joinb_txt { min-width: 0; }
.top_r li { cursor: pointer; }
.top_nav { margin-right: 24px; padding-right: 24px; }
.top_nav > ul > li { margin-right: 26px; }
.top_nav > ul > li > a { white-space: nowrap; font-size: 1rem; }
.top_r .lang-toggle { min-width: 34px; height: 30px; line-height: 30px; border: 1px solid #d7d7d7; border-radius: 15px; text-align: center; font-size: 13px; color: #555; font-family: Arial, "Microsoft YaHei", sans-serif; }
.menu_bg.menu_bg_show { display: block; z-index: 1000; }
.seard.searshow_on { z-index: 998; }
.seard input { font-family: "Microsoft YaHei", Arial, sans-serif; }
.vip-type-menu ul { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; margin: 38px auto 16px; overflow-x: auto; padding-bottom: 8px; }
.vip-type-menu li { flex: 0 0 auto; }
.vip-type-menu li a { display: block; min-width: 100px; padding: 11px 16px; border-radius: 28px; background: #f1f1f1; color: #8a8a8a; text-align: center; font-size: 15px; }
.vip-type-menu li a:hover, .vip-type-menu li.al a { background: #b7191c; color: #fff; }
.vip_list { padding-top: 42px; }
.vip_list ul:after, .vipnews_list ul:after { content: ""; display: block; clear: both; }
.vip_img img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; display: block; }
.vip-recommend-news { padding-top: 0; }
@media (max-width: 768px) {
  .joinb_txt .contact-phone-link { font-size: 1.25rem; }
}
.vipnews_img img, .vipnewsa_img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vipnews_list .vipnews_time { top: 50%; transform: translateY(-50%); }
.vipnews_top,
.vipnews_nr,
.vipnews_nr .swiper-wrapper,
.vipnews_nr .swiper-slide {
  height: 360px;
}
.vipnews_nr .swiper-slide a {
  height: 360px;
  min-height: 360px;
  overflow: hidden;
}
.vipnews_img {
  flex: 0 0 650px;
  height: 360px;
  overflow: hidden;
}
.vipnews_txt,
.vipnewsa_txt {
  min-width: 0;
}
.vipnews_nr .swiper-pagination {
  top: auto;
  bottom: 24px;
}
.vipnews_list li {
  min-height: 220px;
  overflow: hidden;
}
.vipnews_list li a {
  box-sizing: border-box;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
}
.vipnewsa_img {
  flex: 0 0 320px;
  height: 180px;
  overflow: hidden;
}
.inj_msga2,
.joina_msga2 {
  cursor: pointer;
}
.inj_msga2 input[type="radio"],
.joina_msga2 input[type="radio"] {
  pointer-events: auto;
}
.inj_msga2 label,
.joina_msga2 label {
  cursor: pointer;
}
.news_l .green-black,
.m_nr .green-black,
.g_list .green-black,
.vipnews_list .green-black,
.vip .green-black {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px auto 48px;
}
.green-black a,
.green-black span {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  color: #666;
  background: #fff;
  line-height: 32px;
  text-align: center;
}
.green-black .current {
  color: #fff;
  border-color: #b7191c;
  background: #b7191c;
}
.green-black,
.news_l .green-black,
.m_nr .green-black,
.g_list .green-black,
.vipnews_list .green-black,
.vip .green-black {
  gap: 22px !important;
  align-items: center;
}
.green-black a,
.green-black span {
  box-sizing: border-box !important;
  min-width: auto !important;
  width: auto !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #a8adb3 !important;
  line-height: 34px !important;
  transform: none !important;
  transition: color .15s ease, border-color .15s ease !important;
}
.green-black a:hover,
.green-black span:hover {
  margin: 0 !important;
  background: transparent !important;
  color: #b7191c !important;
  transform: none !important;
}
.green-black .current {
  min-width: 34px !important;
  padding: 0 10px !important;
  border: 1px solid #d9dee7 !important;
  background: #fff !important;
  color: #8b949e !important;
}
.history-main .btn-history-arrow {
  left: auto !important;
  top: 42% !important;
  z-index: 5;
}
.history-main,
.history-body {
  overflow: visible !important;
}
.history-main .btn-history-arrow.left,
.history-main .btn-history-arrow.js-history-prev {
  right: -92px !important;
}
.history-main .btn-history-arrow.right,
.history-main .btn-history-arrow.js-history-next {
  right: -92px !important;
  top: calc(42% + 64px) !important;
}
.site-page-banner {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.aboutf_num p,
.aboutf_num::after {
  font-size: 13.5rem !important;
  line-height: 190px !important;
}
@media (max-width: 1200px) {
  .aboutf_num p,
  .aboutf_num::after {
    font-size: 10rem !important;
    line-height: 145px !important;
  }
}
.vip_list ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.vip_list li {
  float: none !important;
  width: auto !important;
  min-height: 170px;
  margin: 0 !important;
}
.vip_list li:nth-child(odd):last-child {
  grid-column: 1 / 2;
}
.vip_list li a {
  height: 100%;
  display: grid !important;
  grid-template-columns: minmax(180px, 36%) 1fr;
  align-items: center;
  gap: 28px;
}
.vip_list .vip_img {
  height: 120px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e6e6e6;
}
.vip_list .vip_txt h2 {
  line-height: 1.45;
}
.admin-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  padding: 0 6px 0 0;
  font: inherit;
}
.admin-danger {
  color: #b7191c;
}
.admin-table-wrap th:first-child,
.admin-table-wrap td:first-child {
  width: 36px;
}
.admin-table-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, .48);
  display: grid;
  place-items: center;
  padding: 28px;
}
.admin-modal-card {
  position: relative;
  width: min(1500px, 98vw);
  height: min(930px, 96vh);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
  overflow: hidden;
}
.admin-modal-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.admin-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
}
.admin-upload-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
  padding: 12px 14px;
  border: 1px dashed #d0d5dd;
  border-radius: 8px;
  background: #f9fafb;
}
.admin-upload-inline label {
  margin: 0;
  font-weight: 700;
}
.admin-upload-inline input[type="file"] {
  width: auto;
  margin: 0 0 0 10px;
}
.admin-upload-inline span,
.admin-url-upload small {
  color: #667085;
  font-size: 13px;
}
.admin-upload-inline.compact {
  margin: 8px 0;
  padding: 10px 12px;
}
.wechat-inline-import {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.wechat-inline-import h2 {
  margin: 0 0 8px;
}
.paste-import {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fcfcfd;
}
.paste-import h2 {
  margin: 0 0 8px;
}
.paste-drop {
  min-height: 96px;
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed #a3aab8;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  line-height: 1.8;
  outline: none;
}
.paste-drop:focus {
  border-color: #b12a22;
  box-shadow: 0 0 0 3px rgba(177, 42, 34, .08);
  color: #111827;
}
.wechat-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.wechat-inline-row input {
  margin: 0;
}
.admin-editor-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 14px 0 0;
  background: #fff;
  z-index: 4;
}
.admin-saved {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
}
.admin-url-upload {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.admin-url-upload input {
  margin: 0;
}
.admin-url-upload small {
  grid-column: 1 / -1;
}
.mini-upload {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  margin: 0 !important;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.mini-upload input {
  display: none;
}
.g_list {
  clear: both;
  max-width: 1200px;
  margin: 60px auto;
  overflow: visible;
}
.g_list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.g_list li {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
}
.g_list li a {
  display: block;
  height: 100%;
}
.g_img {
  aspect-ratio: 16 / 9;
  height: auto !important;
  overflow: hidden;
  background: #f3f3f3;
}
.g_txt {
  min-height: 120px;
  padding: 20px 22px !important;
}
.g_txt h2 {
  font-size: 22px;
  line-height: 1.45;
  word-break: break-word;
}
.foot {
  clear: both;
}
@media screen and (max-width: 770px) {
  .legacy-simple-news li { display: block; }
  .legacy-simple-news span { display: block; margin-top: 6px; }
  .image-text, .image-text.image-right { display: block; }
  .image-text.image-right div, .image-text.image-right figure { order: initial; }
  .admin-grid, .editor-shell { grid-template-columns: 1fr; }
  .block-actions { position: static; margin-bottom: 8px; }
  .joinb_txt a { font-size: 1.25rem; }
  .vip-type-menu ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .vip-type-menu li { flex: 0 0 auto; }
  .vipnews_top,
  .vipnews_nr,
  .vipnews_nr .swiper-wrapper,
  .vipnews_nr .swiper-slide,
  .vipnews_nr .swiper-slide a {
    height: auto;
  }
  .vipnews_nr .swiper-slide a { min-height: 0; }
  .vipnews_img {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .vipnews_list li,
  .vipnews_list li a {
    height: auto;
    min-height: 0;
  }
  .vipnewsa_img {
    flex: none;
    width: 100%;
    height: 180px;
  }
}

body.admin-login-body,
body.admin-shell-body {
  margin: 0;
  min-height: 100vh;
  background: #f5f6f8;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #1f2933;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(177,31,25,.08), transparent 38%), linear-gradient(315deg, rgba(34,45,60,.08), transparent 42%), #f6f7f9;
}

.admin-login-card {
  width: min(460px, 100%);
  padding: 42px;
  border: 1px solid #eceff3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.10);
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.admin-login-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.admin-login-brand h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}

.admin-login-brand p,
.admin-topbar p,
.admin-panel-head p {
  margin: 0;
  color: #7b8491;
}

.admin-login-card label,
.admin-panel label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  color: #5f6b7a;
}

.admin-login-card input,
.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #d9dee7;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  outline: none;
}

.admin-login-card input:focus,
.admin-panel input:focus,
.admin-panel select:focus,
.admin-panel textarea:focus {
  border-color: #b3201a;
  box-shadow: 0 0 0 3px rgba(179,32,26,.10);
}

.admin-login-card button,
.admin-primary,
.admin .button,
.admin-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #b3201a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.admin-login-card button {
  width: 100%;
  min-height: 46px;
}

.admin-shell-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  padding: 24px 18px;
  background: #202733;
  color: #fff;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: #b3201a;
  color: #fff;
}

.admin-dashboard {
  width: auto;
  max-width: none;
  padding: 30px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.admin-topbar h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stats div,
.admin-panel {
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}

.admin-stats div {
  padding: 18px;
}

.admin-stats span {
  display: block;
  color: #7b8491;
  font-size: 13px;
}

.admin-stats strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.admin-panel {
  margin-top: 16px;
  padding: 20px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.admin .button.secondary {
  background: #eef1f5;
  color: #344054;
}

.admin-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-table-wrap {
  overflow: auto;
}

.admin table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin th,
.admin td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}

.admin th {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  background: #fafbfc;
}

.admin-title-cell {
  min-width: 420px;
  color: #202733;
  font-weight: 500;
}

.admin-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475467;
  font-size: 13px;
}

.admin-link {
  color: #b3201a;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .admin-shell-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-upload { grid-template-columns: 1fr; }
}

body.admin-v2 {
  background: #f7f7f8;
  color: #111;
}

.admin-v2.admin-shell-body {
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-v2 .admin-sidebar {
  background: #fff;
  color: #111;
  border-right: 1px solid #e8e8e8;
  box-shadow: none;
}

.admin-v2 .admin-logo {
  position: relative;
  gap: 12px;
  border-bottom: 1px solid #ececec;
}

.admin-v2 .admin-logo img {
  border: 1px solid #eee;
  object-fit: cover;
}

.admin-v2 .admin-logo span {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.admin-sidebar-toggle {
  position: absolute;
  top: 28px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.admin-v2 .admin-sidebar nav {
  display: block;
  margin-top: 18px;
  overflow: auto;
  max-height: calc(100vh - 150px);
}

.admin-v2 .admin-sidebar details {
  border-bottom: 1px solid #f0f0f0;
  padding: 6px 0;
}

.admin-v2 .admin-sidebar summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.admin-v2 .admin-sidebar summary::-webkit-details-marker {
  display: none;
}

.admin-v2 .admin-sidebar details[open] summary,
.admin-v2 .admin-sidebar summary:hover {
  background: #f4f4f4;
}

.admin-v2 .admin-sidebar details div {
  display: grid;
  gap: 2px;
  padding: 4px 0 8px 12px;
}

.admin-v2 .admin-sidebar nav a {
  padding: 9px 10px;
  border-radius: 5px;
  color: #555;
  font-size: 14px;
}

.admin-v2 .admin-sidebar nav a:hover {
  background: #f7eeee;
  color: #a71916;
}

.admin-front-link {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  text-align: center;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #111;
  text-decoration: none;
}

.admin-sidebar-collapsed.admin-v2.admin-shell-body {
  grid-template-columns: 78px minmax(0, 1fr);
}

.admin-sidebar-collapsed .admin-sidebar {
  padding-left: 12px;
  padding-right: 12px;
}

.admin-sidebar-collapsed .admin-logo div,
.admin-sidebar-collapsed .admin-sidebar nav,
.admin-sidebar-collapsed .admin-front-link {
  display: none;
}

.admin-v2 .admin-dashboard {
  padding: 28px 34px;
}

.admin-v2 .admin-topbar {
  padding: 0 0 22px;
  border-bottom: 1px solid #e8e8e8;
}

.admin-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-ghost,
.admin-v2 .button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #111;
  text-decoration: none;
}

.admin-v2 .admin-primary,
.admin-v2 .button,
.admin-v2 .admin-panel button {
  background: #111;
  color: #fff;
}

.admin-v2 .admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-v2 .admin-stats div,
.admin-v2 .admin-panel,
.admin-structure-card {
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.admin-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-structure-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 18px;
  color: #111;
  text-decoration: none;
}

.admin-structure-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.admin-structure-card p {
  margin: 0;
  color: #777;
  line-height: 1.7;
}

.admin-structure-card strong {
  align-self: flex-start;
  min-width: 38px;
  text-align: right;
  font-size: 24px;
}

.admin-structure-card span {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #666;
  font-size: 12px;
  white-space: nowrap;
}

.admin-structure-card:hover {
  border-color: #111;
}

.admin-structure-card.is-active,
.admin-v2 .admin-sidebar nav a.is-active {
  border-color: #111;
  background: #f5f5f5;
  color: #111;
}

.admin-inline-editor {
  margin-top: 18px;
}

.admin-work-panel {
  display: none;
}

.admin-work-panel.is-active {
  display: block;
}

.admin-panel.is-hidden-by-editor {
  display: none;
}

.admin-module-workbench .module-card {
  margin: 0;
}

.admin-module-workbench table {
  table-layout: fixed;
}

.admin-save-button {
  margin-top: 14px;
  background: #111;
}

.rich-editor-panel {
  margin: 22px 0;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  overflow: visible;
}

.rich-editor-panel h2 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 18px;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.rich-toolbar button,
.rich-toolbar select {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 14px;
  cursor: pointer;
}

.rich-toolbar button:hover,
.rich-toolbar select:hover {
  border-color: #a7281f;
}

.rich-toolbar #replaceSelectedImageBtn {
  border-color: #a7281f;
  background: #a7281f;
  color: #fff;
}

.rich-editor-help,
.rich-editor-actions {
  padding: 10px 14px;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}

.html-import-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  background: #fff;
  color: #555;
}

.html-import-panel strong {
  color: #111;
}

.html-import-panel button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  color: #111;
}

.html-import-panel button#importHtmlBtn {
  border-color: #a7281f;
  background: #a7281f;
  color: #fff;
}

.html-import-panel span {
  color: #777;
  line-height: 1.6;
}

.rich-editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #ececec;
}

.rich-editor-actions button {
  flex: 0 0 auto;
  background: #333;
  color: #fff;
}

#richStatus {
  padding: 0 14px 8px;
}

#richStatus.error {
  color: #a7281f;
}

.rich-editor {
  min-height: 560px;
  padding: 26px 34px;
  border-top: 1px solid #f2f2f2;
  outline: none;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.9;
}

.rich-editor:focus {
  box-shadow: inset 0 0 0 2px rgba(167, 40, 31, 0.12);
}

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

.rich-editor img.is-uploading {
  opacity: 0.55;
  outline: 2px dashed #999;
}

.rich-editor img.is-remote-failed {
  outline: 2px dashed #a7281f;
  min-width: 180px;
  min-height: 80px;
  background: repeating-linear-gradient(45deg, #fff, #fff 8px, #f7e7e5 8px, #f7e7e5 16px);
  cursor: pointer;
}

.rich-editor img.is-selected-image {
  outline: 4px solid #a7281f;
  box-shadow: 0 0 0 6px rgba(167, 40, 31, 0.16);
}

.rich-pasted-content {
  max-width: 900px;
  margin: 0 auto;
}

.legacy-html-details {
  margin-top: 12px;
}

.article-carousel {
  margin: 28px 0;
}

.article-carousel h3 {
  margin: 0 0 14px;
}

.article-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
}

.article-carousel figure {
  flex: 0 0 min(86%, 680px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
  scroll-snap-align: center;
}

.article-carousel figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-carousel figcaption {
  padding: 8px 12px;
  color: #777;
  font-size: 14px;
}

.article-carousel-hint {
  margin: 8px 0 0;
  color: #888;
  font-size: 14px;
  text-align: center;
}

.aboutb {
  position: relative;
  clear: both;
  min-height: 520px;
  overflow: hidden;
}

.about-home-sync {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.about-home-sync .swiper-container,
.about-home-sync .swiper-wrapper,
.about-home-sync .swiper-slide {
  height: 100%;
}

.about-home-sync .swiper-slide img,
.about-home-sync video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aboutb .about-home-sync {
  height: 520px;
}

.aboutc,
.aboutd,
.aboute {
  position: relative;
  z-index: 1;
  clear: both;
}

.aboutc_list > .aboutc_item:nth-child(2) .aboutc_txt p {
  white-space: nowrap;
}

.aboutc_item .aboutc_txt {
  width: 100%;
  min-width: 0;
}

@media screen and (min-width: 1441px) {
  .aboutc_item > span {
    position: absolute;
    top: 50px;
    right: 45px;
  }

  .aboutc_item .aboutc_txt h2 {
    padding-right: 78px;
  }
}

@media screen and (max-width: 768px) {
  .aboutc_list {
    flex-wrap: wrap;
  }

  .aboutc_item {
    width: 49%;
    height: 230px;
    margin-bottom: 2%;
  }

  .aboutc_list > .aboutc_item:nth-child(2) .aboutc_txt p {
    display: block;
    font-size: 1rem;
    line-height: 30px;
  }
}

@media screen and (max-width: 520px) {
  .aboutc_item {
    width: 100%;
  }
}

.admin-v2 .admin-table-wrap table {
  table-layout: fixed;
}

.admin-v2 .admin-table-wrap th,
.admin-v2 .admin-table-wrap td {
  border-color: #eeeeee;
  line-height: 1.6;
  vertical-align: middle;
}

.admin-v2 .admin-title-cell a {
  color: #111;
  text-decoration: none;
}

@media screen and (max-width: 1100px) {
  .admin-structure-grid,
  .admin-v2 .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  .admin-v2.admin-shell-body,
  .admin-sidebar-collapsed.admin-v2.admin-shell-body {
    grid-template-columns: 1fr;
  }
  .admin-v2 .admin-sidebar {
    position: relative;
    height: auto;
  }
  .aboutb,
  .about-home-sync,
  .aboutb .about-home-sync {
    min-height: 280px;
    height: 280px;
  }
  .g_list ul {
    grid-template-columns: 1fr;
  }
  .admin-front-link {
    position: static;
    display: block;
    margin-top: 16px;
  }
  .admin-structure-grid,
  .admin-v2 .admin-stats {
    grid-template-columns: 1fr;
  }
}

/* Keep the honorary roles on two deliberate lines without changing the stored category. */
.m_menu2 a[href="/member-13-1.html"] { font-size: 1.05rem; }
.member-nav-label-honorary { line-height: 1.45; }

/* Keep the longer member-navigation label on one line without changing the other tiles. */
.m_menu2 a[href="/member-14-1.html"] {
  white-space: nowrap;
  font-size: 1.15rem;
}

@media screen and (max-width: 520px) {
  .m_menu2 a[href="/member-13-1.html"] { font-size: 0.85rem; }
  .m_menu2 a[href="/member-14-1.html"] { font-size: 0.95rem; }
}

.cngkcc-chat-panel {
  position: fixed;
  left: 112px;
  bottom: 24px;
  z-index: 10020;
  display: flex;
  width: min(390px, calc(100vw - 136px));
  height: min(590px, calc(100vh - 48px));
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transform-origin: left bottom;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cngkcc-chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cngkcc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 18px;
  background: linear-gradient(135deg, #9e241c, #c94436);
  color: #fff;
}

.cngkcc-chat-header div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cngkcc-chat-header strong {
  font-size: 18px;
  font-weight: 600;
}

.cngkcc-chat-header span {
  font-size: 12px;
  opacity: 0.88;
}

.cngkcc-chat-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 300 30px/34px Arial, sans-serif;
  cursor: pointer;
}

.cngkcc-chat-status {
  padding: 7px 16px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  color: #777;
  font-size: 12px;
}

.cngkcc-chat-status.is-online { color: #278347; }
.cngkcc-chat-status.is-pending { color: #936b19; }
.cngkcc-chat-status.is-offline { color: #a7281f; }

.cngkcc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  background: #f5f6f8;
  overscroll-behavior: contain;
}

.cngkcc-chat-welcome,
.cngkcc-chat-notice {
  margin: 0 auto 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ebecef;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.cngkcc-chat-message {
  display: flex;
  margin: 0 0 14px;
  flex-direction: column;
  align-items: flex-start;
}

.cngkcc-chat-message.is-visitor { align-items: flex-end; }

.cngkcc-chat-message-label {
  margin: 0 4px 4px;
  color: #999;
  font-size: 11px;
}

.cngkcc-chat-message p {
  max-width: 82%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 4px 13px 13px 13px;
  background: #fff;
  color: #222;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.cngkcc-chat-message.is-visitor p {
  border-radius: 13px 4px 13px 13px;
  background: #a7281f;
  color: #fff;
}

.cngkcc-chat-form {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #e7e7e7;
  background: #fff;
}

.cngkcc-chat-form[hidden] { display: none; }

.cngkcc-chat-form textarea {
  min-width: 0;
  resize: none;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 9px 10px;
  color: #222;
  font: 14px/1.45 inherit;
  outline: none;
}

.cngkcc-chat-form textarea:focus { border-color: #a7281f; }

.cngkcc-chat-form button {
  border: 0;
  border-radius: 8px;
  background: #a7281f;
  color: #fff;
  cursor: pointer;
}

.cngkcc-chat-form button:disabled { opacity: 0.55; }

.cngkcc-chat-privacy {
  margin: 0;
  padding: 0 14px 10px;
  background: #fff;
  color: #aaa;
  font-size: 11px;
  text-align: center;
}

.cngkcc-chat-launcher {
  position: fixed;
  right: 14px;
  bottom: 76px;
  z-index: 10010;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  border-radius: 24px;
  background: #a7281f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(117, 27, 21, 0.32);
}

.cngkcc-chat-launcher span {
  display: grid;
  width: 25px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #a7281f;
  font: 700 12px/1 Arial, sans-serif;
}

.cngkcc-chat-launcher b { font-size: 13px; font-weight: 500; }

@media screen and (max-width: 760px) {
  .cngkcc-chat-launcher { display: flex; }

  .cngkcc-chat-panel {
    right: 10px;
    bottom: 68px;
    left: 10px;
    width: auto;
    height: min(610px, calc(100vh - 88px));
    transform-origin: right bottom;
  }
}
