.bit-only-desktop  { display: none !important; }
.bit-only-mobile   { display: inline-flex !important; }

.bit-nav,
.bit-sidebar,
.bit-article-side {
  display: none !important;
}

.bit-logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 1025px) {
  .bit-only-desktop { display: block !important; }
  .bit-only-mobile  { display: none !important; }

  .bit-only-desktop .bit-icon-btn { display: inline-flex; }

  .bit-nav          { display: flex !important; }
  .bit-sidebar      { display: block !important; }
  .bit-article-side { display: block !important; }

  .bit-header-right .bit-menu-btn,
  .bit-header-right .bit-icon-btn[aria-label="Buka menu"] {
    display: none !important;
  }

  .bit-logo-img,
  .bit-header .bit-logo-img,
  .bit-page--about .bit-logo-img,
  body .bit-logo-img {
    height: 40px !important;
    max-height: none !important;
  }

  .bit-header-left {
    min-height: 52px;
    align-items: center;
  }

  .bit-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .bit-topsearch {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 10px;
  }
}

html,
body {
  height: 100%;
}

.bit-page,
body.bit-page--about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bit-header,
.bit-footer {
  flex-shrink: 0;
}

main.bit-main {
  flex: 1;
}

@media (min-width: 744px) and (max-width: 1024px) {

  .bit-tablet-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    z-index: 9999;
    max-width: calc(100% - 32px);
    padding: 10px 12px 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(41, 164, 197, 0.30);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    animation: bitNoticeSlideUp 0.4s ease 1.2s forwards;
  }

  .bit-tablet-notice-text {
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
    white-space: nowrap;
  }

  .bit-tablet-notice-close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: #374151;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
  }

  .bit-tablet-notice-close:hover {
    background: rgba(0, 0, 0, 0.14);
  }

  .bit-tablet-notice--hiding {
    animation: bitNoticeSlideDown 0.4s ease forwards !important;
  }

  @keyframes bitNoticeSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  @keyframes bitNoticeSlideDown {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to   { opacity: 0; transform: translateX(-50%) translateY(16px); }
  }
}
