/* Mobile: hide pm-head */
@media (max-width: 768px) {
  #pm-head {
    height: 0;
    overflow: hidden;
  }
  .pm-head-inner {
    display: none;
  }
  .post-feed,
  .post-template .article {
    padding: 0 !important;
  }
  .read-more-wrap .post-feed {
    padding-bottom: 50px !important;
  }
  :is(.home-template, .tag-template, .author-template) .site-footer {
    display: none;
  }
  .site-footer {
  padding-bottom: 100px !important;
}
  :is(.home-template, .tag-template, .author-template) .post-feed {
    padding-bottom: 51px !important;
  }
}

/* Fixed bottom nav */
.fixed-container {
  display: none;
}

html.dark-mode .fixed-container {
    background-color: var(--color-darkmode);
    border-top: 1px solid #151515;
  }
  html.dark-mode .fixed-container .icon {
    color: #fff !important;
  }

@media (max-width: 768px) {
  .fixed-container {
    align-items: center;
    background-color: hsla(0, 0%, 100%, 0.98);
    border-top: 1px solid #eee;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    padding: 5px;
    position: fixed;
    z-index: 999;
  }
  .fixed-container a,
  .fixed-container button {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0 20px;
    width: 40px;
    background: none;
  }
  .fixed-container .icon {
    color: #111 !important;
    height: 24px;
    width: 24px;
  }
  .fixed-container .fixednav-menu-button svg {
    height: 28px !important;
    width: 28px !important;
  }

  .tag-profile-body {
    padding: 20px 20px;
}

  .tag-profile-card {
    margin-bottom: 0;
  }

  html.dark-mode .fixed-container .fixednav-menu-button svg {
    color: #fff;
  }

  .fixednav-menu-logo {
    height: 30px;
    width: 30px;
    object-fit: contain;
  }

  html.dark-mode .fixednav-menu-logo {
    filter: brightness(0) invert(1);
  }
  
  .fixed-container button.fixednav-menu-button {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
  }
}

/* Fix gray background on fixednav-menu-toggle */
#fixednav-menu-toggle {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  
}
