/**
 * 访谈详情页 ft-detail.html：视频、要点、相关图片、网友提问。
 * 壳层头部/背景沿用 zy-list（cent-sch.css + cy.css）。
 */

 .main-container {
  margin-bottom: 20px;
 }

.ft-detail {
  color: #333;
}

.ft-detail__title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: #1a1a1a;
}

.ft-detail__hero {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
  align-items: stretch;
}

.ft-detail__video {
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.ft-detail__video video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}

.ft-detail__meta {
  list-style: none;
  margin: 0;
  padding: 16px;
  border-radius: 10px;
  background: #f5f8fc;
  border: 1px solid #e3ebf5;
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
}

.ft-detail__meta li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.ft-detail__meta li:last-child {
  margin-bottom: 0;
}

.ft-detail__meta-label {
  font-weight: 700;
  color: #1952cf;
}

.ft-detail__meta em {
  font-style: normal;
}

/* 左右固定同高，底边对齐；内部各自滚动，不随内容无限拉高 */
.ft-detail__body {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  height: 720px;
  align-items: stretch;
}

.ft-detail__main,
.ft-detail__side {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.ft-detail__tab {
  flex: 0 0 auto;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 4px 4px 0 0;
  background: #1952cf;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.ft-detail__words {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px 18px 20px;
  border: 1px solid #e3ebf5;
  border-radius: 0 8px 8px 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.ft-detail__words p {
  margin: 0 0 0.85em;
}

.ft-detail__words p:last-child {
  margin-bottom: 0;
}

.ft-detail__block + .ft-detail__block {
  margin-top: 22px;
}

.ft-detail__block:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.ft-pics-swiper {
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e3ebf5;
  border-radius: 0 8px 8px 8px;
  background: #f7f9fc;
}

.ft-pics-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-pics-swiper img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

.ft-pics-swiper .swiper-pagination-bullet {
  background: #1952cf;
}

.ft-chat {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid #e3ebf5;
  border-radius: 0 8px 8px 8px;
  background: #f7f9fc;
}

.ft-chat__item {
  margin-bottom: 16px;
}

.ft-chat__item:last-child {
  margin-bottom: 0;
}

.ft-chat__item.r .ft-chat__msg {
  justify-content: flex-end;
}

.ft-chat__item.l .ft-chat__msg {
  justify-content: flex-start;
}

.ft-chat__msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ft-chat__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

.ft-chat__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ft-chat__item.r .ft-chat__avatar {
  order: 2;
}

.ft-chat__item.r .ft-chat__bubble {
  order: 1;
  background: #e8f1ff;
}

.ft-chat__bubble {
  flex: 1 1 auto;
  max-width: calc(100% - 46px);
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3ebf5;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.06);
}

.ft-chat__bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

@media (max-width: 992px) {
  .ft-detail__hero,
  .ft-detail__body {
    grid-template-columns: 1fr;
  }

  .ft-detail__body {
    height: auto;
  }

  .ft-detail__main,
  .ft-detail__side {
    height: auto;
  }

  .ft-detail__words {
    max-height: 480px;
  }

  .ft-detail__block:last-child {
    overflow: visible;
  }

  .ft-chat {
    max-height: 420px;
  }
}
