/*
    - Name: "videos.scss"
    - Description: "Add custom styles to videos component"
*/
.component-videos {
  display: flex;
}

.component-videos.full {
  flex-direction: column;
  gap: var(--spacingMd);
}

.component-videos.left, .component-videos.right {
  display: flex;
  flex-direction: column;
  gap: var(--spacingMd);
}

@media all and (min-width: 50.0625rem) {
  .component-videos.left, .component-videos.right {
    flex-direction: row;
  }
}
.component-videos.left:not(.component-videos.left.expand, .component-videos.right.expand) .content-video, .component-videos.right:not(.component-videos.left.expand, .component-videos.right.expand) .content-video {
  display: flex;
  align-items: flex-start;
}

.component-videos.left .info-video, .component-videos.right .info-video {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.component-videos.left .info-video .descriptionVideo, .component-videos.right .info-video .descriptionVideo {
  flex: 2;
}

.component-videos.left .info-video .descriptionVideo .field--type-text-long p, .component-videos.right .info-video .descriptionVideo .field--type-text-long p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.component-videos.left .info-video .controlsVideo, .component-videos.right .info-video .controlsVideo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.component-videos.left .info-video .controlsVideo .c-link, .component-videos.right .info-video .controlsVideo .c-link {
  color: var(--linkColorDefault);
}

.component-videos.left.expand .content-video, .component-videos.right.expand .content-video {
  width: 100%;
}

@media all and (min-width: 50.0625rem) {
  .component-videos.left.expand .info-video, .component-videos.right.expand .info-video {
    display: none;
  }
}
.component-videos.left .content-video {
  order: 1;
}

.component-videos.left .info-video {
  order: 2;
}

@media all and (min-width: 50.0625rem) {
  .component-videos.right .content-video {
    order: 2;
  }
}
@media all and (min-width: 50.0625rem) {
  .component-videos.right .info-video {
    order: 1;
  }
}
.component-videos .info-video .descriptionVideo .field--type-text-long p {
  margin: var(--spacing2xs) 0;
}

@media all and (min-width: 50.0625rem) {
  .layout--twocol-section--25-75 .layout__region--second .component-videos.left, .layout--twocol-section--25-75 .layout__region--second .component-videos.right {
    flex-direction: column;
  }
}
@media all and (min-width: 62rem) {
  .layout--twocol-section--25-75 .layout__region--second .component-videos.left, .layout--twocol-section--25-75 .layout__region--second .component-videos.right {
    flex-direction: row;
  }
}
@media all and (min-width: 50.0625rem) {
  .layout--twocol-section--25-75 .layout__region--second .component-videos.left .c-video .compact, .layout--twocol-section--25-75 .layout__region--second .component-videos.right .c-video .compact {
    width: 100%;
  }
}
@media all and (min-width: 62rem) {
  .layout--twocol-section--25-75 .layout__region--second .component-videos.left .c-video .compact, .layout--twocol-section--25-75 .layout__region--second .component-videos.right .c-video .compact {
    width: 300px;
  }
}
@media all and (min-width: 78rem) {
  .layout--twocol-section--25-75 .layout__region--second .component-videos.left .c-video .compact, .layout--twocol-section--25-75 .layout__region--second .component-videos.right .c-video .compact {
    width: 400px;
  }
}