/* Shared by the news and forum homepages. Keep the header outside content transitions. */
.portal-home-header{
  position:sticky;top:0;z-index:1000;min-width:1220px;height:80px;margin:0 0 32px;
  background:#fff;border-bottom:1px solid #f0f1f3;color:#24272b;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;view-transition-name:portal-home-header;
}
.portal-home-header,.portal-home-header *{box-sizing:border-box}
.portal-home-header .portal-home-header-inner{width:1180px;height:100%;margin:0 auto;display:flex;align-items:center;gap:32px}
.portal-home-header a{color:inherit;text-decoration:none}
.portal-home-header .portal-home-logo{display:block;flex:0 0 112px;width:112px;line-height:0}
.portal-home-header .portal-home-logo img{display:block;width:112px;height:auto;max-height:none;object-fit:contain;border:0}
.portal-home-header .portal-home-nav{display:flex;align-items:center;gap:32px;white-space:nowrap}
.portal-home-header .portal-home-nav-link{position:relative;display:flex;align-items:center;height:48px;padding:0;font-size:17px;line-height:24px;font-weight:650;color:#616770}
.portal-home-header .portal-home-nav-link:hover,.portal-home-header .portal-home-nav-current{color:#242424}
.portal-home-header .portal-home-nav-current::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#FCCF00}
.portal-home-header .portal-home-news{position:relative;display:flex;align-items:center;gap:4px}
.portal-home-header .portal-home-news-details{display:block}
.portal-home-header .portal-home-news-toggle{display:flex;align-items:center;justify-content:center;width:24px;height:48px;margin:0;padding:0;list-style:none;color:#777e87;cursor:pointer;border-radius:2px!important}
.portal-home-header .portal-home-news-toggle::-webkit-details-marker{display:none}
.portal-home-header .portal-home-news-toggle::marker{content:""}
.portal-home-header .portal-home-news-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform 160ms ease}
.portal-home-header .portal-home-news-details[open] .portal-home-news-toggle svg{transform:rotate(180deg)}
.portal-home-header .portal-home-news-menu{position:absolute;top:100%;left:-14px;z-index:2;display:grid;gap:2px;width:178px;margin:0;padding:10px 8px;background:#fff;border:1px solid #e6e8eb;border-radius:3px!important;box-shadow:0 10px 25px rgba(24,31,40,.1)}
.portal-home-header .portal-home-news-details:not([open]) .portal-home-news-menu{display:none}
.portal-home-header .portal-home-news-menu a{display:block;padding:9px 12px;font-size:14px;line-height:22px;font-weight:500;border-radius:2px!important;color:#4f5660}
.portal-home-header .portal-home-news-menu a:hover,.portal-home-header .portal-home-news-menu a:focus-visible{background:#f5f6f7;color:#242424}
.portal-home-header a:focus-visible,.portal-home-header summary:focus-visible,.portal-home-header button:focus-visible{outline:2px solid #c6a400;outline-offset:3px}
.portal-home-header .portal-home-search{position:relative;display:block;flex:0 0 310px;width:310px;height:38px;margin:0 0 0 auto;padding:0;border:0;background:none}
.portal-home-header .portal-home-search-input{display:block;width:100%;height:38px;margin:0;padding:8px 42px 8px 13px;border:1px solid #dfe3e8;border-radius:3px!important;background:#fafbfc;color:#24272b;font-family:inherit;font-size:13px;line-height:20px;box-shadow:none;outline:none}
.portal-home-header .portal-home-search-input:focus{border-color:#c6a400;background:#fff;outline:1px solid #c6a400;outline-offset:0}
.portal-home-header .portal-home-search-input::placeholder{color:#777e87;opacity:1}
.portal-home-header .portal-home-search-button{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:40px;height:38px;margin:0;padding:0;border:0;border-radius:2px!important;background:transparent;color:#5b626b;box-shadow:none;cursor:pointer}
.portal-home-header .portal-home-search-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.portal-home-header .portal-home-search-fallback{display:flex;align-items:center;justify-content:space-between;height:38px;padding:8px 13px;border:1px solid #dfe3e8;border-radius:3px!important;background:#fafbfc;color:#616770;font-size:13px;line-height:20px}
.portal-home-header .portal-home-search[data-portal-home-forum-search]:not(.portal-home-search-ready) .portal-home-search-input,
.portal-home-header .portal-home-search[data-portal-home-forum-search]:not(.portal-home-search-ready) .portal-home-search-button,
.portal-home-header .portal-home-search-ready .portal-home-search-fallback{display:none}
@view-transition{navigation:auto}
::view-transition-group(root),::view-transition-group(portal-home-header){animation:none}
::view-transition-old(root),::view-transition-old(portal-home-header){display:none;animation:none}
::view-transition-new(portal-home-header){animation:none;mix-blend-mode:normal}
::view-transition-new(root){animation:portal-home-content-in 170ms ease-out both;mix-blend-mode:normal}
@keyframes portal-home-content-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .portal-home-header .portal-home-news-toggle svg{transition:none}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
