.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://oss.allintrip.cn/shanwentou/upfiles/onepage/202207260840397177.jpg?x-oss-process=image/quality,q_85/format,jpg");
}
.overlay-title {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  width: 5.5rem;
}
.letter {
  letter-spacing: 1ch; /* 字符间距为1个字符宽 */
}
.overlay-content {
  width: calc(100% - 70px);
}
.media-card__overlay{
  height: 100%;
  overflow-y:auto!important;
 
}
.media-card__overlay > div {
  display: flex;
  font-size: 0.875rem;
}
.media-mesume {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.content-p {
  text-indent: 2em;
  text-align: justify;
}
.carousel-nav svg {
  color: #fff !important;
}
.media-card__bottom {
  display: flex;
  align-items: center;
}
.ml-auto {
  margin-left: auto;
}
.descBtn {
  color: #fff;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2px 10px;
  cursor: pointer !important;
}
/* .media-card__overlay.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 9;
} */
/* .media-card__overlay {
  z-index: -1;
} */

/* 图片放大模态框样式 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.image-modal.active .modal-content {
  transform: scale(1);
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  /* align-items: center !important; */
  line-height: 36px;
  justify-content: center !important;
  transition: all 0.3s ease;
}

.modal-title {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 18px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
}

/* 加载动画 */
.modal-loading {
  color: white;
  font-size: 18px;
}

/* 防止背景滚动 */
body.modal-open {
  overflow: hidden;
}
.flex-grid {
  width: 100%;
  display: grid;
  grid: 2rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr; 关键：所有行等高
  align-items: stretch; /* 关键：拉伸等高 */
}


.cultural-img1 {
  width: 100%;
}
.cultural-img1 img {
  width: 100%;
  /* height: 400px; */
  object-fit: contain;
}
.section-title-icon {
  padding-left: 56px;
  position: relative;
  /* margin-bottom: 3.5rem !important; */
}
.section-title-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("https://oss.allintrip.cn/shanwentou/upfiles/industry/20251105subTitle.png");
  background-size: 36px;
  background-repeat: no-repeat;
  background-position: center;
  width: 36px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
}
.section-title-icon span {
  margin-left: 14px;
  font-size: 28px;
  color: #6e6e6e;
  font-weight: 400;
  display: inline-block;
  text-transform: uppercase;
}
.section-span {
  margin-left: 0 !important;

}
.descriptionSub {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem 2rem;
  height: calc(100% - 11rem); /* 继承grid高度 */
}
.description {
  text-align: justify;
}
@media (max-width: 1024px){
  #section-span{
    font-size: 16px;
  }
}