/* =========================================================
   CUSTOM.CSS - CLEANED / CONSOLIDATED VERSION
   Based on custom(1).css, with duplicate rules merged
   and homepage/homepage-rebuild patches consolidated.
========================================================= */

/* =========================
   GLOBAL BASE
========================= */
*,
*:before,
*:after {
  box-sizing: border-box;
}

img,
object,
embed,
iframe,
video {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}

pre,
code {
  white-space: pre-wrap;
  word-wrap: break-word;
}

input,
textarea,
select {
  max-width: 100%;
}

/* =========================
   CORE LAYOUT
========================= */
#wrapper,
#header,
#navr,
#slide-w,
#footer,
#bottom {
  width: 100% !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.shadow2 {
  width: 100% !important;
  float: none;
  background-position: bottom center;
}

#comp {
  padding: 15px;
  overflow: hidden;
}

#leftbar-w {
  width: 22%;
  margin: 0 2% 0 0;
}

#rightbar-w {
  width: 22%;
  margin: 0 0 0 2%;
}

#comp_60 {
  width: 52%;
}

#comp_80 {
  width: 76%;
}

#comp_100 {
  width: 100%;
  max-width: none;
}

#header {
  min-height: 120px;
  height: auto;
  background-position: top center;
}

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

#top {
  width: auto;
  max-width: 45%;
  margin: 0 20px 0 auto;
  padding: 20px 0 0 0;
}

#nav > ul.menu {
  width: 100% !important;
}

#nav > ul.menu > li > a {
  white-space: normal;
}

/* =========================
   SLIDER BASE
========================= */
#djslider88,
#slider-container88,
#djslider-loader88 {
  width: 100% !important;
  max-width: 100%;
}

#djslider88 ul#slider88 li {
  width: 100% !important;
  padding-right: 0 !important;
}

#djslider123,
#slider-container123,
#djslider-loader123 {
  max-width: 100%;
}

#footer table {
  max-width: 100%;
}

/* ===============================
   TYPOGRAPHY + READABILITY
=============================== */
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.4;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  color: #111;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; margin-top: 1.4em; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p {
  margin-bottom: 1em;
}

a {
  color: #134e8b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  margin-bottom: 1em;
  padding-left: 1.4em;
}

ul li,
ol li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: 600;
  color: #111;
}

small {
  font-size: 0.9em;
  color: #666;
}

#comp-i {
  font-size: 16px;
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto;
  color: #222;
}

#comp-i h1,
#comp-i h2,
#comp-i h3 {
  color: #111;
}

#sidebar {
  font-size: 13px;
  line-height: 1.6;
}

#sidebar h3 {
  font-size: 14px;
  font-weight: 600;
}

#nav {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* =========================
   NO-SIDEBAR FULL WIDTH
========================= */
body.layout-no-sidebar #leftbar-w,
body.layout-no-sidebar #rightbar-w {
  display: none !important;
}

body.layout-no-sidebar .full {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.layout-no-sidebar #comp_full,
body.layout-no-sidebar #comp_60,
body.layout-no-sidebar #comp_70,
body.layout-no-sidebar #comp_80,
body.layout-no-sidebar #comp_100,
body.layout-no-sidebar #comp-i {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.layout-no-sidebar #comp,
body.layout-no-sidebar .item-page,
body.layout-no-sidebar .blog-featured,
body.layout-no-sidebar .items-leading,
body.layout-no-sidebar .leading {
  width: 100% !important;
  max-width: 100% !important;
}

body.layout-no-sidebar .homepage-rebuild {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}

/* =========================
   HOMEPAGE CTA GROUP
========================= */
.homepage-cta-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.homepage-cta-group a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
  min-height: 44px;
}

.homepage-cta-group a:first-child {
  background: #005a9c;
  color: #fff;
  border: 1px solid #005a9c;
}

.homepage-cta-group a:last-child {
  background: #fff;
  color: #005a9c;
  border: 1px solid #005a9c;
}

/* =========================
   MOBILE MENU ENHANCEMENT
========================= */
#mobile-menu-toggle,
.mobile-menu-toggle {
  display: none !important;
}

