/* footer */
.foot-link-left {
  margin-left: 3%;
}

.foot-link-block {
  background: rgb(148 163 185 / 3%);
}

.foot-link-left-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 0.5em;
  font-size: .9rem;
}

.foot-link-left-block+.foot-link-left-block {
  margin-left: 2rem;
}

.foot-link-right-icon .icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border: 1px solid rgb(148 163 185 / 50%);
}

.foot-bottom {
  background: #3D444F;
  padding: 3rem 0;
}

.foot-bottom a {
  color: #fff;
  font-size: .9rem;
  position: relative;
}

/* 分隔線畫在每項左側的欄距中，再裁掉清單左側半個欄距，讓每列開頭那條不顯示；大字級換列時行尾也不會殘留分隔線 */
.footer-info-right .footer-info-left-box {
  clip-path: inset(0 0 0 calc(var(--bs-gutter-x) * .5));
}

.footer-info-right .footer-info-left-box>li {
  position: relative;
}

.footer-info-right .footer-info-left-box>li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #fff;
}

.footer-info-right .footer-info-right-box {
  color: #fff;
  font-size: .9rem;
}

@media (max-width: 767.98px) {
  .footer-info-right .footer-info-left-box li {
    line-height: 1.6;
  }

  /* 堆疊後在連結區與版權區之間補一條分隔線 */
  .footer-info-nav {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 30%);
  }

  /* 手機版縮小頁尾留白 */
  .foot-bottom {
    padding: 2rem 0;
  }
}

/* GO TOP 在 640px 以下為固定於底部的滿版橫條，頁尾需讓出等高空間避免遮住版權文字 */
@media screen and (max-width: 640px) {
  .foot-bottom {
    padding-bottom: calc(2rem + var(--go-top-size, 3.25rem));
  }
}

/* 2024-0304 調整 hover */
.foot-link:hover {
  background: #e4e3eb;
  color: #8483D3;
}

.foot-nav-link:hover {
  background: #e4e3eb;
  color: #000;
}