/* blocks/youtube-video-list/youtube-video-list.scss */
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 400;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Regular.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 600;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-SemiBold.ttf) format("truetype");
  font-display: optional;
}
@font-face {
  font-family: "BROmega";
  font-style: normal;
  font-weight: 700;
  src:
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.woff2) format("woff2"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.woff) format("woff"),
    url(/wp-content/themes/sophie/assets/fonts/BROmega-Bold.ttf) format("truetype");
  font-display: swap;
}
:root {
  --font-primary:
    BROmega,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-size-base: 1rem;
  --line-height-normal: 1.6;
}
.youtube-video-list {
  margin: 60px 0 40px;
}
@media screen and (min-width: 992px) {
  .youtube-video-list {
    margin: calc(1.6875rem + 4.0384615385vw) 0;
  }
}
@media screen and (min-width: 992px) and (min-width: 1560px) {
  .youtube-video-list {
    margin: 5.625rem 0;
  }
}
.youtube-video-list__content {
  width: 100%;
}
.youtube-video-list__header {
  margin-bottom: 1.875rem;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__header {
    margin-bottom: 2.5rem;
  }
}
.youtube-video-list__heading {
  margin: 0 auto 1.875rem;
  color: #212121;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  max-width: 686px;
  padding: 0 3.5rem;
}
.youtube-video-list__heading {
  font-size: 26px;
}
@media screen and (min-width: 450px) {
  .youtube-video-list__heading {
    font-size: calc(26px + 8 * (100vw - 450px) / 1130);
  }
}
@media screen and (min-width: 1580px) {
  .youtube-video-list__heading {
    font-size: 34px;
  }
}
@media screen and (min-width: 992px) {
  .youtube-video-list__heading {
    padding: 0;
    margin-bottom: 2.5rem;
  }
}
.youtube-video-list__channel-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 0.625rem;
}
.youtube-video-list__profile-picture {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__profile-picture {
    width: 62px;
    height: 62px;
  }
}
.youtube-video-list__profile-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.youtube-video-list__channel-details {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 5px;
}
.youtube-video-list__author {
  font-weight: 600;
  color: #212121;
  line-height: 1.2;
}
.youtube-video-list__author {
  font-size: 20px;
}
@media screen and (min-width: 450px) {
  .youtube-video-list__author {
    font-size: calc(20px + 4 * (100vw - 450px) / 1130);
  }
}
@media screen and (min-width: 1580px) {
  .youtube-video-list__author {
    font-size: 24px;
  }
}
.youtube-video-list__channel-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  color: #666666;
  font-weight: 600;
  line-height: 1.2;
}
.youtube-video-list__channel-stats {
  font-size: 18px;
}
@media screen and (min-width: 450px) {
  .youtube-video-list__channel-stats {
    font-size: calc(18px + 2 * (100vw - 450px) / 1130);
  }
}
@media screen and (min-width: 1580px) {
  .youtube-video-list__channel-stats {
    font-size: 20px;
  }
}
@media screen and (min-width: 992px) {
  .youtube-video-list__channel-stats {
    font-weight: 500;
  }
}
.youtube-video-list__separator {
  color: #666666;
}
.youtube-video-list__button-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 1.875rem;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__button-wrapper {
    display: none;
  }
}
.youtube-video-list__channel-button--desktop {
  display: none;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__channel-button--desktop {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
}
.youtube-video-list__channel-button--mobile {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__channel-button--mobile {
    display: none;
  }
}
.youtube-video-list__videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__videos {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 0.625rem;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 991.5px) {
  .youtube-video-list__videos .youtube-video-list__video:nth-child(n+5) {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  .youtube-video-list__videos .youtube-video-list__video:nth-child(n+9) {
    display: none;
  }
}
.youtube-video-list__video {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  cursor: default;
}
.youtube-video-list__video-thumbnail {
  width: 100%;
  margin-bottom: 0.625rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f0f0f0;
}
.youtube-video-list__video-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__video-thumbnail {
    margin-bottom: 1rem;
  }
}
.youtube-video-list__video-title {
  margin: 0 0 0.25rem;
  color: #212121;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
}
.youtube-video-list__video-title {
  font-size: 18px;
}
@media screen and (min-width: 450px) {
  .youtube-video-list__video-title {
    font-size: calc(18px + 2 * (100vw - 450px) / 1130);
  }
}
@media screen and (min-width: 1580px) {
  .youtube-video-list__video-title {
    font-size: 20px;
  }
}
@media screen and (min-width: 992px) {
  .youtube-video-list__video-title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.8em;
    line-height: 1.3;
    font-weight: 500;
  }
}
.youtube-video-list__video-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.25rem;
  color: #666666;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.46;
}
@media screen and (min-width: 992px) {
  .youtube-video-list__video-meta {
    line-height: 1.6;
  }
}
.youtube-video-list__video-separator {
  color: #666666;
}
.youtube-video-list__video-views,
.youtube-video-list__video-date {
  color: #666666;
}
