* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

:root {
  font-size: 10px;
  --primary-1: #F81D1D;
  --fill-1: #131313;
  --fill-2: #F4F4F4;
  --text-3: #999999;
  --text-2: #666666;
  --text-1: #333333;
}

body {
  position: relative;

}
body .mark {
  display:none;
  position: absolute;
  top: -2.7rem;
  left: -2.8rem;
  pointer-events: none;
  z-index: 9;
  width: 25.8rem;
  height: 36.4rem;
}


header {
  width: calc(100% - 48rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 7rem;
  padding: 1.2rem 0;

}
header .icon {
  width: 27rem;
  height: 5.9rem;

}
header .icon img {
  width: 100%;
  height: 100%;
}
header .menu {
  overflow: hidden;
  width: 0;
  flex-grow: 1;
  display: flex;
  gap: 4rem;


}
header .menu .menu-item {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: var(--text-1);
  cursor: pointer;
  user-select: none;
  text-decoration: none;

}
header .menu .menu-item:hover{
  color: var(--primary-1);
}
header .menu .active{
  color: var(--primary-1);
}
header .login {
  display: flex;
  align-items: center;

}
header .login>a {
  font-size: 1.6rem;
  color: var(--text-1);
  text-decoration: none;
}
header .userinfo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  padding-right: 1rem;

}

header .userinfo:hover .dropdown {
  display: block;
}
header .userinfo img {
  width: 3.2rem;
  height: 3.2rem;
}
header .userinfo>span {
  font-size: 1.4rem;
  color: var(--text-1);
  user-select: none;
  cursor: pointer;
}
header .userinfo .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1rem;
  display: none;
  z-index: 99;

}
header .userinfo .dropdown .content {
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  box-sizing: border-box;
  box-shadow: 0 0 1px 1px #eee;

}
header .userinfo .dropdown .content .item {
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: 1.4rem;
  color: var(--text-2);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
  transition: all 400ms;

}
header .userinfo .dropdown .content .item:hover {
  background-color: var(--primary-1);
  color: #fff;
}














body>.search-box {
  width: 100%;
  position: relative;

}
body>.search-box .swiper {
  width: 100%;
  height: 40rem;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.8;

}
body>.search-box .swiper .swiper-pagination-bullet-active {
  width: 1.6rem;
  border-radius: 5px;
  transition: width 200ms;
}
body>.search-box .swiper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

body>.search-box .search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52rem;
  height: 4rem;
  border-radius: 0.8rem;
  background-color: #ffffffd1;
  overflow: hidden;
  padding: 4px;
  position: absolute;
  bottom: 4.8rem;
  left: 50%;
  transform: translateX(-50%);
  gap: 4px;

}
body>.search-box .search-box input {
  width: 0;
  flex-grow: 1;
}
body>.search-box .search-box .btn {
  background-color: var(--primary-1);
  color: #fff;
  border-radius: 0.4rem;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.7rem;
  font-size: 1.4rem;
  cursor: pointer;
}
body>.search-box .search-box input[type="text"] {
  border: 0;
  background-color: transparent;
  height: 100%;
  font-size: 1.4rem;
  outline: none;
  padding: 0 0.8rem;
}







footer {
  width: 100%;
  background-color: var(--fill-1);
  padding: 4rem 0;

}
footer .container {
  width: 95.4rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;

}
footer .container .text-1 {
  color: var(--text-2);
  font-size: 1.2rem;
}
footer .container .line {
  width: 100%;
  background-color: #262626;
  height: 1px;
  margin: 0.4rem 0;
}
footer .container .box {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6.3rem;

}
footer .container .box .logo {
  width: 15.3rem;
  height: 3.5rem;
}
footer .container .box .label {
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
}
footer .container .box .sub-label {
  color: var(--text-2);
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}
footer .container .box .qrcode {
  width: 7.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;

}
footer .container .box .qrcode img {
  width: 7.4rem;
  height: 7.4rem;
}
footer .container .box .info-box {

  display: grid;
  grid-template-columns: repeat(3, 21rem);
}


/* 首页-中间部分样式 */
.block {
  width: 100%;
  background-color: #fff;
  padding: 6rem 0;

}
.block .title {
  color: var(--text-1);
  font-size: 3.2rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  width: max-content;
  margin-bottom: 4rem;

}
.block .title::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 5px;
  background-color: var(--primary-1);
}
.block .container {
  width: 144rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.block-1, .block-2 {
  background-color: #fff;
}
.block-3 {
  background-color: var(--fill-2);
}


.block-1 .container .imgs a{
  display: block;
  width: 100%;
  height: 100%;
}
.block-1 .container .imgs .img {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;

}
.block-1 .container .imgs .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-1 .container .imgs .img .mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  background-image: linear-gradient(to top, #000, transparent);
  transform: translateY(100%);
  transition: transform 300ms;

}
.block-1 .container .imgs .img .mask span {
  font-size: 1.4rem;
  color: #fff;
  cursor: pointer;
}
.block-1 .container .imgs .img:hover .mask {
  transform: translateY(0);
}


.block-1 .container .imgs1 {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(2, 20rem);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;


}
.block-1 .container .imgs1 .img1 {
  grid-row-end: span 2;
}
.block-1 .container .imgs2 {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(1, 40rem);
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.block-2 .container .imgs {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(1, 26.5rem);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

}
.block-2 .container .imgs .img {
  overflow: hidden;
  width: 100%;
  height: 100%;

}
.block-2 .container .imgs .img img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
}

.block-3 .container .imgs {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(1, 26.5rem);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

}
.block-3 .container .imgs .img {
  overflow: hidden;
  width: 100%;
  height: 100%;

}
.block-3 .container .imgs .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-container {
  position: relative;
  overflow: hidden;
}

.img-container:hover .img img {
  transform: scale(1.05); /* 图片放大效果 */
}

.img-container:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.img-title-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.img-container:hover .img-title-box {
  opacity: 1; /* 悬浮时显示标题 */
}

.img-title {
  color: #fff;
}


/* 列表页-中间部分样式 */

.cate {
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  gap: 4rem;

}
.cate .menu {
  color: var(--text-1);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  width: max-content;
  text-decoration: none;

}
.cate .menu::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 5px;
  background-color: transparent;
}
.cate .menu.active::after {
  background-color: var(--primary-1);
}




.list-box {
  width: 100%;
  padding: 4rem 0;
  background-color: var(--fill-2);

}

.list-box .container {
  width: calc(100% - 10rem);
  margin: 0 auto;
  display: flex;
  gap: 5px;
  flex-direction: column;

}
.list-box .container .row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;

}
.list-box .container .row a{
  height: 100%;

}
.list-box .container .row a .img {
  height: 100%;

}
.list-box .container .row a .img img {
  height: 100%;
}


.list-box .load-more {
  padding: 2rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}
.list-box .load-more>span {
  font-size: 1.6rem;
}
.list-box .pagination {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}