/**
 * sec7-media-video-view — PC 반응형 (container query)
 */

body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-cq-media-video-view {
  container-type: inline-size;
  container-name: sub-media-video-view;
}

/* ── 1350px: 플레이어(720px)가 잘리기 시작할 때 ── */
@container sub-media-video-view (max-width: 1350px) {
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-wrap {
    width: 100%;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player {
    width: 100%;
    max-width: 720px;
  }
}

/* ── 1024px ── */
@container sub-media-video-view (max-width: 1024px) {
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-area {
    margin-top: 28px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player {
    width: 100%;
    max-width: 100%;
  }
}

/* ── 900px ── */
@container sub-media-video-view (max-width: 900px) {
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__head {
    gap: 16px;
    padding: 18px 20px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__head-side {
    gap: 16px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__meta {
    gap: 20px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-area {
    margin-top: 24px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__actions {
    margin-top: 40px;
  }
}

/* ── 768px: 태블릿 · 모바일 반응형 ── */
@container sub-media-video-view (max-width: 768px) {
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 20px;
    border-top: 1px solid rgba(36, 36, 36, 0.10);
    border-bottom: 1px solid rgba(36, 36, 36, 0.10);
    background: #FAFAFA;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__title {
    margin-bottom: 8px;
    font-size: 16px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__head-side {
    display: contents;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__meta {
    gap: 24px;
    margin-bottom: 12px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__date,
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__views {
    font-size: 14px;
    color: #242424;
    white-space: nowrap;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__program-link {
    align-self: flex-start;
    min-height: 34px;
    padding: 7px 16px;
    width: fit-content;
    font-size: 14px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__program-link-chevron svg {
    width: 7px;
    height: auto;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__intro {
    padding: 12px 16px 0;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-area {
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-wrap {
    width: 100%;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__actions {
    margin-top: 32px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__list-btn {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    height: 48px;
    margin-bottom: 24px;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-contact {
    margin-top: 0;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-contact .inner.container17 {
    width: 100%;
    max-width: none;
    padding: 0 16px 40px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-contact p {
    margin: 0;
    word-break: keep-all;
  }
}

/* ── 451px: MO 시안 동일 ── */
@container sub-media-video-view (max-width: 451px) {
  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player-area {
    margin-top: 16px;
    padding: 0 16px;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-media-video-view__player {
    aspect-ratio: 4 / 3;
  }

  body.sub-page--sec7-media-video-view.sub-page--pc-responsive .sub-contact .inner.container17 {
    font-size: 13px;
    color: #666;
    flex-direction: column;
    gap: 4px;
  }
}
