/* Mobile: sembunyikan pm-head */
@media (max-width: 767px) {
  #pm-head {
    height: 0;
    overflow: hidden;
  }
  .pm-head-inner {
    display: none;
  }
  .post-feed,
  .post-template .article {
    padding: 0 !important;
  }
  .post-feed {
    padding-bottom: 50px !important;
  }
}

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

@media (max-width: 767px) {
  .fixed-container {
    align-items: center;
    background-color: #fff;
    border-top: 1px solid #ddd;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 5px;
    position: fixed;
    transform: none;
    width: 100%;
    z-index: 20001;
  }
  .fixed-container a,
  .fixed-container button {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0 20px;
    width: 40px;
  }
  .icon {
    color: #000 !important;
    height: 24px;
    width: 24px;
  }
  .fixed-container button.pixelmay-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 background abu-abu pada 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;
}

/* Mobile: halaman menggulir di dalam .viewport (bukan dokumen),
   supaya bar alamat Chrome/Android tetap tampil saat scroll */
@media (max-width: 767px) {
  html, body { height: 100%; overflow: hidden; }
  .viewport {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
  }
}
