/* Shared header and footer for the five public sections. */
body.section-shell #top::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 85px; background: #fff; box-shadow: 0 3px 18px #123e6812;
}
body.section-shell #top #menumain dt a,
body.section-shell #top #menumain li:hover dt a,
body.section-shell #top #menumain li.cur dt a { color: #123e68 !important; text-shadow: none; }
body.section-shell #top #menumain li.cur dt a { color: #0877c9 !important; }
body.section-shell #top .wusearchform { background: #f1f6fb; border-color: #cbdced; }
body.section-shell #top .wusearchform input { color: #123e68 !important; }
body.section-shell #top .wusearchform input::placeholder { color: #637b91; }
body.section-shell .section-banner { width: 100vw !important; max-width: none !important; left: 50% !important; transform: translateX(-50%); }
body.section-shell .section-banner img { width: 100% !important; height: 100% !important; object-fit: cover; }
body.section-shell .section-banner .pdv_content,
body.section-shell .section-banner .pdv_border,
body.section-shell .section-banner .pdv_border > div:last-child { height: 100% !important; }
.section-compact-nav { display: none; }
body.section-shell #menumain > .section-sticky-brand { display: none !important; }
/* Keep the sticky brand inside the viewport, alongside the original dropdown menu. */
body.section-shell #top { z-index: 1100 !important; }
body.section-shell #top #menumain.fixedtop {
  left: 0 !important; top: 0 !important; width: 100% !important;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: 0 24px; box-sizing: border-box; z-index: 1100;
  background: #fff !important;
}
body.section-shell #menumain.fixedtop > .bd { flex: 0 1 auto; }
body.section-shell #menumain.fixedtop > .section-sticky-brand {
  display: flex !important; position: relative; left: auto; top: auto;
  order: -1; flex: 0 0 200px; width: 200px; height: 72px; align-items: center; z-index: 1;
}
.section-sticky-brand img { display: block; width: 190px; height: auto; }
body.section-shell #top .section-compact-nav.is-scrolled {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  box-shadow: 0 3px 18px #123e681a;
}
.section-compact-brand { flex: 0 0 180px; padding: 0 !important; }
.section-compact-brand img { display: block; width: 180px; height: auto; max-height: 54px; object-fit: contain; }
.section-compact-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
body.section-shell #bottom {
  width: 100% !important; max-width: none !important; height: auto !important;
  padding: 42px max(24px, calc((100% - 1440px)/2)) 28px;
  background-color: #003a79 !important; background-position: center !important; background-size: cover !important;
  left: auto !important; transform: none !important; box-sizing: border-box;
}
body.section-shell #bottom::before { display: none; }
body.section-shell #bottom .section-footer-obsolete { display: none !important; }
.section-footer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.section-footer-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #ffffff26; }
body.section-shell #bottom .section-footer-item {
  position: relative !important; top: auto !important; left: auto !important;
  width: auto !important; height: auto !important; max-width: 100%; transform: none !important;
  overflow-wrap: anywhere;
}
body.section-shell #bottom .section-footer-item .pdv_bottom,
body.section-shell #bottom .section-footer-item .pdv_border { height: auto !important; width: 100% !important; overflow: visible !important; }
body.section-shell #bottom .section-footer-item img { max-width: 100%; }
body.section-shell #bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 1200px) {
  body.section-shell #contain { width: 100% !important; padding: 0 !important; }
  body.section-shell #top { width: 100% !important; height: 85px !important; }
  body.section-shell #content {
    display: flex; flex-direction: column; gap: 24px;
    width: 100% !important; height: auto !important; min-width: 0;
    margin: 0 !important; padding: 0 20px 32px; box-sizing: border-box;
  }
  body.section-shell #content .section-flow-module {
    position: relative !important; top: auto !important; left: auto !important;
    width: 100% !important; height: auto !important; max-width: 100% !important;
    margin: 0 !important; transform: none !important; flex: none;
  }
  body.section-shell #content .section-flow-backdrop { display: none !important; }
  body.section-shell #content #pdv_28046,
  body.section-shell #content #pdv_35268 { display: none !important; }
  body.section-shell #content .section-flow-module > .pdv_content,
  body.section-shell #content .section-flow-module > .pdv_content > .pdv_border {
    height: auto !important; width: 100% !important; overflow: visible !important;
  }
  body.section-shell #content .section-banner {
    width: calc(100% + 40px) !important; max-width: none !important;
    margin-left: -20px !important; height: clamp(160px, 24vw, 300px) !important;
  }
  body.section-shell #content .section-banner > .pdv_content,
  body.section-shell #content .section-banner > .pdv_content > .pdv_border { height: 100% !important; }
  body.section-shell #content .wupagelist ul { display: flex; flex-wrap: wrap; justify-content: center; }
  body.section-shell #content .wupagelist2 { width: 100% !important; }
  body.section-shell #content .wupagelist2 ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.section-shell #content .wupagelist2 li { width: auto !important; }
  body.section-shell #content .ny-jishu,
  body.section-shell #content .ny-jishu .main,
  body.section-shell #content .ny-jishu .left,
  body.section-shell #content .ny-jishu .right { width: 100% !important; max-width: 100%; float: none !important; }
  body.section-shell #content .newsInfo220607 ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.section-shell #content .section-flow-module img { max-width: 100%; }
  .section-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-compact-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; position: absolute; top: 0; left: 0; width: 100%; z-index: 100; background: #fff; padding: 14px 20px; min-height: 80px; }
  .section-compact-nav a { color: #123e68; padding: 6px 0; font-size: 15px; }
  .section-compact-nav a[aria-current] { color: #0877c9; border-bottom: 2px solid #0877c9; }
  body.section-shell #top .pdv_class:not(.section-banner) { display: none !important; }
  body.section-shell #top > div:not(.section-compact-nav) { max-width: 100% !important; }
}
@media(max-width: 600px) {
  body.section-shell #content .wupagelist2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.section-shell #content .newsInfo220607 ul { grid-template-columns: 1fr !important; }
  body.section-shell #content .productCenter220520 ul li { height: auto !important; }
  body.section-shell #content .productCenter220520 ul li a { flex-direction: column; }
  body.section-shell #content .productCenter220520 .proContent { width: 100% !important; }
  .section-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  body.section-shell #bottom { padding: 32px 20px 24px; }
}
