.video {
  display: grid;
  gap: 20px;
  grid-template-rows: max-content 1fr max-content;
}

.video__blank {
  width: 100%;
}

.video__title {
  font-size: calc(30rem/var(--initial-font-multiplier));
  font-weight: bold;
  color: hsl(0, 0%, 100%);
}

.video__item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
}

.video__image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video__image {
  width: 100%;
  max-width: 544px;
}

.video__play {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.4);
  color: hsl(0, 0%, 100%);
  transition:
    background-color 0.15s ease-out,
    color 0.15s ease-out,
    border-color 0.15s ease-out;
  z-index: 1;
}

.video__detail {
  display: grid;
  gap: 12px;
  grid-template-rows: repeat(3, max-content);
  justify-content: flex-start;
  padding: 20px var(--grid-gap);
  background: var(--primary-color-extra-dark);
  flex: 1;
}

.video__link {
  color: hsl(0, 0%, 100%);
  font-size: calc(18rem/var(--initial-font-multiplier));
  font-weight: bold;
}

.video__meta {
  color: var(--text-color-light-gray);
  font-size: calc(14rem/var(--initial-font-multiplier));
}

.video__footer {
  display: grid;
  justify-content: flex-start;
}

.video__more {
  display: grid;
  grid-template-columns: max-content min-content;
  gap: 10px;
  font-size: calc(16rem/var(--initial-font-multiplier));
  align-items: center;
}

.video__more > span {
  color: hsl(0, 0%, 100%);
}

.video__more > svg {
  color: var(--primary-color);
}

:root.root--special .video__title,
:root.root--special .video__meta,
:root.root--special .video__more > * {
  color: var(--special-text-color);
}

:root.root--special .video__detail {
  background: linear-gradient(
    transparent 50%,
    var(--special-background-color) 50%,
    var(--special-background-color) 100%
  );
  border-bottom: 1px solid var(--special-text-color);
}

:root.root--special .video__play {
  background-color: var(--special-background-color);
  color: var(--special-text-color);
  border: 1px solid var(--special-text-color);
}

@media (hover:hover) {
  .video__play:hover {
    color: hsl(0, 0%, 100%);
    background: hsla(0, 0%, 100%, 0.5);
  }

  .video__link:hover {
    color: hsl(0, 0%, 100%);
    text-decoration: underline;
  }

  .video__more:hover {
    text-decoration: underline;
    text-decoration-color: hsla(0, 0%, 100%, 0.25);
  }

  :root.root--special .video__play:hover {
    color: var(--special-background-color);
    background-color: var(--special-text-color);
  }
}

@media screen and (max-width: 735px) {
  .video__image {
    max-width: unset;
  }
}