.mobile-menu-toggle {
  background: #233748;
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  padding: 12px 14px;
  font-family: 'Quantico', Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #1b2c39;
}

.site-nav-wrap {
  margin: 0;
  padding: 0;
}

.site-nav-wrap #navr {
  display: block !important;
}

.site-nav-wrap.menu-open #navr {
  display: block !important;
}

/* =========================
   MOBILE / PAD BOTTOM MODULE
========================= */
.mobile-only-bottom-links,
.mobile-accordion-links {
  display: none;
}

#mobilebottom-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0 auto;
  clear: both;
}

.mobile-accordion-links .sub-group {
  margin-top: 12px;
  padding-left: 10px;
  border-left: 3px solid #d9e3ee;
}

.mobile-accordion-links .sub-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
}

/* =========================
   <= 1024px
========================= */
@media (max-width: 1024px) {
  #wrapper,
  #header,
  #navr,
  #slide-w,
  #footer,
  #bottom {
    max-width: 100%;
  }

  #comp {
    padding: 12px;
  }

  #rightbar-w {
    display: none;
  }

  #leftbar-w {
    width: 30%;
    margin: 0 3% 0 0;
  }

  #comp_60,
  #comp_80 {
    width: 67%;
  }

  #top {
    max-width: 50%;
    margin-right: 15px;
  }

  #nav > ul.menu > li > a {
    padding: 0 10px;
    font-size: 11px;
  }

  #nav ul li ul,
  #nav ul li ul ul,
  #nav ul li:hover ul ul,
  #nav ul li:hover ul ul ul,
  #nav ul li:hover ul ul ul ul,
  #nav ul li.sfHover ul ul,
  #nav ul li.sfHover ul ul ul,
  #nav ul li.sfHover ul ul ul ul {
    width: 240px;
  }

  .mobile-only-bottom-links,
  .mobile-accordion-links {
    display: block;
  }

  .mobile-only-bottom-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d9e3ee;
  }

  .mobile-only-bottom-links .bottom-section {
    margin-bottom: 24px;
  }

  .mobile-only-bottom-links h2 {
    font-size: 20px;
    color: #134e8b;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .mobile-only-bottom-links ul {
    margin: 0 0 0 18px;
    padding: 0;
  }

  .mobile-only-bottom-links li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .mobile-only-bottom-links a {
    text-decoration: none;
  }

  .mobile-only-bottom-links .contact-box {
    padding: 14px;
    background: #f7fbff;
    border: 1px solid #d9e8f5;
  }

  #mobilebottom-wrap {
    margin: 20px auto;
    padding: 0 10px;
  }

  .mobile-accordion-links {
    margin-top: 20px;
  }

  .mobile-accordion-links .bottom-accordion {
    background: #ffffff;
    border: 1px solid #d9e3ee;
    margin-bottom: 12px;
  }

  .mobile-accordion-links .bottom-accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.4;
    color: #134e8b;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    position: relative;
  }

  .mobile-accordion-links .bottom-accordion summary::-webkit-details-marker {
    display: none;
  }

  .mobile-accordion-links .bottom-accordion summary:after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -12px;
    font-size: 24px;
    line-height: 24px;
    color: #134e8b;
  }

  .mobile-accordion-links .bottom-accordion[open] summary:after {
    content: "−";
  }

  .mobile-accordion-links .bottom-accordion ul {
    margin: 0;
    padding: 0 16px 14px 32px;
  }

  .mobile-accordion-links .bottom-accordion li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .mobile-accordion-links .bottom-accordion a {
    color: #0b63b6;
    text-decoration: none;
  }

  .mobile-accordion-links .bottom-contact-box {
    background: #f7fbff;
    border: 1px solid #d9e8f5;
    padding: 14px 16px;
    margin-top: 16px;
  }

  .mobile-accordion-links .bottom-contact-box h3 {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #134e8b;
  }

  .mobile-accordion-links .bottom-contact-box p {
    margin: 0 0 10px 0;
  }

  .mobile-accordion-links .bottom-contact-box p:last-child {
    margin-bottom: 0;
  }

  /* Homepage first-screen cleanup: homepage only */
  body.page-home #header-w,
  body.page-home #top,
  body.page-home #mods1,
  body.page-home #slide-w {
    display: none !important;
  }

  body.page-home #site-nav-wrap {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
  }

  body.page-home #wrapper,
  body.page-home #comp,
  body.page-home #comp_full,
  body.page-home #comp-i {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.page-home,
  body.page-home #main,
  body.page-home #wrapper,
  body.page-home #comp,
  body.page-home #comp_full,
  body.page-home #comp-i {
    background: #fff !important;
  }

  body.page-home .breadcrumbs,
  body.page-home #breadcrumbs,
  body.page-home .breadcrumb,
  body.page-home .componentheading,
  body.page-home .contentheading,
  body.page-home .page-header,
  body.page-home .item-page-title,
  body.page-home h2.item-title,
  body.page-home .blog-featured h2,
  body.page-home .items-leading h2,
  body.page-home .leading-0 h2 {
    display: none !important;
  }

  body.page-home .homepage-intro,
  body.page-home .item-page,
  body.page-home .item-page-home,
  body.page-home .entry-content,
  body.page-home .article-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.page-home h1 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  body.page-home p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  body.page-home .homepage-cta-group {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  body.page-home .homepage-cta-group a {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 8px 8px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* =========================
   <= 768px
========================= */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.7em;
  }

  #main {
    margin-top: 10px;
    background: none;
  }

  #wrapper,
  #header,
  #navr,
  #slide-w,
  #footer,
  #bottom {
    max-width: 100%;
  }

  #comp {
    padding: 10px;
    border-radius: 0 0 4px 4px;
  }

  #leftbar-w,
  #rightbar-w,
  #comp_60,
  #comp_80,
  #comp_100 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 15px 0 !important;
    min-height: 0;
  }

  .shadow2 {
    display: none;
  }

  #header {
    min-height: 0;
    padding: 12px 10px;
    text-align: center;
    background-size: cover;
  }

  .logo {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    margin: 0 auto 10px auto;
    line-height: normal;
  }

  .logo,
  .logo a {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  #top {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: visible;
  }

  #top img {
    float: none !important;
    margin: 10px auto 0 auto !important;
    display: block;
    max-width: 100px;
    height: auto;
  }

  #navr {
    min-height: 0;
  }

  #mobile-menu-toggle,
  .mobile-menu-toggle {
    display: block !important;
    margin: 0;
  }

  .site-nav-wrap #navr {
    display: none !important;
  }

  .site-nav-wrap.menu-open #navr {
    display: block !important;
  }

  #nav > ul.menu {
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
  }

  #nav > ul.menu > li {
    flex: 1 1 50%;
    height: auto;
    line-height: normal;
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  #nav > ul.menu > li > a {
    line-height: 1.35;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    text-align: center;
    white-space: normal;
  }

  #nav > ul.menu > li.has-submenu > a {
    position: relative;
    padding-right: 36px;
  }

  #nav > ul.menu > li.has-submenu > a:after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -10px;
    line-height: 20px;
    font-size: 18px;
  }

  #nav > ul.menu > li.submenu-open > a:after {
    content: "−";
  }

  #nav ul li ul,
  #nav ul li ul ul {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  #nav ul li.parent.submenu-open > ul,
  #nav ul li.deeper.submenu-open > ul,
  #nav ul li:hover > ul,
  #nav ul li.sfHover > ul {
    left: auto !important;
    display: block !important;
  }

  #nav ul li.parent > ul,
  #nav ul li.deeper > ul {
    display: none !important;
  }

  #nav > ul.menu > li.deeper.parent::after,
  #nav > ul.menu > li.parent::after {
    display: none;
  }

  #nav ul li ul li a,
  #nav ul li.active ul li a,
  #nav ul li:hover ul li a {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  /* Slider overlap fix */
  #djslider-loader88,
  #djslider88,
  #slider-container88,
  #djslider-loader123,
  #djslider123,
  #slider-container123 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }

  #djslider88 ul#slider88,
  #djslider123 ul#slider123 {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #djslider88 ul#slider88 li,
  #djslider123 ul#slider123 li {
    float: none !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    overflow: hidden !important;
  }

  #djslider88 ul#slider88 li img,
  #djslider123 ul#slider123 li img,
  #slider88 li img,
  #slider123 li img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  #djslider-loader123,
  #djslider-loader88 {
    margin-bottom: 12px !important;
  }

  #rightbar-w .module,
  #leftbar-w .module,
  #sidebar .module {
    clear: both;
  }

  h1 { font-size: 24px; line-height: 1.3; }
  h2 { font-size: 18px; line-height: 1.4; }

  .item-page-title,
  .item-page-title a {
    font-size: 20px;
    line-height: 1.35;
  }

  .item-page-title {
    padding-right: 0;
  }

  .buttonheading {
    position: static;
    margin: 5px 0 10px 0;
  }

  #sidebar .module-body {
    padding: 8px;
  }

  /* Footer / home gap cleanup */
  #comp,
  .full,
  #comp-i,
  #mods1,
  #mods2,
  #mods3,
  #footer,
  #bottom {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #mods1:after,
  #mods2:after,
  #mods3:after,
  .full:after,
  #comp:after {
    content: "";
    display: block;
    clear: both;
  }

  #mods2 .module,
  #mods3 .module,
  #footer .module {
    float: none !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
  }

  #mods2 .inner,
  #mods3 .inner {
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }

  #mods2 .module-title,
  #mods3 .module-title {
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
  }

  #mods2 .module-body,
  #mods3 .module-body {
    margin: 0 !important;
    padding: 0 !important;
  }

  #mods2 img,
  #mods3 img,
  #footer img {
    display: block !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto !important;
    vertical-align: top !important;
  }

  #mods2 table,
  #mods3 table,
  #footer table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow-x: auto !important;
    margin: 0 auto 6px auto !important;
    white-space: normal !important;
  }

  #mods2 tbody,
  #mods2 tr,
  #mods2 td,
  #mods3 tbody,
  #mods3 tr,
  #mods3 td,
  #footer tbody,
  #footer tr,
  #footer td {
    height: auto !important;
  }

  #mods2 p,
  #mods3 p,
  #footer p {
    margin: 0 0 6px 0 !important;
  }

  .shadow2 {
    height: 4px !important;
    margin: 0 !important;
    background-size: 100% 4px !important;
  }

  #wrapper {
    padding-bottom: 0 !important;
  }

  #footer,
  #mods2,
  #mods3,
  #bottom {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .copy,
  .design {
    float: none;
    text-align: center;
    padding: 5px 0;
  }

  /* Homepage rebuild mobile cleanup */
  .homepage-rebuild {
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild > div {
    margin: 0 0 10px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-hero,
  .homepage-rebuild .homepage-certification,
  .homepage-rebuild .homepage-why-sinoaid,
  .homepage-rebuild .homepage-cta {
    margin: 0 0 10px 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild .homepage-hero h1 {
    font-size: 28px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px 0 !important;
  }

  .homepage-rebuild h2 {
    font-size: 24px !important;
    line-height: 1.4 !important;
    margin: 0 0 6px 0 !important;
  }

  .homepage-rebuild h3 {
    font-size: 18px !important;
    line-height: 1.45 !important;
    margin: 0 0 6px 0 !important;
  }

  .homepage-rebuild p,
  .homepage-rebuild li {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .homepage-rebuild p,
  .homepage-rebuild ul,
  .homepage-rebuild ol {
    margin: 0 0 6px 0 !important;
  }

  .homepage-rebuild ul,
  .homepage-rebuild ol {
    padding-left: 22px !important;
  }

  .homepage-rebuild li {
    margin: 0 0 3px 0 !important;
  }

  .homepage-rebuild .homepage-trust-signals span {
    display: block !important;
    margin: 0 0 6px 0 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] {
    margin: 0 0 8px 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] h3 {
    margin: 0 0 6px 0 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] p {
    margin: 0 0 6px 0 !important;
    line-height: 1.6 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] > *:last-child,
  .homepage-rebuild > div > *:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild .quick-access-grid,
  .homepage-rebuild .industry-grid {
    margin: 0 !important;
    padding: 0 !important;
  }

  .homepage-rebuild .quick-access-grid > div,
  .homepage-rebuild .industry-grid > div {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 0 8px 0 !important;
  }

  .homepage-rebuild .quick-access-grid > div:last-child,
  .homepage-rebuild .industry-grid > div:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild .quick-access-grid::after,
  .homepage-rebuild .industry-grid::after {
    content: "";
    display: block;
    clear: both;
  }

  .homepage-rebuild .homepage-industry-solutions,
  .homepage-rebuild .homepage-industry-solutions .industry-grid,
  .homepage-rebuild .homepage-industry-solutions p:last-child,
  .homepage-rebuild .homepage-industry-solutions div:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-health-safety {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-health-safety > h2,
  .homepage-rebuild .homepage-health-safety > p,
  .homepage-rebuild .homepage-health-safety > ul {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-hero-media {
    margin: 0 0 10px 0 !important;
  }

  .homepage-rebuild .homepage-hero-media img {
    display: block !important;
    margin: 0 auto !important;
  }

  .homepage-rebuild a[style*="display: inline-block"] {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin: 0 0 6px 0 !important;
    padding: 10px 12px !important;
  }

  .homepage-rebuild a[style*="display: inline-block"]:last-child {
    margin-bottom: 0 !important;
  }
}

/* =========================
   <= 480px
========================= */
@media (max-width: 480px) {
  #comp {
    padding: 8px;
  }

  #nav > ul.menu > li {
    flex: 1 1 100%;
  }

  .logo,
  .logo a {
    font-size: 24px;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 17px; }

  .item-page-title,
  .item-page-title a {
    font-size: 18px;
  }

  #sidebar .module-title {
    font-size: 16px;
    padding: 8px !important;
  }
}

/* =========================
   >= 769px (DESKTOP / TABLET)
========================= */
@media (min-width: 769px) {
  .homepage-cta-group a {
    padding: 16px 28px;
    font-size: 18px;
  }

  /* Homepage rebuild desktop reset */
  .homepage-rebuild {
    max-width: 980px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
  }

  .homepage-rebuild > div {
    margin: 0 0 18px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-hero,
  .homepage-rebuild .homepage-certification,
  .homepage-rebuild .homepage-why-sinoaid,
  .homepage-rebuild .homepage-cta {
    margin: 0 0 18px 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild .quick-access-grid,
  .homepage-rebuild .industry-grid {
    margin: 0 !important;
    padding: 0 !important;
  }

  .homepage-rebuild .quick-access-grid > div,
  .homepage-rebuild .industry-grid > div {
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild .quick-access-grid > div:last-child,
  .homepage-rebuild .industry-grid > div:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] {
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] h3 {
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] p,
  .homepage-rebuild div[style*="border: 1px solid"] ul,
  .homepage-rebuild div[style*="border: 1px solid"] ol {
    margin: 0 0 8px 0 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] li {
    margin: 0 0 3px 0 !important;
  }

  .homepage-rebuild div[style*="border: 1px solid"] > *:last-child,
  .homepage-rebuild > div > *:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild h1 {
    margin: 0 0 12px 0 !important;
    line-height: 1.25 !important;
  }

  .homepage-rebuild h2 {
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
  }

  .homepage-rebuild h3 {
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
  }

  .homepage-rebuild p,
  .homepage-rebuild ul,
  .homepage-rebuild ol {
    margin: 0 0 8px 0 !important;
  }

  .homepage-rebuild li {
    margin: 0 0 3px 0 !important;
    line-height: 1.6 !important;
  }

  .homepage-rebuild .homepage-quick-access {
    margin-bottom: 16px !important;
  }

  .homepage-rebuild .homepage-main-services,
  .homepage-rebuild .homepage-health-safety {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-industry-solutions {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-industry-solutions .industry-grid,
  .homepage-rebuild .homepage-industry-solutions .industry-grid > div,
  .homepage-rebuild .homepage-industry-solutions p:last-child,
  .homepage-rebuild .homepage-industry-solutions div:last-child {
    margin-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-health-safety > h2,
  .homepage-rebuild .homepage-health-safety > p:first-of-type,
  .homepage-rebuild .homepage-health-safety > ul,
  .homepage-rebuild .homepage-main-services > h2 {
    margin-top: 0 !important;
  }

  .homepage-rebuild .homepage-hero-media {
    margin: 0 0 18px 0 !important;
  }

  .homepage-rebuild .homepage-hero-media img {
    display: block !important;
    margin: 0 auto !important;
  }

  .homepage-rebuild a[style*="display: inline-block"] {
    margin-bottom: 0 !important;
  }
}

/* =========================================
   MOBILE INNER PAGE FIRST-SCREEN CLEANUP
   内页手机端首屏清理
========================================= */
@media (max-width: 1024px) {

  /* 不作用首页，只作用内页 */
  body:not(.page-home) #header-w,
  body:not(.page-home) #top,
  body:not(.page-home) #mods1,
  body:not(.page-home) #slide-w {
    display: none !important;
  }

  /* 内页导航贴顶 */
  body:not(.page-home) #site-nav-wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 内页正文上移 */
  body:not(.page-home) #wrapper,
  body:not(.page-home) #comp,
  body:not(.page-home) #comp_full,
  body:not(.page-home) #comp-i {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* 去掉你截图里那种灰底感 */
  body:not(.page-home),
  body:not(.page-home) #main,
  body:not(.page-home) #wrapper,
  body:not(.page-home) #comp,
  body:not(.page-home) #comp_full,
  body:not(.page-home) #comp-i {
    background: #fff !important;
  }

  /* 隐藏 breadcrumb */
  body:not(.page-home) .breadcrumbs,
  body:not(.page-home) #breadcrumbs,
  body:not(.page-home) .breadcrumb {
    display: none !important;
  }

  /* 隐藏文章上方重复蓝色标题链接 */
  body:not(.page-home) .componentheading,
  body:not(.page-home) .contentheading,
  body:not(.page-home) .page-header,
  body:not(.page-home) .item-page-title,
  body:not(.page-home) h2.item-title,
  body:not(.page-home) .blog-featured h2,
  body:not(.page-home) .items-leading h2,
  body:not(.page-home) .leading-0 h2 {
    display: none !important;
  }
}

/* =========================================
   PC TYPOGRAPHY UPGRADE（解决字体偏小问题）
========================================= */
@media (min-width: 1025px) {

  /* 主体阅读区 */
  #comp-i {
    font-size: 18px !important;
    line-height: 1.8 !important;
    max-width: 820px !important;
  }

  /* 主标题（Hero H1） */
  #comp-i h1 {
    font-size: 34px !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
  }

  /* 二级标题 */
  #comp-i h2 {
    font-size: 24px !important;
    margin-top: 32px !important;
    margin-bottom: 14px !important;
  }

  /* 三级标题 */
  #comp-i h3 {
    font-size: 20px !important;
  }

  /* 段落 */
  #comp-i p {
    margin-bottom: 16px !important;
  }

  /* Hero intro 第一段（你那段说明） */
  .homepage-intro p {
    font-size: 19px !important;
  }

  /* CTA按钮再强化一点 */
  .homepage-cta-group a {
    font-size: 18px !important;
  }
}

