/* ==========================================================================
   捷萊 Jajly — 補充樣式（疊在模板 style.css 之上）
   主色沿用模板 style-5：--color-blue5 #157efb、--color-blue4 #5842bc
   ========================================================================== */

:root {
  --jj-blue: #157efb;
  --jj-violet: #6640f4;
  --jj-ink: #0b1a33;
  --jj-text: #3d4655;
  --jj-muted: #6b7380;
  --jj-line: #e3e8f0;
  --jj-soft: #f3f7fe;
  --jj-font: "Inter", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Heiti TC", sans-serif;
}

body,
.jj-page { font-family: var(--jj-font); }

/* ---------------------------------------------------------------- 導覽 */
.navbar.style-5 .navbar-brand img { max-width: 168px; height: auto; }
.navbar .dropdown-menu { border: 1px solid var(--jj-line); border-radius: 12px; padding: 8px; box-shadow: 0 12px 30px rgba(11, 26, 51, .08); }
.navbar .dropdown-menu .dropdown-item { font-size: 14px; border-radius: 8px; padding: 8px 14px; color: var(--jj-ink); white-space: normal; }
.navbar .dropdown-menu .dropdown-item:hover { background: var(--jj-soft); color: var(--jj-blue); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* ---------------------------------------------------------------- Hero */
.jj-hero { padding: 40px 0 70px; }
.about-page header.style-5.jj-hero .info h1,
header.style-5.jj-hero .info h1 { font-size: 44px; letter-spacing: 0; line-height: 1.35; font-weight: 800; }
header.style-5.jj-hero .info p { font-size: 16px; line-height: 1.9; max-width: 720px; margin-left: auto; margin-right: auto; }
.jj-hero-btns { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.jj-hero-note { font-size: 13px !important; color: var(--jj-muted) !important; margin-top: 18px !important; }
.jj-btn-outline { background: #fff; }
.jj-btn-outline:hover { background: var(--jj-blue); color: #fff !important; }
@media (max-width: 991px) {
  .about-page header.style-5.jj-hero .info h1,
  header.style-5.jj-hero .info h1 { font-size: 30px; }
  .jj-hero .hand-mega, .jj-hero .head6-rating, .jj-hero .head6-charts, .jj-hero .head6-rocket { display: none; }
}

/* ---------------------------------------------------------------- 麵包屑 */
.jj-crumbs { margin-bottom: 26px; }
.jj-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; font-size: 13px; color: var(--jj-muted); }
.jj-crumbs li + li::before { content: "›"; margin-right: 6px; color: #aab2bf; }
.jj-crumbs a { color: var(--jj-muted); }
.jj-crumbs a:hover { color: var(--jj-blue); }
.jj-article-head .jj-crumbs ol { justify-content: flex-start; }

/* ---------------------------------------------------------------- 區塊共用 */
.jj-reasons .commun-card small { display: block; font-size: 12px; color: var(--jj-muted); margin-top: 4px; }
.jj-split-img img { max-width: 100%; height: auto; }
.jj-split p { color: var(--jj-text); line-height: 1.9; }
.features-card.style-5 .card-title { font-size: 18px; }
.features-card.style-5 .text { line-height: 1.8; }

/* ---------------------------------------------------------------- 價格卡 */
.jj-plan { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--jj-line); border-radius: 18px; padding: 34px 28px 28px; transition: .3s; }
.jj-plan:hover { box-shadow: 0 20px 40px rgba(21, 126, 251, .10); transform: translateY(-4px); }
.jj-plan.is-best { border: 2px solid var(--jj-blue); box-shadow: 0 20px 40px rgba(21, 126, 251, .12); }
.jj-plan-tag { position: absolute; top: -13px; left: 28px; background: linear-gradient(90deg, var(--jj-blue), var(--jj-violet)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 30px; }
.jj-plan-name { font-size: 19px; font-weight: 800; color: var(--jj-ink); margin-bottom: 14px; }
.jj-plan-price { font-size: 36px; font-weight: 800; color: var(--jj-blue); line-height: 1.1; margin-bottom: 10px; }
.jj-plan-price small { font-size: 15px; margin-right: 4px; color: var(--jj-ink); }
.jj-plan-price span { font-size: 14px; font-weight: 500; color: var(--jj-muted); margin-left: 6px; }
.jj-plan-desc { font-size: 14px; color: var(--jj-muted); line-height: 1.8; margin-bottom: 12px; }
.jj-plan ul { list-style: none; padding: 16px 0 0; margin: 0 0 24px; border-top: 1px solid var(--jj-line); flex: 1; }
.jj-plan li { display: flex; gap: 8px; font-size: 14px; color: var(--jj-text); line-height: 1.7; padding: 5px 0; }
.jj-plan li i { color: var(--jj-blue); font-size: 16px; }
.jj-plans-note { text-align: center; font-size: 13px; color: var(--jj-muted); margin-top: 18px; line-height: 1.9; }

/* ---------------------------------------------------------------- 連結卡、步驟 */
.jj-link-card { display: block; height: 100%; background: #fff; border: 1px solid var(--jj-line); border-radius: 16px; padding: 26px 24px; transition: .3s; }
.jj-link-card:hover { border-color: var(--jj-blue); box-shadow: 0 16px 34px rgba(21, 126, 251, .10); }
.jj-link-card h3 { font-size: 17px; font-weight: 800; color: var(--jj-ink); line-height: 1.6; margin-bottom: 10px; }
.jj-link-card p { font-size: 14px; color: var(--jj-muted); line-height: 1.8; margin-bottom: 14px; }
.jj-more { font-size: 13px; font-weight: 700; color: var(--jj-blue); }
.jj-step { height: 100%; background: #fff; border: 1px solid var(--jj-line); border-radius: 16px; padding: 28px 24px; }
.jj-step-no { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--jj-blue), var(--jj-violet)); border-radius: 30px; padding: 3px 12px; margin-bottom: 14px; }
.jj-step h3 { font-size: 17px; font-weight: 800; color: var(--jj-ink); margin-bottom: 8px; }
.jj-step p { font-size: 14px; color: var(--jj-muted); line-height: 1.8; margin: 0; }

/* ---------------------------------------------------------------- 表格 */
.jj-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--jj-line); border-radius: 14px; background: #fff; }
.jj-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.jj-table th { background: var(--jj-soft); color: var(--jj-ink); font-weight: 800; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--jj-line); white-space: nowrap; }
.jj-table td { padding: 13px 16px; border-bottom: 1px solid var(--jj-line); color: var(--jj-text); line-height: 1.7; vertical-align: top; }
.jj-table tr:last-child td { border-bottom: 0; }
.jj-table a { color: var(--jj-blue); }

/* ---------------------------------------------------------------- 文章排版 */
.jj-prose { color: var(--jj-text); font-size: 16px; line-height: 2; }
.jj-prose > *:first-child { margin-top: 0; }
.jj-prose h2 { font-size: 26px; font-weight: 800; color: var(--jj-ink); line-height: 1.5; margin: 56px 0 18px; padding-top: 6px; scroll-margin-top: 90px; }
.jj-prose h3 { font-size: 20px; font-weight: 800; color: var(--jj-ink); line-height: 1.6; margin: 34px 0 12px; scroll-margin-top: 90px; }
.jj-prose p { margin: 0 0 18px; }
.jj-prose a { color: var(--jj-blue); text-decoration: underline; text-underline-offset: 3px; }
.jj-prose ul, .jj-prose ol { margin: 0 0 20px; padding-left: 1.4em; }
.jj-prose li { margin: 6px 0; }
.jj-prose strong { color: var(--jj-ink); }
.jj-prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 4px solid var(--jj-blue); background: var(--jj-soft); border-radius: 0 12px 12px 0; color: var(--jj-ink); }
.jj-prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 26px; display: block; overflow-x: auto; }
.jj-prose th { background: var(--jj-soft); font-weight: 800; color: var(--jj-ink); text-align: left; padding: 12px 14px; border: 1px solid var(--jj-line); white-space: nowrap; }
.jj-prose td { padding: 11px 14px; border: 1px solid var(--jj-line); vertical-align: top; line-height: 1.7; }
.jj-prose code { background: var(--jj-soft); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.jj-note, .jj-warn, .jj-tip { margin: 24px 0; padding: 18px 20px; border-radius: 14px; font-size: 15px; line-height: 1.9; }
.jj-note { background: var(--jj-soft); border: 1px solid #d6e6ff; }
.jj-warn { background: #fff7ed; border: 1px solid #fed7aa; }
.jj-tip { background: #ecfdf5; border: 1px solid #a7f3d0; }
.jj-note > :last-child, .jj-warn > :last-child, .jj-tip > :last-child { margin-bottom: 0; }

.jj-article-head { padding: 40px 0 30px; background: linear-gradient(to top, #ffffff 0%, #edf4fe 74%, #e7f1ff 100%); }
.jj-article-head h1 { font-size: 38px; font-weight: 800; color: var(--jj-ink); line-height: 1.45; margin: 10px 0 18px; }
.jj-article-meta { font-size: 13px; color: var(--jj-muted); display: flex; flex-wrap: wrap; gap: 16px; }
.jj-article-meta a { color: var(--jj-blue); font-weight: 700; }
.jj-summary { background: #fff; border: 1px solid var(--jj-line); border-left: 4px solid var(--jj-blue); border-radius: 14px; padding: 20px 24px; margin: 0 0 36px; }
.jj-summary-title { font-weight: 800; color: var(--jj-ink); margin-bottom: 8px; font-size: 15px; }
.jj-summary ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.9; }
.jj-article-body { padding: 40px 0 70px; }
.jj-aside { position: sticky; top: 24px; }
.jj-toc { background: #fff; border: 1px solid var(--jj-line); border-radius: 16px; padding: 20px 22px; margin-bottom: 20px; }
.jj-toc-title { font-weight: 800; color: var(--jj-ink); font-size: 15px; margin-bottom: 10px; }
.jj-toc ol { padding-left: 1.2em; margin: 0; font-size: 14px; line-height: 1.8; }
.jj-toc a { color: var(--jj-text); }
.jj-toc a:hover { color: var(--jj-blue); }
.jj-service-card { background: linear-gradient(135deg, var(--jj-blue), var(--jj-violet)); color: #fff; border-radius: 16px; padding: 24px 22px; }
.jj-service-card h3, .jj-service-card .h5 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.jj-service-card p { font-size: 14px; line-height: 1.8; opacity: .92; margin-bottom: 16px; }
.jj-service-card a.jj-sc-btn { display: inline-block; background: #fff; color: var(--jj-blue); font-weight: 800; font-size: 14px; border-radius: 30px; padding: 9px 18px; margin: 0 6px 6px 0; }
.jj-service-card a.jj-sc-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.jj-sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--jj-line); font-size: 14px; }
.jj-sources h2 { font-size: 18px !important; margin: 0 0 10px !important; }
.jj-sources li { margin: 4px 0; }
.jj-article-faq { margin-top: 40px; }
.jj-article-faq details { border: 1px solid var(--jj-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.jj-article-faq summary { font-weight: 800; color: var(--jj-ink); cursor: pointer; }
.jj-article-faq details p { margin: 10px 0 0; }
.jj-cover { border-radius: 16px; overflow: hidden; margin-bottom: 30px; }
.jj-cover img { width: 100%; height: auto; display: block; }
@media (max-width: 991px) {
  .jj-article-head h1 { font-size: 28px; }
  .jj-prose h2 { font-size: 22px; }
  .jj-aside { position: static; margin-top: 40px; }
}

/* ---------------------------------------------------------------- 知識庫列表 */
.jj-post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--jj-line); border-radius: 16px; overflow: hidden; transition: .3s; }
.jj-post-card:hover { box-shadow: 0 16px 34px rgba(21, 126, 251, .10); transform: translateY(-3px); }
.jj-post-card .jj-post-img img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.jj-post-card .jj-post-body { padding: 18px 20px 22px; }
.jj-post-card .jj-post-cat { font-size: 12px; font-weight: 800; color: var(--jj-blue); }
.jj-post-card h3 { font-size: 17px; font-weight: 800; color: var(--jj-ink); line-height: 1.6; margin: 6px 0 8px; }
.jj-post-card p { font-size: 14px; color: var(--jj-muted); line-height: 1.8; margin: 0; }
.jj-cluster { padding-top: 30px; scroll-margin-top: 80px; }
.jj-cluster-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--jj-line); padding-bottom: 12px; margin-bottom: 26px; }
.jj-cluster-head h2 { font-size: 24px; font-weight: 800; color: var(--jj-ink); margin: 0; }
.jj-cluster-head p { margin: 0; color: var(--jj-muted); font-size: 14px; }
.jj-cluster-head a { font-size: 14px; font-weight: 700; color: var(--jj-blue); }
.jj-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.jj-chips a { font-size: 13px; padding: 6px 14px; border: 1px solid var(--jj-line); border-radius: 30px; background: #fff; color: var(--jj-ink); }
.jj-chips a:hover { border-color: var(--jj-blue); color: var(--jj-blue); }

/* ---------------------------------------------------------------- CTA */
.jj-cta-text { color: var(--jj-muted); margin-top: 24px; font-size: 16px; }
.jj-cta h2 { font-size: 36px; line-height: 1.5; }
@media (max-width: 991px) { .jj-cta h2 { font-size: 26px; } }

/* ---------------------------------------------------------------- 星等計算機 */
.jj-calc { background: #fff; border: 1px solid var(--jj-line); border-radius: 18px; padding: 26px; margin: 10px 0 30px; box-shadow: 0 16px 34px rgba(21, 126, 251, .06); }
.jj-calc .row > div { margin-bottom: 14px; }
.jj-calc label { display: block; font-size: 14px; font-weight: 700; color: var(--jj-ink); margin-bottom: 6px; }
.jj-calc input { width: 100%; border: 1px solid #cfd7e3; border-radius: 10px; padding: 10px 12px; font-size: 16px; }
.jj-calc-out { background: var(--jj-soft); border-radius: 12px; padding: 16px 18px; font-size: 15px; line-height: 1.9; color: var(--jj-ink); }
.jj-calc-out strong { color: var(--jj-blue); font-size: 20px; }

/* ---------------------------------------------------------------- 頁尾（自帶樣式，任何模板都能用） */
.jj-footer { background: #f7f9fc; border-top: 1px solid var(--jj-line); padding: 70px 0 0; font-family: var(--jj-font); color: var(--jj-text); position: relative; z-index: 2; }
.jj-footer a { color: var(--jj-text); text-decoration: none; }
.jj-footer a:hover { color: var(--jj-blue); }
.jj-foot-logo img { width: 168px; height: auto; margin-bottom: 16px; }
.jj-foot-text { font-size: 13px; line-height: 1.9; color: var(--jj-muted); margin: 0 0 14px; }
.jj-foot-contact { font-size: 14px; line-height: 2.1; margin: 0; }
.jj-foot-contact i { width: 18px; color: var(--jj-blue); }
.jj-foot-title { font-weight: 800; color: var(--jj-ink); font-size: 15px; margin-bottom: 14px; }
.jj-footer ul { list-style: none; padding: 0; margin: 0; }
.jj-footer li { font-size: 13px; line-height: 1.6; margin-bottom: 9px; }
.jj-copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--jj-line); margin-top: 46px; padding: 22px 0 26px; font-size: 13px; color: var(--jj-muted); }
.jj-copy-right a { margin-left: 18px; color: var(--jj-muted); }
.jj-copy-right a:first-child { margin-left: 0; }
@media (max-width: 767px) {
  .jj-copyright { flex-direction: column; text-align: center; align-items: center; }
}

/* 首頁（深色模板）的品牌 H1：取消模板 header h1 的大字距 */
header .jj-home-h1 { font-size: 16px !important; letter-spacing: 1px !important; line-height: 1.6 !important; margin-bottom: 14px !important; }

/* 文章目錄：模板對 li 有額外樣式，原生序號在換行時會錯位，改用自訂計數器 */
.jj-toc ol { list-style: none; padding-left: 0; counter-reset: jjtoc; }
.jj-toc li { display: block; position: relative; padding-left: 1.7em; margin: 4px 0; counter-increment: jjtoc; }
.jj-toc li::before { content: counter(jjtoc) "."; position: absolute; left: 0; top: 0; color: var(--jj-blue); font-weight: 700; }
.jj-toc li a { display: inline; }

/* ---------------------------------------------------------------- Logo（圖形＋文字字標） */
:root { --jj-brand: #2D38A1; }
.jj-brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; white-space: nowrap; vertical-align: middle; }
.navbar .navbar-brand img.jj-brand-mark, .logo img.jj-brand-mark, .jj-foot-logo img.jj-brand-mark, img.jj-brand-mark {
  display: block; flex: none; width: 40px !important; height: 40px !important; max-width: none !important; margin: 0; object-fit: contain; }
.jj-brand-words { display: inline-flex; flex-direction: column; align-items: flex-start; }
.jj-brand-words b { font-family: var(--jj-font); font-size: 22px; font-weight: 900; letter-spacing: .14em; color: var(--jj-ink); }
.jj-brand-words i { font-family: "Inter", sans-serif; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .48em; margin-top: 5px; color: var(--jj-brand); }
.jj-brand--light .jj-brand-words b, .jj-brand--light .jj-brand-words i { color: #fff; }
.jj-foot-logo { display: inline-block; margin-bottom: 16px; }
.jj-foot-logo .jj-brand-mark { width: 44px !important; height: 44px !important; }
@media (max-width: 767px) {
  .navbar .navbar-brand img.jj-brand-mark { width: 34px !important; height: 34px !important; }
  .jj-brand { gap: 8px; }
  .jj-brand-words b { font-size: 19px; }
}

/* ---------------------------------------------------------------- 手機版選單（tools/sitekit.py mobile_nav；<992px 接管各模板的漢堡按鈕） */
.jj-mnav { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; background: #f7f9fc; color: var(--jj-ink);
  font-family: var(--jj-font); transform: translateX(100%); transition: transform .25s ease; overscroll-behavior: contain; }
.jj-mnav.is-open { transform: translateX(0); }
.jj-mnav[hidden] { display: none !important; }
html.jj-mnav-lock, html.jj-mnav-lock body { overflow: hidden !important; }
.jj-mnav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid var(--jj-line);
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.jj-mnav-logo { text-decoration: none; }
.jj-mnav-logo img.jj-brand-mark { width: 34px !important; height: 34px !important; }
.jj-mnav-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--jj-line); border-radius: 999px;
  background: #fff; color: var(--jj-ink); font: 700 15px/1 var(--jj-font); cursor: pointer; }
.jj-mnav-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 10px; }
.jj-mnav-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; text-decoration: none;
  background: var(--jj-brand); color: #fff !important; }
.jj-mnav-price b { display: block; font-size: 17px; font-weight: 900; }
.jj-mnav-price small { display: block; font-size: 12.5px; opacity: .88; margin-top: 4px; line-height: 1.6; }
.jj-mnav-price i { font-size: 20px; flex: none; }
.jj-mnav-group { background: #fff; border: 1px solid var(--jj-line); border-radius: 14px; }
.jj-mnav-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 12px 16px; cursor: pointer; }
.jj-mnav-group > summary::-webkit-details-marker { display: none; }
.jj-mnav-group > summary b { display: block; font-size: 17px; font-weight: 900; color: var(--jj-ink); }
.jj-mnav-group > summary small { display: block; font-size: 12.5px; color: var(--jj-muted); margin-top: 2px; }
.jj-mnav-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--jj-soft); }
.jj-mnav-plus::before, .jj-mnav-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--jj-brand); border-radius: 2px; transition: transform .2s; }
.jj-mnav-plus::after { transform: rotate(90deg); }
.jj-mnav-group[open] .jj-mnav-plus::after { transform: rotate(0deg); }
.jj-mnav-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 4px; }
.jj-mnav-tiles a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border: 1px solid var(--jj-line); border-radius: 10px; background: #fff;
  font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--jj-ink) !important; text-decoration: none; }
