/* === Header Menu Style === */
.header-menu {
  display: flex;
}

.menu-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  list-style: none;
}

.menu-list li a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.menu-list li a:hover {
  color: #ffffff;
}

/* === Top Navigation === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #3e1d57;
  padding: 15px 0;
}

.logo img {
  height: 60px;
  margin-left: 20px;
  margin-right: 150px; /* ✅ LOGO 与菜单间距 */
}

/* === Main Container on Homepage === */
body.home #main, 
body.home .site-main, 
body.home .content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === Footer Navigation === */
.site-footer {
  background-color: #3e1d57;
  color: yellow;
  padding: 15px 0;
  font-size: 14px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center; /* ✅ 居中底部所有内容 */
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-left,
.footer-right {
  text-align: center;
}

.footer-right a {
  color: yellow;
  text-decoration: none;
  margin: 0 10px;
}

.footer-right a:hover {
  text-decoration: underline;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #40205d;
  color: #ffe500;
  font-weight: bold;
  font-size: 18px;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.custom-button i {
  margin-right: 10px;
}

/* 可选的 hover 效果 */
.custom-button:hover {
  background-color: #5a2e80;
}


@media screen and (max-width: 768px) {

  body {
    font-size: 16px;
    padding: 0 10px;
  }

  .site-header,
  .header-menu,
  .menu-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .menu-list li {
    margin-bottom: 8px;
  }

  .logo {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .site-content {
    padding: 10px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .table-wrapper {
    overflow-x: auto;
    display: block;
  }

  .card,
  .post,
  .post-card {
    width: 100% !important;
  }
}