.Beijing_university_canteen {
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 880px;
  position: relative;
  padding-bottom: 50px;
  background: url(./Beijing_university_canteen_banner.jpg) top center #e4acf7 no-repeat;
}
:root {
  --Color1: #ff8a00;
}
.aImg,
.aImg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsTopNav{
    position: absolute;
    top: 0;
    left: calc(50% - 600px);
    height: 150px;
    z-index: 10000;
    background: none;
}
.Beijing_university_canteen_main {
  width: 1200px;
  margin: 0 auto;
}
.Beijing_university_canteen_intro {
  width: 1200px;
  margin: 0 auto 40px;
  padding: 7px 14px;
  box-sizing: border-box;
  background: linear-gradient(to right, #a168d0, #5bb1e8);
  border-radius: 24px;
  border: 3px solid #c1cff5;
}
.Beijing_university_canteen_intro p {
  font-size: 24px;
  color: #2d7ecf;
  line-height: 1.6;
  margin: 0;
  background: #fff;
  border-radius: 24px;
  padding: 20px 40px;
}
.Beijing_university_canteen_list {
  width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.Beijing_university_canteen_item {
  width: 1160px;
  background: #fff;
  box-sizing: border-box;
  padding: 7px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
}
.Beijing_university_canteen_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.Beijing_university_canteen_item:nth-child(odd) {
  flex-direction: row;
}
.Beijing_university_canteen_item:nth-child(even) {
  flex-direction: row-reverse;
}
.Beijing_university_canteen_item_index{
  display: none;
}
.Beijing_university_canteen_item_img {
  width: 566px;
  height: 312px;
  overflow: hidden;
  flex-shrink: 0;
}
.Beijing_university_canteen_item_img img {
  width: 566px;
  height: 312px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.Beijing_university_canteen_item:hover .Beijing_university_canteen_item_img img {
  transform: scale(1.05);
}
.Beijing_university_canteen_item_text {
  padding: 20px 20px 0;
  flex: 1;
}
.Beijing_university_canteen_item_text h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: bold;
}
.Beijing_university_canteen_item_text h3 a {
  color: #c552e2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.Beijing_university_canteen_item_text h3 a:hover {
  color: #2d7ecf;
}
.Beijing_university_canteen_item_text_p {
  margin: 0;
  font-size: 22px;
  color: #666;
  line-height: 1.5;
}
.Beijing_university_canteen_item_text_p a{
  color: #666;
}


@media screen and (max-width: 1024px) {
  .Beijing_university_canteen {
    max-width: 16rem;
    min-width: 16rem;
    background: none;
  }
  .Beijing_university_canteen {
    background:none;
    padding: 0;
  }
  .Beijing_university_canteen_main{
    width: 16rem;
    padding-top: 13.5467rem;
    background: url(./Beijing_university_canteen_banner_M.jpg) top center no-repeat;
    background-size: contain;
  }
  .Beijing_university_canteen_intro{
    width: 15.0613rem;
    margin: 0 auto 1.6rem;
    border: none;
    padding: .2133rem .32rem;
    border-radius: .4267rem;
  }
  .Beijing_university_canteen_intro p {
    font-size: .64rem;
    color: #7043ee;
    background: #fff;
    border-radius: .4267rem;
    padding: .64rem .7467rem;
  }
  .Beijing_university_canteen_list{
    width: 16rem;
    gap: 0;
  }
  .Beijing_university_canteen_item{
    width: 16rem;
    padding: 0 .7253rem;
    box-sizing: border-box;
    background: url(./Beijing_university_canteen_bg1.jpg) top center no-repeat;
    background-size: cover;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
  }
  .Beijing_university_canteen_item_index{
    border-top: .0427rem dashed #c1bafd;
    display: block;
    font-size: 1.92rem;
    font-weight: bold;
    background: linear-gradient(to right, #b87ef2, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: .5333rem 0;
  }
  .Beijing_university_canteen_item:nth-child(odd) {
    flex-direction: column;
  }
  .Beijing_university_canteen_item:nth-child(even) {
    flex-direction: column;
  }
  .Beijing_university_canteen_item_img{
    width: 100%;
    height: auto;
    border-radius: .1707rem;
    overflow: hidden;
  }
  .Beijing_university_canteen_item_img img{
    width: 100%;
    height: auto;
  }
  .Beijing_university_canteen_item_text{
    padding: .8533rem 0 1.3867rem;
  }
  .Beijing_university_canteen_item_text h3{
    font-size: .8107rem;
    color: #9c4adc;
    padding-bottom: .8533rem;
  }
  .Beijing_university_canteen_item_text_p{
    font-size: .64rem;
    color: #5865cd;
    line-height: 1.5;
  }
  .Beijing_university_canteen_item_text_p a{
    color: #5865cd;
  }
}