.jj-mnav-tiles a:active, .jj-mnav-tiles a:hover { border-color: var(--jj-blue); color: var(--jj-blue) !important; }
.jj-mnav a.is-active { background: var(--jj-soft); border-color: var(--jj-brand); color: var(--jj-brand) !important; }
.jj-mnav-all { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 44px; padding: 4px 16px 10px; font-size: 14px; font-weight: 700;
  color: var(--jj-blue) !important; text-decoration: none; }
.jj-mnav-foot { background: #fff; border-top: 1px solid var(--jj-line); text-align: center;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.jj-mnav-line { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; background: #06C755; color: #fff !important;
  font-size: 17px; font-weight: 900; text-decoration: none; }
.jj-mnav-line i { font-size: 22px; }
.jj-mnav-foot p { margin: 8px 0 0; font-size: 13px; color: var(--jj-muted); }
.jj-mnav-foot p a { color: var(--jj-ink); user-select: all; }
@media (min-width: 992px) { .jj-mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .jj-mnav, .jj-mnav-plus::after { transition: none; } }
html.jj-mnav-lock .to_top, html.jj-mnav-lock .rn-progress-parent { display: none !important; }

/* ---------------------------------------------------------------- 主選單大型下拉面板（sitekit.mega_panel；≥992px） */
.jj-mnav-sub { margin: 6px 12px 8px; font-size: 13px; font-weight: 900; color: var(--jj-brand); }
.jj-mnav-sub span { font-weight: 500; color: var(--jj-muted); margin-left: 6px; }
.jj-caret { font-size: 10px; margin-left: 4px; vertical-align: 1px; transition: transform .2s; }
@media (max-width: 991.98px) { .jj-mega { display: none !important; } }
@media (min-width: 992px) {
  .navbar .navbar-nav .jj-has-mega, .mainmenu .jj-has-mega, li.jj-has-mega { position: static !important; }
  .jj-has-mega:hover > a .jj-caret, .jj-has-mega:focus-within > a .jj-caret { transform: rotate(180deg); }
  .jj-mega { position: absolute; top: 100%; left: 50%; z-index: 1050; width: min(1120px, calc(100vw - 48px));
    transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none;
    background: #fff; color: var(--jj-ink); border: 1px solid var(--jj-line); border-radius: 18px; padding: 26px 28px;
    box-shadow: 0 24px 60px rgba(13, 27, 46, .16); text-align: left; transition: opacity .18s, transform .18s, visibility .18s;
    font-family: var(--jj-font); white-space: normal; }
  .jj-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
  .jj-mega--narrow { width: 360px; padding: 12px; }
  .jj-has-mega:hover > .jj-mega, .jj-has-mega:focus-within > .jj-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .jj-mega ul { list-style: none; margin: 0; padding: 0; }
  .jj-mega li { margin: 0; padding: 0; float: none; display: block; }
  .jj-mega-head { margin: 0 0 12px; padding: 0 10px; }
  .jj-mega-head b { display: block; font-size: 16px; font-weight: 900; color: var(--jj-brand); }
  .jj-mega-head span { display: block; font-size: 12.5px; color: var(--jj-muted); margin-top: 2px; }
  .jj-mega a.jj-mega-link { display: block !important; padding: 10px !important; margin: 0 !important; border-radius: 10px; text-decoration: none !important;
    color: var(--jj-ink) !important; background: transparent; text-transform: none !important; letter-spacing: 0 !important; height: auto !important; line-height: 1.5 !important; }
  .jj-mega a.jj-mega-link::before, .jj-mega a.jj-mega-link::after { display: none !important; }
  .jj-mega a.jj-mega-link b { display: block; font-size: 15px !important; font-weight: 800; color: var(--jj-ink); }
  .jj-mega a.jj-mega-link span { display: block; font-size: 12.5px !important; font-weight: 400; color: var(--jj-muted); margin-top: 2px; }
  .jj-mega a.jj-mega-link:hover, .jj-mega a.jj-mega-link:focus-visible { background: var(--jj-soft); }
  .jj-mega a.jj-mega-link:hover b { color: var(--jj-blue); }
  .jj-mega a.jj-mega-link.is-active { background: var(--jj-soft); box-shadow: inset 3px 0 0 var(--jj-brand); }
  .jj-mega-grid { display: grid; gap: 22px; }
  .jj-mega-grid--svc { grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; }
  .jj-mega-grid--blog { grid-template-columns: minmax(0, 1fr) 280px; }
  .jj-mega-col { min-width: 0; border-right: 1px solid var(--jj-line); padding-right: 14px; }
  .jj-mega-grid--svc .jj-mega-col:nth-child(3) { border-right: 0; }
  .jj-mega-list { display: grid; gap: 2px 14px; }
  .jj-mega-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jj-mega-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jj-mega-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .jj-mega a.jj-mega-card { position: relative; display: block !important; padding: 16px 40px 16px 16px !important; border-radius: 14px; text-decoration: none !important;
    background: var(--jj-brand); color: #fff !important; line-height: 1.5 !important; height: auto !important; text-transform: none !important; }
  .jj-mega a.jj-mega-card b { display: block; font-size: 15px !important; font-weight: 900; color: inherit; }
  .jj-mega a.jj-mega-card span { display: block; font-size: 12.5px !important; opacity: .9; margin-top: 4px; color: inherit; }
  .jj-mega a.jj-mega-card i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
  .jj-mega a.jj-mega-card.is-soft { background: var(--jj-soft); color: var(--jj-ink) !important; border: 1px solid #d6e3fb; }
  .jj-mega a.jj-mega-card.is-soft i { color: var(--jj-brand); }
  .jj-mega a.jj-mega-more { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px !important; padding: 6px 10px !important;
    font-size: 14px !important; font-weight: 800; color: var(--jj-blue) !important; text-decoration: none !important; height: auto !important; line-height: 1.4 !important; }
  .jj-mega-side .jj-mega-more { margin-top: auto !important; align-self: flex-start; }
}
@media (min-width: 992px) { .jj-has-mega > a.jj-current { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 8px; } }
@media (min-width: 992px) { .navbar .navbar-nav .jj-has-mega.jj-has-narrow, .mainmenu .jj-has-mega.jj-has-narrow, li.jj-has-mega.jj-has-narrow { position: relative !important; } }

/* ---------------------------------------------------------------- 統一版面元件（2026-10-18：取代模板 3D 插圖與圖示） */
.jj-hl { position: relative; display: inline; color: var(--jj-brand); background: linear-gradient(transparent 62%, rgba(21, 126, 251, .18) 62%); padding: 0 .08em; }
header.style-5.jj-hero .info h1 .jj-hl { color: var(--jj-brand); }
.jj-hero--split { padding: 36px 0 64px; }
.jj-hero--split .info { text-align: left; }
.jj-hero--split .info p { margin-left: 0 !important; margin-right: 0 !important; }
.jj-hero--split .jj-hero-btns { justify-content: flex-start; }
.jj-hero--split .jj-crumbs ol { justify-content: flex-start; }
.jj-hero-art { position: relative; }
.jj-hero-art .jj-art { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: 0 30px 60px rgba(13, 27, 46, .12); }
.jj-art { max-width: 100%; height: auto; }
@media (max-width: 991px) {
  .jj-hero--split .info { text-align: center; }
  .jj-hero--split .jj-hero-btns, .jj-hero--split .jj-crumbs ol { justify-content: center; }
  .jj-hero-art { margin-top: 36px; }
}
.jj-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--jj-soft); color: var(--jj-brand); font-size: 24px; }
.jj-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.jj-reason { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--jj-line); border-radius: 16px; padding: 18px 20px; }
.jj-reason h3 { font-size: 17px; font-weight: 800; color: var(--jj-ink); margin: 0; }
.jj-reason p { font-size: 13px; color: var(--jj-muted); margin: 4px 0 0; line-height: 1.6; }
.jj-feature { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--jj-line); border-radius: 18px; padding: 26px 24px;
  text-decoration: none; transition: .25s; }
