@import url("./fonts/source-han-sans.css");

[hidden] {
    display: none !important;
}

.svf-status,
.svf-empty {
    color: #032340;
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0;
}

.svf-status.svf-error {
    color: #a92323;
}

.svf-status:empty {
    margin: 0;
}

.svf-status a {
    color: #005bac;
    text-decoration: underline;
}

.svf-empty {
    padding: 1.25rem;
}

.svf-search-bar {
    justify-content: flex-end;
    margin-bottom: 1.25rem;
}

#pagination li {
    padding: 0;
}

#pagination li a,
#pagination li span {
    display: block;
    color: inherit;
    padding: 0 10px;
}

.data_download .pic[role="button"],
.data_download button.download_file,
.download_mode .form_cuo {
    cursor: pointer;
}

.data_download button.download_file {
    border: 0;
}

.svf-document-language {
    color: #595f65;
    font-size: 0.875rem;
    margin: -0.75rem 0 0.75rem;
}

.download_mode.svf-dialog-open {
    display: block;
}

.svf-dialog-active {
    overflow: hidden;
}

.form_submit:disabled {
    cursor: wait;
    opacity: .7;
}

.svf-no-image {
    background: #f4f6f8;
    min-height: 4rem;
}

.svf-plain-text {
    white-space: pre-line;
}

[data-svf-body] img {
    max-width: 100%;
    height: auto;
}

[data-svf-body] table {
    max-width: 100%;
    border-collapse: collapse;
}

[data-svf-body] td,
[data-svf-body] th {
    border: 1px solid #ddd;
    padding: .35rem .5rem;
}

@media (max-width: 767px) {
    html[lang="en"] .customers_name .welcome_name {
        font-size: min(54px, 13.5vw);
    }
}

/* Formatting classes emitted by the HotGo Quill editor. */
:is([data-svf-body], .svf-rich-content) .ql-align-center { text-align: center; }
:is([data-svf-body], .svf-rich-content) .ql-align-right { text-align: right; }
:is([data-svf-body], .svf-rich-content) .ql-align-justify { text-align: justify; }
:is([data-svf-body], .svf-rich-content) .ql-direction-rtl { direction: rtl; }
:is([data-svf-body], .svf-rich-content) .ql-indent-1 { padding-inline-start: 3em; }
:is([data-svf-body], .svf-rich-content) .ql-indent-2 { padding-inline-start: 6em; }
:is([data-svf-body], .svf-rich-content) .ql-indent-3 { padding-inline-start: 9em; }
:is([data-svf-body], .svf-rich-content) .ql-size-small { font-size: .75em; }
:is([data-svf-body], .svf-rich-content) .ql-size-large { font-size: 1.5em; }
:is([data-svf-body], .svf-rich-content) .ql-size-huge { font-size: 2.5em; }
:is([data-svf-body], .svf-rich-content) .ql-font-serif { font-family: Georgia, serif; }
:is([data-svf-body], .svf-rich-content) .ql-font-monospace { font-family: monospace; }
.svf-category-introduction { margin: 0 0 24px; overflow-wrap: anywhere; }
.svf-category-introduction img { max-width: 100%; height: auto; }

/* Keep the legacy second-level bar and show a flyout for a third-level branch. */
.in-header .li-block > .svf-nav-dropdown {
    visibility: hidden;
}
.in-header .li-block:is(:hover, :focus-within) > .svf-nav-dropdown {
    height: 77px;
    overflow: visible;
    visibility: visible;
}
.in-header .svf-nav-branch {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100%;
    margin-inline-end: 80px;
}
.in-header .svf-nav-branch:last-child {
    margin-inline-end: 0;
}
.in-header .li-block2 .shuzhi .svf-nav-branch .shuzhi_a {
    margin-inline-end: 0;
}
.in-header .svf-nav-deeper {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    display: none;
    min-width: 160px;
    max-width: 280px;
    width: max-content;
    padding: 8px 14px;
    transform: translateX(-50%);
    background: #f4f6f8;
    box-shadow: 0 6px 14px rgba(3, 35, 64, .12);
}
.in-header .svf-nav-branch:is(:hover, :focus-within) > .svf-nav-deeper {
    display: grid;
    gap: 8px;
}
:where(body, body *:not(.iconfont)) {
  font-family: "SVF Han Sans", sans-serif !important;
}

.applications_content .svf-rich-content .b_wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 24px 4%;
  margin-block: 36px;
}

.applications_content .svf-rich-content .b_wrap > p {
  width: auto !important;
  margin: 0;
}

.applications_content .svf-rich-content .b_wrap > p:has(img) > br,
.applications_content .svf-rich-content .b_wrap > p:has(img) ~ p:has(> br:only-child) {
  display: none;
}

.applications_content .svf-rich-content .b_wrap img,
.applications_content .applications_min .min_right .pic img {
  display: block;
  width: 100%;
  height: auto;
  float: none !important;
}

.applications_content .applications_min .min_right > .svf-rich-content {
  width: 44%;
  min-width: 0;
}

.applications_content .applications_min .min_right > .svf-rich-content p {
  width: auto;
}

.g_news .news_content .news_top .top_right h2,
.g_news .news_content .news_top .top_right .right_p p {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  letter-spacing: normal;
}

.g_news .news_content .news_top .top_right h2 {
  font-weight: 600;
}

.quality-page .custom_font {
  font-size: clamp(16px, 1.12vw, 19px) !important;
  line-height: 1.9 !important;
  letter-spacing: normal !important;
}

.contact_top .top_row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.contact_top .top_row .row_min {
  width: 100%;
  margin-bottom: 0;
  text-align: center;
}

.contact_top .top_row .row_min p {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.svf-contact-hotline a {
  color: inherit;
  font: inherit;
}

.svf-contact-hotline .pic img {
  border-radius: 50%;
}

@media (max-width: 992px) {
  .contact_top .top_row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .contact_top .top_row {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 30px;
  }
}

@media (min-width: 993px) {
  /* Keep each milestone below the previous one on its own side of the rail. */
  .g_history .history_ul > li:nth-of-type(odd) {
    clear: left;
  }

  .g_history .history_ul > li:nth-of-type(even) {
    clear: right;
  }
}

@media (max-width: 767px) {
  .applications_content .svf-rich-content .b_wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .applications_content .applications_min .min_right > .svf-rich-content,
  .applications_content .applications_min .min_right .pic {
    width: 100%;
  }
}
