/**
 * Ttobagi meeting speech — scoped styles (prefix ttbmt-).
 * Loaded only when [ttobagi_meeting_speech] renders. Do not share selectors with ttbsg-, ttbwk-, or ttbsn-.
 */

.ttbmt-root *,
.ttbmt-root *::before,
.ttbmt-root *::after {
  box-sizing: border-box;
}

.ttbmt-root img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ttbmt-root ul,
.ttbmt-root ol,
.ttbmt-root dl {
  margin: 0;
  padding: 0;
}

.ttbmt-root h1,
.ttbmt-root h2,
.ttbmt-root h3,
.ttbmt-root p,
.ttbmt-root li,
.ttbmt-root dt,
.ttbmt-root dd {
  margin: 0;
}

.ttbmt-root {
  --ttbmt-navy: #002046;
  --ttbmt-navy-dark: #001a38;
  --ttbmt-gray-bg: #f5f6f8;
  --ttbmt-gray-border: #d8dce3;
  --ttbmt-text: #1a1a1a;
  --ttbmt-text-muted: #444;
  --ttbmt-white: #fff;
  --ttbmt-page-width: 1000px;
  --ttbmt-card-number-width: 52px;

  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ttbmt-text);
  background: var(--ttbmt-white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ttbmt-root .ttbmt-page {
  width: 100%;
  max-width: var(--ttbmt-page-width);
  margin: 0 auto;
  background: var(--ttbmt-white);
  word-break: keep-all;
}

.ttbmt-root .ttbmt-page h1,
.ttbmt-root .ttbmt-page h2,
.ttbmt-root .ttbmt-page h3,
.ttbmt-root .ttbmt-page p,
.ttbmt-root .ttbmt-page li,
.ttbmt-root .ttbmt-page dt,
.ttbmt-root .ttbmt-page dd {
  word-break: keep-all;
}

/* ── Hero ── */
.ttbmt-root .ttbmt-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  background: var(--ttbmt-navy);
  color: var(--ttbmt-white);
}

.ttbmt-root .ttbmt-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px 40px 44px;
}

.ttbmt-root .ttbmt-hero-academy {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 0.95;
  color: #fff;
}

.ttbmt-root .ttbmt-hero-subtitle {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.ttbmt-root .ttbmt-hero-title {
  margin: 0 0 20px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #fff;
}

.ttbmt-root .ttbmt-hero-desc {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 420px;
  color: #fff;
}

.ttbmt-root .ttbmt-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.ttbmt-root .ttbmt-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* ── Overview ── */
.ttbmt-root .ttbmt-overview {
  background: var(--ttbmt-white);
  padding: 28px 40px 32px;
}

.ttbmt-root .ttbmt-overview-inner {
  background: transparent;
  padding: 0;
}

.ttbmt-root .ttbmt-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.ttbmt-root .ttbmt-overview-col:not(.ttbmt-overview-col--boxed) {
  padding: 22px 4px 0;
}

.ttbmt-root .ttbmt-overview-col--boxed {
  background: #f8f9fb;
  border: 1px solid #e6eaef;
  border-radius: 10px;
  padding: 22px 20px 24px;
}

.ttbmt-root .ttbmt-overview-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ttbmt-root .ttbmt-overview-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ttbmt-root .ttbmt-overview-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(8%) sepia(90%) saturate(2000%) hue-rotate(190deg)
    brightness(20%) contrast(95%);
}

.ttbmt-root .ttbmt-overview-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ttbmt-navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ttbmt-root .ttbmt-overview-kv {
  margin: 0;
  padding: 0;
  width: 100%;
}

.ttbmt-root .ttbmt-overview-kv-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  column-gap: 8px;
  align-items: baseline;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.55;
}

.ttbmt-root .ttbmt-overview-kv-row:last-child {
  margin-bottom: 0;
}

.ttbmt-root .ttbmt-overview-kv dt {
  margin: 0;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.ttbmt-root .ttbmt-overview-kv dd {
  margin: 0;
  font-weight: 400;
  color: #333;
}

.ttbmt-root .ttbmt-overview-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttbmt-root .ttbmt-overview-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #444;
  line-height: 1.55;
}

.ttbmt-root .ttbmt-overview-list li:last-child {
  margin-bottom: 0;
}

.ttbmt-root .ttbmt-overview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #222;
  transform: translateY(-50%);
}

/* ── Curriculum ── */
.ttbmt-root .ttbmt-curriculum {
  padding: 36px 32px 40px;
}