.jj-feature h3 { font-size: 18px; font-weight: 800; color: var(--jj-ink); margin: 16px 0 8px; line-height: 1.5; }
.jj-feature p { font-size: 14px; color: var(--jj-muted); line-height: 1.85; margin: 0; flex: 1; }
.jj-feature .jj-more { margin-top: 14px; }
a.jj-feature:hover { border-color: var(--jj-blue); box-shadow: 0 18px 36px rgba(21, 126, 251, .10); transform: translateY(-3px); }
a.jj-feature:hover .jj-ico { background: var(--jj-brand); color: #fff; }
.jj-checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.jj-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 700; color: var(--jj-ink); line-height: 1.6; }
.jj-checks i { color: var(--jj-brand); font-size: 19px; line-height: 1.3; }
.jj-split-art .jj-art { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px rgba(13, 27, 46, .10); }
@media (max-width: 991px) { .jj-split-art { margin-bottom: 30px; } }
.jj-plan li.is-no { color: #a3abb8; text-decoration: line-through; }
.jj-plan li.is-no i { color: #c3cad4; }
header.style-5.jj-hero--split .info, header.style-5.jj-hero--split .info p { text-align: left; }
.about-page header.style-5.jj-hero--split .info h1, header.style-5.jj-hero--split .info h1 { font-size: 40px; }
@media (max-width: 991px) {
  header.style-5.jj-hero--split .info, header.style-5.jj-hero--split .info p { text-align: center; }
  .about-page header.style-5.jj-hero--split .info h1, header.style-5.jj-hero--split .info h1 { font-size: 30px; }
}
.jj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.jj-stat { background: #fff; border: 1px solid var(--jj-line); border-radius: 18px; padding: 22px 24px; }
.jj-stat b { display: block; font-size: 40px; font-weight: 900; color: var(--jj-brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.jj-stat b small { font-size: 16px; margin-left: 4px; color: var(--jj-ink); }
.jj-stat span { display: block; font-size: 14px; color: var(--jj-muted); margin-top: 6px; }
.jj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.jj-tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--jj-soft); color: var(--jj-brand); font-weight: 700; }
.jj-sub { font-size: 13px; font-weight: 500; color: var(--jj-muted); }
.jj-mini-links { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.jj-mini-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--jj-soft);
  font-size: 14.5px; font-weight: 700; color: var(--jj-ink); text-decoration: none; }
.jj-mini-links a::after { content: "\F285"; font-family: "bootstrap-icons"; font-size: 12px; color: var(--jj-brand); }
.jj-mini-links a:hover { background: #e3edff; color: var(--jj-blue); }
.jj-contact-card { height: 100%; text-align: center; background: #fff; border: 1px solid var(--jj-line); border-radius: 20px; padding: 32px 28px; }
.jj-contact-card .jj-ico { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; }
.jj-contact-card.is-line .jj-ico { background: #E6F9EE; color: #06C755; }
.jj-contact-card h2 { font-size: 24px; font-weight: 900; color: var(--jj-ink); margin: 18px 0 8px; }
.jj-contact-card p { color: var(--jj-muted); font-size: 15px; line-height: 1.8; }
.jj-contact-mail a { font-size: 20px; font-weight: 800; color: var(--jj-brand); user-select: all; }
