/* 基础样式 */
body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 导航栏样式 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* 语言切换按钮 */
.lang-switch {
  position: absolute;
  right: 2rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* 内容区域 */
.content {
  margin-top: 80px;
  padding: 2rem;
}

/* 案例展示区域 */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.case-item {
  border: 1px solid #eee;
  padding: 1rem 1rem 0rem 1rem;
  border-radius: 8px;
}

.case-item>.overlay {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
}

.case-item img {
  width: 100%;
  border-radius: 8px;
  background: #000000;
}
/* 多语言内容 */
[lang="en"] {
  display: none;
}
