/* Pricing Cards Styling */
.grid.cards > ul > li {
  padding: 1.5rem;
}

.grid.cards > ul > li h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0.8rem 0 0.2rem 0;
  line-height: 1.2;
}

.grid.cards > ul > li h2 small {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.grid.cards > ul > li > small {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.6;
  font-size: 0.85rem;
}

.grid.cards > ul > li > ul {
  margin: 1rem 0 1.5rem 0;
}

.grid.cards > ul > li > ul > li {
  margin-bottom: 0.4rem;
}

/* Make all cards equal height */
.grid.cards > ul {
  align-items: stretch;
}

.grid.cards > ul > li {
  display: flex;
  flex-direction: column;
}

.grid.cards > ul > li > a.md-button {
  margin-top: auto;
}
/* Comparison Table Styling */
.md-typeset table:not([class]) {
  width: 100%;
  margin: 1.5rem 0;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background: var(--md-default-fg-color--lightest);
  font-weight: 600;
  padding: 1rem;
}

.md-typeset table:not([class]) td {
  padding: 0.8rem 1rem;
}

.md-typeset table:not([class]) tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Hide permalink symbols */
.md-typeset .headerlink {
  display: none;
}

/* Bottom grid section styling */
.md-typeset > .grid:not(.cards) {
  margin-top: 3rem;
  gap: 2rem;
  align-items: start;
  grid-template-columns: 2fr 1fr;
}

.md-typeset > .grid:not(.cards) > div {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--md-code-bg-color);
}