@charset "UTF-8";
/* 通用样式---------------- */
/* 深汕logo */
.festival-head-logo {
  width: 2.5rem;
  display: block;
  position: absolute;
  top: 0.5rem;
}

/* 头部 图片 */
.festival-head {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
.festival-head img {
  width: 100%;
}

/* 内容开始 图片列表 图片有就显示 */
.festival-cont {
  padding: 1rem 4.6rem;
}
.festival-imgList li {
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed #ddd;
}

.festival-imgList li h2 {
  display: block;
  font-size: 0.24rem;
  line-height: 150%;
  color: #3c5985;
  font-weight: bold;
  margin-bottom: 10px;
}

.festival-item {
  display: flex;
  justify-content: space-between;
}
.festival-img {
  width: 3rem;
  height: 1.7rem;
  margin-right: 0.2rem;
  overflow: hidden;
}
.festival-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.festival-txt {
  flex: 1;
}
.festival-txt h3 {
  color: #666;
  font-size: 0.18rem;
  line-height: 150%;
  margin-bottom: 0.1rem;
  text-align: justify;
}

.festival-txt span {
  color: #999;
  font-size: 0.16rem;
}
.festival-imgList li a:hover h2,
.festival-imgList li a:hover h3 {
  color: #165dbb;
}
.festival-imgList li a:hover .festival-img img {
  transform: scale(1.05);
}
/* 2024清明节 头图背景 */
.qmj-head-bg-2024 {
  background: url(/imagesweb/2024-qmj-bg.jpg) no-repeat top center;
}

/* 手机版适配--------------*/
@media screen and (max-width: 768px) {
  /* 深汕logo */
  .festival-head-logo {
    left: 0.3rem;
    top: 0.3rem;
  }
  /* 头部 图片 */
  .festival-head {
    width: 100%;
  }
  .festival-cont {
    padding: 0.5rem 0.3rem;
  }
  .festival-imgList li h2 {
    font-size: 0.34rem;
  }
  .festival-item {
    flex-direction: column;
  }
  .festival-img {
    width: 100%;
    height: 3.2rem;
    margin-bottom: 0.1rem;
  }
  .festival-txt h3 {
    font-size: 0.26rem;
  }
  .festival-txt span {
    font-size: 0.22rem;
  }
}
