/* 首页顶部公告条 */
.site-notice {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 48px 10px 16px;
  background: var(--sz-warn-soft);
  border-bottom: 1px solid var(--sz-warn-line);
  color: var(--sz-warn-ink);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}
.site-notice-link {
  margin-left: 12px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.site-notice-link:hover {
  color: inherit;
  text-decoration: none;
}
.site-notice-close {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sz-warn-ink);
  font-size: 24px;
  line-height: 44px;
  cursor: pointer;
}
.site-notice-close:hover {
  color: var(--sz-ink);
}
@media (max-width: 768px) {
  .site-notice {
    padding: 10px 48px 10px 12px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }
}
