h2 {
  font-size: 1.4rem;
}
.x {
  text-align: right;
  font-family: 'Noto Sans Math';
}
.article-card {
}
.mini-content {
  user-select: none;
  height: 3.1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  border-top: 0.1rem var(--sub-text) solid;
  border-bottom: 0.1rem var(--sub-text) solid;
  font-size: 0.9rem;
  padding: 0.25rem;
}
.article-card-container {
  display: flex;
  gap: 1rem;
  flex-flow: column;
}
.title {
  & > * {
    display: inline-block;
  }
  & h2 {
    margin-right: 1rem;
  }
}

.archive-anchor {
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  width: fit-content;
  padding: 1rem;
  margin: auto;
}

.hero-img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-top: 0.1rem var(--sub-text) solid;
  border-bottom: 0.1rem var(--sub-text) solid;
}

h2 a {
  &:link,
  &:visited {
    text-decoration: none;
  }
  &:link {
    color: var(--main-text);
  }
  &:visited {
    color: var(--sub-text);
  }
  &:link:focus-visible,
  &:visited:focus-visible,
  &:link:hover,
  &:visited:hover {
    background: var(--accent-color);
    color: white;
    outline: none;
  }
}

.notification {
  max-width: 420px;
  margin: 1rem auto;
  word-break: normal;
  background: var(--sub-base);
  padding: 1rem;
  border: 1px var(--sub-text) dashed;
}
