/* ============================================================
   Lecture · 패키징 — 매뉴얼·릴리스 노트·빌드 자동화 (CI/CD) — slide layout extensions
   Builds on /colors_and_type.css and /slides/_slide.css
   ─ 코어(_slide.css)에 이미 승격된 컴포넌트는 재정의하지 않음:
     def-box · metaphor · mnemonic · real · pass-tip
     · cmp-tbl · trap-row · q-source · tbl.compact · callout.compact · choices
   ─ 여기에는 본 강의 신규/특수 컴포넌트만 정의.
   ============================================================ */

/* ---------- 학습 목표 grid (obj-grid) — 공통 패턴 ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.obj-item {
  display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center;
  padding: 11px 15px; background: var(--ink-50); border: 1.5px solid var(--ink-200); border-radius: 12px;
}
.obj-item.span2 { grid-column: 1 / -1; }
.obj-item .badge {
  width: 42px; height: 42px; background: var(--eduwill-yellow); color: var(--ink-1000);
  display: grid; place-items: center; font: 800 21px/1 var(--font-sans); border-radius: 10px;
}
.obj-item h3 { margin: 0; font: 800 15.5px/1.15 var(--font-sans); color: var(--ink-1000); }
.obj-item p { margin: 3px 0 0; font-size: 12px; color: var(--ink-700); line-height: 1.4; }

/* ---------- 3분할 카드 (class3) — 로드맵·총정리 ---------- */
.class3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.class3 .cls { border: 1.5px solid var(--ink-200); border-radius: 12px; overflow: hidden; background: white; }
.class3 .cls .hd {
  background: var(--ink-1000); color: white; padding: 12px 16px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.class3 .cls .hd .nm { font: 800 18px/1 var(--font-sans); }
.class3 .cls .hd .cnt { font: 900 30px/1 var(--font-sans); color: var(--eduwill-yellow); }
.class3 .cls .bd { padding: 13px 16px; }
.class3 .cls .bd .goal { font-size: 13.5px; font-weight: 700; color: var(--ink-700); line-height: 1.4; }
.class3 .cls .bd .mn { margin-top: 8px; font: 800 16px/1.3 var(--font-sans); color: var(--ink-1000); letter-spacing: -0.01em; }

/* ---------- dense table — 8행 이상 표 행높이 압축 ---------- */
.tbl.compact.dense { font-size: 13.5px; }
.tbl.compact.dense tbody td { padding: 6px 14px; line-height: 1.3; }
.tbl.compact.dense thead th { padding: 8px 14px; font-size: 13px; }
.tbl.compact.dense.xs { font-size: 12.5px; }
.tbl.compact.dense.xs tbody td { padding: 4.5px 12px; }
.tbl.compact.dense.xs thead th { padding: 6px 12px; font-size: 12px; }

/* ============================================================
   flow — 단계 흐름도 (세로 번호 스텝, 컴팩트). 화살표는 행 사이 자동 코넥터.
   ============================================================ */
.flow { display: flex; flex-direction: column; gap: 6px; }
.flow .step {
  display: flex; align-items: center; gap: 13px; padding: 8px 15px;
  background: var(--ink-50); border: 1.5px solid var(--ink-200); border-radius: 10px;
}
.flow .step .n {
  width: 27px; height: 27px; flex-shrink: 0; background: var(--ink-1000); color: var(--eduwill-yellow);
  display: grid; place-items: center; border-radius: 7px; font: 800 14px/1 var(--font-sans);
}
.flow .step .nm { font: 800 14.5px/1.2 var(--font-sans); color: var(--ink-1000); min-width: 116px; }
.flow .step .ds { font-size: 13px; color: var(--ink-700); line-height: 1.35; }
.flow .step.hot { background: var(--eduwill-yellow-50); border-color: var(--eduwill-yellow); }
.flow.tight { gap: 4px; }
.flow.tight .step { padding: 6px 14px; }

/* ---------- flowh — 가로 파이프라인 칩 (짧은 흐름 한 줄) ---------- */
.flowh { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.flowh .node {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 10px 16px; background: var(--ink-1000); color: white; border-radius: 10px;
  font: 800 14px/1.2 var(--font-sans); text-align: center;
}
.flowh .node small { display: block; font-weight: 600; font-size: 11px; color: var(--eduwill-yellow); }
.flowh .node.lite { background: var(--ink-50); color: var(--ink-1000); border: 1.5px solid var(--ink-200); }
.flowh .node.lite small { color: var(--ink-500); }
.flowh .ar { display: flex; align-items: center; padding: 0 10px; color: var(--ink-400); font-size: 20px; font-weight: 800; }

/* ============================================================
   call-map — Jenkins(오케스트라) → 호출 도구 구조 (1 caller → N callee)
   ============================================================ */
.call-map { display: flex; flex-direction: column; gap: 10px; }
.call-map .caller {
  align-self: center; padding: 12px 28px; background: var(--ink-1000); color: white;
  border-radius: 12px; font: 800 18px/1.2 var(--font-sans); text-align: center;
}
.call-map .caller b { color: var(--eduwill-yellow); }
.call-map .callees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.call-map .callee {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--ink-50); border: 1.5px solid var(--ink-200); border-radius: 10px; font-size: 14px;
}
.call-map .callee .ar { color: var(--ok-600); font-weight: 800; }
.call-map .callee b { color: var(--ink-1000); }

/* ---------- code 라벨 오버라이드 (data-lbl 로 XML/GROOVY/PIPELINE 등 표기) ---------- */
.code[data-lbl]::before { content: attr(data-lbl); }

/* ---------- 2-up 컬럼 (Maven|Gradle 단독 시그니처 등) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

/* ---------- utility ---------- */
.cap { font-size: 12px; color: var(--ink-500); }
.lead { font-size: 15px; line-height: 1.55; color: var(--ink-800); }
.lead b { color: var(--ink-1000); }
