div.page-header {
  text-align: center;
  min-height: 239px;
  position: relative;
  margin-top: -30px;
  padding-top: 46px;
  margin-bottom: 20px;
  background-color: #4F5893;
}
div.page-header h1 {
  font-size: 3em;
  color: #fff;
  margin-bottom: 12px;
}
div.page-header p {
  font-weight: 300;
  line-height: 1.4;
  font-size: 1.5em;
  color: #B9BFE4;
  margin: 5px 0;
}

/* 页面样式 */
.friend-list {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  padding-top: 15px;
  gap: 15px;
}

/* 友链图片样式 */
.friend-list .friend-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  user-select: none;
  height: 120px;
  width: 120px;
  background-size: auto 150%;
  background-position: center;
  background-repeat: no-repeat;
  visibility: visible;
  box-shadow: 0 0 20px 0 rgba(44, 101, 144, 0.1);
}

.friend-block .friend-list {
  margin-bottom: 3.5rem;
}

/* 外部图片 */
.friend-img {
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background-color: hsla(0, 0%, 100%, 0.1);
}

/* 内部图片样式 */
.friend-img img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: absolute;
  top: 9px;
  left: 24px;
  transition: All 1s ease-in-out;
}

/* 图片底部文字样式 */
.friend-container .friend-title {
  width: 100%;
  height: 30px;
  background: #e7e7e7;
  opacity: 0.7;
  position: absolute;
  bottom: 0;
  text-align: center;
  color: #252933;
}

.friend-title {
  font-size: 15px;
  line-height: 2;
  font-weight: 700;
}

/* 显示描述样式 */
.friend-img img {
  transition: opacity 0.5s ease; /* 平滑过渡效果 */
}

.friend-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* 默认不显示 */
  font-size: 12px;
  text-align: center;
  transition: opacity 0.5s ease; /* 平滑过渡效果 */
  padding: 12px 10px 12px 10px;
}

.friend-container:hover .friend-img img {
  opacity: 0; /* 鼠标悬停时图片透明度变为0，即隐藏图片 */
}

.friend-container:hover .friend-description {
  opacity: 1; /* 鼠标悬停时显示描述 */
  font-size: 12px;
  text-align: center;
}


/* 调整a标签样式、 悬停样式 */
.container_header a {
  color: inherit;
  text-decoration: none;
}
.container_header a:hover {
  text-decoration: underline;
}

/* 失联卡片样式 */
.friend-block h2 {
  text-align: center;
  padding-bottom: 1rem;
  color: var(--izone-font-3);
  letter-spacing: .5rem;
}
.h2, h2 {
  font-size: 1.3em;
}
.h2 {
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}
.not-show-friend {
  filter: grayscale(100%);
}
