/* ============================================
   MODE: ANTIFRAUD (/antifraud)
   115 年斥詐好人隊－防詐宣導種子講師培訓【團體組】
   ---------------------------------------------
   只放 guide.css 沒有的東西；其餘一律沿用
   base.css + guide.css 的 .card / .g-list / .cat-*
   / .tl-* / .g-table / .warn-box / .next-* 類別。
   ============================================ */

/* 辦理單位：這不是青年署的計畫，位置放在最前面先講清楚。
   兩個單位名稱是這一段最該被看見的字，所以拆成 key/value 兩欄
   （沿用 .cat-key 的視覺），補充說明退到虛線下面。 */
.org-note {
    background: var(--surface);
    border: var(--border);
    border-left: 8px solid var(--warn);
    box-shadow: 5px 5px 0 var(--ink);
    padding: 20px 20px 18px;
    margin: 0 0 26px;
}
.org-title {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--sub-ink);
    margin-bottom: 16px;
}
.org-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.org-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.org-key {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--surface);
    background: var(--sub-ink);
    padding: 3px 8px;
    flex-shrink: 0;
    min-width: 72px;
    text-align: center;
}
.org-val {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    line-height: 1.4;
}
.org-foot {
    border-top: 2px dashed #ccc;
    padding-top: 14px;
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--sub-ink);
}
.org-foot p { margin: 0 0 6px; }
.org-foot p:last-child { margin-bottom: 0; }
.org-foot strong { color: var(--ink); font-weight: 900; }

/* 報名信範本 */
.mail-block {
    background: var(--ink);
    color: #eee;
    border: var(--border);
    box-shadow: 5px 5px 0 var(--neon);
    padding: 18px 16px;
    font-family: var(--mono);
    font-size: 0.85rem;
    line-height: 1.9;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0 0 12px;
}
.mail-block .mail-key { color: var(--neon); font-weight: 700; }

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 14px;
    background: var(--surface);
    color: var(--ink);
    border: var(--border);
    box-shadow: 3px 3px 0 var(--ink);
    cursor: pointer;
    transition: 0.15s;
}
.copy-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.copy-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.copy-btn.is-done { background: var(--neon); }

/* 經費試算：純算術，跟簡章金額分開呈現，避免看成簡章原文 */
.calc-box {
    background: #fafafa;
    border: 2px dashed #bbb;
    padding: 16px 18px;
    margin-top: 22px;
    font-size: 0.95rem;
    line-height: 1.9;
}
.calc-box p { margin: 0 0 8px; }
.calc-box .calc-title {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sub-ink);
    margin-bottom: 10px;
}

/* 實施流程表的第一欄是「報名／培訓／審查」這類短標籤，
   欄寬被內容多的第三欄擠掉時會變成一字一行的直排，這裡固定住。 */
#mode-antifraud .g-table th:first-child,
#mode-antifraud .g-table td:first-child { white-space: nowrap; }

/* 文件下載：站上 /close 已有 .dg-dl 這套視覺，但那支樣式在 close.css，
   這頁沒載，所以在這裡重寫一份同語彙的。 */
.dl-list { display: flex; flex-direction: column; gap: 12px; }
.dl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px;
    background: var(--surface);
    border: var(--border);
    box-shadow: 4px 4px 0 var(--ink);
    text-decoration: none;
    color: inherit;
    transition: 0.16s ease-out;
}
.dl-item:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.dl-item:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.dl-item > i {
    font-size: 2rem;
    color: var(--alert);
    flex-shrink: 0;
}
.dl-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.dl-name { font-size: 1rem; font-weight: 900; line-height: 1.45; }
.dl-sub {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--sub-ink);
    line-height: 1.6;
}
.dl-arrow { font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }

@media (max-width: 520px) {
    .dl-item { gap: 10px; padding: 14px 12px; }
    .dl-item > i { font-size: 1.6rem; }
    .dl-name { font-size: 0.94rem; }
}
