/* 藝誠官網：專屬 AI 小幫手的說明（section/EZTRUST-093，2026-11-29）。顏色照官網新版（藍 #0b5bd3、強調橘 #f07c1b），和客製化網站頁的常見問題（EZTRUST-026）同一套 */
.ezt-aiasst { --ai-blue: #0b5bd3; --ai-ink: #0c244a; --ai-muted: #4a5b73; --ai-line: #dbe6f3;
    padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 56px); background: linear-gradient(170deg, #f3f8ff, #ffffff 70%); box-shadow: 0 0 0 100vmax #f7faff; clip-path: inset(0 -100vmax);
    color: var(--ai-ink); font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
.ezt-aiasst *, .ezt-aiasst *::before { box-sizing: border-box; }
.ezt-aiasst__in { max-width: 1200px; margin: 0 auto; }
.ezt-aiasst__head { max-width: 860px; }
.ezt-aiasst__eyebrow { margin: 0 0 8px; color: var(--ai-blue); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.ezt-aiasst__head h2 { margin: 0; font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; line-height: 1.3; text-wrap: balance; }
.ezt-aiasst__head h2 span { color: var(--ai-blue); }
.ezt-aiasst__intro { margin: 14px 0 0; color: var(--ai-muted); font-size: 16.5px; line-height: 1.85; }
.ezt-aiasst__intro strong { color: #d9650a; }
.ezt-aiasst__sub { margin: clamp(28px, 3vw, 40px) 0 16px; font-size: 20px; font-weight: 800; }
.ezt-aiasst__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ezt-aiasst__steps li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--ai-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px #1734510f; }
.ezt-aiasst__steps li + li::before { content: ""; position: absolute; left: -15px; top: 46px; width: 12px; height: 12px; border-top: 2px solid #9cc4ff; border-right: 2px solid #9cc4ff; rotate: 45deg; }
.ezt-aiasst__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e9f2fd; color: var(--ai-blue); }
.ezt-aiasst__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ezt-aiasst__no { display: block; margin-top: 16px; color: #f07c1b; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ezt-aiasst__steps b { display: block; margin-top: 4px; font-size: 18px; line-height: 1.45; }
.ezt-aiasst__steps p { margin: 8px 0 0; color: var(--ai-muted); font-size: 15px; line-height: 1.8; }
.ezt-aiasst__note { margin: 22px 0 0; padding: 14px 18px; border-left: 4px solid #f07c1b; border-radius: 0 12px 12px 0; background: #fff6ee; color: #5b4636; font-size: 15px; line-height: 1.8; }
.ezt-aiasst__note strong { color: #c55a05; }
@media (max-width: 860px) {
    .ezt-aiasst__steps { grid-template-columns: 1fr; }
    .ezt-aiasst__steps li + li::before { display: none; }
}
/* 說明圖（2026-11-29）：說明與三個階段之間，圓角、淡陰影 */
.ezt-aiasst__figure { margin: clamp(22px, 2.6vw, 34px) 0 0; }
.ezt-aiasst__figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 34px #17345126; }
@media (max-width: 575.98px) { .ezt-aiasst__figure img { border-radius: 14px; } }

/* 清單樣式「重點」：並列的理由，不要箭頭；標題往上一點 */
.ezt-aiasst.is-points .ezt-aiasst__steps li + li::before { display: none; }
.ezt-aiasst.is-points .ezt-aiasst__steps b { margin-top: 16px; }

/* 2026-11-29 負責人：階段卡片上方的圖，從上往下淡出，圖示與文字疊在淡出的地方 */
.ezt-aiasst__steps li.has-pic { padding-top: 0; }
.ezt-aiasst__pic { display: block; width: calc(100% + 48px); max-width: none; height: 230px; margin: 0 -24px -86px; border-radius: 17px 17px 0 0; object-fit: cover; object-position: center 40%;
    -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); mask-image: linear-gradient(#000 45%, transparent 100%); }
.ezt-aiasst__steps li.has-pic .ezt-aiasst__ico { background: #fff; box-shadow: 0 6px 16px #17345118; }
.ezt-aiasst__steps li.has-pic > :not(.ezt-aiasst__pic) { position: relative; }
.ezt-aiasst__steps li.has-pic + li::before { z-index: 1; }
@media (max-width: 900px) { .ezt-aiasst__pic { height: 200px; } }

/* 2026-11-29 負責人：「圖的排法」框在卡片裡：圓角圖、四周留白，字不壓在圖上，不放圖示；圖照原本的比例（同一個區塊的三張圖比例要一樣） */
.ezt-aiasst__steps li.is-frame { padding: 16px 16px 24px; }
.ezt-aiasst__steps li.is-frame .ezt-aiasst__pic { width: 100%; height: auto; aspect-ratio: auto; margin: 0 0 18px; border-radius: 12px; -webkit-mask-image: none; mask-image: none; }
.ezt-aiasst__steps li.is-frame .ezt-aiasst__ico { display: none; }
.ezt-aiasst__steps li.is-frame > :not(.ezt-aiasst__pic) { margin-left: 8px; margin-right: 8px; }
.ezt-aiasst.is-points .ezt-aiasst__steps li.is-frame b, .ezt-aiasst__steps li.is-frame b { margin-top: 0; }
/* 2026-11-29 負責人：和下一塊的間距太高，下方留白縮小（上方不變） */
/* 2026-11-29：剛好 4 個階段時電腦排成一排（「網站新做或改版，四個步驟」） */
@media (min-width: 992px) { .ezt-aiasst__steps:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