/* =========================================
   FIX: 卡片等高（Quick Access）
========================================= */
.homepage-rebuild .quick-access-grid {
  display: flex;
  flex-wrap: wrap;
}

.homepage-rebuild .quick-access-grid > div {
  display: flex;
  flex-direction: column;
}

/* 让内容撑满 */
.homepage-rebuild .quick-access-grid > div > div {
  flex: 1;
}

/* =========================================
   HOMEPAGE PC FIX
   解决：
   1) Quick Access 卡片不等高
   2) Main Training Services 上方空白过大
========================================= */
@media (min-width: 1025px) {

  /* ===== 先收紧 section 间距 ===== */
  .homepage-rebuild .homepage-hero-media {
    margin: 0 0 12px 0 !important;
  }

  .homepage-rebuild .homepage-quick-access {
    margin: 0 0 12px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .homepage-rebuild .homepage-main-services {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-main-services > h2 {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  .homepage-rebuild .homepage-quick-access > h2 {
    margin-bottom: 8px !important;
  }

  .homepage-rebuild .homepage-quick-access > p {
    margin-bottom: 10px !important;
  }

  /* ===== Quick Access 两列卡片：不用 float，直接强制 flex ===== */
  .homepage-rebuild .quick-access-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .homepage-rebuild .quick-access-grid > div {
    float: none !important;
    width: calc(50% - 6px) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    min-height: 220px !important;
    padding: 16px !important;
  }

  /* 卡片内部节奏 */
  .homepage-rebuild .quick-access-grid > div h3 {
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
  }

  .homepage-rebuild .quick-access-grid > div p {
    margin: 0 0 10px 0 !important;
    line-height: 1.65 !important;
  }

  /* 把最后一行链接推到底部，这样四张卡片更整齐 */
  .homepage-rebuild .quick-access-grid > div p:last-child {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }

  /* ===== Main Services 第一段不要再被上面拉开 ===== */
  .homepage-rebuild .homepage-main-services > p:first-of-type {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
}

/* =========================================
   FIX: homepage-why-sinoaid style + mobile visibility
========================================= */

/* ---- PC / tablet: make this block lighter and cleaner ---- */
@media (min-width: 769px) {
  .homepage-rebuild .homepage-why-sinoaid {
    background: #f8f8f8 !important;
    border-left: 4px solid #134e8b !important;
    padding: 18px 20px !important;
    margin: 0 0 18px 0 !important;
    box-sizing: border-box !important;
  }

  .homepage-rebuild .homepage-why-sinoaid h2 {
    display: block !important;
    margin: 0 0 12px 0 !important;
  }

  .homepage-rebuild .homepage-why-sinoaid ul {
    margin: 0 !important;
    padding-left: 24px !important;
  }

  .homepage-rebuild .homepage-why-sinoaid li {
    margin: 0 0 6px 0 !important;
    line-height: 1.6 !important;
  }
}

/* ---- Mobile: force this section back ---- */
@media (max-width: 1024px) {
  body.page-home .homepage-rebuild .homepage-why-sinoaid,
  body.page-home .homepage-rebuild .homepage-why-sinoaid * {
    display: revert !important;
  }

  body.page-home .homepage-rebuild .homepage-why-sinoaid {
    background: #f8f8f8 !important;
    border-left: 4px solid #134e8b !important;
    padding: 12px !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
  }

  body.page-home .homepage-rebuild .homepage-why-sinoaid h2 {
    display: block !important;
    margin: 0 0 8px 0 !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  body.page-home .homepage-rebuild .homepage-why-sinoaid ul {
    display: block !important;
    margin: 0 !important;
    padding-left: 20px !important;
  }

  body.page-home .homepage-rebuild .homepage-why-sinoaid li {
    display: list-item !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.55 !important;
  }
}

/* =========================================
   FIX: homepage-why-sinoaid 顶部灰色留白过大（PC）
========================================= */
@media (min-width: 769px) {

  .homepage-rebuild .homepage-why-sinoaid {
    padding-top: 6px !important;
    padding-right: 20px !important;
    padding-bottom: 14px !important;
    padding-left: 20px !important;
    margin-top: 0 !important;
  }

  .homepage-rebuild .homepage-why-sinoaid h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-why-sinoaid > *:first-child {
    margin-top: 0 !important;
  }
}

/* =========================================
   FIX: homepage-why-sinoaid 顶部留白继续收紧（PC）
========================================= */
@media (min-width: 769px) {

  .homepage-rebuild .homepage-why-sinoaid {
    padding-top: 4px !important;
    padding-right: 20px !important;
    padding-bottom: 14px !important;
    padding-left: 20px !important;
    margin-top: 0 !important;
  }

  .homepage-rebuild .homepage-why-sinoaid h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
  }

  .homepage-rebuild .homepage-why-sinoaid > *:first-child {
    margin-top: 0 !important;
  }
}

/* =========================================
   CONTENT ALIGN CONTROL
   PC 与 Mobile 分离对齐策略
   追加到 custom.css 最后
========================================= */

/* =========================
   PC / Desktop
   正文允许两端对齐
========================= */
@media (min-width: 1025px) {

  /* 主内容正文 */
  #comp-i p,
  #comp-i li {
    text-align: justify !important;
    text-justify: inter-word;
  }

  /* 首页重构区正文 */
  .homepage-rebuild p,
  .homepage-rebuild li {
    text-align: justify !important;
    text-justify: inter-word;
  }

  /* 标题保持左对齐，不要 justify */
  #comp-i h1,
  #comp-i h2,
  #comp-i h3,
  #comp-i h4,
  #comp-i h5,
  #comp-i h6,
  .homepage-rebuild h1,
  .homepage-rebuild h2,
  .homepage-rebuild h3,
  .homepage-rebuild h4,
  .homepage-rebuild h5,
  .homepage-rebuild h6 {
    text-align: left !important;
  }
}

/* =========================
   Tablet + Mobile
   全部强制左对齐
========================= */
@media (max-width: 1024px) {

  /* 主内容区 */
  #comp-i,
  #comp-i p,
  #comp-i li,
  #comp-i ul,
  #comp-i ol,
  #comp-i h1,
  #comp-i h2,
  #comp-i h3,
  #comp-i h4,
  #comp-i h5,
  #comp-i h6 {
    text-align: left !important;
    text-justify: auto !important;
  }

  /* 首页重构区 */
  .homepage-rebuild,
  .homepage-rebuild p,
  .homepage-rebuild li,
  .homepage-rebuild ul,
  .homepage-rebuild ol,
  .homepage-rebuild h1,
  .homepage-rebuild h2,
  .homepage-rebuild h3,
  .homepage-rebuild h4,
  .homepage-rebuild h5,
  .homepage-rebuild h6 {
    text-align: left !important;
    text-justify: auto !important;
  }

  /* 卡片里的正文也强制左对齐 */
  .homepage-rebuild div[style*="border: 1px solid"] p,
  .homepage-rebuild div[style*="border: 1px solid"] li,
  .homepage-rebuild div[style*="border: 1px solid"] h3 {
    text-align: left !important;
  }
}

/* =========================
   Safety reset
   避免按钮、CTA 被拉成 justify
========================= */
.homepage-cta-group,
.homepage-cta-group a,
.homepage-rebuild a[style*="display: inline-block"],
#comp-i a {
  text-align: left;
  text-justify: auto;
}

@media (max-width: 768px) {

  /* 所有两列卡片统一变单列 */
  .mental-quick-facts div[style*="width: 48%"],
  .mental-use-cases div[style*="width: 48%"] {
    width: 100% !important;
    float: none !important;
    margin: 0 0 16px 0 !important;
  }

  /* 容器清除 float */
  .mental-quick-facts div[style*="overflow: hidden"],
  .mental-use-cases div[style*="overflow: hidden"] {
    display: block !important;
  }

}

@media (max-width: 768px) {

  .mental-quick-facts div[style*="width: 48%"],
  .mental-use-cases div[style*="width: 48%"] {
    width: 100% !important;
    float: none !important;
    margin: 0 0 18px 0 !important;
    padding: 18px !important;
    border-radius: 6px;
  }

}

@media (max-width: 768px) {
  .first-aid-quick-facts div[style*="width: 48%"],
  .first-aid-delivery div[style*="width: 48%"] {
    width: 100% !important;
    float: none !important;
    margin: 0 0 16px 0 !important;
  }

  .first-aid-quick-facts div[style*="overflow: hidden"],
  .first-aid-delivery div[style*="overflow: hidden"] {
    display: block !important;
  }
}