/* 基礎樣式：JCC-HK 站點共用 */
:root {
  --color-primary-theme: #ff6a00;
  --color-primary-bg: #000000;
  --color-primary-card: rgb(17, 17, 17);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #fff;
  --color-muted: rgb(153, 153, 153);
  --success: #16c98d;
}

* {
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,body {
  margin: 0;
  padding: 0;
  font-family: 微软雅黑 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color: var(--color-text);
  background: var(--color-primary-bg);
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.strong {
    font-weight: 600
}

.flex {
  display: flex;
}

.flexAlignCenter {
  display: flex;
  align-items: center;
}

.flexJustifyCenter {
  display: flex;
  justify-content: center;
}

.flexJustifyBetween {
  display: flex;
  justify-content: space-between;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

.flexCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

header {
  background-color: var(--color-primary-card);
  position: sticky;
  top: 0;
  z-index: 9;
}

footer {
  background-color: var(--color-primary-card);
}

footer .bottom {
  color: var(--color-muted);
  border-color: var(--color-border);
}

nav {
  color: var(--color-muted);
}

nav .a.active {
  color: var(--color-text) !important;
}

nav .a {
  text-align: center;
}


@media (min-width: 1280px) {
  main {
    min-height: calc(100vh - 110px - 230px);
  }
  #header {
    height: 110px;
  }
  #header .logo {
    width: 238px;
    height: auto;
  }
  #footer {
    height: 230px;
    position: relative;
  }
  #footer .nav {
    font-size: 16px;
  }
  #footer .top {
    padding: 32px;
  }
  #footer .top .nav {
    font-size: 16px;
  }
  #footer .bottom {
    line-height: 32px;
    padding: 40px;
    border-top: 1px solid;
  }
  #footer .bottom .logo {
    width: 158px;
  }
  .footer-anchor {
     position: absolute;
     right: 64px; top: 44px;
     width: 42px;
     height: 42px;
     border: 1px solid var(--color-text);
     color: var(--color-text);
     border-radius: 50%;
     font-size: 12px;
   }
  .footer-anchor .icon {
    width: 16px;
    height: 9px;
    clip-path: polygon(50% 2px, 80% 80%, 20% 80%);
    background-color: var(--color-text);
  }
  .container {
    width: 1200px;
    margin: 0 auto;
  }
  .nav {
    font-size: 20px;
    position: relative;
  }
  .nav .a {
    min-width: 80px;
    padding: 0 15px;
    margin-right: 20px;
    position: relative;
  }
  .nav .a:last-child {
    margin-right: 0;
  }
  .nav .nav-sub {
    display: none;
    position: absolute;
    left: 50%; top: 100%;
    z-index: 1;
    transform: translateX(-50%);
    padding-top: 40px;
    overflow: hidden;
  }
  .nav .a.select:hover .nav-sub {
    display: block;
  }
  .nav .nav-sub .a {
    width: 140px;
    padding: 10px 20px;
    text-align: center;
    display: block;
    background-color: var(--color-primary-card);
    margin: 0;
    font-size: 16px;
    color: var(--color-muted);
  }


  .container>.title {
    width: 100%;
    text-align: center;
    background: linear-gradient(180.00deg, rgba(255, 255, 255, 0.1),rgba(17, 17, 17, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
    font-size: 110px;
    font-weight: bold;
  }

  .container>.title .b {
    position: absolute;
    left: 50%; top: 60%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-text);
    -webkit-text-fill-color: var(--color-text);
    text-fill-color: var(--color-text);
  }

  .container>.sub {
    width: fit-content;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-muted);
  }

  .container .tag {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    height: 44px;
    line-height: 44px;
    padding: 0 20px 0 40px;
    position: relative;
  }

  .container .tag:before {
    content: "";
    display: block;
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 4px;
    border-radius: 2px;
    background-color: var(--color-primary-theme);
  }
  .light {
    color: var(--color-primary-theme);
  }
  .placeholder {
    color: rgba(107, 107, 107, 1);
  }
}