/**
 * 학술대회 상세 (conference/program_detail.php)
 */

/* ── 히어로 ── */
.cd-hero {
  background: #1B1735;
  color: #fff;
  padding: 56px 0;
}

.cd-hero__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

@media (max-width: 900px) {
  .cd-hero__inner {
    flex-direction: column;
    gap: 28px;
  }
}

.cd-hero__poster {
  flex: 0 0 300px;
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cd-hero__poster img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .cd-hero__poster {
    flex: none;
    max-width: 220px;
  }
}

.cd-hero__info {
  flex: 1;
  min-width: 0;
}

.cd-hero__badge {
  display: inline-block;
  background: #474075;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 5px;
  margin-bottom: 25px;
}

.cd-hero__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom:35px;
}

.cd-hero__title-bar {
  width: 3px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 2px;
  opacity: 0.92;
}

.cd-hero__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

@media (max-width: 768px) {
  .cd-hero__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .cd-hero__title-row {
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .cd-hero__title-bar {
    display: none;
  }
}

.cd-hero__subtitle {
  margin: 0 0 22px;
  font-size: 17px;
  color: #d1d5db;
  line-height: 1.55;
  padding-left: 0;
  border-left: none;
}

.cd-hero__subtitle:empty {
  display: none;
  margin-bottom: 0;
}

/* 관리자「설명 (메인 노출)」: 부제 아래 본문 요약 */
.cd-hero__description {
  margin: -12px 0 22px;
  font-size: 15px;
  color: #e5e7eb;
  line-height: 1.6;
  white-space: pre-line;
}

.cd-hero__description[hidden] {
  display: none !important;
  margin: 0;
}

@media (max-width: 768px) {
  .cd-hero__description {
    font-size: 14px;
    margin: -8px 0 18px;
  }
}

@media (max-width: 768px) {
  .cd-hero__subtitle {
    font-size: 15px;
    margin-bottom: 18px;
  }
}

/* 일시 / 장소: 아이콘 + 한 줄 문장 (일시 - … · 장소 - …) */
.cd-hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .cd-hero__meta  {
    margin-top: 20px;
  }
}


.cd-hero__meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.cd-hero__meta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: left;
  justify-content: left;
}

.cd-hero__meta-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.cd-hero__meta-inline {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .cd-hero__meta-inline {
    font-size: 15px;
  }
}

.cd-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cd-hero__actions {
    flex-direction: column;
  }
  .cd-hero__actions .cd-btn {
    width: 100%;
  }
}

.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

.cd-btn--primary {
  background: #474075;
  color: #fff;
}

.cd-btn--primary:hover {
  background: #3a3462;
  opacity: 1;
}

.cd-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid #4b5563;
}

.cd-btn--outline:hover {
  border-color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
}

/* ── 본문 컨텐츠 ── */
.cd-content {
  padding-top: 0 !important;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .cd-content {
    padding-bottom: 48px;
  }

  .cd-tabs {
    margin-bottom: 20px;
  }

  .cd-tabs__btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ── 탭 ── */
.cd-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
  overflow-x: auto;
}

