/* ==========================================================================
   APITA 2026 - Invited Speakers Page Stylesheet (3-Column Horizontal Card)
   ========================================================================== */

:root {
  --apita-primary: #0f3d68;       /* 학회 메인 네이비 블루 */
  --apita-secondary: #1e6b9b;     /* 포인트 서브 블루 */
  --apita-bg-light: #f7f9fc;      /* 배경 소프트 그레이블루 */
  --apita-card-bg: #ffffff;
  --apita-border: #e3e8ef;
  --apita-text-dark: #1a2433;
  --apita-text-muted: #5a687c;
  --apita-shadow: 0 6px 18px rgba(15, 61, 104, 0.05);
  --apita-shadow-hover: 0 12px 26px rgba(15, 61, 104, 0.12);
}

.apita2026-speakers-section {
  color: var(--apita-text-dark);
  box-sizing: border-box;
}

.apita2026-speakers-section *,
.apita2026-speakers-section *::before,
.apita2026-speakers-section *::after {
  box-sizing: border-box;
}

.apita2026-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   상단 타이틀 영역
   -------------------------------------------------------------------------- */
.apita2026-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.apita2026-sub-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--apita-secondary);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 10px;
}

.apita2026-page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--apita-primary);
  margin: 0;
  position: relative;
  padding-bottom: 16px;
}

.apita2026-page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background-color: var(--apita-secondary);
}

/* --------------------------------------------------------------------------
   연자 그리드 레이아웃 (PC 3열 / 태블릿 2열 / 모바일 1열)
   -------------------------------------------------------------------------- */
.apita2026-speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  padding:1rem 0 4rem;
}

/* --------------------------------------------------------------------------
   연자 카드 스타일 (3열 맞춤형 가로 카드)
   -------------------------------------------------------------------------- */
.apita2026-speaker-card {
  position: relative;
  background-color: #ffffffbf;
  border: 1px solid #e0dfd9;
  padding: 1rem;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;  
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.5rem;
}

.apita2026-speaker-card:hover {
  transform: translateY(-4px);
  /* box-shadow: var(--apita-shadow-hover); */
  box-shadow: 0 4px 15px 2px rgb(80 132 227 / 17%), 0 1px 8px rgb(60 60 60 / 30%);
  border-color: rgba(30, 107, 155, 0.35);
}

/* 우측 상단 직책 배지 스타일 */
.apita2026-code-badge {
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
  z-index: 2; width: 59px; text-align: center;
}

/* 역할별 배지 컬러 구분 */
.apita2026-speaker-card[data-role="Speaker"] .apita2026-code-badge {
  background-color: #aea3cf; /* 기본 네이비 */
  line-height:2;
}

.apita2026-speaker-card[data-role="Chair"] .apita2026-code-badge {
  background-color: #87b8db; /* 틸 컬러 */
  line-height:2;
}

/* 좌측 컴팩트 사진 영역 (92px x 116px 고정) */
.apita2026-speaker-photo {
  width: 115px;
  height: 144px;
  background-color: #eef2f6;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
}

.apita2026-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.apita2026-speaker-card:hover .apita2026-speaker-photo img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   우측 텍스트 정보 영역 (이름 -> 소속 -> 세션명 순)
   -------------------------------------------------------------------------- */
.apita2026-speaker-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.apita2026-speaker-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  padding-right: 56px; /* 우측 상단 배지와 겹침 방지 */
  line-height: 1.3;
  color:#343434;
}

.apita2026-speaker-affil {
  font-size: 1rem;
  color: #343434;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

/* 하단 세션 정보 영역 (카드 하단 고정) */
.apita2026-session-tag {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed #dce3ec;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-right: .6rem;
}

.apita2026-session-tag .session-code {
  display: inline-block;
  color: #6d7072;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.apita2026-session-tag .session-title {
  color:#6d7072;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   반응형 미디어 쿼리 (Responsive Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .apita2026-speaker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
  }
}

@media (max-width: 720px) {
  .apita2026-speakers-section {
    padding-top: 2rem;
  }

  .apita2026-page-title {
    font-size: 1.75rem;
  }

  .apita2026-speaker-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 14px;
  }

  .apita2026-speaker-affil {
    font-size: 0.95rem; line-height: 1.3;
  }

  .apita2026-speaker-card {
    padding: 15px;
    gap: 14px;
  }
  .apita2026-code-badge {width: 52px; font-size: 11px;}

  .apita2026-speaker-photo {
    width: 84px;
    height: 106px;
  }
.apita2026-speaker-name {font-size:1rem;}

.apita2026-session-tag .session-title {font-size: 14px; 
    line-height: 1.2;}

}


