*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: #373a3c;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  /* 
   * 控制单词的换行行为，可选值有：
   * normal: 使用默认换行规则，仅在空格或连字符等自然位置换行；
   * break-all: 在任意字符间都可以断行（适用于英文或无空格的长字符串）。
   * keep-all: 禁止在单词中间断行（常用于中文或日文，要求整词显示）。
   * break-word: 当内容太长时允许在单词中间断行以防溢出。
   * 其中 break-word 用得最多，它在文本长度合适时类似 normal，在文本过长时又类似 break-all。
   */
  word-break: break-word;
  /* overflow-wrap: break-word; 是标准写法。work-break: break-word; 是兼容写法，两者作用相同。*/
  overflow-wrap: break-word;
}

ul {
  padding: 0;
  list-style: none;
  margin: 0;
}
a {
  text-decoration: none;
  color: #428bca;
  cursor: pointer;
}
section {
  margin-bottom: 3rem;
}

a:hover,
a:active {
  color: #014c8c;
}

body {
  margin: 0;
}

blockquote {
  background-color: #eceeef;
  border-radius: 0.3rem;
  padding: 1.25rem 2rem;
  margin: 0;
}
footer {
  border-top: 1px solid #e5e5e5;
  color: #777;
  font-size: 12px;
  text-align: center;
  padding: 1rem 0;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  margin: 1rem 0 0.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.5rem 0;
}
h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

i {
  font-size: 0.75rem;
  color: #888;
  font-style: normal;
}

p {
  margin: 0 0 1rem;
}

time {
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
}

header {
  /* height: 3.25rem; */
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-item a {
  display: inline-block;
  height: 2.25rem;
  padding: 0 0.875rem;
  border-radius: 0.25rem;
  line-height: 2.25rem;
}

.menu-item-selected a {
  background-color: #0275d8;
  color: #fff;
  cursor: default;
}

.page-title {
  /* background-color: red; */
  display: flex;
  gap: 1rem;
  align-items: center;
}
.page-title h1,
.page-title h2 {
  margin: 0;
}
.page-title h1 {
  font-size: 1.5rem;
}
.page-title h2 {
  font-size: 1rem;
}

.logo {
  height: 4rem;
  vertical-align: middle;
}

.page-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 0.875rem;
  padding-top: 1rem;
}

.menu-item-new {
  list-style: none;
}
