/* 让 Works 成为页面最底部可见区段：works 之后的所有 section 压成 0 高度并不可见。
   不删除节点，保留给 3D 滚动引擎（page.SNkKDTDH.js）遍历，避免脚本报错卡在 loading。 */
[data-top_section="works_outro"],
[data-top_section="mission_in"],
[data-top_section="mission"],
[data-top_section="vision"],
[data-top_section="vision_out"],
[data-top_section="service_in"],
[data-top_section="service"],
[data-top_section="stellla"] {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 隐藏品牌大字 Outro（"ALCHE" 全屏过场）；页脚保留可见可滚动 */
.TopPageOutro__wrapper {
  display: none !important;
}

/* Local override: 顶栏横向导航仅保留 Works（News / About / stellla 隐藏） */
.Header__nav .Header__nav_item[data-page="news"],
.Header__nav .Header__nav_item[data-page="about"],
.Header__nav .Header__nav_item[data-page="stellla"] {
  display: none !important;
}

/* Footer__top_links：仅保留 Works（其余列与 Top/News 隐藏） */
.Footer__top_links .Footer__column:nth-child(2),
.Footer__top_links .Footer__column[data-type="links"] {
  display: none !important;
}

.Footer__top_links .Footer__column:first-child .Footer__pageLink:not([href="/works/"]) {
  display: none !important;
}

/* 首页：隐藏 News 摘要区 */
body[data-page="top"] .News__newsArea {
  display: none !important;
}

html[data-authenticated="true"] .Header__right_controls .Header__contact[href="/exam/login"],
html[data-authenticated="true"] .Header__right_controls .Header__contact[href="/app/login"],
html[data-authenticated="true"] .SideMenu__menu_item:has(> a[href="/exam/login"]),
html[data-authenticated="true"] .SideMenu__menu_item:has(> a[href="/app/login"]) {
  display: none !important;
}

/* Works Detail: CTA buttons (Exam entrypoints) */
.PageWorksDetail__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 26px;
}

.PageWorksDetail__cta_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #7e7e7e;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-family: Google Sans Code, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.PageWorksDetail__cta_btn:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

@media not screen and (min-width: 769px) {
  .PageWorksDetail__cta {
    margin: 14px 0 18px;
    gap: 10px;
  }
  .PageWorksDetail__cta_btn {
    padding: 10px 12px;
    font-size: 12px;
  }
}
