/* Signposts */

.signpost-small {
  color: var(--co-pri);
  display: flex;
  flex-direction: column;
  font: var(--cs-lbl);
  text-transform: uppercase;
  margin-bottom: var(--ma-sml);
  width: fit-content;
  align-items: flex-start;
}

.signpost-small .signpost-label {
  display: flex;
  align-items: center;
  background-color: var(--co-high);
  padding: 0.2rem 0.65rem 0 0.25rem;
}

.signpost-small.signpost-has-access .signpost-label {
  padding-bottom: 0.2rem;
}

.signpost-small.signpost-has-access .signpost-label::after {
  content: '↦';
  transition: all 200ms;
  width: 0;
  overflow: hidden;
  margin-left: 0;
}


.signpost-small .icon {
  display: flex;
  justify-content: center;
  margin-right: 0.35rem
}

.signpost-small .icon svg {
  aspect-ratio: 1/1;
  width: 1.5rem;
} 

.signpost-small .label {
  font-weight: 500;
  margin-top: 0px;
}

.signpost-small .signpost-access-label {
  display: flex;
  align-items: flex-start;
  background-color: var(--co-high);
  padding: 0.2rem 0.65rem 0.1rem 0.25rem;
  
}

.signpost-small .signpost-access-label .member-signpost {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}

.signpost-small .signpost-access-label .member-signpost .access-time {
  font-family: var(--ff-mono);
  font-weight: 400;
  font-size: 0.75rem;
}

.signpost-small .signpost-access-label .icon svg {
  margin-top: -3px;
} 

.signpost-small .signpost-access-label .member-signpost .more-info { 
  margin-bottom: -1rem;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.ndc-tile:hover .signpost-small.signpost-has-access .signpost-label::after,
.ndc-tile:focus .signpost-small.signpost-has-access .signpost-label::after,
.publication:hover .signpost-small.signpost-has-access .signpost-label::after,
.publication:focus .signpost-small.signpost-has-access .signpost-label::after {
  width: auto;
  margin-left: 4px;
}

.ndc-tile:hover .signpost-small .signpost-access-label .member-signpost .more-info,
.ndc-tile:focus .signpost-small .signpost-access-label .member-signpost .more-info,
.publication:hover .signpost-small .signpost-access-label .member-signpost .more-info,
.publication:focus .signpost-small .signpost-access-label .member-signpost .more-info  {
  margin-bottom: 0rem;
  opacity: 1;
}