/* 關係之間｜404 頁（只在 body.error404 生效） */
@font-face { font-family: "InBetween Rounded"; src: url("https://inbetween.tw/wp-content/uploads/inbetween-fonts/inbetween-rounded.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
body.error404 .ib-round .elementor-heading-title { font-family: "InBetween Rounded", "Noto Sans TC", sans-serif !important; font-weight: 400 !important; }
body.error404 .ib-gradtext .elementor-heading-title { background: linear-gradient(165deg, #ED7971 0%, #A8D176 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.error404 .ib-nf__en { opacity: .8; }
body.error404 .ib-nf h1.elementor-heading-title { -webkit-text-stroke: 0; }
body.error404 .ib-nf .elementor-widget-text-editor p { margin-top: 0; }
/* ≤1024：底部同樣鑽進頁尾透明波浪（波浪高 9.01vw，Elementor 邊距無法混用 px／vw 單位） */
@media (max-width: 1024px) { body.error404 .ib-nf { margin-bottom: -8.9vw !important; } }
body.error404 .ib-nf__btn .elementor-button { min-width: 196px; min-height: 48px; justify-content: center; }
body.error404 .ib-nf__btn .elementor-button-content-wrapper { align-items: center; }
@media (max-width: 767px) {
  body.error404 .ib-nf__btn .elementor-button { min-width: 150px; }
}
