body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.content-wrapper {
  padding: 10px 0px 10px 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-title {
  padding: 0px 20px 0px 20px;
  display: flex; 
  flex-direction: row; 
  justify-content: space-between; 
  align-items: center;
}

.content-title a {
  text-decoration: none;
  color: #ff4081;
  font-weight: bold;
}

.content-title a:hover {
  transform: scale(1.1);
}

.content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.image-card {
  padding: 5px;
  border: 1px solid #ccc; /* 卡片边框 */
  border-radius: 8px;     /* 卡片圆角 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 卡片阴影 */
}

.card-title {
  white-space: nowrap; /* 禁止文本换行 */
  overflow-x: auto;    /* 允许水平滚动 */
  -ms-overflow-style: none;  /* IE和Edge浏览器隐藏滚动条 */
  scrollbar-width: none;  /* Firefox浏览器隐藏滚动条 */
  padding: 5px 4px 0px 4px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.card-title::-webkit-scrollbar {
  display: none; /* Chrome, Safari和Opera浏览器隐藏滚动条 */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  width: 90%;
}

.image-grid img {
  width: 100%;
  height: auto; 
  object-fit: contain;
  aspect-ratio: 1;
  display: block;
  cursor: pointer;
}


.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  width: 90%;
}

.album-grid-card {
  padding: 5px 0px 5px 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.album-icon-img {
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 8px;
}

.album-cover-img {
  width: 100%;
  aspect-ratio: 2;
  cursor: pointer;
  border-radius: 8px;
}


.album-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  width: 90%;
}


.breadcrumb {
  list-style: none;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 8px;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb li {
  margin-right: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* 响应式设计, 如果是手机屏幕 */
@media (max-width: 768px) {
  .image-grid {
    width: 90%; /* 手机端宽度占90% */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  

  .album-grid {
    width: 90%; /* 手机端宽度占90% */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }


  .album-icon-grid {
    width: 90%; /* 手机端宽度占90% */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  /* 移动端不显示面包屑导航 */
  .breadcrumb {
    display: none;
  }

}
