/* Match the Vuetify app bar and dense navigation drawer on public pages. */
.app-header-page {
  --app-drawer-width: 256px;
}

.app-header {
  --app-bar-height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: Roboto, var(--font-body);
  line-height: 1.5;
}

.app-header__bar {
  display: flex;
  align-items: center;
  height: var(--app-bar-height);
  padding: 0 16px;
  background: #283e66;
  color: #fff;
}

.app-header .blog-header__hamburger {
  margin: 0 0 0 -12px;
}

.app-header__brand {
  margin-left: 20px;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-header__actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.app-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  min-width: 64px;
  padding: 0 16px;
  border-radius: 4px;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0892857143em;
  white-space: nowrap;
}

.app-header a:hover {
  text-decoration: none;
}

.app-header__action:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.app-header__action .mdi {
  font-size: 16px;
}

.app-header__signup {
  margin-left: 8px;
  background-color: #00bcd4;
  box-shadow: 0 3px 1px -2px #0003, 0 2px 2px #00000024, 0 1px 5px #0000001f;
  font-weight: 700;
}

.app-header__signup:hover {
  background-color: #14c1d7;
}

.app-header__backdrop,
.app-header__drawer {
  position: fixed;
  top: var(--app-bar-height);
  bottom: 0;
  left: 0;
}

.app-header__backdrop {
  right: 0;
  background: rgba(33, 33, 33, 0.46);
}

.app-header__drawer {
  width: var(--app-drawer-width);
  max-width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.87);
}

.app-header__drawer hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.app-header__item {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 4px;
  padding: 0 8px;
  border-radius: 4px;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.app-header__item:hover,
.app-header__drawer details[open] > summary {
  background: rgba(0, 0, 0, 0.04);
}

.app-header__item::-webkit-details-marker {
  display: none;
}

.app-header__item .mdi {
  width: 24px;
  margin-right: 32px;
  color: rgba(0, 0, 0, 0.54);
  font-size: 24px;
  text-align: center;
}

.app-header__item .mdi-chevron-down {
  margin: 0 0 0 auto;
}

.app-header__drawer details[open] .mdi-chevron-down {
  transform: rotate(180deg);
}

.app-header__item--nested { padding-left: 64px; }
.app-header__item--emphasis { min-height: 48px; font-weight: 700; }
.app-header__item--emphasis .mdi { font-size: 36px; width: 36px; }
.app-header__item .app-header__icon--orange { color: #ff9800; }
.app-header__item .app-header__icon--blue { color: #2196f3; }
.app-header__item .app-header__icon--purple { color: #9c27b0; }
.app-header__item .app-header__icon--red { color: #f44336; }
.app-header__item .app-header__icon--green { color: #4caf50; }
.app-header__item .app-header__icon--cyan { color: #00bcd4; }

.app-header__mobile-links,
.app-header [hidden] {
  display: none;
}

@media (min-width: 1264px) {
  body.app-header-page.blog-menu-open { overflow: visible; }
  .blog-menu-open .app-header-page__content { margin-left: var(--app-drawer-width); }
  .app-header__backdrop { display: none; }
}

@media (max-width: 959px) {
  .app-header { --app-bar-height: 56px; }
}

@media (max-width: 767px) {
  .app-header__bar { padding: 0 12px; }
  .app-header__brand { margin-left: 8px; font-size: 1.4rem; }
  .app-header__action--desktop { display: none; }
  .app-header__signup { padding: 0 8px; font-size: 0.75rem; }
  .app-header__mobile-links { display: block; }
}
