/* Сгенерировано из appearance.json и style settings. Не править вручную. */
:root {
  --obs-font-size: 15px;
  --obs-em-color: #C17760;
  --obs-h1-size: 1.7em;
  --obs-h1-color: var(--obs-fg);
  --obs-h2-size: 1.5em;
  --obs-h2-color: #C44040;
  --obs-h3-size: 1.3em;
  --obs-h3-color: #D79E53;
  --obs-h4-size: 1.2em;
  --obs-h4-color: #E5DC5B;
  --obs-h5-size: 1.1em;
  --obs-h5-color: #56BA99;
  --obs-h6-size: 1em;
  --obs-h6-color: #8651C2;
}

.md-typeset .timeline.spaced-lines ul:not(ul ul) > li:nth-child(3n) p {
  line-height: 1.7rem;
}

.md-typeset .timeline {
  --timeline-active-color: var(--obs-success);
}

.md-typeset .timeline.active-color-background-modifier-success {
  --timeline-active-color: var(--obs-success);
}

.md-typeset .timeline.active-color-background-modifier-error {
  --timeline-active-color: var(--obs-error);
}

.md-typeset .timeline.active-color-background-modifier-error-hover {
  --timeline-active-color: var(--obs-error);
}

.md-typeset .timeline.active-color-text-accent {
  --timeline-active-color: var(--obs-accent);
}

.md-typeset .timeline.active-color-text-accent-hover {
  --timeline-active-color: var(--obs-accent);
}

.md-typeset .timeline.active-color-text-error {
  --timeline-active-color: var(--obs-error);
}

.md-typeset .timeline.active-color-text-error-hover {
  --timeline-active-color: var(--obs-error);
}

.md-typeset .timeline.active-color-text-selection {
  --timeline-active-color: var(--obs-accent);
}

.md-typeset .timeline.active-color-interactive-accent {
  --timeline-active-color: var(--obs-accent);
}

.md-typeset .timeline.active-color-interactive-accent-hover {
  --timeline-active-color: var(--obs-accent);
}

.md-typeset .timeline.active-color-interactive-success {
  --timeline-active-color: var(--obs-success);
}

.md-typeset .timeline ul:not(ul ul) {
  display: grid;
  grid-template-columns: auto auto 1fr;
  column-gap: 1.5rem;
  margin: 2.3rem 0;
}
.md-typeset .timeline ul:not(ul ul) > li {
  list-style: none;
}
.md-typeset .timeline ul:not(ul ul) > li > *:first-child {
  margin-top: 0;
}
.md-typeset .timeline ul:not(ul ul) > li > *:last-child {
  margin-bottom: 0;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+2) {
  grid-column: 3;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1), .md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4em 0;
  font-size: 1.3rem;
  font-weight: bold;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1) > *, .md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+2) > * {
  font-size: 1.3rem;
  font-weight: bold;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1) {
  grid-column: 1;
  position: relative;
  justify-self: right;
  text-align: right;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1)::before, .md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1)::after {
  content: " ";
  position: absolute;
  height: 100%;
  width: 0.5rem;
  right: -2rem;
  top: 0;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1)::before {
  background-color: var(--obs-bg);
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n+1)::after {
  background-color: var(--obs-fg);
  opacity: 0.25;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n) {
  position: relative;
  margin-bottom: 4.5rem;
  padding-top: 0.4em;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n)::after {
  content: " ";
  position: absolute;
  border-bottom: 0.1rem dashed var(--obs-fg);
  opacity: 0.1;
  width: 100%;
  left: 0;
  bottom: -2.25rem;
  transform: translateY(50%);
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n):last-child {
  margin-bottom: 0.4em;
}
.md-typeset .timeline ul:not(ul ul) > li:nth-child(3n):last-child::after {
  display: none;
}
.md-typeset .timeline ul:not(ul ul)::before {
  content: "";
  height: 100%;
  width: 0.5rem;
  grid-column: 2/span 1;
  grid-row-start: 1;
  grid-row-end: span 1000;
  background-color: var(--obs-fg);
  opacity: 0.1;
}

