/* ===== 銓晟科技 品牌設計系統:方向A「科技藍・加深版」===== */

:root {
  /* 品牌色票 */
  --gwg-navy-deep: #031A30;   /* 主色:午夜海軍藍(主視覺/頁尾/深色帶) */
  --gwg-navy:      #062746;    /* 次深藍 */
  --gwg-blue:      #0C447C;    /* 重點藍:連結、圖示、主按鈕 */
  --gwg-blue-mid:  #185FA5;
  --gwg-blue-soft: #5D9BD8;
  --gwg-blue-bg:   #E6F1FB;    /* 淺藍底 */
  --gwg-blue-bg2:  #F4F8FC;
  --gwg-cta:       #EF9F27;    /* CTA 暖金 */
  --gwg-cta-text:  #412402;
  --gwg-teal:      #0A4A3A;    /* 詢價/輔助墨綠 */
  --gwg-text:      #2C2C2A;
  --gwg-border:    #D9DCE1;

  /* 覆寫 Blocksy 全域色票 */
  --theme-palette-color-1: var(--gwg-blue);       /* accent */
  --theme-palette-color-2: var(--gwg-navy-deep);  /* accent hover/dark */
  --theme-palette-color-3: var(--gwg-navy-deep);  /* 標題 */
  --theme-palette-color-4: var(--gwg-text);       /* 內文 */
  --theme-palette-color-5: var(--gwg-border);     /* 邊框 */
  --theme-palette-color-6: var(--gwg-blue-bg);    /* 淺底 */
  --theme-palette-color-7: var(--gwg-blue-bg2);   /* 更淺底 */
  --theme-palette-color-8: #ffffff;

  --theme-link-initial-color: var(--gwg-blue);
  --theme-link-hover-color: var(--gwg-navy-deep);
  --theme-font-family: 'Noto Sans TC', 'Inter', system-ui, sans-serif;
  --theme-border-radius: 8px;
}

body {
  font-family: 'Noto Sans TC', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gwg-text);
}

h1, h2, h3, h4, h5, h6 { color: var(--gwg-navy-deep); }

/* 主按鈕(Blocksy/區塊)統一品牌藍 */
.wp-block-button__link,
.ct-button,
button.ct-button {
  background-color: var(--gwg-blue);
  border-radius: 8px;
}
.wp-block-button__link:hover,
.ct-button:hover { background-color: var(--gwg-navy-deep); }

