body {
  margin: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #181a1b;
  color: #e0e0e0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: #23272a;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.30);
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 40px;
  list-style: none;
  height: 60px;
}

.nav-list > li {
  position: relative;
  margin-right: 0;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 18px;
  padding: 18px 10px;
  display: block;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-link:hover, .nav-link.active {
  background: #2c2f34;
  color: #ffd700;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 8px rgba(255,215,0,0.08);
}

.nav-sep {
  color: #888;
  font-size: 18px;
  padding: 0 10px;
  user-select: none;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  background: #23272a;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.32);
  border-radius: 0 0 6px 6px;
  z-index: 1001;
}

.dropdown li {
  margin: 0;
}

.dropdown .nav-link {
  padding: 12px 18px;
  font-size: 16px;
  color: #e0e0e0;
  border-radius: 0;
}

.dropdown .nav-link:hover {
  background: #2c2f34;
}

main#main-content {
  margin-top: 70px;
  padding: 40px 5vw 60px 5vw;
  min-height: 80vh;
  background: #23272a;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.40);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e0e0e0;
}

.img-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.img-item {
  background: #23272a;
  box-shadow: none;
  padding: 16px;
  text-align: center;
  margin: 0 auto;
  border-radius: 12px;
  transition: box-shadow 0.2s;
  max-width: 100%;
}

.img-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.32);
}

main#main-content img {
  display: block;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 0;
  background: #23272a;
  cursor: pointer;
}

main#main-content img.home-img {
  background: #23272a;
}

/* 非首页横图：宽1000px，高度自适应，只用于横图 */
.page-not-home .img-item:not(.domestic-graphic-item) img[data-orient="landscape"] {
  width: 1000px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
}

.img-item.domestic-graphic-item {
  width: 320px !important;
  height: 650px !important;
  background: #fff !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 12px;
  box-shadow: none;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
}

img.domestic-graphic-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
  display: block;
  background: transparent !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

@media (max-width: 1200px) {
  main#main-content {
    max-width: 98vw;
    padding: 20px 2vw 40px 2vw;
  }
  main#main-content img {
    width: 100% !important;
    max-width: 98vw !important;
  }
}

@media (max-width: 800px) {
  .nav-list {
    padding: 0 8px;
  }
  main#main-content {
    padding: 10px 1vw 20px 1vw;
  }
  .img-item {
    padding: 8px;
  }
}

.home-img {
  width: 1920px !important;
  max-width: 1920px !important;
  min-width: 1920px !important;
  display: block;
  margin: 0 auto;
  background: #23272a;
}

@media (max-width: 1920px) {
  .home-img {
    width: 1920px !important;
    max-width: 1920px !important;
    min-width: 1920px !important;
  }
} 