/* Pagelore brand colours, taken from the logo's gradient. */
:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #4b3fd6;
  --md-primary-fg-color--light: #6d3fd0;
  --md-primary-fg-color--dark: #3a2fb0;
  --md-accent-fg-color: #2f8fff;
  --md-typeset-a-color: #3d4fd8;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #4b3fd6;
  --md-primary-fg-color--light: #6d3fd0;
  --md-primary-fg-color--dark: #3a2fb0;
  --md-accent-fg-color: #5aaeff;
  --md-typeset-a-color: #8fa6ff;
}

/* Home page hero */
.pl-hero {
  text-align: center;
  margin: 1rem 0 2rem;
}

.pl-hero img {
  width: 340px;
  max-width: 80%;
}

.pl-hero .pl-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
}

.pl-hero .pl-sub {
  color: var(--md-default-fg-color--light);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

/* Show the logo that suits the colour scheme */
[data-md-color-scheme="default"] .pl-logo-dark,
[data-md-color-scheme="slate"] .pl-logo-light {
  display: none;
}

/* No logo in the header: the site name is enough there. */
.md-header__button.md-logo {
  display: none;
}

/* The menu drawer on small screens shows the logo on the primary colour too. */
.md-nav__title .md-nav__button.md-logo img {
  padding: 0.15rem;
  background: #ffffff;
  border-radius: 0.5rem;
}
