﻿@charset "utf-8";
.container {
  background: url("../images/Globa-Camp-bg.jpg") 0% 0% no-repeat;
  background-size: auto 100%;
  height: 7.16rem;
  padding-top: 1.62rem;
  margin-top: 0;
}

.main-content {
  width: 100%;
  display: flex;
  padding-right: 0.53rem;
  justify-content: space-between;
}
.main-content .camp-intro {
  margin-bottom: 0.5rem;
  padding: 0.35rem 0 0 0.6rem;
}
.main-content .camp-intro .camp-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: rgb(135, 5, 2);
  line-height: 1.25;
  width: 5.73rem;
}
.main-content .camp-intro .camp-desc {
  font-size: 0.18rem;
  color: rgb(0, 0, 0);
  line-height: 1.444;
  margin-top: 0.24rem;
  width: 5.73rem;
}
.main-content .cell-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 每行 4 个 */
  gap: 0.32rem 0.18rem; /* 垂直间距 0.32rem，水平间距 0.18rem */
}
.main-content .cell-item {
  position: relative;
  width: 3.56rem;
  height: 3.67rem;
  background-color: #fff;
  border-radius: 0.15rem;
  overflow: hidden;
}
.main-content .cell-item .cell-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 2.25rem;
  /* 遮罩层 */
}
.main-content .cell-item .cell-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.main-content .cell-item .cell-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}
.main-content .cell-item .cell-image:hover img {
  transform: scale(1.1);
}
.main-content .cell-item .cell-image:hover::after {
  background-color: rgba(0, 0, 0, 0.3); /* 30% 黑色遮罩 */
}
.main-content .cell-item .cell-title {
  font-size: 0.16rem;
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 1.2;
  padding: 0 0.22rem;
  margin-top: 0.24rem;
  transition: color 0.3s ease;
}
.main-content .cell-item .cell-title:hover {
  color: rgb(204, 181, 121);
}
.main-content .cell-item .cell-date,
.main-content .cell-item .cell-btn {
  position: absolute;
  background-color: #bd2925;
  color: #fff;
  text-align: center;
  font-size: 0.16rem;
  border-radius: 0.06rem;
  transition: background-color 0.3s ease;
}
.main-content .cell-item .cell-date:hover,
.main-content .cell-item .cell-btn:hover {
  background-color: #721310;
}
.main-content .cell-item .cell-date {
  right: 0.16rem;
  top: 0.19rem;
  width: 0.7rem;
  height: 0.28rem;
  line-height: 0.28rem;
}
.main-content .cell-item .cell-btn {
  left: 0.22rem;
  bottom: 0.22rem;
  width: 1.12rem;
  height: 0.37rem;
  line-height: 0.37rem;
  font-weight: bold;
}

@media screen and (max-width: 999px) {
  .banner-top {
    margin-top: 1.01rem;
  }
  .banner-top::before {
    padding-top: 47.733%;
  }
  .banner-top .banner-bd .wp .banner-title {
    font-size: 0.3rem;
    left: 0.75rem;
    top: 2.64rem;
  }
  body > .wp {
    width: 100%;
    padding: 0;
  }
  .container {
    height: 7.63rem;
    background-image: url("../images/Globa-Camp-bg-mini.jpg");
    padding: 0;
    min-height: 10rem;
  }
  .main-content {
    flex-direction: column;
    padding-right: 0;
  }
  .main-content .camp-intro {
    padding: 0 0.37rem;
    margin-top: 0.85rem;
    margin-bottom: 0.68rem;
  }
  .main-content .camp-intro .camp-desc {
    margin-top: 0.42rem;
  }
  .main-content .cell-list {
    display: flex;
    justify-content: center;
    gap: 0.13rem 0.18rem;
  }
  .main-content .cell-item {
    width: 3.38rem;
    height: 3.04rem;
    border-radius: 0.2rem;
  }
  .main-content .cell-item .cell-image {
    height: 1.84rem;
  }
  .main-content .cell-item .cell-title {
    font-size: 0.14rem;
  }
  .main-content .cell-item .cell-date {
    width: 0.58rem;
    height: 0.23rem;
    font-size: 0.14rem;
  }
  .main-content .cell-item .cell-btn {
    font-size: 0.14rem;
    width: 0.93rem;
    height: 0.31rem;
  }
}