.ttbmt-root .ttbmt-curriculum-title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ttbmt-navy);
  letter-spacing: -0.03em;
}

.ttbmt-root .ttbmt-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ttbmt-root .ttbmt-session-card {
  display: grid;
  grid-template-columns: var(--ttbmt-card-number-width) 1fr;
  border: 1px solid var(--ttbmt-gray-border);
  background: var(--ttbmt-white);
  min-height: 175px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ttbmt-root .ttbmt-session-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ttbmt-navy);
  color: var(--ttbmt-white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ttbmt-root .ttbmt-session-body {
  padding: 14px 16px 14px 14px;
  position: relative;
}

.ttbmt-root .ttbmt-session-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  color: var(--ttbmt-navy);
}

.ttbmt-root .ttbmt-session-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(8%) sepia(90%) saturate(2000%) hue-rotate(190deg)
    brightness(20%) contrast(95%);
}

.ttbmt-root .ttbmt-session-title {
  margin: 0 36px 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ttbmt-navy);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.ttbmt-root .ttbmt-session-list {
  margin: 0;
  padding: 0 0 0 14px;
  list-style: disc;
}

.ttbmt-root .ttbmt-session-list li {
  margin-bottom: 3px;
  font-size: 12px;
  color: var(--ttbmt-text-muted);
  line-height: 1.45;
}

/* ── Materials ── */
.ttbmt-root .ttbmt-materials {
  background: var(--ttbmt-navy);
  color: var(--ttbmt-white);
  padding: 28px 40px 32px;
}

.ttbmt-root .ttbmt-materials-title {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.ttbmt-root .ttbmt-materials-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.ttbmt-root .ttbmt-materials-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 160px;
}

.ttbmt-root .ttbmt-materials-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.ttbmt-root .ttbmt-materials-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ttbmt-root .ttbmt-materials-label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.95;
  color: #fff;
}

/* ── Effects ── */
.ttbmt-root .ttbmt-effects {
  background: var(--ttbmt-white);
  padding: 0;
}

.ttbmt-root .ttbmt-effects-inner {
  padding: 34px 40px 44px;
}

.ttbmt-root .ttbmt-effects-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ttbmt-navy);
  letter-spacing: -0.03em;
}

.ttbmt-root .ttbmt-effects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.ttbmt-root .ttbmt-effects-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ttbmt-root .ttbmt-effects-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ttbmt-root .ttbmt-effects-check {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--ttbmt-navy);
  position: relative;
}

.ttbmt-root .ttbmt-effects-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--ttbmt-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ttbmt-root .ttbmt-effects-text {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  font-weight: 400;
}

/* SVG icon tint for overview */
.ttbmt-root .ttbmt-icon--navy path {
  fill: currentColor;
}

/* ── Mobile & Tablet ── */
@media (max-width: 767px) {
/* Hero: 좌 텍스트(네이비) + 우 비주얼(오른쪽 고정·왼쪽 페이드) — 참고 배너와 동일 구조 */
.ttbmt-root .ttbmt-hero {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    min-height: clamp(200px, 52vw, 280px);
    align-items: stretch;
  }

.ttbmt-root .ttbmt-hero-content {
    order: 0;
    padding: 20px 12px 20px 16px;
    background: var(--ttbmt-navy);
    z-index: 2;
  }

.ttbmt-root .ttbmt-hero-visual {
    order: 0;
    position: relative;
    min-height: 0;
    height: auto;
    align-self: stretch;
    background: var(--ttbmt-navy);
    overflow: hidden;
  }

.ttbmt-root .ttbmt-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to right,
      var(--ttbmt-navy) 0%,
      var(--ttbmt-navy) 6%,
      rgba(0, 32, 70, 0.95) 22%,
      rgba(0, 32, 70, 0.55) 48%,
      rgba(0, 32, 70, 0.15) 72%,
      transparent 100%
    );
  }

.ttbmt-root .ttbmt-hero-visual img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: none;
    mask-image: none;
  }

.ttbmt-root .ttbmt-hero-academy {
    font-size: 10px;
    margin-bottom: 8px;
  }

.ttbmt-root .ttbmt-hero-subtitle {
    font-size: 12px;
    margin-bottom: 4px;
  }

.ttbmt-root .ttbmt-hero-title {
    font-size: clamp(16px, 4.6vw, 22px);
    margin-bottom: 10px;
    line-height: 1.25;
  }

.ttbmt-root .ttbmt-hero-desc {
    max-width: none;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.5;
    opacity: 0.9;
  }

