/* ===== Co.Village 영상 소개 섹션 (게시판 본문 마크업 + 외부 스타일) ===== */
.cv-video-wrap {
  max-width: 1000px;
  margin: 0 auto;
  color: #222;
}
.cv-video-wrap * {
  box-sizing: border-box;
}
.cv-video-wrap .cv-sec {
  margin-bottom: 58px;
}
.cv-video-wrap .cv-sec--last {
  margin-bottom: 0;
}
.cv-video-wrap .cv-title {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  line-height: 27px;
  margin: 0 0 12px;
}
.cv-video-wrap .cv-desc {
  font-size: 18px;
  color: #444444;
  line-height: 28px;
  margin: 0 0 32px;
}

.cv-video-wrap .cv-video-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.cv-video-wrap .cv-player {
  flex: 1 1 auto;
  min-width: 0;
}
.cv-video-wrap .cv-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #ddd;
  border-radius: 4px;
}

.cv-video-wrap .cv-chapters {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cv-video-wrap .cv-chapter {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 20px;
  border: 1px solid #d8d9d9;
  border-radius: 8px;
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.cv-video-wrap .cv-chapter.is-active {
  border: 2px solid #6a8831;
  background: #f4f7ec;
  padding: 19px;
}
.cv-video-wrap .cv-chapter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.cv-video-wrap .cv-tag {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  background: #eef1e6;
  color: #6a8831 !important;
}
.cv-video-wrap .cv-chapter.is-active .cv-tag {
  background: #6a8831 !important;
  color: #fff !important;
}
.cv-video-wrap .cv-time {
  font-size: 14px !important;
  font-weight: 500;
  color: #818181 !important;
  line-height: 1;
}
.cv-video-wrap .cv-chapter.is-active .cv-time {
  color: #6a8831 !important;
}
.cv-video-wrap .cv-chapter-label {
  font-size: 16px;
  font-weight: 700;
  color: #565758 !important;
  line-height: 24px;
}

.cv-video-wrap .cv-scenery {
  background: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
}
.cv-video-wrap .cv-scenery video {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  /* 레이아웃: 세로 스택 + 간격 */
  .cv-video-wrap .cv-video-grid {
    flex-direction: column;
    gap: 20px; /* 영상 ~ 박스들 */
  }
  .cv-video-wrap .cv-chapters {
    flex: 1 1 auto;
    gap: 12px; /* 박스 사이 */
  }

  /* 섹션 title / subtitle */
  .cv-video-wrap .cv-title {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 10px; /* title ~ subtitle */
  }
  .cv-video-wrap .cv-desc {
    font-size: 15px;
    line-height: 20px;
    margin: 0 0 28px; /* title+subtitle 영역 ~ 영상 */
  }

  /* why/how/what 박스 */
  .cv-video-wrap .cv-chapter {
    gap: 8px; /* 뱃지+재생시간 행 ~ 박스 타이틀 */
  }
  .cv-video-wrap .cv-tag {
    border-radius: 6px;
    padding: 7px 10px;
    line-height: 14px;
  }
  .cv-video-wrap .cv-chapter-label {
    font-size: 16px;
    font-weight: 600;
    color: #000 !important;
  }
  .cv-video-wrap .cv-time {
    font-size: 12px !important;
  }
}
