.carousel-snippet {
  position: relative;
  background: none;
  padding: 1rem 0;
  margin-top: 1rem;
}
.carousel-snippet[data-pos="0"] {
  margin-top: 0;
  padding-top: 0;
}
.carousel-snippet .header {
  display: flex;
  align-items: center;
  align-content: center;
  margin-bottom: 10px;
  font-family: var(--brand-font);
  font-weight: 400;
}
.carousel-snippet .header i,
.carousel-snippet .header .icon {
  --size: 18px;
  max-width: 20px;
  margin-right: 15px;
  color: var(--color-gray-2);
}
.carousel {
  display: flex;
  flex-wrap: nowrap;
  max-width: inherit;
  overflow: auto;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Allow for .card shadows */
  /* padding: 8px;
  margin: -8px; */
  padding: 2px;
  margin: 0 -2px;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel .card {
  --cards: 3;
  /* calculated specifically for three cards in current column width */
  --card-gutter: 9px;

  /* minus one card as one gutter shouldn't be seen */
  --card-width-offset: calc(var(--card-gutter) * (var(--cards) - 1));
  width: calc((100% - var(--card-width-offset)) / var(--cards));
  margin-right: var(--card-gutter);
  min-width: var(--min-width, 212px);

  position: relative;
  display: block;
  box-sizing: border-box;
  flex-shrink: 0;
  background-color: var(--bg-01);
  border-radius: var(--border-radius-large);
  border: none;
}
.carousel .card:last-child {
  margin-right: 0;
}
:root.dark .carousel .card {
  border: none;
}
.carousel-snippet .carousel .card:hover,
.carousel-snippet .carousel .card a:hover {
  text-decoration: none;
}
.carousel .card-image {
  position: relative;
  border-bottom: solid 1px var(--bg-1);
  overflow: hidden;
}
.carousel .card .img-bg {
  /* Predicate entity (pe.css) will overwite some of these */
  height: 110px;
  position: relative;
  background-color: var(--bg-placeholder);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
.carousel-snippet .carousel .card-image .play-icon {
  position: absolute;
  color: #ffffffb3;
  width: 46px;
  max-width: 46px;
  height: 46px;
  max-height: 46px;
  top: calc(50% - 23px);
  left: calc(50% - 23px);
  display: flex;
}
.carousel-snippet .carousel .card-image .play-icon:hover {
  color: var(--color-inverse);
}
.carousel-snippet .carousel .card-image .play-icon i {
  font-size: 45px;
  width: 46px;
  height: 46px;
}
.carousel-snippet .carousel .card-image .duration {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  bottom: 5px;
  right: 5px;
  font-size: var(--text-xs);
  color: var(--color-inverse);
  padding: 0px 5px;
  border-radius: var(--border-radius-xs);
  font-weight: 500;
}
.carousel-snippet .carousel .card .card-body {
  --max-lines: 4;
  color: var(--color-gray-3);
  height: 130px;
  font-size: 15px;
  display: -webkit-box;
  overflow: hidden;
  /* line-height: 1.2; */
  white-space: normal;
  padding: 0.8rem;
  -webkit-line-clamp: var(--max-lines);
  -webkit-box-orient: vertical;
}
.carousel-snippet .carousel .card .card-body .title {
  font-family: var(--brand-font);
  font-size: 15px;
  line-height: 21px;
}
.carousel-snippet .carousel .card .card-body .title:hover {
  text-decoration: underline;
}
.carousel-snippet .carousel .card .card-footer {
  padding: 0.5rem 0.8rem;
  color: var(--color-gray-3);
}
.carousel-snippet .carousel .card .card-footer__timestamp {
  color: #79838c !important; /* TODO: move to CSS variable */
  letter-spacing: 0.04em;
}
.center-horizontally {
  display: flex;
  align-items: center;
}