.cp-videos-gallery {
  display: flex;
  max-width: var(--max-width);
  margin: auto;
  flex-direction: column;
}

.cp-videos-gallery .title {
  margin: var(--main-margin);
  padding: var(--main-padding);
}

.cp-videos-gallery .container {
  display: grid;
  gap: calc(2 * var(--main-padding));
}

.cp-videos-gallery .container .column {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  margin: var(--main-margin) 0;
  border-radius: var(--radius-small);
}

.cp-videos-gallery .container .column .column-logo {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.cp-videos-gallery .container .column .column-logo img {
  width: 100%;
  max-width: 395px;
  border-radius: var(--radius-small) var(--radius-small) 0 0;
}

  {# lightbox #}

  .cp-videos-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 604px;
    max-height: 360px;
    margin-left: -300px;
    margin-top: -180px;
    border: 2px solid #FFF;
    background: #FFF;
    z-index: 1002;
    overflow: visible;
  }

  .boxclose:before {
    content: "×";
  }

@media screen and (max-width: 1024px) {
  .cp-videos-gallery {
    padding: var(--main-padding);
  }
}

@media screen and (max-width: 720px) {
  .cp-videos-container {
    width: 100%;
    margin-left: -50%;
  }
}