.cd-tabs__btn {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.cd-tabs__btn:hover {
  color: #474075;
}

.cd-tabs__btn--active {
  color: #474075;
  font-weight: 700;
  border-bottom-color: #474075;
}

/* ── 초대의 글 ── */
.cd-greeting {
  max-width: 100%;
}

.cd-greeting__body {
  font-size: 16px;
  line-height: 1.9;
  color: #454545;
  /* 관리자 textarea 줄바꿈을 사용자 화면에 동일하게 표시 */
  white-space: pre-line;
}

.cd-greeting__body p {
  margin: 0 0 1.4em;
}

.cd-greeting__body p:last-child {
  margin-bottom: 0;
}

.cd-greeting__sign {
  margin: 40px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #202020;
}

/*
 * Quill(Snow) 저장 HTML — 관리자 화면에만 quill.snow.css 가 있어
 * 공개 페이지에는 .ql-editor 가 없어 코드블록·일부 블록에 배경/글자색이 비어 보일 수 있음.
 */
.cd-greeting__body .ql-code-block-container,
.cd-detail-extras__body .ql-code-block-container,
.cd-venue__custom .ql-code-block-container {
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: top;
  background-color: #23241f;
  color: #f8f8f2;
  border-radius: 6px;
  margin: 0.85em 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.cd-greeting__body .ql-code-block-container .ql-code-block,
.cd-detail-extras__body .ql-code-block-container .ql-code-block,
.cd-venue__custom .ql-code-block-container .ql-code-block {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.cd-greeting__body pre.ql-syntax,
.cd-detail-extras__body pre.ql-syntax,
.cd-venue__custom pre.ql-syntax,
.cd-greeting__body pre.ql-code-block,
.cd-detail-extras__body pre.ql-code-block,
.cd-venue__custom pre.ql-code-block {
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: top;
  background-color: #23241f;
  color: #f8f8f2;
  border-radius: 6px;
  margin: 0.85em 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.cd-greeting__body blockquote,
.cd-detail-extras__body blockquote,
.cd-venue__custom blockquote {
  margin: 1em 0;
  padding: 0.35em 0 0.35em 1em;
  border-left: 4px solid #d1d5db;
  color: #4b5563;
}

/*
 * 등록안내: program_detail에 quill.snow.css가 뒤에 로드되어
 * .ql-editor blockquote { margin:0 } 이 일반 규칙을 덮음 → 연속 인용구 간격 없음
 */
.cd-detail-extras__body.ql-editor blockquote {
  margin: 0.85em 0;
  padding: 0.5em 0 0.5em 1em;
  border-left: 4px solid #d1d5db;
  color: #4b5563;
}

.cd-detail-extras__body.ql-editor blockquote + blockquote {
  margin-top: 1.15em;
}

/* ── 행사안내 탭 (에디터 HTML) ── */
.cd-detail-extras {
  max-width: 100%;
}

.cd-detail-extras__body {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}

.cd-detail-extras__body p:last-child {
  margin-bottom: 0;
}

.cd-detail-extras__body h1,
.cd-detail-extras__body h2,
.cd-detail-extras__body h3 {
  margin: 1.4em 0 0.6em;
  font-weight: 700;
  color: #1f2937;
}

.cd-detail-extras__body h1:first-child,
.cd-detail-extras__body h2:first-child,
.cd-detail-extras__body h3:first-child {
  margin-top: 0;
}

/* Quill 저장 HTML: 크기·정렬 클래스 */
.cd-detail-extras__body .ql-size-small {
  font-size: 0.875em;
}
.cd-detail-extras__body .ql-size-large {
  font-size: 1.5em;
}
.cd-detail-extras__body .ql-size-huge {
  font-size: 2.25em;
  line-height: 1.2;
}
.cd-detail-extras__body .ql-align-center {
  text-align: center;
}
.cd-detail-extras__body .ql-align-right {
  text-align: right;
}
.cd-detail-extras__body .ql-align-justify {
  text-align: justify;
}

.cd-detail-extras__body ul,
.cd-detail-extras__body ol {
  margin: 0.5em 0 1em 1.25em;
  padding: 0;
}

/* Quill 저장 목록: snow.css가 li[data-list]·.ql-ui 기준으로 배치 — 왼쪽 여백은 테마에 맡김 */
.cd-detail-extras__body.ql-editor ol,
.cd-detail-extras__body.ql-editor ul {
  margin: 0.5em 0 .3em 0;
  padding-left: 0;
}

.cd-detail-extras__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 15px;
}

.cd-detail-extras__body th,
.cd-detail-extras__body td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}

.cd-detail-extras__body th {
  background: #f9fafb;
  font-weight: 600;
}

.cd-detail-extras__body a {
  color: #474075;
  text-decoration: underline;
}

/* 등록안내: 「링크버튼」— Quill이 배경 style을 지워도 흰 글자만 남지 않도록 진한 글자·연한 배경(단색) */
.cd-detail-extras__body.ql-editor a.kafc-reg-extra-btn {
  display: inline-block !important;
  margin: 0.35rem 0.5rem 0.35rem 0 !important;
  padding: 0.5rem 1.1rem !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1e3a8a !important;
  text-decoration: none !important;
  background-color: #bfdbfe !important;
  border-radius: 0.5rem !important;
  border: 2px solid #2563eb !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cd-detail-extras__body.ql-editor a.kafc-reg-extra-btn:hover {
  background-color: #93c5fd !important;
  color: #172554 !important;
}

.cd-detail-extras__empty {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.75;
}

/* ── 프로그램 ── */
.cd-program {
  background: #fff;
  overflow: hidden;
}

.cd-room-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* 룸 탭: 데스크톱만 하단 라인 탭 (모바일은 아래 max-width 블록) */
@media (min-width: 769px) {
  .cd-room-tabs__btn {
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
  }

  .cd-room-tabs__btn:hover {
    color: #474075;
  }

  .cd-room-tabs__btn--active {
    color: #474075;
    font-weight: 700;
    border-bottom-color: #474075;
  }
}

/* 모바일: 격자 + 비선택은 카드형, 선택은 보라 채움 + 흰 글씨 */
@media (max-width: 768px) {
  .cd-room-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-x: visible;
    padding: 4px 0 14px;
    border-bottom: 1px solid #e5e7eb;
  }

  .cd-room-tabs__btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    color: #4b5563;
    border-bottom-width: 1px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .cd-room-tabs__btn:hover,
  .cd-room-tabs__btn:focus-visible {
    border-color: #a5b4fc;
    color: #3730a3;
    background: #f8fafc;
    outline: none;
  }

  .cd-room-tabs__btn--active {
    background: #474075;
    color: #fff !important;
    border-color: #3a3462;
    font-weight: 700;
  }

  .cd-room-tabs__btn--active:hover,
  .cd-room-tabs__btn--active:focus-visible {
    background: #3d3666;
    color: #fff !important;
    border-color: #322d55;
  }
}

@media (max-width: 380px) {
  .cd-room-tabs {
    grid-template-columns: 1fr;
  }
}

.cd-timetable {
  padding: 50px 0 0;
}

@media (max-width: 768px) {
  .cd-timetable {
    padding: 40px 0 0;
  }
}

.tl {
  position: relative;
}

.tl::before {
  content: '';
  position: absolute;
  left: 139px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(71, 64, 117, 0.8);
  pointer-events: none;
  z-index: 0;
}

/* 세션 블록 */
.tl-session {
  position: relative;
  z-index: 1;
  padding-left: 140px;
  margin-bottom: 48px;
}

.tl-session:last-child {
  margin-bottom: 0;
}

/* 세션 라벨 (왼쪽 Session 이름 + 세로 라인) */
.tl-session__label {
  position: absolute;
  left: 0;
  top: -8px;
  width: 130px;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  box-sizing: border-box;
}

.tl-session__name {
  font-size: 18px;
  font-weight: 700;
  color: #474075;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  line-height: 1.3;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.tl-session__roles {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  text-align: right;
}

.tl-session__rows {
  position: relative;
  padding-left: 30px;
}

.tl-session__rows::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 11px;
  height: 11px;
  background: #474075;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 1;
}

