@layer theme-custom {
/* 維持原本頁首 Logo 排版，只更換品牌名稱與副標 */
.navbar-brand img,
.mobile-logo .logo-img img {
  content: url("https://gogofq.com/images/gogofq.com/upload_file/fc48e306-d0b6-42b4-ae21-37e8b4da993e.png");
  display: block !important;
  height: 62px !important;
  width: auto !important;
  max-width: none !important;
}
.navbar-brand,
.mobile-logo .logo-img {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  line-height: 1.15;
}
.navbar-brand::before,
.mobile-logo .logo-img::before {
  content: none !important;
  display: none !important;
}
.navbar-brand::after,
.mobile-logo .logo-img::after {
  content: "家庭保障規劃";
  color: #4f7e6f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  margin-top: 1px;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .navbar > .navi-item:nth-child(2) {
    flex: 0 0 260px !important;
    max-width: 260px !important;
  }
  .navbar > .naviMain {
    flex: 1 1 auto;
    width: auto;
  }
}
@media (max-width: 991.98px) {
  .mobile-logo .logo-img { max-width: none !important; }
  .mobile-logo .logo-img img { height: 46px !important; }
  .mobile-logo .logo-img::after {
    font-size: 10.5px;
    margin-top: 2px;
  }
}

/* gf-footer-brand-update：頁尾沿用冠妤 Lai 現行 Logo */
footer .col-12.col-md-3.text-center img {
  content: url("https://gogofq.com/images/gogofq.com/upload_file/fc48e306-d0b6-42b4-ae21-37e8b4da993e.png");
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
}


/* gf-values-cards-v1：願景／使命／價值觀三大區塊與捲動滑入 */
.gf-sec.gf-vi .row {
  align-items: stretch;
}
.gf-sec.gf-vi .row > .col-md-4 {
  display: flex;
  margin-bottom: 20px;
}
.gf-sec.gf-vi .gf-viItem {
  width: 100%;
  min-height: 230px;
  padding: 32px 28px;
  border: 1px solid rgba(31, 122, 114, .20);
  border-top: 4px solid #1F7A72;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(14, 42, 71, .08);
}
@keyframes gf-vi-slide-left {
  from { opacity: 0; transform: translate3d(-52px, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes gf-vi-slide-up {
  from { opacity: 0; transform: translate3d(0, 52px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes gf-vi-slide-right {
  from { opacity: 0; transform: translate3d(52px, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gf-sec.gf-vi .row > .col-md-4 .gf-viItem {
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view(block);
      animation-range: entry 5% cover 34%;
    }
    .gf-sec.gf-vi .row > .col-md-4:nth-child(2) .gf-viItem { animation-name: gf-vi-slide-left; }
    .gf-sec.gf-vi .row > .col-md-4:nth-child(3) .gf-viItem { animation-name: gf-vi-slide-up; }
    .gf-sec.gf-vi .row > .col-md-4:nth-child(4) .gf-viItem { animation-name: gf-vi-slide-right; }
  }
}
@media (max-width: 767.98px) {
  .gf-sec.gf-vi .gf-viItem {
    min-height: 0;
    padding: 26px 22px;
  }
}

}
