@media (min-width: 1400px) {
  [class^="course-detail-header"] > .container,
  #content-container.container {
    width: calc(100% - 120px);
    max-width: 1500px;
  }
}

@media (min-width: 1800px) {
  [class^="course-detail-header"] > .container,
  #content-container.container {
    width: 1500px;
  }
}

@media (min-width: 1200px) {
  .course-detail-header.before .es-section {
    display: flex !important;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .course-detail-header.before .course-header-summary {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    float: none !important;
  }

  .course-detail-header.before .course-header-summary:before,
  .course-detail-header.before .course-header-summary:after {
    display: none !important;
  }

  .course-detail-header.before .course-header-summary .course-img {
    float: none !important;
    flex: 0 0 480px;
    width: 480px !important;
    margin: 15px 20px 15px 15px;
  }

  .course-detail-header.before .course-header-summary .course-info {
    float: none !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    padding: 15px 24px 15px 0;
  }

  .course-detail-header.before .course-operation {
    float: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 270px;
    width: 270px !important;
    min-width: 0;
    padding: 24px 22px;
    border-left: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
  }

  .course-detail-header.before .course-operation .student-num {
    border-bottom: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .course-detail-header.before .course-data {
    display: flex;
    border-bottom: 0;
    margin-bottom: 22px;
  }

  .course-detail-header.before .course-data > li {
    float: none;
    flex: 1 1 0;
    width: auto;
  }

  .course-detail-header.before .course-operation .buy {
    padding: 0;
    text-align: center;
  }

  .course-detail-header.before .course-header-teacher {
    flex: 0 0 240px;
    width: 240px;
    padding: 24px 18px;
    background: #fff;
  }

  .course-detail-header.before .course-header-teacher .panel {
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .course-detail-header.before .course-header-teacher .panel-heading {
    padding: 0 0 14px;
    border: 0;
    background: transparent;
  }

  .course-detail-header.before .course-header-teacher .panel-body {
    padding: 0;
  }

  .course-detail-header.before .course-header-teacher .media {
    margin-top: 0;
  }

  .course-detail-header.before .course-header-teacher .avatar-md {
    width: 48px;
    height: 48px;
  }

  body.course-ai-overview-wide .course-detail-header.before .course-ai-top-teacher {
    display: none !important;
  }
}