.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n) {
  background-color: var(--obs-bg-alt);
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n) {
  margin-bottom: 2.25rem;
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n):last-child, .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n):last-child, .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n):last-child {
  margin-bottom: 0.4em;
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n)::after, .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n)::after, .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n)::after {
  display: none;
}

.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n+2) {
  padding: 1.5rem;
  padding-top: 0.4em;
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n+2) {
  padding-bottom: 0;
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n+1), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n+1) {
  margin-top: 0.4em;
}

.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n+2) {
  border-radius: 1.5rem 1.5rem 0 0;
}
.md-typeset .timeline.body-2 ul:not(ul ul) > li:nth-child(3n) {
  border-radius: 0 0 1.5rem 1.5rem;
}

.md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n) {
  margin-left: 1rem;
}
.md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n+2) {
  position: relative;
  background: var(--timeline-active-color);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n+2)::before {
  content: "";
  position: absolute;
  width: 2rem;
  background: var(--timeline-active-color);
  top: 0;
  bottom: 0;
  left: -1rem;
  clip-path: polygon(1rem 0, 100% 0, 100% 100%, 1rem 100%, 0 50%);
}
.md-typeset .timeline.body-3 ul:not(ul ul) > li:nth-child(3n) {
  padding: 1.5rem;
}

.md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n+2), .md-typeset .timeline.body-4 ul:not(ul ul) > li:nth-child(3n) {
  border-left: 0.3rem solid var(--timeline-active-color);
}

