/* 顶部 */
body {
  font-size: 14px;
  color: #333333;
  margin: 0;
}
@media screen and (min-width: 1921px) {
  body {
    font-size: 16px;
  }
}

* {
  padding: 0;
  margin: 0;
}
svg {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.top {
  width: 100%;
  aspect-ratio: 1920 / 750;
  background: url(../img/top_bg.png) no-repeat center center;
  background-size: 100% 100%;
  padding: 30px 5.5vw;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.logo {
  width: 650px;
  height: 126px;
}
.top-right {
  height: 126px;
  display: flex;
  flex-direction: column;
}
.top-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  font-size: 14px;
  color: #ffffff;
  gap: 12px;
}
.top-menu-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.top-menu-item:hover {
  color: #fda847;
}
.top-menu-item svg {
  fill: #fff;
}
.top-menu-item:hover svg {
  fill: #fda847;
}
.search {
  width: 220px;
  height: 46px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 28px 28px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  padding-left: 28px;
  padding-right: 12px;
}
.search .search-input {
  flex: 1;
  border: none;
  background-color: transparent;
  color: #333333;
}
.search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.search input:focus {
  outline: none;
}
.search-submit {
  background: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(%23clip0_116_6688)'><path d='M10.5 19C15.1944 19 19 15.1944 19 10.5C19 5.8056 15.1944 2 10.5 2C5.8056 2 2 5.8056 2 10.5C2 15.1944 5.8056 19 10.5 19Z' stroke='white' stroke-linejoin='round' /><path d='M13.3285 7.17155C12.6046 6.4477 11.6046 6 10.5 6C9.39548 6 8.39548 6.4477 7.67163 7.17155' stroke='white' stroke-linecap='round' stroke-linejoin='round' /><path d='M16.6108 16.6113L20.8534 20.854' stroke='white' stroke-linecap='round' stroke-linejoin='round' /></g><defs><clipPath id='clip0_116_6688'><rect width='24' height='24' fill='white' /></clipPath></defs></svg>")
    center no-repeat;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: transparent !important;
}
/* 轮播图 */
.swiper-box{
position: absolute;
  top: 172px;
  width: 89%;
  aspect-ratio: 1712 / 661;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
.swiper-container {
  height: 100%;width: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: white;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-container:hover .custom-nav-btn {
  opacity: 1;
}
/* 自定义导航按钮 */
.custom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  opacity: 0;
}

.custom-nav-btn:hover {
  background-color: red;
}
.custom-nav-btn:hover:after {
  color: #fff;
}
.custom-nav-btn::after {
  font-family: 'swiper-icons';
  font-size: 24px;
  color: transparent;
  font-weight: bold;
  color: #333;
}

.custom-prev {
  left: 30px;
}

.custom-next {
  right: 30px;
}

.custom-prev::after {
  content: 'prev';
}

.custom-next::after {
  content: 'next';
}

/* 自定义分页指示器 */
.custom-pagination {
  position: absolute;
  display: flex;
  justify-content: end;
  z-index: 10;
  gap: 10px;
  width: calc(100% - 30px) !important;
  bottom: 64px !important;
}

.custom-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-pagination-bullet:hover {
  background-color: white;
  transform: scale(1.2);
}

.custom-pagination-bullet-active {
  background-color: #EC2D3C;
  transform: scale(1.2);
}

/* 菜单 */
.menu {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  text-align: center;
  color: #ffffff;
  line-height: 100px;
  display: flex;
  width: 63%;
 z-index: 11;
}

.menu-item {
  flex: 1;
  height: 100px;
  background: rgba(236, 45, 60, 0.5);
  cursor: pointer;
}
.menu-item:first-child {
  border-radius: 12px 0px 0px 0px;
}
.menu-item:last-child {
  border-radius: 0px 12px 0px 0px;
}
.menu-item:not(.menu-item-active):hover {
  background: rgba(236, 45, 60, 0.9);
  box-shadow: 0px 4px 4px 2px rgba(0, 0, 0, 0.25);
}
.menu-item-active {
  background: rgba(236, 45, 60, 0.9);
}

/* 内容区域 */
.content-box {
  padding: 0 5.5vw;
  box-sizing: border-box;
}

/* 页脚 */
.footer {
  margin-top: 150px;
  background-image: url(../img/footer-bg.png);
  background-size: 100% 100%;
  height: 250px;
  display: flex;
  justify-content: center;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  color: #ffffff;
  position: relative;
}
.footer-qc {
  position: absolute;
  right: -244px;
}
/* 左侧列表 */
.list-box {
  margin-top: 163px;
  display: flex;
  gap: 114px;
}
.side-menu {
  width: 20%;
  background: #880000;
align-self: flex-start;
    height: 400px;
    position: sticky;
    top: 0
}
.side-menu-title {
  height: 126px;
  line-height: 126px;
  margin: 0 14px;
  border-bottom: 1px solid #ffffff;
  font-weight: bold;
  font-size: 36px;
  color: #ffffff;
  text-align: center;
}
.content-list {
  flex: 1;
  margin-right: 103px;
}
/* 面包屑导航 */
.breadcrumb {
  height: 54px;
  background: #f7f7f7;
  line-height: 54px;
  padding-left: 30px;
  margin-bottom: 6px;
  display: flex;
  gap:4px;
}
.breadcrumb .active {
  color: #ec2d3c;
}
.pag {
  display: flex;
  justify-content: end;
  font-size: 14px;
  color: #606266;
  gap: 10px;
  height: 32px;
  line-height: 32px;
  border-top: 1px solid #a9a8a8;
  padding-top: 64px;
}
.p_pages {
  display: flex;
  gap: 10px;
}
.p_fun_d {
  background: #f5f7fa;
  border-radius: 2px 2px 2px 2px;
  cursor: pointer;
  display: block;
  padding: 0 10px;
}
.p_no{
  background: #f5f7fa;
  border-radius: 2px;
  padding: 0 10px;
  display: block;
  cursor: pointer;
}
.p_no_d {
  background: #ec2d3c;
  color: #fff;
  display: block;
  padding: 0 10px;
  border-radius: 2px;
  cursor: pointer;
}