/*
 * Globals
 */

/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

.main-body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  /* background-image: url('resource/bg.png'); */
  /* background-size: cover; */
  /* background-position: center; */
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

#bg-video::-webkit-media-controls {
  display: none !important;
}

#bg-video::-webkit-media-controls-panel {
  display: none !important;
}

.main-body {
  position: relative;
}

.cover-container {
  max-width: 82em;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  padding-top: 20px;
  background-color: transparent;
  z-index: 1000;
  /* margin-bottom: 2rem !important; */
}

.logo-container {
  flex: 1;
  width: 150px;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 15px;
  /* z-index: 1000; */
}

.logo {
  width: 150px;
  height: 75px;
  object-fit: cover;
}

.logo-placeholder {
  flex: 1;
}

/* ...existing code... */

.glass-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  display: flex;
  justify-content: space-around;
  width: inherit;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-image: linear-gradient(270deg, #ff00cc, #3333ff, #00ffcc, #ff00cc) 1;
  animation: borderMarquee 3s linear infinite;
}


@keyframes borderMarquee {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

/* ...existing code... */

/*
 * Header
 */
.nav-masthead {
  background-color: transparent;
  /* display: flex; */
  /* justify-content: space-evenly; */
  width: 800px;
  align-items: center;
  position: absolute;
  left: 200px;
  top: 35px;

}

.nav-masthead .nav-link {
  /* border-bottom: 0.2rem solid transparent; */

  flex: 0.2;
  text-align: center;
  font-family: 'Wigrum Web', 'sans-serif';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-size-adjust: 100%;
  color: #FFFFFF;

}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link+.nav-link {
  /* margin-left: 1rem; */
  top: auto;
}

.nav-masthead .active {
  color: #ffffff;
  border-bottom-color: #ffffff;

}


/* unsplash:Q_RBVFFXR_g */

/* .logo { */
/* width: 75%; */
/* height: auto; */
/* object-fit: contain; */
/* position: absolute;  */
/* top: 10px; */
/* left: 10px; */
/* width: 150px; */
/* height: auto; */
/* margin-right: 200px; */
/* } */
.nav-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #533333;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 834px) {
  /* .nav-masthead {
    position: fixed;
    flex-direction: column;
    align-items: center;
    text-align: center;

    justify-content: space-evenly;
    margin-top: 40px;
  } */

  .nav-toggle {
    display: block;
  }

  .nav-masthead {
    position: fixed;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    margin-top: 40px;
    top: 80px;
    left: 0;
    /* width: 100%; */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
    display: none;
    transition: all 0.3s ease;
  }

  .nav-masthead.show {
    display: flex;
  }

  .nav-masthead .nav-link {
    text-align: center;
    margin-top: 8px;

  }

  .logo-container {
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: calc(50%-35px);
  }

  .lead {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  main .btn {
    width: 200px;
    height: 50px;
    margin: 0.5rem 0;
  }

  .lead .btn:last-child {
    margin-left: 0 !important;
  }
}

main .btn {
  width: 180px;
  height: 50px;
  text-align: center;
}

.PageMain {
  width: 100vw;
  /* height: 100vh; */
  height: auto;
  min-height: 0;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.PersonList {
  display: block;
  /* width: 100vw; */
  /* width: 1460px; */
  max-width: 1460px;
  margin-top: 180px;

  padding-left: 40px;
  padding-right: 40px;
  text-size-adjust: 100%;
  font-family: "Wigrum web", sans-serif;
  font-size: 16px;
  line-height: 28.4px;
  /* text-align: left; */

}

.ModuleHeader {
  text-align: center;
  margin-bottom: 60px;
  height: 64px;
  padding-top: 24px;
  flex-flow: 1;
  display: block;
  width: 100%;
  text-size-adjust: 100%;
  font-family: "Wigrum web", sans-serif;
  font-size: 32px;
  line-height: 38.4px;
  text-align: left;
  border-top: 1px solid #222;
}

/* 推荐放在 cover.css 或 <style> 标签中 */
/* .PersonList-items-wrapper { */

/* width: 100%; */
/* position: relative;
  display: flex;
  grid-template-columns: repeat(4,1fr); */
/* gap: 32px; */
/* padding-left: 0px; */
/* justify-content: flex-end; */
/* } */

.PersonList-items {
  display: grid;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 5vw, 32px);
  padding: 0 0;
  grid-template-columns: repeat(4, 1fr);
  /* background-color: transparent; */
}

.PersonList-items-item {
  background: transparent;
  border-radius: 0px;
  box-shadow: 0 2px 16px transparent;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  max-width: 320px;
  height: auto;
  box-sizing: border-box;

}

.PersonList-items-item .PagePromo-media picture,
.PersonList-items-item .PagePromo-media img {
  width: 100%;
  height: auto;
  /* max-width: 80vw; */
  object-fit: cover;
  display: block;
  /* margin: 0 auto; */
}

.PagePromo-media {
  position: relative;
}

.PagePromo-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 160, 218, 0.95);
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 2;
  overflow: auto;
  flex-direction: column;

}

.PagePromo-description::-webkit-scrollbar {
  width: 8px;
  background: #eee;
}

.PagePromo-description::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.PagePromo-media:hover .Image,
.PagePromo-media:focus .Image {
  opacity: 0;
  transition: opacity 0.3s;
}

.PagePromo-media:hover .PagePromo-description,
.PagePromo-media:focus .PagePromo-description {
  opacity: 1;
  pointer-events: auto;
}

/* 小于1280px显示3个 */
@media (max-width: 1279px) {
  .PersonList-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 小于1140px显示2个 */
@media (max-width: 1139px) {
  .PersonList {
    margin-top: 100px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    max-width: 100vw;
  }

  .PersonList-items {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    /* 新增：让每个网格项居中 */
    justify-content: center;
    /* 新增：让整个网格居中 */
  }
}

/* 小于800px显示1个 */
@media (max-width: 799px) {
  .PersonList {
    margin-top: 100px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100vw;
  }

  .PersonList-items {
    grid-template-columns: 1fr;
  }
}