/* What's new pages: /changelog/, /changelog/ios/, /changelog/android/. Loaded after home.css. */
.cl-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.cl-switch a,
.cl-switch span {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.cl-switch a:hover {
  color: var(--ink);
}
.cl-switch [aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.cl-list.home-section {
  padding-top: 8px;
}
.cl-release {
  position: relative;
  padding: 0 0 40px 28px;
  border-left: 2px solid var(--line);
  scroll-margin-top: 16px;
}
.cl-release::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--raspberry);
}
.cl-release:last-of-type {
  border-left-color: transparent;
}
.cl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 14px;
}
.cl-version {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cl-status {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 600;
}
.site-page .cl-release h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}
.cl-release h2 a {
  color: inherit;
  text-decoration: none;
}
.cl-release h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cl-summary {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
}
.cl-release ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
  line-height: 1.55;
}
.cl-release li {
  margin: 0 0 6px;
  list-style: inherit;
}
.cl-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.cl-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cl-platform {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  border-radius: 20px;
  background: var(--butter);
  transition: transform 0.15s ease;
}
/* Beats the site's default link colour and underline, for the card and everything in it. */
.site-page a.cl-platform,
.site-page a.cl-platform * {
  color: var(--ink);
  text-decoration: none;
}
.cl-platform + .cl-platform {
  background: var(--mint);
}
.cl-platform:hover {
  transform: translateY(-2px);
}
.cl-platform .cl-meta {
  margin: 0;
}
.cl-platform .cl-version {
  background: #fff;
}
.cl-platform__name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}
.cl-platform__title {
  font-size: 18px;
  line-height: 1.4;
}
.cl-platform__more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .cl-platforms {
    grid-template-columns: 1fr;
  }
  .cl-platform {
    padding: 24px;
  }
  .site-page .cl-release h2 {
    font-size: 24px;
  }
  .cl-summary {
    font-size: 17px;
  }
  .cl-release {
    padding-left: 20px;
  }
}

.cl-shot {
  margin: 4px 0 18px;
}
.cl-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
