/* duckOSM Studio brand, as in roadstyle's site: dark slate header, the teal of the page as the accent */
:root { --md-primary-fg-color: #0f172a; --md-primary-fg-color--light: #1e293b; --md-primary-fg-color--dark: #070a12; --md-primary-bg-color: #fff;
  --md-accent-fg-color: #0e7f91; --md-accent-fg-color--transparent: rgba(14, 127, 145, .1); --rs-nav-on: #0e7f91; }
[data-md-color-scheme="slate"] { --md-default-bg-color: #0f1422; --md-typeset-a-color: #3cc4d8; --rs-nav-on: #3cc4d8; }
.md-typeset a { color: var(--md-typeset-a-color, #0e7f91); }
.md-tabs { background: #1e293b; }
/* the one-line lead under a page title */
.md-typeset .lead { font-size: 1.12em; color: var(--md-default-fg-color--light); margin-top: -.4em; }
/* cards: a lift on hover, brand colour on the icon */
.md-typeset .grid.cards > ul > li { transition: box-shadow .15s, transform .15s; }
.md-typeset .grid.cards > ul > li:hover { transform: translateY(-2px); }
.md-typeset .grid.cards .lg { color: var(--rs-nav-on); }
/* home hero */
.md-typeset .rs-hero img { border-radius: 12px; box-shadow: 0 4px 22px rgba(0, 0, 0, .22); }
.md-nav__link--active, .md-nav__item--active > .md-nav__link { color: var(--rs-nav-on) !important; font-weight: 600; }

/* the table of contents (right): compact, a line at the left, names that wrap, the active item in the accent colour */
.md-nav--secondary .md-nav__title { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; box-shadow: none; background: none; }
.md-nav--secondary .md-nav__list { border-left: 2px solid var(--md-default-fg-color--lightest); padding-left: .2rem; }
.md-nav--secondary .md-nav__link { font-size: .68rem; line-height: 1.35; margin-top: .45em; padding-left: .55rem; margin-left: -.2rem; border-left: 2px solid transparent;
  white-space: normal; text-overflow: clip; overflow: visible; }
.md-nav--secondary .md-nav__list .md-nav__list { border-left: 0; margin-left: .4rem; }
.md-nav--secondary .md-nav__link--active { border-left-color: var(--rs-nav-on); }
.md-sidebar--secondary .md-sidebar__scrollwrap { scrollbar-width: thin; }
.md-nav--secondary code { font-size: .95em; }
.md-nav--secondary .md-ellipsis { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
/* a title that screen readers and the page title read, and the eye does not (the banner has the name) */
.md-typeset h1.rs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
