:root {
  --header-top-offset: 2rem;
  --header-height: 7.5rem;
}

@media screen and (max-width: 576px) {
  :root {
    --header-top-offset: 0;
    --header-height: unset;
  }
}

.details--header-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;

  &[data-sticky="true"] {
    height: var(--header-height);
    padding-bottom: 1.5rem;
    position: sticky;
    top: calc(var(--header-top-offset) * -1);
    z-index: 100;
    background-color: var(--neutral-50);
    padding: 1px;
    margin-bottom: 0;
  }

  @media screen and (max-width: 576px) {
    position: relative;
    top: unset;
    &[data-sticky="true"] {
      position: relative;
      top: unset
    }
  }
}

.details--title-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;

  h1 {
    font-size: var(--rem-34);
    font-variation-settings: 'wght' var(--text-semibold);
    color: var(--neutral-950);
  }

  @media screen and (max-width: 576px) {
    h1 {
      font-size: var(--rem-24);
    }
  }
}

.details--title-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .5rem;

  h1 {
    font-size: var(--rem-24);
    font-variation-settings: 'wght' var(--text-semibold);
    color: var(--neutral-950);
  }

  span {
    font-size: var(--rem-14);
    color: var(--text-information);
    line-height: var(--rem-22);
  }
}

.details--subtitles-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;

  &[data-disabled="true"] {
    opacity: 0.25;
    pointer-events: none;
  }
}

.details--subtitle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  font-size: var(--rem-14);

  span {
    color: var(--neutral-500);
  }

  a {
    color: var(--primary-500);
    text-decoration: none;
    margin: 0;
  }
}

.details--header-buttons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.details--header-vertical-divider {
  min-width: 1px;
  width: 1px;
  height: 1rem;
  background-color: var(--border-secondary);
}