/* 關係之間｜全站 Header／Footer（Figma 2023:2012、2148:4868）。版面與文字都在 Elementor 面板，這裡只補面板做不到的部分 */
/* iPadOS／iOS Safari 轉橫向時會自動放大文字（客戶 iPad Air 11 橫放選單字變大 1.35 倍、主標換行，2026-10-21）：固定 100% */
html, body { -webkit-text-size-adjust: none !important; text-size-adjust: none !important; }
/* iPad Pro 12.9 (iPadOS 27) Safari 橫放 1366 用 100% 仍被放大（桌面版網站模式的 idempotent text autosizing），改 none */
/* 桌機 1025–1919：與內頁相同，依 Figma 1920 等比縮放 */
@media (min-width: 1025px) and (max-width: 1056px) { .ib-hd, .ib-ft { zoom: 0.5234; } }
@media (min-width: 1057px) and (max-width: 1088px) { .ib-hd, .ib-ft { zoom: 0.5401; } }
@media (min-width: 1089px) and (max-width: 1120px) { .ib-hd, .ib-ft { zoom: 0.5568; } }
@media (min-width: 1121px) and (max-width: 1152px) { .ib-hd, .ib-ft { zoom: 0.5734; } }
@media (min-width: 1153px) and (max-width: 1184px) { .ib-hd, .ib-ft { zoom: 0.5901; } }
@media (min-width: 1185px) and (max-width: 1216px) { .ib-hd, .ib-ft { zoom: 0.6068; } }
@media (min-width: 1217px) and (max-width: 1248px) { .ib-hd, .ib-ft { zoom: 0.6234; } }
@media (min-width: 1249px) and (max-width: 1280px) { .ib-hd, .ib-ft { zoom: 0.6401; } }
@media (min-width: 1281px) and (max-width: 1312px) { .ib-hd, .ib-ft { zoom: 0.6568; } }
@media (min-width: 1313px) and (max-width: 1344px) { .ib-hd, .ib-ft { zoom: 0.6734; } }
@media (min-width: 1345px) and (max-width: 1376px) { .ib-hd, .ib-ft { zoom: 0.6901; } }
@media (min-width: 1377px) and (max-width: 1408px) { .ib-hd, .ib-ft { zoom: 0.7068; } }
@media (min-width: 1409px) and (max-width: 1440px) { .ib-hd, .ib-ft { zoom: 0.7234; } }
@media (min-width: 1441px) and (max-width: 1472px) { .ib-hd, .ib-ft { zoom: 0.7401; } }
@media (min-width: 1473px) and (max-width: 1504px) { .ib-hd, .ib-ft { zoom: 0.7568; } }
@media (min-width: 1505px) and (max-width: 1536px) { .ib-hd, .ib-ft { zoom: 0.7734; } }
@media (min-width: 1537px) and (max-width: 1568px) { .ib-hd, .ib-ft { zoom: 0.7901; } }
@media (min-width: 1569px) and (max-width: 1600px) { .ib-hd, .ib-ft { zoom: 0.8068; } }
@media (min-width: 1601px) and (max-width: 1632px) { .ib-hd, .ib-ft { zoom: 0.8234; } }
@media (min-width: 1633px) and (max-width: 1664px) { .ib-hd, .ib-ft { zoom: 0.8401; } }
@media (min-width: 1665px) and (max-width: 1696px) { .ib-hd, .ib-ft { zoom: 0.8568; } }
@media (min-width: 1697px) and (max-width: 1728px) { .ib-hd, .ib-ft { zoom: 0.8734; } }
@media (min-width: 1729px) and (max-width: 1760px) { .ib-hd, .ib-ft { zoom: 0.8901; } }
@media (min-width: 1761px) and (max-width: 1792px) { .ib-hd, .ib-ft { zoom: 0.9068; } }
@media (min-width: 1793px) and (max-width: 1824px) { .ib-hd, .ib-ft { zoom: 0.9234; } }
@media (min-width: 1825px) and (max-width: 1856px) { .ib-hd, .ib-ft { zoom: 0.9401; } }
@media (min-width: 1857px) and (max-width: 1888px) { .ib-hd, .ib-ft { zoom: 0.9568; } }
@media (min-width: 1889px) and (max-width: 1919px) { .ib-hd, .ib-ft { zoom: 0.9734; } }
@media (min-width: 1920px) and (max-width: 1939px) { .ib-hd, .ib-ft { zoom: 0.9896; } }
/* Header 疊在頁首大圖上（大圖以負上邊距鑽到 Header 底下），Header 自身要在上層 */
.ib-hd { position: relative; }
.ib-hd .ib-hd__logo, .ib-hd .ib-hd__logo .elementor-widget-container { line-height: 0; margin: 0; }
.ib-hd .ib-hd__logo img { display: block; height: auto; }
/* 「初步分析」前的星形圖示已依客戶要求移除（2026-10-19；它與選單底線 hover 共用 ::before，滑過時變成方塊）。
   選單標題本身的 🧡 是在 外觀→選單 填的文字，要改直接改選單標題 */
