/**
 * Ttobagi docent speech — scoped styles (prefix ttbdc-).
 * Loaded only when [ttobagi_docent_speech] renders. Do not share selectors with other ttb* prefixes.
 */

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

.ttbdc-root img {
  display: block;
  max-width: 100%;
}

.ttbdc-root ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttbdc-root h1,
.ttbdc-root h2,
.ttbdc-root h3,
.ttbdc-root p,
.ttbdc-root li,
.ttbdc-root span {
  margin: 0;
}

.ttbdc-root {
  --ttbdc-navy: #122340;
  --ttbdc-navy-dark: #0d1a30;
  --ttbdc-navy-light: #1a3050;
  --ttbdc-overview-bg: #f4f7fa;
  --ttbdc-card-border: #e2e8f0;
  --ttbdc-text-primary: #333333;
  --ttbdc-text-secondary: #555555;
  --ttbdc-text-muted: #666666;
  --ttbdc-white: #ffffff;
  --ttbdc-bullet-blue: #2b6cb0;
  --ttbdc-container-width: 1000px;
  --ttbdc-section-gap: 48px;
  --ttbdc-font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  display: block;
  width: 100%;
  max-width: var(--ttbdc-container-width);
  margin: 0 auto;
  font-family: var(--ttbdc-font-family);
  color: var(--ttbdc-text-primary);
  background: var(--ttbdc-white);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.ttbdc-root :is(h1, h2, h3, p, li, span) {
  word-break: keep-all;
}

/* ── Hero ── */
.ttbdc-root .ttbdc-hero {
  display: flex;
  min-height: 300px;
  overflow: hidden;
}

.ttbdc-root .ttbdc-hero-content {
  flex: 0 0 58%;
  background: var(--ttbdc-navy);
  padding: 44px 36px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ttbdc-white);
}

.ttbdc-root .ttbdc-hero-brand {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  opacity: 0.95;
}

.ttbdc-root .ttbdc-hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.ttbdc-root .ttbdc-hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 420px;
}

.ttbdc-root .ttbdc-hero-visual {
  flex: 1;
  position: relative;
  min-height: 300px;
}

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

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

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

.ttbdc-root .ttbdc-overview-column {
  padding: 24px 16px;
  min-height: 248px;
}

.ttbdc-root .ttbdc-overview-column--summary {
  background: var(--ttbdc-white);
  border-left: 5px solid var(--ttbdc-navy);
  padding: 24px 20px 24px 18px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(18, 35, 64, 0.08);
}

.ttbdc-root .ttbdc-overview-column:not(.ttbdc-overview-column--summary) {
  background: transparent;
  box-shadow: none;
}

.ttbdc-root .ttbdc-overview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ttbdc-root .ttbdc-overview-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-color: var(--ttbdc-navy);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.ttbdc-root .ttbdc-overview-icon--globe {
  mask-image: url("../docent-speech/icons/globe-check.svg");
  -webkit-mask-image: url("../docent-speech/icons/globe-check.svg");
}

.ttbdc-root .ttbdc-overview-icon--star {
  mask-image: url("../docent-speech/icons/badge-star.svg");
  -webkit-mask-image: url("../docent-speech/icons/badge-star.svg");
}

.ttbdc-root .ttbdc-overview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ttbdc-navy);
  letter-spacing: -0.02em;
}

.ttbdc-root .ttbdc-overview-list {
  list-style: none;
}

.ttbdc-root .ttbdc-overview-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ttbdc-text-secondary);
  margin-bottom: 4px;
}

.ttbdc-root .ttbdc-overview-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ttbdc-bullet-blue);
  font-weight: 700;
}

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

.ttbdc-root .ttbdc-curriculum-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ttbdc-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.ttbdc-root .ttbdc-session-card {
  display: flex;
  border: 1px solid var(--ttbdc-card-border);
  background: var(--ttbdc-white);
  min-height: 172px;
  overflow: hidden;
  border-radius: 2px;
}

.ttbdc-root .ttbdc-session-number {
  flex: 0 0 52px;
  background: var(--ttbdc-navy);
  color: var(--ttbdc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.ttbdc-root .ttbdc-session-body {
  flex: 1;
  padding: 16px 16px 16px 14px;
}

.ttbdc-root .ttbdc-session-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.ttbdc-root .ttbdc-session-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--ttbdc-navy);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.ttbdc-root .ttbdc-session-icon--user { mask-image: url("../docent-speech/icons/user.svg"); -webkit-mask-image: url("../docent-speech/icons/user.svg"); }
.ttbdc-root .ttbdc-session-icon--sound { mask-image: url("../docent-speech/icons/sound-wave.svg"); -webkit-mask-image: url("../docent-speech/icons/sound-wave.svg"); }
.ttbdc-root .ttbdc-session-icon--book { mask-image: url("../docent-speech/icons/book.svg"); -webkit-mask-image: url("../docent-speech/icons/book.svg"); }
.ttbdc-root .ttbdc-session-icon--chat { mask-image: url("../docent-speech/icons/chat.svg"); -webkit-mask-image: url("../docent-speech/icons/chat.svg"); }
.ttbdc-root .ttbdc-session-icon--clapper { mask-image: url("../docent-speech/icons/clapperboard.svg"); -webkit-mask-image: url("../docent-speech/icons/clapperboard.svg"); }
.ttbdc-root .ttbdc-session-icon--trophy { mask-image: url("../docent-speech/icons/trophy.svg"); -webkit-mask-image: url("../docent-speech/icons/trophy.svg"); }

.ttbdc-root .ttbdc-session-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--ttbdc-navy);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.ttbdc-root .ttbdc-session-list {
  list-style: none;
}

