/* ============================================================
   姝ｆ枃鍐呭鏍峰紡锛?rich锛夆€斺€ 涓庡悗鍙 WangEditor 鍙鍖栫紪杈戙€屾墍瑙佸嵆鎵€寰椼€
   瑙勫垯鏄犲皠鑷 @wangeditor/editor v5 鐨勫唴瀹归粯璁ゆ牱寮忥紝
   淇濊瘉鍚庡彴缂栬緫鍣ㄩ噷鐪嬪埌鐨勬帓鐗堬紝鍓嶅彴缃戠珯涓€妯′竴鏍峰憟鐜般€
   ============================================================ */

.rich {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.rich * { box-sizing: border-box; }

.rich p { margin: 15px 0; }

.rich h1, .rich h2, .rich h3, .rich h4, .rich h5, .rich h6 {
  margin: 20px 0;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
}
.rich h1 { font-size: 2em; }
.rich h2 { font-size: 1.5em; }
.rich h3 { font-size: 1.17em; }
.rich h4 { font-size: 1em; }
.rich h5 { font-size: .83em; }
.rich h6 { font-size: .67em; }

.rich ul, .rich ol { margin: 15px 0; padding-left: 2em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin: 5px 0; line-height: 1.5; }

.rich blockquote {
  background: #f5f2f0;
  border-left: 8px solid #B4D5FF;
  display: block;
  font-size: 100%;
  line-height: 1.5;
  margin: 10px 0;
  padding: 10px;
}

.rich img {
  max-width: 100%;
  height: auto;
  min-height: 20px;
  min-width: 20px;
  display: inline-block;
  vertical-align: middle;
}

.rich a { color: #1890ff; text-decoration: none; }
.rich a:hover { text-decoration: underline; }

.rich code {
  background: #f5f2f0;
  border-radius: 3px;
  font-family: Consolas, Monaco, monospace;
  padding: 3px;
  font-size: .9em;
}
.rich pre > code {
  background: #f5f2f0;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  display: block;
  font-size: 14px;
  padding: 10px;
  white-space: pre;
  overflow-x: auto;
}

.rich hr {
  background: #ccc;
  border: 0;
  display: block;
  height: 1px;
  margin: 20px auto;
}

.rich table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.rich table td, .rich table th {
  border: 1px solid #ccc;
  line-height: 1.5;
  min-width: 30px;
  padding: 3px 5px;
  text-align: left;
}
.rich table th { background: #f5f2f0; font-weight: 700; text-align: center; }

/* 棣栦釜 / 鏈釜瀛愬厓绱犺创杈癸紝閬垮厤椤堕儴銆佸簳閮ㄥ浣欑暀鐧 */
.rich > *:first-child { margin-top: 0; }
.rich > *:last-child { margin-bottom: 0; }
