.header {
  position: relative;
  width: 100%;
  height: 310px;
}

.backdrop {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.backdropOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--black);
  opacity: 0.7;
}

.headerContent {
  display: flex;
  padding: 30px;
  width: 100%;
  height: 100%;
  color: var(--white);
}

.poster {
  flex-shrink: 0;
  margin-right: 35px;
  height: 250px;
}

.info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.titleRow {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex: 0 0 auto;
}

.titleContainer {
  display: flex;
  margin-top: -5px;
}

.title {
  text-wrap: balance;
  font-weight: 300;
  font-size: 50px;
  line-height: 60px;
}

.toggleMonitoredContainer {
  align-self: center;
}

.monitorToggleButton {
  composes: toggleButton from '~Components/MonitorToggleButton.css';

  width: 40px;

  &:hover {
    color: var(--iconButtonHoverLightColor);
  }
}

.alternateTitlesIconContainer {
  align-self: flex-end;
  margin-left: 20px;
}

.authorNavigationButtons {
  position: absolute;
  right: 0;
  z-index: 1;
  margin-top: 10px;
  padding: 30px;
  white-space: nowrap;
}

.authorUpButton,
.authorNavigationButton {
  composes: button from '~Components/Link/IconButton.css';

  margin-left: 5px;
  width: 30px;
  color: #e1e2e3;
  white-space: nowrap;

  &:hover {
    color: var(--iconButtonHoverLightColor);
  }
}

.details {
  margin-bottom: 8px;
  font-weight: 300;
  font-size: 20px;
}

.detailsLabel {
  composes: label from '~Components/Label.css';

  margin: 5px 10px 5px 0;
}

.path,
.sizeOnDisk,
.qualityProfileName,
.links,
.tags {
  margin-left: 8px;
  font-weight: 300;
  font-size: 17px;
}

.overview {
  flex: 1 1 auto;
  margin-top: 8px;
  min-height: 0;
  text-wrap: balance;
  font-size: $intermediateFontSize;
}

@media only screen and (max-width: $breakpointSmall) {
  .headerContent {
    padding: 15px;
  }

  .title {
    font-weight: 300;
    font-size: 30px;
    line-height: 30px;
  }
}

@media only screen and (max-width: $breakpointLarge) {
  .poster {
    display: none;
  }
}
