/* 苍何风格资源包示例，由内置 canghe-style 样式迁移而来 */
.wesight-wechat-template-canghe-geek-black {
  display: block;
  box-sizing: border-box;
  padding: 8px 8px;
  color: #333333;
  font-family: Optima-Regular, PingFangSC-light;
  font-size: 16px;
  letter-spacing: 1.5px;
  overflow-wrap: break-word;
  background-color: #ffffff;
}

.wesight-wechat-template-canghe-geek-black p {
  margin: 30px 8px;
  font-family: Optima-Regular, PingFangSC-light;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 2px;
  word-spacing: 2px;
}

.wesight-wechat-template-canghe-geek-black blockquote p {
  margin: 0;
  padding: 0;
}

.wesight-wechat-template-canghe-geek-black h1 {
  position: relative;
  z-index: 0;
  display: inline-block;
  height: 40px;
  max-width: 100%;
  margin: 10px 0;
  padding-right: 30px;
  padding-left: 30px;
  color: #ffffff;
  background-color: #1f2937;
  border-bottom-right-radius: 100px;
  font-size: 19px;
  font-weight: 700;
  line-height: 40px;
  overflow: visible;
  box-shadow: 100vw 0 0 100vw rgb(251, 251, 251);
  clip-path: inset(0 -100vw 0 0);
  box-sizing: border-box;
}

.wesight-wechat-template-canghe-geek-black h2 {
  position: relative;
  display: block;
  margin: 16px auto 8px;
  padding-bottom: 6px;
  color: #1f2937;
  border-bottom: 4px solid #1f2937;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.wesight-wechat-template-canghe-geek-black h3 {
  margin: 17px auto 5px;
  padding-top: 6px;
  padding-right: 25px;
  padding-left: 5px;
  color: #1f2937;
  border-bottom: 1px solid #dddddd;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: underline 3px #1f2937;
  text-underline-offset: 6px;
}

.wesight-wechat-template-canghe-geek-black h4 {
  margin: 16px auto 5px;
  padding-top: 6px;
  padding-right: 5px;
  padding-left: 5px;
  color: #1f2937;
  border-bottom: 1px solid #dddddd;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: underline 2px #1f2937;
  text-underline-offset: 5px;
}

.wesight-wechat-template-canghe-geek-black ul {
  margin-bottom: 8px;
  color: #595959;
  font-size: 15px;
  list-style-type: circle;
}

.wesight-wechat-template-canghe-geek-black ol {
  padding: 8px 8px;
  color: #595959;
  font-size: 15px;
  font-family: Optima-Regular, PingFangSC-light;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.wesight-wechat-template-canghe-geek-black ol > li {
  font-size: 16px;
}

.wesight-wechat-template-canghe-geek-black li {
  margin-bottom: 8px;
}

.wesight-wechat-template-canghe-geek-black blockquote {
  margin: 20px 0;
  padding: 10px 20px;
  color: #2c3e50;
  background-color: #f3f4f6;
  border-left: 4px solid #6b7280;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.6;
}

.wesight-wechat-template-canghe-geek-black a {
  color: #000000;
  font-weight: 400;
  border-bottom: 1px solid #6b7280;
  overflow-wrap: anywhere;
}

.wesight-wechat-template-canghe-geek-black strong {
  color: #1f2937;
  font-weight: 700;
}

.wesight-wechat-template-canghe-geek-black em {
  color: #1f2937;
  font-style: italic;
  font-weight: 700;
}

.wesight-wechat-template-canghe-geek-black del {
  color: #1f2937;
}

.wesight-wechat-template-canghe-geek-black hr {
  height: 1px;
  padding: 0;
  border: 0;
  border-top: 2px solid #1f2937;
}

.wesight-wechat-template-canghe-geek-black img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto 30px;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 2px 4px 7px #999999;
}

.wesight-wechat-template-canghe-geek-black table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  border: 1px solid #6b7280;
  border-radius: 8px;
  overflow: hidden;
  font-size: 16px;
  overflow-wrap: break-word;
}

.wesight-wechat-template-canghe-geek-black th {
  padding: 12px 8px;
  color: #ffffff;
  background-color: #6b7280;
  border-bottom: 2px solid #dddddd;
  font-weight: 700;
  text-align: center;
  width: auto;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wesight-wechat-template-canghe-geek-black td {
  max-width: 300px;
  padding: 12px 8px;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  vertical-align: top;
  width: auto;
  overflow: hidden;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
}

.wesight-wechat-template-canghe-geek-black tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

.wesight-wechat-template-canghe-geek-black tbody tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.wesight-wechat-template-canghe-geek-black pre {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  color: #abb2bf;
  background-color: #282c34;
  border-radius: 5px;
  overflow-x: auto;
  white-space: pre;
}

.wesight-wechat-template-canghe-geek-black pre code {
  display: block;
  padding: 0.9em;
  color: #abb2bf;
  background-color: transparent;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.8em;
  line-height: 1.6em;
  letter-spacing: 1.5px;
  white-space: pre;
  text-wrap: nowrap;
}

.wesight-wechat-template-canghe-geek-black code:not(pre code) {
  display: inline;
  color: rgb(207, 208, 203);
}

.wesight-wechat-template-canghe-geek-black .footnote-word,
.wesight-wechat-template-canghe-geek-black .footnote-ref {
  color: #595959;
  font-weight: 400;
}

.wesight-wechat-template-canghe-geek-black .footnotes {
  padding: 20px;
  color: #595959;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid #dddddd;
  border-radius: 4px;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-task-checkbox {
  display: inline-block;
  margin-right: 6px;
  font-size: 16px;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-task-checkbox[data-checked='true'] {
  color: #1f2937;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-task-checkbox[data-checked='false'] {
  color: #595959;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-h2-tail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: rgba(31, 41, 55, 0.5);
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-table-wrap {
  display: block;
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-section {
  display: flex;
  border: 1px solid rgb(60, 66, 84);
  background-color: rgb(39, 44, 54);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-header {
  display: block;
  height: 30px;
  padding-left: 12px;
  line-height: 30px;
  letter-spacing: 0;
  background-color: #282c34;
  border-radius: 5px 5px 0 0;
  margin-bottom: -7px;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-header span {
  display: inline-block;
  margin-right: 7px;
  font-size: 13px;
  line-height: 30px;
  letter-spacing: 0;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-header span:nth-child(1) {
  color: #ff5f56;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-header span:nth-child(2) {
  color: #ffbd2e;
}

.wesight-wechat-template-canghe-geek-black .wesight-wechat-code-header span:nth-child(3) {
  color: #27c93f;
}
