

.wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 强制两列 */
  gap: 2vh;
  margin: 60px auto 0;
  padding: 60px 20px;
  max-width: 70vw;
  box-sizing: border-box;
}

.wrapper > * {
  min-width: 300px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  display: flex;               /* 确保撑开等高 */
  flex-direction: column;
}

.content {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3vh 3vw;
  border-radius: 10px;
  text-align: center;
  font-size: 2.2vw;
  line-height: 1.8;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2px;
  overflow: hidden;

  /* ✅ 删除以下会影响等高的属性 */
  /* width: 45%; */
  /* max-width: 800px; */
}


.content img {
  max-width: 100%;
  height: auto;
}



.sp_intro {
  font-size: 15px;
  text-align: left;
  /* font-family: "DFKai-SB"; */
}

a {
  color: #EAECEE;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 5%;
    }
    
.flat-button {
    display: flex;
      padding: 14px 28px;
      background-color: #B6282C;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

.flat-button:hover {
      background-color: rgba(0, 0, 0, 0.654);
      transform: translateY(-1px);
    }



/* Mobile optimization */
@media (max-width: 768px) {
  .background-slideshow img {
    height: 100vh;
  }

  .menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 30px;
  cursor: pointer;
  padding: 0px;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #B6282C;
  border-radius: 0px;
  margin: 2px 0;  /* 设置上下间距 */
  justify-content: center;
}

.navbar-container {
  display: flex;
  justify-content: center; /* 水平居中容器内的内容 */
  align-items: center;     /* 垂直居中（如果需要） */
  padding: 10px;
  position: relative;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    display: none;
    width: 100%;
  }

  .navbar.active {
    display: flex;
  }

  .navbar > li {
    width: 100%;
    text-align: center;
  }

  .navbar a {
    padding: 12px 15px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  .dropdown a {
    padding: 12px 15px;
    text-align: center;
  }

  .content {
    padding: 60px 20px;
    max-width: 90%;
    font-size: 22px;
  }

  .ps {
    font-size: 16px;
  }

  .sp {
    font-size: 15px;
  }

   .wrapper {
    grid-template-columns: 1fr; /* 手機單欄 */
    max-width: 90vw;             /* 用掉大部分螢幕寬度 */
    margin-left: auto;
    margin-right: auto;
  }
}





