/* Landing pages (overrides/home.html). */
.og-hero {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

.og-hero__inner {
  padding: 3rem 0.8rem 2.5rem;
}

.og-hero h1 {
  color: inherit;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 40rem;
}

.og-hero__text {
  font-size: 1rem;
  max-width: 38rem;
  opacity: 0.9;
}

.og-hero .md-button {
  color: var(--md-primary-bg-color);
  border-color: var(--md-primary-bg-color);
  margin: 0.5rem 0.5rem 0 0;
}

.og-hero .md-button--primary {
  background: var(--md-accent-fg-color);
  border-color: var(--md-accent-fg-color);
}

@media screen and (max-width: 44.9375em) {
  .og-hero h1 {
    font-size: 1.6rem;
  }
}

/* Header: the Sign in button (overrides/partials/header.html). The modern theme's header is light in day mode and
   dark at night, with --md-default-fg-color as its text: the button takes that, so it shows in both. */
.md-header .og-header__signin {
  color: var(--md-default-fg-color);
  border: 0.05rem solid currentcolor;
  border-radius: 0.1rem;
  font-size: 0.7rem;
  margin: 0 0.4rem 0 0.8rem;
  padding: 0.3em 0.9em;
  white-space: nowrap;
}

.md-header .og-header__signin:hover,
.md-header .og-header__signin:focus {
  background: var(--md-accent-fg-color);
  border-color: var(--md-accent-fg-color);
  color: var(--md-accent-bg-color);
}

/* Footer (overrides/partials/copyright.html). */
.md-footer-meta__inner {
  flex-direction: column;
}

.og-footer {
  width: 100%;
  margin: 0;
  padding: 1.6rem 0 1rem;
}

.og-footer__columns {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-bottom: 1.6rem;
}

.og-footer__heading {
  color: var(--md-footer-fg-color);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.og-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.og-footer li {
  margin: 0 0 0.3rem;
}

.og-footer address {
  font-style: normal;
  line-height: 1.6;
}

.md-typeset .og-footer a {
  color: var(--md-footer-fg-color--light);
}

.md-typeset .og-footer a:hover,
.md-typeset .og-footer a:focus {
  color: var(--md-footer-fg-color);
}

/* Publication date of a blog post, under its title. */
.md-typeset .og-date {
  margin-top: -0.8em;
  color: var(--md-default-fg-color--light);
  font-size: 0.85em;
}