/* CTA 暖金工具類:首頁主視覺等用 */
.gwg-cta .wp-block-button__link,
.is-style-gwg-cta .wp-block-button__link {
  background-color: var(--gwg-cta);
  color: var(--gwg-cta-text);
}
.gwg-cta .wp-block-button__link:hover { background-color: #d98e1a; }

/* 深色區段工具類 */
.gwg-section-dark { background-color: var(--gwg-navy-deep); color: #fff; }
.gwg-section-dark h1, .gwg-section-dark h2, .gwg-section-dark h3 { color: #fff; }

/* 淺藍應用領域帶 */
.gwg-band-soft { background-color: var(--gwg-blue-bg); color: var(--gwg-navy); }

/* ===== 產品 / 解決方案 招募 Banner ===== */
.gwg-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 0 auto 28px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background-color: var(--gwg-navy-deep);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 12px);
}
.gwg-banner.is-solution { background-color: #0A3D30; }
.gwg-banner__text { color: #fff; }
.gwg-banner__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #7FCBB3;
  margin-bottom: 6px;
}
.gwg-banner.is-product .gwg-banner__eyebrow { color: #9CC4E8; }
.gwg-banner__title { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.gwg-banner__desc { font-size: 14px; line-height: 1.7; color: #C7D4E4; margin: 0; max-width: 640px; }
.gwg-banner.is-solution .gwg-banner__desc { color: #B7D8CC; }
.gwg-banner__cta {
  flex-shrink: 0;
  display: inline-block;
  background: var(--gwg-cta);
  color: var(--gwg-cta-text);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.gwg-banner__cta:hover { background: #d98e1a; color: var(--gwg-cta-text); }
@media (max-width: 600px) {
  .gwg-banner { padding: 22px; }
  .gwg-banner__title { font-size: 19px; }
}

/* ===== 產品 / 解決方案 內文樣式(去除純白單調)===== */
/* 內文區極淡點紋底 */
.single-gwg_product .entry-content,
.single-gwg_solution .entry-content {
  background-color: #ffffff;
  background-image: radial-gradient(rgba(12,68,124,0.05) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  padding: 4px 0 8px;
}

/* h2 段落標題:墨綠左短槓 + 間距 */
.single-gwg_product .entry-content h2,
.single-gwg_solution .entry-content h2 {
  position: relative;
  padding-left: 16px;
  margin-top: 2.2em;
  margin-bottom: 0.8em;
}
.single-gwg_product .entry-content h2::before,
.single-gwg_solution .entry-content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em; bottom: 0.15em;
  width: 5px;
  background: var(--gwg-teal);
  border-radius: 3px;
}

/* 清單:淡綠底卡片感 */
.single-gwg_product .entry-content > ul li,
.single-gwg_solution .entry-content > ul li {
  background: #F1F9F6;
  border: 0.5px solid #DDEBE4;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  list-style: none;
}
.single-gwg_product .entry-content > ul,
.single-gwg_solution .entry-content > ul { padding-left: 0; }
.single-gwg_product .entry-content > ul li strong,
.single-gwg_solution .entry-content > ul li strong { color: var(--gwg-navy-deep); }

/* 規格表:深藍表頭 + 斑馬紋 */
.single-gwg_product .entry-content table,
.single-gwg_solution .entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95em;
}
.single-gwg_product .entry-content thead th,
.single-gwg_solution .entry-content thead th {
  background: var(--gwg-navy-deep);
  color: #fff;
  font-weight: 500;
  text-align: left;
}
.single-gwg_product .entry-content th,
.single-gwg_product .entry-content td,
.single-gwg_solution .entry-content th,
.single-gwg_solution .entry-content td {
  border: 1px solid var(--gwg-border);
  padding: 9px 13px;
}
.single-gwg_product .entry-content tbody tr:nth-child(even),
.single-gwg_solution .entry-content tbody tr:nth-child(even) { background: #F7FAF9; }
.single-gwg_product .entry-content tbody td:first-child,
.single-gwg_solution .entry-content tbody td:first-child { color: var(--gwg-navy); background: #EEF4F9; }

/* 圖片圓角 */
.single-gwg_product .entry-content img,
.single-gwg_solution .entry-content img { border-radius: 10px; }

/* ============================================================
   首頁 (方向A 深藍) — .gwg-home
   ============================================================ */
/* 首頁隱藏頁標題 */
.home .page-title,
.home .entry-header,
.home .ct-page-title { display: none !important; }
.gwg-home { --nav: #031A30; }
/* 全寬區塊(在容器內破出成滿版)*/
.gwg-home .gwg-hero,
.gwg-home .gwg-band,
.gwg-home .gwg-sec--tint,
.gwg-home .gwg-ctaband {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.gwg-home section { padding-left: 20px; padding-right: 20px; }
.gwg-home h2 { color: var(--gwg-navy-deep); font-size: 26px; margin: 0; }
.gwg-home h3 { color: var(--gwg-navy-deep); }

/* Hero */
.gwg-hero {
  background-color: #031A30;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 13px);
  padding: 72px 20px;
}
.gwg-hero__inner { max-width: 1100px; margin: 0 auto; }
.gwg-hero__eyebrow { color: #5D9BD8; letter-spacing: 2px; font-size: 13px; margin-bottom: 16px; }
.gwg-hero__title { color: #fff; font-size: 40px; line-height: 1.25; font-weight: 700; margin: 0 0 18px; }
.gwg-hero__sub { color: #B7CBE0; font-size: 17px; line-height: 1.8; max-width: 620px; margin: 0 0 28px; }
.gwg-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 按鈕 */
.gwg-btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 500; text-decoration: none; font-size: 16px; }
.gwg-btn--gold { background: #EF9F27; color: #412402; }
.gwg-btn--gold:hover { background: #d98e1a; color: #412402; }
.gwg-btn--ghost { border: 1px solid #4E7BA6; color: #fff; }
.gwg-btn--ghost:hover { background: rgba(255,255,255,0.08); color:#fff; }
.gwg-btn--outline { border: 1px solid var(--gwg-blue); color: var(--gwg-blue); }
.gwg-btn--white { background: #fff; color: var(--gwg-teal); }

/* 應用領域帶 */
.gwg-band { background: #E6F1FB; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.gwg-band > span { color: var(--gwg-navy); font-weight: 500; }
.gwg-band__items { display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: center; }
.gwg-band__items span { color: #0C447C; font-size: 15px; }

/* 區段 */
.gwg-sec { max-width: 1100px; margin: 0 auto; padding: 56px 20px; }
.gwg-sec--tint { max-width: none; background: #F1F9F6; background-image: radial-gradient(rgba(15,110,86,0.05) 0.6px, transparent 0.6px); background-size: 18px 18px; }
.gwg-sec--tint > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.gwg-sec__head { display: flex; align-items: center; gap: 12px; }
.gwg-bar { width: 22px; height: 4px; border-radius: 2px; display: inline-block; }
.gwg-bar--blue { background: var(--gwg-blue); }
.gwg-bar--teal { background: var(--gwg-teal); }
.gwg-sec__desc { color: #5F5E5A; margin: 8px 0 26px; }

/* 卡片格 */
.gwg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.gwg-card { display: block; background: #fff; border: 0.5px solid var(--gwg-border); border-radius: 12px; padding: 22px; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.gwg-card:hover { box-shadow: 0 6px 22px rgba(3,26,48,0.10); transform: translateY(-2px); }
.gwg-card h3 { font-size: 17px; margin: 0 0 8px; }
.gwg-card p { color: #5F5E5A; font-size: 14px; line-height: 1.7; margin: 0; }
.gwg-tag { display: inline-block; background: #E1F5EE; color: #0F6E56; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }

/* 關於 */
.gwg-about { max-width: 900px; margin: 0 auto; padding: 56px 20px; }
.gwg-about p { color: #3A3A38; font-size: 16px; line-height: 1.9; margin: 18px 0 24px; }

/* CTA 帶 */
.gwg-ctaband { background: var(--gwg-teal); padding: 40px 20px; display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.gwg-ctaband h2 { color: #fff; font-size: 24px; }
.gwg-ctaband p { color: #9FE1CB; margin: 6px 0 0; }

/* 下載中心 */
.gwg-dl__grp { font-size: 22px; color: #fff; background: var(--gwg-navy-deep); display: inline-block; padding: 7px 20px; border-radius: 8px; margin: 30px 0 16px; }
.gwg-dl__grp:first-child { margin-top: 0; }
.gwg-dl__group { margin-bottom: 22px; }
.gwg-dl__empty { color: #9a9a96; font-size: 14px; padding: 4px 2px 2px; margin: 0; }
.gwg-dl__cat { font-size: 18px; color: var(--gwg-navy-deep); margin: 0 0 12px; padding-left: 14px; position: relative; }
.gwg-dl__cat::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 5px; border-radius: 3px; background: var(--gwg-blue); }
.gwg-dl__list { list-style: none; margin: 0; padding: 0; }
.gwg-dl__item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--gwg-border); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.gwg-dl__ic { flex-shrink: 0; width: 46px; height: 30px; display: flex; align-items: center; justify-content: center; background: #FCEBEB; color: #A32D2D; font-size: 11px; font-weight: 500; border-radius: 6px; }
.gwg-dl__name { flex: 1; color: #2C2C2A; font-size: 15px; }
.gwg-dl__name em { color: #8A8A86; font-size: 13px; font-style: normal; }
.gwg-dl__btn { flex-shrink: 0; background: var(--gwg-blue); color: #fff; text-decoration: none; padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.gwg-dl__btn:hover { background: var(--gwg-navy-deep); color: #fff; }
@media (max-width: 520px){ .gwg-dl__item { flex-wrap: wrap; } .gwg-dl__name { flex-basis: 100%; order: 2; } }

/* KAIWA 試用申請框 */
.gwg-trial { border: 1px solid #CFE0F0; background: #F4F8FC; border-radius: 14px; padding: 24px 26px; margin: 26px 0 8px; }
.gwg-trial__head h3 { margin: 0 0 6px; font-size: 20px; color: var(--gwg-navy-deep); }
.entry-content .gwg-trial__head p { margin: 0 0 14px; font-size: 14px; color: #5F5E5A; }
.gwg-trial .gwg-form { margin-top: 0; }

/* 聯絡 / 合作表單 */
.gwg-form { max-width: 720px; margin: 8px 0 0; }
.gwg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gwg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gwg-form__field { margin-bottom: 14px; }
.gwg-form__field label { display: block; font-size: 13px; color: var(--gwg-navy); margin-bottom: 5px; font-weight: 500; }
.gwg-form__field label span { color: #E24B4A; }
.gwg-form input, .gwg-form select, .gwg-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 15px;
  border: 1px solid var(--gwg-border); border-radius: 8px; background: #fff; color: #2C2C2A; font-family: inherit;
}
.gwg-form input:focus, .gwg-form select:focus, .gwg-form textarea:focus { outline: none; border-color: var(--gwg-blue); box-shadow: 0 0 0 3px rgba(12,68,124,0.12); }
.gwg-form textarea { resize: vertical; }
.gwg-form__submit {
  background: var(--gwg-blue); color: #fff; border: 0; border-radius: 8px;
  padding: 12px 34px; font-size: 16px; font-weight: 500; cursor: pointer; margin-top: 4px;
}
.gwg-form__submit:hover { background: var(--gwg-navy-deep); }
.gwg-form__note { font-size: 12px; color: #8A8A86; margin-top: 10px; }
.gwg-form-ok {
  background: #EAF3DE; border: 1px solid #C0DD97; color: #3B6D11;
  border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; line-height: 1.7;
}
@media (max-width: 560px){ .gwg-form__row { grid-template-columns: 1fr; } }

/* 聯絡頁 */
.gwg-contact { max-width: 720px; }
.gwg-contact__tbl { width: 100%; border-collapse: collapse; margin-top: 18px; }
.gwg-contact__tbl th { text-align: left; width: 130px; color: var(--gwg-navy); background: #EEF4F9; border: 1px solid var(--gwg-border); padding: 12px 14px; font-weight: 500; }
.gwg-contact__tbl td { border: 1px solid var(--gwg-border); padding: 12px 14px; }

@media (max-width: 640px) {
  .gwg-hero { padding: 48px 20px; }
  .gwg-hero__title { font-size: 30px; }
}

/* ============================================================
   產品 / 解決方案 封存頁(層次化卡片)
   ============================================================ */
.gwg-wrap { max-width: 1160px; margin: 0 auto; padding: 40px 20px 70px; }
.gwg-archive__head { margin: 8px 0 26px; }
.gwg-archive__head h1 { font-size: 30px; color: var(--gwg-navy-deep); margin: 0 0 8px; }
.gwg-archive__head p { color: #5F5E5A; font-size: 16px; margin: 0; max-width: 720px; }
.gwg-crumb { font-size: 13px; color: #7A7A76; margin: 0 0 22px; }
.gwg-crumb a { color: var(--gwg-blue); text-decoration: none; }
.gwg-subhead { font-size: 18px; color: var(--gwg-navy-deep); margin: 34px 0 16px; padding-left: 14px; position: relative; }
.gwg-subhead::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 5px; border-radius: 3px; background: var(--gwg-teal); }
.gwg-empty { color: #7A7A76; padding: 20px 0; }

/* 卡片(封存頁版:含縮圖)*/
.gwg-card--term, .gwg-card--post {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 0.5px solid var(--gwg-border); border-radius: 12px;
  text-decoration: none; transition: box-shadow .15s, transform .15s;
}
.gwg-card--term:hover, .gwg-card--post:hover { box-shadow: 0 8px 26px rgba(3,26,48,0.12); transform: translateY(-3px); }
.gwg-card__img {
  display: block; width: 100%; height: 170px;
  background-color: #EEF4F9; background-size: contain; background-position: center; background-repeat: no-repeat;
  border-bottom: 0.5px solid var(--gwg-border);
}
.gwg-card__img--empty {
  background-image: radial-gradient(rgba(12,68,124,0.10) 0.8px, transparent 0.8px);
  background-size: 16px 16px; background-repeat: repeat;
}
.gwg-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.gwg-card__body h3 { font-size: 17px; color: var(--gwg-navy-deep); margin: 0 0 8px; }
.gwg-card__body p { font-size: 14px; color: #5F5E5A; line-height: 1.7; margin: 0 0 14px; flex: 1; }
.gwg-card__more { font-size: 14px; font-weight: 500; color: var(--gwg-blue); }

/* 讓封存頁的 banner 上方留白一致 */
.gwg-archive .gwg-banner { margin-top: 0; }

/* ============================================================
   範例元件:文件預覽 (.gwg-doc) 與即時字幕 (.gwg-sub) / 截圖 (.gwg-shots)
   ============================================================ */
.entry-content .gwg-doc {
  border: 1px solid var(--gwg-border); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 6px 22px rgba(3,26,48,0.08); margin: 18px 0 8px;
}
.gwg-doc__bar { background: var(--gwg-navy-deep); color: #fff; padding: 11px 20px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.gwg-doc__bar b { font-weight: 500; }
.gwg-doc__tag { margin-left: auto; background: #EF9F27; color: #412402; font-size: 11px; padding: 2px 10px; border-radius: 20px; }
.gwg-doc__body { padding: 24px 28px; }
.gwg-doc__body h3 { margin: 0 0 4px; font-size: 19px; color: var(--gwg-navy-deep); }
.gwg-doc__body h4 { margin: 20px 0 8px; font-size: 15px; color: var(--gwg-teal); padding-left: 12px; border-left: 4px solid var(--gwg-teal); }
.gwg-doc__meta { font-size: 13px; color: #6A6A66; margin: 6px 0 4px; }
.entry-content .gwg-doc ul, .entry-content .gwg-doc ol { margin: 0 0 4px; padding-left: 4px; }
.entry-content .gwg-doc li { background: none; border: 0; border-radius: 0; padding: 4px 0 4px 18px; margin: 0; font-size: 14.5px; line-height: 1.7; list-style: none; position: relative; }
.entry-content .gwg-doc li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--gwg-blue); }
.gwg-doc__todo li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #EEF1F4 !important; padding: 9px 0 9px 18px !important; }
.gwg-doc__todo li span { color: #0F6E56; font-size: 13px; white-space: nowrap; }

/* 即時字幕 */
.gwg-sub-demo { margin: 16px 0; }
.gwg-sub {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--gwg-border);
  border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: #fff;
}
.gwg-sub__cell { padding: 13px 17px; }
.gwg-sub__cell + .gwg-sub__cell { border-left: 1px solid var(--gwg-border); background: #F5FAF8; }
.gwg-sub__lang { display: block; font-size: 11px; font-weight: 500; letter-spacing: .5px; margin-bottom: 5px; color: #185FA5; }
.gwg-sub__cell + .gwg-sub__cell .gwg-sub__lang { color: #0F6E56; }
.gwg-sub__txt { font-size: 15px; color: #2C2C2A; line-height: 1.6; }
.gwg-live { display: inline-flex; align-items: center; gap: 7px; background: #FCEBEB; color: #A32D2D; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.gwg-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E24B4A; }
@media (max-width: 560px){ .gwg-sub { grid-template-columns: 1fr; } .gwg-sub__cell + .gwg-sub__cell { border-left: 0; border-top: 1px solid var(--gwg-border); } }

/* 三語並排(中/英/日 各一份)*/
.gwg-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }
.gwg-tri__col { border: 1px solid var(--gwg-border); border-radius: 10px; overflow: hidden; background: #fff; }
.gwg-tri__head { padding: 9px 14px; font-size: 13px; font-weight: 500; color: #fff; }
.gwg-tri__col:nth-child(1) .gwg-tri__head { background: #0C447C; }
.gwg-tri__col:nth-child(2) .gwg-tri__head { background: #0F6E56; }
.gwg-tri__col:nth-child(3) .gwg-tri__head { background: #854F0B; }
.gwg-tri__body { padding: 14px 16px; font-size: 13.5px; line-height: 1.7; color: #2C2C2A; }
.gwg-tri__body b { color: var(--gwg-navy-deep); display: block; margin-bottom: 4px; }
.gwg-tri__body ul { margin: 6px 0 0; padding: 0; }
.gwg-tri__body li { list-style: none; padding: 4px 0 4px 16px; position: relative; background: none; border: 0; margin: 0; font-size: 13px; }
.gwg-tri__body li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
@media (max-width: 720px){ .gwg-tri { grid-template-columns: 1fr; } }

/* 流程步驟圖(自訂,無客戶資料)*/
.gwg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; counter-reset: gwgstep; }
.gwg-step { position: relative; background: #fff; border: 1px solid var(--gwg-border); border-radius: 12px; padding: 16px 16px 16px 16px; }
.gwg-step::before { counter-increment: gwgstep; content: counter(gwgstep); position: absolute; top: -12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--gwg-blue); color: #fff; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.gwg-step h4 { margin: 8px 0 5px; font-size: 15px; color: var(--gwg-navy-deep); }
.entry-content .gwg-step p { margin: 0; font-size: 13px; color: #5F5E5A; line-height: 1.65; }
.gwg-steps--flow .gwg-step:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--gwg-blue-soft); font-size: 16px; z-index: 2; }

/* 指標數字帶(PoC 成果等)*/
.gwg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 16px 0; }
.gwg-stat { background: #F1F9F6; border: 1px solid #DDEBE4; border-radius: 12px; padding: 18px 20px; text-align: center; }
.gwg-stat b { display: block; font-size: 30px; font-weight: 700; color: var(--gwg-teal); line-height: 1.1; }
.gwg-stat span { display: block; font-size: 13px; color: #5F5E5A; margin-top: 6px; }

/* 多場景範例卡 */
.gwg-ex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0; }
.gwg-ex { border: 1px solid var(--gwg-border); border-radius: 10px; padding: 16px 18px; background: #fff; }
.gwg-ex__badge { display: inline-block; background: #E6F1FB; color: #0C447C; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.gwg-ex h4 { margin: 0 0 6px; font-size: 15px; color: var(--gwg-navy-deep); }
.entry-content .gwg-ex p { margin: 0; font-size: 13px; color: #5F5E5A; line-height: 1.75; }
.gwg-ex__meta { font-size: 12px; color: #8A8A86; margin-bottom: 8px !important; }

/* 截圖並排 */
.gwg-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.gwg-shots figure { margin: 0; }
.gwg-shots img { width: 100%; border: 1px solid var(--gwg-border); border-radius: 10px; }
.gwg-shots figcaption { font-size: 13px; color: #6A6A66; margin-top: 6px; text-align: center; }

/* ===== AoI 應用案例卡片 ===== */
.gwg-cases{display:flex;flex-direction:column;gap:16px;margin:18px 0}
.gwg-case{border:1px solid #E3E6EA;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 3px rgba(3,26,48,.05)}
.gwg-case__hd{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(90deg,#031A30,#0C447C);padding:12px 18px}
.gwg-case__hd h3{margin:0;color:#fff;font-size:17px}
.gwg-case__kpi{background:#EF9F27;color:#031A30;font-weight:700;font-size:13px;padding:4px 12px;border-radius:20px;white-space:nowrap}
.gwg-case__body{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px 18px}
.gwg-case__col h4{margin:0 0 8px;font-size:14px;color:#0F6E56;border-left:3px solid #0F6E56;padding-left:8px}
.gwg-case__col ul{margin:0;padding-left:18px}
.gwg-case__col li{font-size:14px;line-height:1.7;color:#31363B;margin-bottom:4px}
@media(max-width:640px){.gwg-case__body{grid-template-columns:1fr;gap:12px}}

/* ===== 檢測影像三圖並排 ===== */
.gwg-shots--3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.gwg-shots--3 figure{margin:0}
.gwg-shots--3 img{width:100%;border-radius:8px;border:1px solid #E3E6EA;background:#0b0b0b}
.gwg-shots--3 figcaption{font-size:12.5px;color:#5A5F64;margin-top:6px;text-align:center;line-height:1.5}
@media(max-width:640px){.gwg-shots--3{grid-template-columns:1fr}}

/* ===== AI 發票彙整:左文右圖 ===== */
.gwg-inv{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;margin:16px 0}
.gwg-inv__list ul{margin:0 0 8px;padding-left:18px}
.gwg-inv__list li{font-size:15px;line-height:1.8;margin-bottom:6px}
.gwg-inv__img{margin:0;text-align:center}
.gwg-inv__img img{max-width:320px;width:100%;border:1px solid #E3E6EA;border-radius:8px;box-shadow:0 2px 10px rgba(3,26,48,.1)}
.gwg-inv__img figcaption{font-size:12px;color:#5A5F64;margin-top:6px;max-width:320px;line-height:1.5}
@media(max-width:640px){.gwg-inv{grid-template-columns:1fr}.gwg-inv__img img{max-width:260px}}

/* ===== 發票總表 Excel 樣式 ===== */
.gwg-xlsx{border:1px solid #C9D3CB;border-radius:8px;overflow:hidden;margin:14px 0;box-shadow:0 2px 10px rgba(3,26,48,.08)}
.gwg-xlsx__bar{background:#217346;color:#fff;font-weight:600;font-size:14px;padding:9px 14px;display:flex;align-items:center;gap:8px}
.gwg-xlsx__bar::before{content:"▦";font-size:15px}
.gwg-xlsx table{width:100%;border-collapse:collapse;font-size:13.5px;background:#fff}
.gwg-xlsx th{background:#EAF3EC;color:#1d3a2a;font-weight:600;text-align:left;padding:8px 12px;border:1px solid #D7E3DA;white-space:nowrap}
.gwg-xlsx td{padding:7px 12px;border:1px solid #E6ECE8}
.gwg-xlsx td.num{text-align:right;font-variant-numeric:tabular-nums}
.gwg-xlsx tr:nth-child(even) td{background:#F7FAF8}
.gwg-xlsx__note{font-size:12.5px;color:#5A5F64;padding:8px 14px;background:#fbfdfb;border-top:1px solid #E6ECE8}
@media(max-width:640px){.gwg-xlsx{overflow-x:auto}.gwg-xlsx table{min-width:560px}}

/* ===== 全寬 UI 截圖 ===== */
.gwg-shot{margin:16px 0}
.gwg-shot img{width:100%;border:1px solid #33404d;border-radius:8px;box-shadow:0 3px 14px rgba(3,26,48,.16);background:#0b0f18}
.gwg-shot figcaption{font-size:12.5px;color:#5A5F64;margin-top:7px;text-align:center;line-height:1.6}
