body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "宋体", "Arial", "sans-serif";
}
body,
button,
input,
select,
textarea {
  font: 12px/1 system-ui, "Microsoft YaHei", "微软雅黑", "arial", "tahoma", "MicrosoftJhengHei", "sans-serif";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased !important;
  /* 用 ascii 字符表示，使得在任何编码下都无问题 */
}
a {
  text-decoration: none;
}
a:link,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}
input {
  all: unset;
  /* 移除所有默认样式 */
  box-sizing: border-box;
  /* 让 padding 和 border 计算在 width 内 */
  font-family: inherit;
  /* 继承父级字体 */
  font-size: inherit;
  /* 继承字体大小 */
  appearance: none;
  /* 移除默认外观（对部分浏览器有效） */
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  padding: 0;
  margin: 0;
}
input:focus {
  outline: none;
}
button {
  all: unset;
  /* 移除所有默认样式 */
  background: transparent;
  /* 背景透明 */
  border: none;
  /* 移除默认边框 */
  font-family: inherit;
  /* 继承父元素字体 */
  font-size: inherit;
  /* 继承字体大小 */
  padding: 0;
  /* 去除内边距 */
  margin: 0;
  /* 去除外边距 */
  cursor: pointer;
  /* 使按钮可点击 */
  outline: none;
  /* 去除焦点框 */
  appearance: none;
  /* 去除系统样式 */
}
* {
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-news-carousel {
  margin: 0 auto;
  width: 600px;
  height: 400px;
  position: relative;
}
.home-news-carousel .next-carousel,
.home-news-carousel .prev-carousel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.5;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
}
.home-news-carousel .next-carousel:hover,
.home-news-carousel .prev-carousel:hover {
  opacity: 1;
}
.home-news-carousel .next-carousel {
  right: 12px;
  background: url("./icon/arrow-right.svg") no-repeat center center;
  background-size: 100% 100%;
}
.home-news-carousel .prev-carousel {
  left: 12px;
  background: url("./icon/arrow-left.svg") no-repeat center center;
  background-size: 100% 100%;
}
.home-news-carousel .slick-instance {
  position: relative;
}
.home-news-carousel .slick-instance .slick-item {
  width: 600px;
  height: 400px;
  position: relative;
}
.home-news-carousel .slick-instance .slick-item .slick-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-news-carousel .slick-instance .slick-item .slick-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  display: -ms-flexbox;
  -ms-flex-align: center;
  padding-left: 12px;
  line-height: 40px;
}
.home-news-carousel .slick-instance .slick-item .slick-item-title .text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-news-carousel .slick-instance .slick-dots {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 12px;
  height: 40px;
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  -ms-flex-align: center;
}
.home-news-carousel .slick-instance .slick-dots li {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  margin-left: 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.5s linear;
}
.home-news-carousel .slick-instance .slick-dots li button {
  display: none;
}
.home-news-carousel .slick-instance .slick-dots .slick-active {
  background-color: #c80500;
}
