/* Snap control */

html {
  scroll-snap-type: y proximity;
}


.device--desktop .card,
.device--desktop .minicard {
  scroll-margin-top: 60px;
  scroll-snap-align: start;
}

/* Header */

.article__header__img {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  background-color: var(--beige);
}

.article__header__img div {
  position: sticky;
  top: 0;
}

.article__header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article__header__details {
  width: 100%;
  column-count: 3;
  gap: 20px;
  list-style-type: none;
  padding-inline-start: 0px;
  margin-block-end: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--beige);
}

.article__header__details li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.article__header__details .detail--title {
  font-weight: 400;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
}

.article__header__details .detail--value a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__header__title {
  padding: 4em 0;
  column-count: 3;
}

@media (max-width: 800px) {
  .article__header__img {
    height: 20vh;
    min-height: 100px;
  }

  .article__header__details {
    column-count: 1;
  }
  
  .article__header__details li {
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .article__header__title {
    column-count: 1;
  }
}