/* image aspect ratios */

.ratio-16-11 {
  aspect-ratio: 16 / 11;
}
.ratio-16-9 {
  aspect-ratio: 16 / 9;
}
.ratio-16-7 {
  aspect-ratio: 16 / 7;
}
.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

/* image grid layouts */

.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.img-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* stacked image column */

.img-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
}

/* Helpers */

.stack-xs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stack-md {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.max-article {
  max-width: 720px;
}
.article-page {
  max-width: 1680px;
}
.article-display {
  display: flex;
  gap: 8rem;
  margin-left: 0;
}

.divider-sm {
  display: block;
  width: 100%;
  background: rgba(72, 72, 72, 0.5);
  height: 1px;
  margin: 0.5rem 0;
}
.divider-md {
  display: block;
  width: 100%;
  background: rgba(72, 72, 72, 0.5);
  height: 1px;
  margin: 1rem 0;
}
.divider-mdv {
  display: block;
  width: 100%;
  background: rgba(72, 72, 72, 0.25);
  height: 1px;
  margin: 1rem 0;
}
.divider-space {
  display: block;
  width: 100%;
  background: rgba(72, 72, 72, 0);
  height: 1px;
  margin: 1rem 0;
}
.divider-vertical {
  display: block;
  width: 1px;
  height: 60%;
  background: rgba(72, 72, 72, 0.4);
  margin: 0 0.2rem;
}
.divider-footer {
  display: block;
  width: 1px;
  background: rgba(72, 72, 72, 0.4);
  margin: 0 1rem;
}