/*案例分享*/
.relevantZone {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgb(123 137 159 / 50%);
}

.searchResult {
  margin-top: 1rem;
  border-top: 1px solid rgb(123 137 159 / 50%);
  padding-top: 5rem;
  position: relative;
}

.gridChange {
  display: flex;
  font-size: 1.85rem;
  position: absolute;
  top: 0;
  right: 0;
}

.changeBox {
  display: inline-block;
  cursor: pointer;
  width: 70px;
  text-align: center;
  height: 50px;
  border: 1px solid rgb(61 68 79 / 20%);
}

.changeBox:first-child {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.changeBox:last-child {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

.changeBox:not(:last-child) {
  /* border-left:1px solid rgb(61 68 79 / 20%); */
  border-right: 1px solid rgb(61 68 79 / 20%);
}

.flexBox {
  position: relative;
}

.changeBox.active {
  background: var(--main-color)
}

/* 用 static 徹底擺脫 .gridChange 的 absolute 與 right: 0，不靠覆寫 position 來抵銷 */
.gridChange--search {
  position: static;
  justify-content: center;
  max-width: 360px;
  margin: 2rem auto 0;
}

.gridChange--search .changeBox {
  width: 100%;
  font-size: 1rem;
}

.searchResult .gridChange {
  top: 20px;
}

@media (max-width: 600px) {
  .gridChange--search .changeBox {
    font-size: 0.9rem
  }
}

/*404*/
.keySearch {
  margin-top: 1rem;
}

.searchZone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

/* 原本寫死 600px 會在窄螢幕撐爆，改為可收縮 */
.searchZone .searchInput {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 600px;
  height: 50px;
  padding: 0 1rem;
  border: 1px solid #94A3B9;
}

/* branding.png 是背景圖不會隨打字消失，有輸入時收掉才不會與文字重疊 */
.searchZone .searchInput:not(:placeholder-shown) {
  background-image: none;
}

.searchZone .searchSubmit {
  flex: 0 0 auto;
  width: 80px;
  height: 50px;
  padding: 0 10px;
  border: none;
  background: var(--main-color);
  /* 底色兩種模式都是亮黃，故不能用 --menu-txt，深色模式下它會變淺灰只剩 1.13:1 */
  color: #3D444F;
  font-size: 1.25rem;
}

.gsc-search-button-v2:hover {
  border: 1px solid var(--main-color) !important;
  background: #fff !important
}

.form.gsc-search-box {
  width: 600px
}

.gsc-search-button-v2 svg {
  fill: var(--menu-txt) !important;
  width: 20px;
  height: 20px;
}

.notFoundTitle {
  margin-bottom: 20vh
}

.notFoundTitle h1 {
  font-size: 6rem;
  color: var(--page-txt);
}

.notFoundTitle h3 {
  font-size: 4.5rem;
  margin-bottom: 5vh;
}

.notFoundTitle h6 {
  font-size: 2rem;
  opacity: 0.7;
}

.not-found-search-input {
  margin-bottom: 20vh;
}

/*searchInput*/
.searchInput {
  width: 100%;
  padding: 0px;
  margin: -0.0625em 0px 0px;
  height: 1.25em;
  background: url("/images/default-demo/search/branding.png") left center no-repeat rgb(255, 255, 255);
  outline: none;
  max-width: 60vw;
}

.gstl_50 {
  width: 100%;
  padding: 0px;
}

.hot-key a {
  color: #1F4F7F;
  margin-right: 0.5rem;
}

/*google Search*/
.gcse-searchresults-only {
  width: 600px;
  height: 600px;
}

.type-tab {
  -webkit-appearance: none;
  /* 取消 iOS 上的預設外觀 */
  -webkit-tap-highlight-color: transparent;
  /* 取消點擊時的高亮顏色 */
  color: black !important;
}
