blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, ul, li, ol, p, pre, td, textarea, th, header, footer, nav, section, aside, article, main, a {
  box-sizing: border-box;
}
:root {
  --primary: rgba(42, 130, 228, 1);
  --danger: rgba(212, 48, 48, 1);
  --green: rgba(53, 133, 98, 1);
}

body {
  max-width: 1920px;
  min-width: 1200px;
  min-height: 100vh;
  margin: auto;
  background-color: rgba(250, 250, 250, 0.6);
  font-family: "Microsoft YaHei UI", sans-serif;
  color: #383838;
}
img, video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
input, button {
  border: none;
  outline: none;
}
label {
  white-space: nowrap;
}
.wrap {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}
.active {
  font-weight: 500;
  color: var(--primary) !important;
}
a {
  color: inherit;
}
a:hover {
  color: inherit;
  opacity: 0.8;
}
button:hover {
  opacity: 0.8;
}

.r-fill {
  border-radius: 999px;
}
.flex {
  display: flex;
}
.flex-d-col {
  flex-direction: column;
}
.flex-y-c {
  display: flex;
  align-items: center;
}
.flex-x-c {
  justify-content: center;
}
.flex-x-b {
  justify-content: space-between;
}
.flex-1 {
  flex: 1;
  overflow: hidden;
}
.ml-x {
  margin-left: auto;
}
.hide-two {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.com-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 1em;
  border: 5px;
  min-width: 90px;
  height: 40px;
  border-radius: 5px;
  color: #fff;
  background-color: var(--primary);
}
.primary-plain {
  background-color: rgba(42, 130, 228, 0.3);
  color: var(--primary);
}
.error-bg {
  background-color: var(--danger);
  color: #fff;
}
.error-bd {
  background-color: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
}
.success-bg {
  background-color: rgba(54, 201, 192, 1);
  color: #fff;
}
.info-bg {
  background-color: rgba(166, 166, 166, 0.8);
  color: #fff;
}
.pr {
  position: relative;
}
.f-13 {
  font-size: 13px;
}
.f-17 {
  font-size: 17px;
}
.f-b {
  font-weight: bold;
}
.t-c {
  text-align: center;
}
.t-sw {
  font-weight: 500;
}
.t-gray {
  color: #808080;
}
.t-primary {
  color: var(--primary);
}
.t-error {
  color: var(--danger);
}
.t-999 {
  color: #999;
}

/*美化滚动条*/
::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
  border-radius: 2.5px;
  cursor: grab;
}
::-webkit-scrollbar {
  width: 5px;
  height: 10px;
  border-radius: 2.5px;
  cursor: grab;
}
::-webkit-scrollbar-thumb {
  background-color: #ccc;
  background-clip: padding-box;
  min-height: 28px;
  border-radius: 5px;
  cursor: grab;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
  cursor: grab;
}

/* 文章列表 */
.tabs {
  padding: 0 16px;
  background: linear-gradient(90deg, rgba(166, 43, 49, 0.2) 0%, rgba(166, 43, 49, 0.08) 100%);
}
.tab {
  margin: 0 30px;
  position: relative;
  min-width: 103px;
  height: 90px;
  line-height: 90px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  color: #575757;
}
.tab.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: rgba(166, 43, 49, 1);
}
.tab.current {
  color: rgba(166, 43, 49, 1);
}
.content {
  width: 940px;
  height: calc(100% - 90px);
  padding-top: 8px;
  overflow-y: auto;
}
.tab-more {
  margin-left: auto;
  font-size: 16px;
  color: rgba(87, 87, 87, 0.5);
}

/* 列表 */
.row {
  width: 870px;
  margin: auto;
  padding: 24px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.row-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: rgba(222, 222, 222, 1);
  transform: scaleY(0.5);
}
.r-link {
  flex: 1;
  margin-right: 80px;
  display: flex;
}
/* 弹层 */
.p-confirm {
  display: none;
  position: relative;
  width: 600px;
  padding: 75px 0 100px;
  background-color: #fff;
}
.p-confirm::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background-color: var(--primary);
}
.p-tags {
  margin-top: 60px;
}
.p-tag {
  margin: 0 20px;
  width: 114px;
  height: 46px;
  font-size: 17px;
  cursor: pointer;
}