.ttbdc-root .ttbdc-session-list li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ttbdc-text-muted);
  margin-bottom: 2px;
}

.ttbdc-root .ttbdc-session-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ttbdc-text-muted);
  font-size: 10px;
}

/* ── Benefits ── */
.ttbdc-root .ttbdc-benefits {
  background: var(--ttbdc-navy);
  padding: 28px 32px 32px;
  margin: 0 0 48px;
}

.ttbdc-root .ttbdc-benefits-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ttbdc-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ttbdc-root .ttbdc-benefits-grid {
  display: flex;
  align-items: stretch;
}

.ttbdc-root .ttbdc-benefit-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.ttbdc-root .ttbdc-benefit-item:last-child {
  border-right: none;
}

.ttbdc-root .ttbdc-benefit-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background-color: var(--ttbdc-white);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.ttbdc-root .ttbdc-benefit-icon--handshake { mask-image: url("../docent-speech/icons/handshake.svg"); -webkit-mask-image: url("../docent-speech/icons/handshake.svg"); }
.ttbdc-root .ttbdc-benefit-icon--mic { mask-image: url("../docent-speech/icons/mic.svg"); -webkit-mask-image: url("../docent-speech/icons/mic.svg"); }
.ttbdc-root .ttbdc-benefit-icon--camera { mask-image: url("../docent-speech/icons/store-camera.svg"); -webkit-mask-image: url("../docent-speech/icons/store-camera.svg"); }
.ttbdc-root .ttbdc-benefit-icon--book { mask-image: url("../docent-speech/icons/book.svg"); -webkit-mask-image: url("../docent-speech/icons/book.svg"); }
.ttbdc-root .ttbdc-benefit-icon--chart { mask-image: url("../docent-speech/icons/growth-chart.svg"); -webkit-mask-image: url("../docent-speech/icons/growth-chart.svg"); }

.ttbdc-root .ttbdc-benefit-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ttbdc-white);
  line-height: 1.5;
}

/* ── Effects ── */
.ttbdc-root .ttbdc-effects {
  padding: 0 32px 48px;
}

.ttbdc-root .ttbdc-effects-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ttbdc-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.ttbdc-root .ttbdc-effect-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ttbdc-text-secondary);
}

.ttbdc-root .ttbdc-effect-item::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--ttbdc-navy);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ttbdc-root .ttbdc-hero {
    position: relative;
    display: block;
    min-height: 320px;
    overflow: hidden;
  }

  .ttbdc-root .ttbdc-hero-visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
    z-index: 0;
  }

  .ttbdc-root .ttbdc-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      var(--ttbdc-navy) 0%,
      var(--ttbdc-navy) 38%,
      rgba(18, 35, 64, 0.92) 58%,
      rgba(18, 35, 64, 0.65) 78%,
      rgba(18, 35, 64, 0.35) 100%
    );
    z-index: 1;
  }

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

  .ttbdc-root .ttbdc-hero-content {
    position: relative;
    z-index: 2;
    flex: none;
    width: 100%;
    background: transparent;
    padding: 36px 24px 40px;
    min-height: 320px;
    justify-content: flex-end;
  }

  .ttbdc-root .ttbdc-hero-brand {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .ttbdc-root .ttbdc-hero-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .ttbdc-root .ttbdc-hero-subtitle {
    font-size: 14px;
    max-width: none;
    line-height: 1.7;
  }

  .ttbdc-root .ttbdc-overview {
    padding: 32px 20px;
  }

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

  .ttbdc-root .ttbdc-overview-column {
    min-height: auto;
    padding: 20px 16px;
  }

  .ttbdc-root .ttbdc-overview-column--summary {
    padding: 20px 18px 20px 16px;
  }

  .ttbdc-root .ttbdc-curriculum {
    padding: 32px 20px 40px;
  }

  .ttbdc-root .ttbdc-curriculum-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

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

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

  .ttbdc-root .ttbdc-session-number {
    flex: 0 0 48px;
    font-size: 24px;
  }

  .ttbdc-root .ttbdc-session-heading {
    font-size: 13px;
  }

  .ttbdc-root .ttbdc-session-list li {
    font-size: 12px;
  }

  .ttbdc-root .ttbdc-benefits {
    padding: 24px 20px 28px;
    margin-bottom: 32px;
  }

  .ttbdc-root .ttbdc-benefits-title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .ttbdc-root .ttbdc-benefits-grid {
    flex-direction: column;
    gap: 0;
  }

  .ttbdc-root .ttbdc-benefit-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .ttbdc-root .ttbdc-benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .ttbdc-root .ttbdc-benefit-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .ttbdc-root .ttbdc-benefit-text {
    font-size: 13px;
    line-height: 1.55;
  }

  .ttbdc-root .ttbdc-effects {
    padding: 0 20px 40px;
  }

  .ttbdc-root .ttbdc-effects-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .ttbdc-root .ttbdc-effects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ttbdc-root .ttbdc-effect-item {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ttbdc-root .ttbdc-hero {
    min-height: 300px;
  }

  .ttbdc-root .ttbdc-hero-content {
    padding: 28px 20px 32px;
    min-height: 300px;
  }

  .ttbdc-root .ttbdc-hero-title {
    font-size: 24px;
  }

  .ttbdc-root .ttbdc-hero-subtitle {
    font-size: 13px;
  }

  .ttbdc-root .ttbdc-overview-title,
.ttbdc-root .ttbdc-benefits-title {
    font-size: 16px;
  }

  .ttbdc-root .ttbdc-curriculum-title,
.ttbdc-root .ttbdc-effects-title {
    font-size: 18px;
  }

  .ttbdc-root .ttbdc-session-number {
    flex: 0 0 44px;
    font-size: 22px;
  }
}
