/* wend's palette, from the logo: its median blue (#105ede, 5.7:1 on white) on the light
   scheme, its median yellow (#fdc737, 12.5:1 on the dark page) on the dark scheme. */
:root > * {
  --md-primary-fg-color: #105ede;
  --md-primary-fg-color--light: #2b87fe;
  --md-primary-fg-color--dark: #0b4fc0;
  --md-accent-fg-color: #105ede;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #fdc737;
  --md-primary-fg-color--light: #ffd73f;
  --md-primary-fg-color--dark: #e9ac1b;
  --md-accent-fg-color: #ffd73f;
}

/* Copying a pycon block copies the code only: the prompts (.gp) and the output (.go)
   are hidden while the copy button reads the text. */
[data-md-copying] .gp,
[data-md-copying] .go {
  display: none;
}

/* The home page's hero: the logo beside the name and the tagline, stacked on narrow screens. */
.md-typeset .home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin: 1.2rem 0 2rem;
}
.md-typeset .home-hero-logo {
  flex: none;
}
.md-typeset .home-hero h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--md-default-fg-color);
}
/* the heading's permalink would pull the centred name off centre */
.md-typeset .home-hero h1 .headerlink {
  display: none;
}
.md-typeset .home-hero-tagline {
  margin: 0.3rem 0 0;
  max-width: 22rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--md-default-fg-color--light);
}
@media screen and (max-width: 44.9375em) {
  .md-typeset .home-hero {
    clear: both;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .md-typeset .home-hero-tagline {
    margin: 0.3rem auto 0;
  }
}