.md-typeset .timeline.line-2 ul:not(ul ul) > li:nth-child(3n+1)::before, .md-typeset .timeline.line-2 ul:not(ul ul) > li:nth-child(3n+1)::after {
  right: -2.2rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.md-typeset .timeline.line-2 ul:not(ul ul) > li:nth-child(3n+1)::before {
  height: 1.2rem;
  width: 1.2rem;
}
.md-typeset .timeline.line-2 ul:not(ul ul) > li:nth-child(3n+1)::after {
  background: transparent;
  border: 0.2rem solid var(--obs-fg);
  height: 0.8rem;
  width: 0.8rem;
  opacity: 0.15;
}
.md-typeset .timeline.line-2 ul:not(ul ul)::before {
  width: 0.2rem;
  opacity: 0.15;
}

.md-typeset .timeline.line-3 ul:not(ul ul) > li:nth-child(3n+1)::before {
  background: var(--timeline-active-color);
  height: 1rem;
  width: 1rem;
  border: 0.3rem solid var(--obs-bg);
  right: -2.45rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.md-typeset .timeline.line-3 ul:not(ul ul) > li:nth-child(3n+1)::after {
  background: transparent;
}
.md-typeset .timeline.line-3 ul:not(ul ul)::before {
  width: 0.3rem;
  opacity: 0.15;
}

.md-typeset .timeline.line-4 ul:not(ul ul) > li:nth-child(3n+1)::before, .md-typeset .timeline.line-4 ul:not(ul ul) > li:nth-child(3n+1)::after {
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.md-typeset .timeline.line-4 ul:not(ul ul) > li:nth-child(3n+1)::before {
  background: var(--obs-fg);
  height: 1.3rem;
  width: 1.3rem;
  right: -2.225rem;
}
.md-typeset .timeline.line-4 ul:not(ul ul) > li:nth-child(3n+1)::after {
  opacity: 1;
  background: var(--timeline-active-color);
  height: 0.85rem;
  width: 0.85rem;
  right: -2rem;
}
.md-typeset .timeline.line-4 ul:not(ul ul)::before {
  opacity: 1;
  width: 0.15rem;
  background-color: transparent;
  background-image: linear-gradient(var(--obs-fg) 60%, rgba(255, 255, 255, 0) 0%);
  background-position: right;
  background-size: 0.15rem 1.5rem;
  background-repeat: repeat-y;
}

.md-typeset .timeline.line-5 ul:not(ul ul) > li:nth-child(3n+1)::before, .md-typeset .timeline.line-5 ul:not(ul ul) > li:nth-child(3n+1)::after {
  top: 50%;
}
.md-typeset .timeline.line-5 ul:not(ul ul) > li:nth-child(3n+1)::before {
  width: 3rem;
  height: 3rem;
  right: -3.1rem;
  transform: translateY(-50%);
}
.md-typeset .timeline.line-5 ul:not(ul ul) > li:nth-child(3n+1)::after {
  width: 1rem;
  height: 1rem;
  right: 0;
  transform: translateY(-50%) translateX(2.1rem) rotate(45deg);
}
.md-typeset .timeline.line-5 ul:not(ul ul)::before {
  width: 0.2rem;
  opacity: 0.25;
}
/* Чтение в духе темы Things. Цвета и кегль заголовков задаёт hooks.py из JSON хранилища. */

:root {
  --obs-bg: #1c2127;
  --obs-bg-nav: #181c20;
  --obs-bg-secondary: #282c34;
  --obs-bg-alt: #181c20;
  --obs-fg: #dadada;
  --obs-muted: #999999;
  --obs-border: #35393e;
  --obs-accent: hsl(215, 75%, 70%);
  --obs-quote: #3eb4bf;
  --obs-success: #44cf6e;
  --obs-error: #fb464c;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--obs-bg);
  --md-default-fg-color: var(--obs-fg);
  --md-default-fg-color--light: #c8c8c8;
  --md-default-fg-color--lighter: var(--obs-muted);
  --md-default-fg-color--lightest: #666666;
  --md-primary-fg-color: var(--obs-bg-nav);
  --md-primary-fg-color--light: var(--obs-bg-secondary);
  --md-primary-fg-color--dark: #101418;
  --md-primary-bg-color: var(--obs-fg);
  --md-primary-bg-color--light: #dadadab3;
  --md-accent-fg-color: var(--obs-accent);
  --md-accent-fg-color--transparent: hsl(215 75% 70% / 0.1);
  --md-typeset-a-color: var(--obs-accent);
  --md-code-bg-color: var(--obs-bg-secondary);
  --md-code-fg-color: #e6e6e6;
  --md-footer-bg-color: var(--obs-bg-nav);
  --md-footer-bg-color--dark: #101418;
  --md-footer-fg-color: #c8c8c8;
  --md-footer-fg-color--light: var(--obs-muted);
}

.md-sidebar--primary,
.md-sidebar--secondary {
  background-color: transparent;
}

/* Имя раздела уже есть во вкладке. В меню остаются только его страницы. */
.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__container {
  display: none;
}

.md-nav--lifted .md-nav[data-md-level="1"]:not(:has(.md-nav__link)) {
  display: none;
}

.md-nav--primary .md-nav__link {
  margin-top: 0;
  padding: 0.28rem 0.4rem;
  color: var(--obs-muted);
}

.md-nav--primary .md-nav__link:hover,
.md-nav--primary .md-nav__link:focus {
  color: var(--obs-fg);
}

.md-nav--primary .md-nav__link--active,
.md-nav--primary .md-nav__item--active > .md-nav__link,
.md-nav--primary .md-nav__item--active > .md-nav__container > .md-nav__link {
  color: var(--obs-accent);
}

.md-nav--primary .md-nav[data-md-level="1"] .md-nav__link {
  padding-left: 1rem;
}

.md-content__inner.md-typeset {
  max-width: 40rem;
  margin-inline: auto;
  font-size: var(--obs-font-size);
  line-height: 1.5;
}

/* Кнопка в шапке: сайт на всю ширину окна, меню остаётся в общем ряду. */
html.obs-wide .md-grid {
  max-width: none;
}

html.obs-wide .md-content__inner.md-typeset,
html.obs-wide .md-content__inner.md-typeset:has(.review-grid) {
  max-width: none;
}

.md-header__button[data-obs-wide][aria-pressed="true"] {
  color: var(--obs-accent);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.1em;
  text-transform: none;
}

.md-typeset h1 {
  font-size: var(--obs-h1-size);
  font-weight: 700;
  color: var(--obs-h1-color);
}

.md-typeset h2 {
  font-size: var(--obs-h2-size);
  color: var(--obs-h2-color);
}

.md-typeset h3 {
  font-size: var(--obs-h3-size);
  color: var(--obs-h3-color);
}

.md-typeset h4 {
  font-size: var(--obs-h4-size);
  color: var(--obs-h4-color);
}

.md-typeset h5 {
  font-size: var(--obs-h5-size);
  color: var(--obs-h5-color);
}

.md-typeset h6 {
  font-size: var(--obs-h6-size);
  color: var(--obs-h6-color);
}

.md-typeset h1 a,
.md-typeset h2 a,
.md-typeset h3 a,
.md-typeset h4 a,
.md-typeset h5 a,
.md-typeset h6 a {
  color: inherit;
  text-decoration: none;
}

.md-typeset a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.md-typeset .headerlink,
.md-typeset .headerlink:hover {
  text-decoration: none;
  color: var(--obs-muted);
}

.md-typeset strong {
  font-weight: 700;
  color: #7aa2f7;
  background-color: #7aa2f7;
  background-image: linear-gradient(62deg, #87c2fd 0%, #dcb9fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.md-typeset mark strong {
  color: var(--obs-fg);
  background-image: none;
  background-color: transparent;
  -webkit-text-fill-color: var(--obs-fg);
}

.md-typeset strong em,
.md-typeset em strong {
  font-weight: 700;
  font-style: italic;
  color: #f0b27a;
  background-color: #f0b27a;
  background-image: linear-gradient(62deg, #f0b27a 0%, #e06a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.md-typeset mark strong em,
.md-typeset mark em strong {
  color: var(--obs-fg);
  background-image: none;
  background-color: transparent;
  -webkit-text-fill-color: var(--obs-fg);
}

.md-typeset em {
  color: var(--obs-em-color);
  font-style: italic;
}

.md-typeset blockquote {
  color: var(--obs-quote);
  font-style: italic;
  border-left-color: var(--obs-quote);
}

.md-typeset mark:not(.hold-red):not(.hold-yellow):not(.hold-green) {
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(
    0deg,
    hsl(50deg 100% 50%) 0%,
    hsl(50deg 100% 50%) 2px,
    hsl(50deg 100% 50% / 20%) 2px,
    hsl(50deg 100% 50% / 20%) 100%
  );
  padding: 0 0.08em;
}

.md-typeset mark.hold-red,
.md-typeset mark.hold-yellow,
.md-typeset mark.hold-green {
  color: inherit;
  padding: 0 0.12em;
  border-radius: 2px;
  background-image: none;
  -webkit-text-fill-color: inherit;
}

.md-typeset mark.hold-red {
  background-color: rgba(210, 64, 64, 0.38);
}

.md-typeset mark.hold-yellow {
  background-color: rgba(230, 186, 36, 0.42);
}

.md-typeset mark.hold-green {
  background-color: rgba(72, 168, 88, 0.35);
}

.md-typeset .admonition.meta,
.md-typeset details.meta {
  font-size: 0.92em;
  border-color: rgb(130, 132, 140);
}

.md-typeset .admonition.meta > .admonition-title,
.md-typeset details.meta > summary {
  background-color: rgba(130, 132, 140, 0.18);
}

.md-typeset img {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.md-typeset::after {
  content: "";
  display: table;
  clear: both;
}

.md-typeset .admonition.infobox,
.md-typeset .admonition.infobox-storm {
  float: right;
  clear: right;
  width: min(280px, 40%);
  margin: 0 0 1.1em 1.2em;
  padding: 0.75em 0.9em;
  background-color: var(--obs-bg-secondary);
  border: 1px solid var(--obs-border);
  border-radius: 4px;
  box-shadow: none;
  overflow: hidden;
  color: var(--obs-fg);
}

.md-typeset .admonition.infobox > .admonition-title,
.md-typeset .admonition.infobox-storm > .admonition-title {
  margin: -0.75em -0.9em 0.55em;
  padding: 0.45em 0.7em;
  border: none;
  background-color: rgb(43, 108, 176);
  color: #fff;
  font-size: 0.78em;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
}

.md-typeset .admonition.infobox-storm > .admonition-title {
  background-color: rgb(155, 44, 44);
}

.md-typeset .admonition.infobox > .admonition-title::before,
.md-typeset .admonition.infobox-storm > .admonition-title::before,
.md-typeset .admonition.infobox > .admonition-title::after,
.md-typeset .admonition.infobox-storm > .admonition-title::after {
  display: none;
}

.md-typeset .admonition.infobox > :not(.admonition-title),
.md-typeset .admonition.infobox-storm > :not(.admonition-title) {
  font-size: 0.88em;
}

.md-typeset .admonition.infobox > .admonition-title + *,
.md-typeset .admonition.infobox-storm > .admonition-title + * {
  margin-top: 0;
  margin-bottom: 0.15em;
  padding-bottom: 0.4em;
  text-align: center;
  font-size: 1.15em;
  font-weight: 650;
  border-bottom: 1px solid var(--obs-border);
}

.md-typeset .admonition.infobox > p:not(.admonition-title),
.md-typeset .admonition.infobox-storm > p:not(.admonition-title) {
  margin: 0;
  padding: 0.28em 0;
  border-bottom: 1px solid var(--obs-border);
}

.md-typeset .admonition.infobox > p:last-child,
.md-typeset .admonition.infobox-storm > p:last-child,
.md-typeset .admonition.infobox > :last-child,
.md-typeset .admonition.infobox-storm > :last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.md-typeset .admonition.infobox img,
.md-typeset .admonition.infobox-storm img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0.5em;
  box-shadow: none;
}

.md-typeset .timeline ul {
  padding-left: 0;
}

.md-typeset .timeline ul > li::marker {
  content: none;
}

@media (max-width: 720px) {
  .md-typeset .admonition.infobox,
  .md-typeset .admonition.infobox-storm {
    float: none;
    width: 100%;
    margin: 0 0 1em;
  }
}

/* Лента: заголовок над карточкой, дата и время чтения под ней, между постами — линия. */
.md-post--excerpt {
  margin: 0;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.md-post--excerpt + .md-post--excerpt {
  border-top: 1px solid var(--obs-border);
}

.md-typeset h2.obs-excerpt__title,
h2.obs-excerpt__title {
  margin: 0 0 0.65rem;
  color: var(--obs-fg);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.3;
}

.md-typeset h2.obs-excerpt__title a,
.md-content .obs-excerpt__title a {
  color: inherit;
  text-decoration: none;
}

.md-content .obs-excerpt__title a:hover,
.md-content .obs-excerpt__title a:focus {
  color: var(--obs-accent);
}

.obs-excerpt__card {
  padding: 0.85rem 1.05rem 1rem;
  background: var(--obs-bg-secondary);
  border: 1px solid var(--obs-border);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.md-typeset > h1 + .obs-excerpt__card {
  margin-top: 0.65rem;
}

.obs-excerpt__card > .md-typeset > :first-child {
  margin-top: 0;
}

.obs-excerpt__card > .md-typeset > :last-child {
  margin-bottom: 0;
}

.obs-excerpt__card + .md-post--excerpt {
  margin-top: 1.5rem;
  border-top: 1px solid var(--obs-border);
}

.md-post--excerpt .md-post__content {
  font-size: var(--obs-font-size);
  line-height: 1.5;
}

.md-post--excerpt .md-post__content > :first-child {
  margin-top: 0;
}

.md-post--excerpt .md-post__content > :last-child {
  margin-bottom: 0;
}

.obs-excerpt__time {
  margin: 0.6rem 0 0;
  color: var(--obs-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.obs-excerpt__dot {
  margin: 0 0.35em;
}

.md-content__inner.md-typeset:has(.review-grid) {
  max-width: 56rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.md-typeset a.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--obs-fg);
  text-decoration: none;
}

.md-typeset a.review-card:hover .review-card__title,
.md-typeset a.review-card:focus .review-card__title {
  color: var(--obs-accent);
}

.review-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  background: var(--obs-bg-secondary);
}

.review-card__title {
  font-weight: 650;
  text-align: center;
}

@media (max-width: 720px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}