.tl-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 25px;
}

.tl-row:last-child {
  border-bottom: none;
}

/* 왼쪽: 연사 + 시간 */
.tl-row__left {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tl-row__speaker {
  font-size: 16px;
  font-weight: 500;
  color: #555;
  line-height: 1.4;
}

.tl-row__time {
  font-size: 18px;
  font-weight: 700;
  color: #474075;
  line-height: 1.4;
}

/* 세로 구분선 */
.tl-row__sep {
  flex: 0 0 2px;
  align-self: stretch;
  background: #474075;
  margin: 0 24px;
}

/* 오른쪽: 제목줄(제목+좋아요) + 서브타이틀 */
.tl-row__right {
  flex: 1;
  min-width: 0;
}

.tl-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 제목줄: 제목은 줄바꿈, 좋아요는 오른쪽 끝(한눈에 들어오게) */
.tl-row__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  width: 100%;
  min-width: 0;
}

.tl-row__title-row > .tl-row__title {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.tl-row__title-row > .tl-like-btn {
  flex-shrink: 0;
  margin-top: 3px;
}

/* 하트만: 테두리·배경 없음 (타임라인 옆에서 가장 덜 산만함) */
.tl-like-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 2px;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.tl-like-btn:hover {
  opacity: 0.95;
}

.tl-like-btn:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(71, 64, 117, 0.35);
}

.tl-like-btn:active {
  transform: scale(0.94);
}

.tl-like-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.tl-like-btn__icons {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}

.tl-like-btn__img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition: filter 0.12s ease, opacity 0.12s ease;
}

.tl-like-btn__img--active {
  display: none;
}

.tl-like-btn--on .tl-like-btn__img--default {
  display: none;
}

.tl-like-btn--on .tl-like-btn__img--active {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

/* 클릭(누르는 동안): 윤곽은 조금 더 진하게 */
.tl-like-btn:active:not(:disabled) .tl-like-btn__img--default {
  filter: brightness(0.72) saturate(1.05);
}

.tl-like-btn:active:not(:disabled) .tl-like-btn__img--active {
  filter: brightness(0.88) saturate(1.25) drop-shadow(0 1px 3px rgba(190, 18, 60, 0.45));
}

.tl-like-btn--guest .tl-like-btn__img--default {
  opacity: 0.9;
}

.tl-row__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
}

.tl-row__title--break {
  font-weight: 500;
  color: #6b7280;
}

.tl-row__sub {
  margin: 3px 0 0;
  font-size: 16px;
  color: #888;
  line-height: 1.5;
}

.tl-row__partner {
  margin: 8px 0 0;
}

.tl-row__partner-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 4px 10px;
  line-height: 1.3;
}

/* Break 행 */

