/* B/A Page */
.ba-hero {
  padding: var(--hero-pt) var(--page-px) var(--page-pb);
  border-bottom: 1px solid var(--g-200);
}

.ba-hero__title {
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.ba-hero__title .sub {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--g-500);
  line-height: 1.3;
}

.ba-hero__title.main {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--bl);
}

.ba-hero__desc {
  margin-top: 20px;
  font-size: var(--fs-body);
  color: var(--g-600);
}

.ba-section-title {
  padding: 40px var(--page-px);
  border-bottom: 1px solid var(--g-200);
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* B/A 앵커: sticky 헤더·탭 아래로 섹션 제목 */
.ba-section {
  scroll-margin-top: 120px;
}

/* B/A Grid */
.ba-grid-wrapper {
  padding: 0;
}

/* [수정] .ba-section 중복 선언 제거 */

.ba-section.ba-grid {
  padding: 80px var(--page-px) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.ba-section.ba-grid:last-child {
  padding-bottom: 120px;
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ba-card__img-wrap {
  width: 100%;
  height: 400px;
  background-color: #e0d3d0;
  overflow: hidden;
}

.ba-card__img-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-card__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-subtitle);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.ba-card__caption .name {
  font-weight: 600;
  color: var(--bl);
}

.ba-card__caption .session {
  font-weight: 400;
  color: var(--g-600);
}

/* [수정] footer 공통 스타일은 common.css로 이동 */

@media (max-width: 1024px) {
  /* [수정] .main은 h2 자신에 붙은 클래스 → 후손 셀렉터에서 복합 셀렉터로 수정 */
  .ba-hero__title .sub,
  .ba-hero__title.main {
    font-size: var(--fs-hero);
  }

  .ba-section-title {
    padding: 40px var(--page-px);
  }

  .ba-section {
    scroll-margin-top: calc(94px + 40px);
  }

  .ba-section.ba-grid {
    padding: 40px var(--page-px) 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ba-section.ba-grid:last-child {
    padding-bottom: 80px;
  }

  .ba-card__img-wrap {
    height: 280px;
  }

  .ba-card__caption {
    font-size: var(--fs-subtitle);
  }

  /* [수정] footer 공통 스타일은 common.css로 이동 */
}