.ib-hd .elementor-nav-menu--main .elementor-item { white-space: nowrap; }
.ib-hd .elementor-nav-menu--main .sub-menu { min-width: 168px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(63, 85, 51, .12); }
.ib-hd__member .elementor-button-icon svg { width: 24px; height: 24px; }
.ib-hd__member .elementor-button-content-wrapper { align-items: center; }
@media (max-width: 1024px) {
  .ib-hd .elementor-nav-menu--dropdown { box-shadow: 0 12px 24px rgba(63, 85, 51, .12); }
  /* 客戶 20261030 B2：子選單只用右側箭頭開合（見「全站JS｜手機選單箭頭開合」），箭頭可點範圍加大，避免點到文字直接換頁 */
  .ib-hd .elementor-nav-menu--dropdown .sub-arrow { padding: 12px 18px !important; margin: -12px -18px -12px 0 !important; }
  .ib-hd__member .elementor-button-icon svg { width: 18px; height: 18px; }
  .ib-hd__member .elementor-button { white-space: nowrap; }
  .ib-ft__wave img { display: block; }
}
/* 前台所有輸入框提示字（統一為「...」，見「全站JS｜輸入框提示字統一」）一律淺灰；輸入後的文字維持原色 */
input::placeholder, textarea::placeholder { color: rgba(117, 117, 117, .6) !important; opacity: 1 !important; }
/* 回到頂部（To Top 外掛，圖片為綠色四葉草 PNG）：外掛預設黑底，全尺寸一律透明（2026-10-20 附加 CSS 的桌機規則被刪、出現黑底，改由這裡固定） */
#to_top_scrollup, #to_top_scrollup:hover, #to_top_scrollup:focus, #to_top_scrollup:active { position: fixed !important; right: 20px !important; bottom: 20px !important; width: 63px !important; height: 64px !important; padding: 0 !important; margin: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important; opacity: 1 !important; box-sizing: border-box !important; z-index: 9999 !important; }
#to_top_scrollup img { display: block; max-width: 100%; height: auto; background: transparent !important; }
/* 公開案件頁、會員中心的受理案件（外掛 ≤600 卡片版，表頭隱藏）：客戶 20261030 要每格有小標，四格各一行（首頁另在 home.css） */
@media (max-width: 600px) {
  body:not(.home) .inbetween-public-cases__table tbody tr { grid-template-columns: 1fr !important; }
  body:not(.home) .inbetween-public-cases__table tbody td { grid-column: 1 / -1 !important; justify-content: flex-start !important; text-align: left !important; }
  body:not(.home) .inbetween-public-cases__table tbody td:nth-child(1) { grid-row: 1 !important; }
  body:not(.home) .inbetween-public-cases__table tbody td:nth-child(2) { grid-row: 2 !important; white-space: nowrap; }
  body:not(.home) .inbetween-public-cases__table tbody td:nth-child(3) { grid-row: 3 !important; border-bottom: 1px solid #D3D4BE !important; }
  body:not(.home) .inbetween-public-cases__table tbody td:nth-child(4) { grid-row: 4 !important; border-bottom: 0 !important; }
  body:not(.home) .inbetween-public-cases__table td::before { content: attr(data-label); display: inline-block; flex: none; min-width: 5em; margin-right: 10px; font-size: 12px; font-weight: 500; line-height: 1.4; color: #868784; letter-spacing: .5px; white-space: nowrap; }
  body:not(.home) .inbetween-public-cases__table td:nth-child(4)::before { content: "處理狀態"; }
}
/* Footer：上方透明波浪疊在前一區塊上 */
.ib-ft { position: relative; }
.ib-ft__wave { pointer-events: none; }
.ib-ft .elementor-icon-list-items { justify-content: center; }
@media (max-width: 767px) {
  .ib-ft .elementor-icon-list-items { row-gap: 0; }
}