.tl-row--break .tl-row__left {
  justify-content: center;
}

@media (max-width: 900px) {
  .tl::before {
    left: 13px;
    top: 10px;
  }

  .tl-session {
    padding-left: clamp(72px, 18vw, 100px);
    margin-bottom: 36px;
  }

  .tl-session__label {
    position: static;
    width: 100%;
    align-items: flex-start;
    padding: 0 0 10px;
    top: auto;
  }

  .tl-session__name {
    font-size: 17px;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    white-space: normal;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .tl-session__roles {
    text-align: left;
    margin-top: 4px;
  }

  .tl-session__rows {
    margin-left: 0;
    padding-left: clamp(12px, 3vw, 18px);
  }

  .tl-row__left {
    flex: 0 0 min(160px, 38vw);
  }

  .tl-row__sep {
    margin: 0 clamp(12px, 3vw, 20px);
  }
}

/* 태블릿~모바일: 타임라인 왼쪽 세로선·룸 점 제거 (가독성) */
@media (max-width: 768px) {
  .tl::before {
    display: none;
  }

  .tl-session {
    padding-left: 0;
    margin-bottom: 32px;
  }

  .tl-session__rows {
    padding-left: 0;
    margin-left: 0;
  }

  .tl-session__rows::before {
    display: none;
  }

  .tl-session__label {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .tl-session {
    margin-bottom: 28px;
  }

  .tl-session__label {
    padding-top: 2px;
    padding-bottom: 10px;
  }

  .tl-session__name {
    font-size: 16px;
  }

  .tl-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
  }

  .tl-row:last-child {
    border-bottom: none;
  }

  .tl-row__left {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    order: 0;
    padding: 12px 12px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
  }

  .tl-row__time {
    order: -1;
    font-size: 15px;
    font-weight: 800;
    color: #474075;
    letter-spacing: -0.02em;
  }

  .tl-row__time::before {
    content: '시간';
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .tl-row__speaker::before {
    content: '강사';
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .tl-row__sep {
    display: none;
  }

  .tl-row__right {
    margin-top: 12px;
    padding: 12px 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    position: relative;
  }

  /* 좋아요: 카드(.tl-row__right) 오른쪽 상단 고정 (제목 줄바꿈과 무관) */
  .tl-row__right:has(.tl-like-btn) {
    padding-right: 44px;
  }

  .tl-row__right .tl-like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-top: 0;
    z-index: 2;
  }

  .tl-row__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: 6px;
  }

  .tl-row__title-row > .tl-row__title {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .tl-row__title-row::before {
    content: '강의';
    flex: 1 0 100%;
    width: 100%;
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
  }

  .tl-row--break .tl-row__left {
    background: #f9fafb;
    border-style: dashed;
  }

  .tl-row--break .tl-row__title::before {
    content: '안내';
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .tl-row--break .tl-row__right {
    margin-top: 10px;
    padding-top: 12px;
    border-style: dashed;
    background: #fafafa;
  }

  .tl-row__speaker {
    font-size: 15px;
    line-height: 1.45;
  }

  .tl-row__time {
    font-size: 15px;
  }

  .tl-row__title {
    font-size: 16px;
    line-height: 1.45;
  }

  .tl-row__sub {
    font-size: 14px;
    margin-top: 8px;
  }
}

/* ── 오시는 길 ── */

.cd-venue__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #202020;
}

.cd-venue__address {
  margin: 0 0 10px;
  font-size: 17px;
  color: #454545;
}

.cd-venue__extsep {
  margin: 0 8px;
  color: #9ca3af;
}

.cd-venue__map {
  position: relative;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  min-height: 400px;
}

.cd-venue__iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  vertical-align: top;
}

.cd-venue__custom {
  font-size: 15px;
  line-height: 1.7;
  color: #454545;
}

.cd-venue__custom p {
  margin: 0 0 12px;
}

.cd-venue__custom p:last-child {
  margin-bottom: 0;
}

.cd-venue__custom iframe {
  max-width: 100%;
  border: 0;
  border-radius: 10px;
  margin-top: 16px;
}

/* ── 로더 · 빈 상태 ── */
.cd-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  color: #8a8a8a;
  font-size: 14px;
  gap: 12px;
}

.cd-loader--sm {
  padding: 12px 0;
}

.cd-loader__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #474075;
  border-radius: 50%;
  animation: cd-spin 0.7s linear infinite;
}

@keyframes cd-spin {
  to { transform: rotate(360deg); }
}

.cd-empty {
  text-align: center;
  padding: 40px 0;
  color: #8a8a8a;
  font-size: 14px;
  margin: 0;
}

.cd-empty--sm {
  padding: 20px 0;
}
