/* Adapted from TRaSH Guides (MIT), see THIRD_PARTY_NOTICES.md */

/* Footer */
:root > * {
  --md-footer-bg-color: hsla(232, 54%, 41%, 1);
  --md-footer-bg-color--dark: hsla(232, 54%, 41%, 1);
}

/* Remove bottom prev/next navigation */
.md-footer__inner:not([hidden]) {
  display: none;
}

/* Link colour */
.md-content {
  --md-typeset-a-color: orange;
}

/* Better table view */
th,
td {
  border: 1px solid var(--md-typeset-table-color);
  border-spacing: 0;
  border-bottom: none;
  border-left: none;
  border-top: none;
}
.md-typeset__table {
  width: 100%;
  line-height: 1.3;
}
.md-typeset__table table:not([class]) {
  display: table;
  font-size: 0.74rem;
  border-right: none;
}
.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
  padding: 9px;
}
.md-typeset__table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  background-color: hsla(var(--md-hue), 25%, 25%, 1);
  color: #f8f8f8;
}

.md-typeset .md-button {
  border-radius: 0rem;
  padding: 0.625em 2.2em;
}

/* --- Arctor additions --- */

/* Device cards: bigger, whole card clickable feel */
.md-typeset .grid.cards > ul > li {
  transition: border-color 0.15s, box-shadow 0.15s;
}
.md-typeset .grid.cards > ul > li:hover {
  border-color: var(--md-accent-fg-color);
}
.md-typeset .grid.cards .lg {
  color: var(--md-accent-fg-color);
}

/* Welcome block on the home page */
.welcome {
  font-size: 1.05em;
  border-left: 4px solid var(--md-accent-fg-color);
  padding-left: 1em;
  margin-bottom: 1.5em;
}

/* "Still stuck?" footer appended to every page */
.still-stuck {
  margin-top: 3em;
  opacity: 0.85;
}