.ttbmt-root .ttbmt-overview {
    padding: 24px 16px 28px;
  }

.ttbmt-root .ttbmt-overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

.ttbmt-root .ttbmt-overview-col:not(.ttbmt-overview-col--boxed) {
    padding: 0;
  }

.ttbmt-root .ttbmt-overview-col--boxed {
    padding: 20px 16px 22px;
  }

.ttbmt-root .ttbmt-overview-kv-row {
    grid-template-columns: 76px 1fr;
    column-gap: 10px;
  }

.ttbmt-root .ttbmt-overview-kv dt {
    white-space: normal;
  }

.ttbmt-root .ttbmt-curriculum {
    padding: 28px 16px 32px;
  }

.ttbmt-root .ttbmt-curriculum-title {
    font-size: 18px;
    margin-bottom: 18px;
  }

.ttbmt-root .ttbmt-curriculum-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

.ttbmt-root .ttbmt-session-card {
    min-height: auto;
  }

.ttbmt-root .ttbmt-session-body {
    padding: 14px 14px 16px 12px;
  }

.ttbmt-root .ttbmt-session-title {
    margin-right: 44px;
    font-size: 13px;
  }

.ttbmt-root .ttbmt-materials {
    padding: 24px 16px 28px;
  }

.ttbmt-root .ttbmt-materials-title {
    font-size: 17px;
    margin-bottom: 20px;
  }

.ttbmt-root .ttbmt-materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    justify-items: center;
  }

.ttbmt-root .ttbmt-materials-item {
    max-width: none;
    width: 100%;
  }

.ttbmt-root .ttbmt-materials-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

.ttbmt-root .ttbmt-materials-label {
    font-size: 11px;
  }

.ttbmt-root .ttbmt-materials-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 160px;
  }

.ttbmt-root .ttbmt-effects-inner {
    padding: 28px 16px 36px;
  }

.ttbmt-root .ttbmt-effects-title {
    font-size: 18px;
    margin-bottom: 18px;
  }

.ttbmt-root .ttbmt-effects-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

.ttbmt-root .ttbmt-effects-col {
    gap: 12px;
  }

.ttbmt-root .ttbmt-effects-col + .ttbmt-effects-col {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
.ttbmt-root .ttbmt-hero {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    min-height: clamp(180px, 48vw, 240px);
  }

.ttbmt-root .ttbmt-hero-content {
    padding: 16px 10px 16px 14px;
  }

.ttbmt-root .ttbmt-hero-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

.ttbmt-root .ttbmt-hero-subtitle {
    font-size: 11px;
  }

.ttbmt-root .ttbmt-hero-desc {
    font-size: 10px;
  }

.ttbmt-root .ttbmt-hero-visual::before {
    background: linear-gradient(
      to right,
      var(--ttbmt-navy) 0%,
      var(--ttbmt-navy) 4%,
      rgba(0, 32, 70, 0.98) 18%,
      rgba(0, 32, 70, 0.6) 42%,
      transparent 78%
    );
  }

.ttbmt-root .ttbmt-overview-kv-row {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 12px;
  }

.ttbmt-root .ttbmt-overview-kv dt {
    font-size: 12px;
  }

.ttbmt-root .ttbmt-overview-kv dd {
    padding-left: 0;
    font-size: 13px;
  }

.ttbmt-root .ttbmt-materials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.ttbmt-root .ttbmt-session-number {
    font-size: 18px;
  }

.ttbmt-root .ttbmt-session-icon {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }
}

/* Materials: 5 items in one row on mid-size tablets */
@media (min-width: 768px) and (max-width: 900px) {
.ttbmt-root .ttbmt-materials-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 12px;
  }

.ttbmt-root .ttbmt-materials-item {
    flex: 0 1 calc(33.333% - 12px);
    max-width: 140px;
  }
}

@media (min-width: 768px) and (max-width: 999px) {
.ttbmt-root .ttbmt-overview {
    padding: 28px 24px 32px;
  }

.ttbmt-root .ttbmt-curriculum {
    padding: 32px 24px 36px;
  }

.ttbmt-root .ttbmt-materials {
    padding: 28px 24px 32px;
  }

.ttbmt-root .ttbmt-effects-inner {
    padding: 32px 24px 40px;
  }

.ttbmt-root .ttbmt-overview-grid {
    gap: 16px;
  }

.ttbmt-root .ttbmt-overview-col:not(.ttbmt-overview-col--boxed) {
    padding: 22px 0 0;
  }
}
