/* Portal identity follows the existing Baidu pages. */
html { scroll-padding-top: 180px; }
.portal-header { border-bottom: 1px solid #edf1f1; background: #fff; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; line-height: 1.6; letter-spacing: 0; }
.portal-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: calc(100% - 96px); max-width: 1200px; min-height: 78px; margin-inline: auto; padding-block: 12px; }
.portal-brand { display: block; flex: 0 0 220px; }
.portal-brand img { width: 220px; height: auto; }
.portal-tools { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-width: 0; }
.portal-nav { padding-block: 10px; color: #4b5d61; font-size: 15px; white-space: nowrap; }
.portal-tools:hover .portal-nav { color: #008b81; }
.portal-search { display: flex; width: 280px; min-width: 0; height: 40px; overflow: hidden; border: 1px solid #dce5e5; border-radius: 6px; background: #f7f9f9; }
.portal-tools:hover .portal-search { border-color: #008b81; }
.portal-search-field { flex: 1; min-width: 0; }
.portal-search-button { display: flex; flex: 0 0 64px; align-items: center; justify-content: center; background: #e5eceb; color: #526660; font-size: 14px; }
.portal-header a:focus-visible { outline: 3px solid #007b72; outline-offset: 5px; }
.copyright-footer { width: 100%; padding: 22px 20px; background: #333; color: #bdbdbd; font: 13px/1.9 "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: 0; text-align: center; overflow-wrap: anywhere; }
.copyright-footer p { margin: 0; text-wrap: wrap; }
.copyright-footer p + p { margin-top: 4px; }
.copyright-footer .company-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 24px; }
.copyright-footer a { color: inherit; }
.copyright-footer a:hover { color: #fff; text-decoration: underline; }
.copyright-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.copyright-footer .footer-links { margin: 8px 0 0; color: inherit; }

@media (max-width: 1100px) {
  .portal-inner { width: calc(100% - 48px); }
}
@media (max-width: 900px) {
  .portal-tools { gap: 20px; }
  .portal-search { width: 230px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 255px; }
  .portal-inner { flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .portal-brand { flex-basis: 188px; }
  .portal-brand img { width: 188px; }
  .portal-tools { width: 100%; justify-content: space-between; gap: 16px; }
  .portal-nav { font-size: 14px; }
  .portal-search { flex: 0 1 250px; width: 250px; height: 36px; }
  .portal-search-button { flex-basis: 48px; font-size: 12px; }
  .copyright-footer { padding: 18px 20px; font-size: 12px; }
}
@media (max-width: 420px) {
  .portal-inner { width: calc(100% - 36px); }
}
