.post-navigation,
.pagination {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 1rem;
}

.post-navigation a,
.pagination a {
    background-color: white;
    color: black !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
}

.post-navigation a:hover,
.pagination a:hover {
    color: #F05305 !important;
    text-decoration: underline;
}

#site-search::placeholder {
    color: white;
  }

  .mobile_menu {
    width: 100vw;
    height: calc(100dvh - 50px);
    position: fixed;
    background-color: rgba(0, 0, 0, 0.2);
    top: 50px;
    left: 0;
    z-index: 999999;
  }

  .mobile_menu .mobile_menu_content {
    background-color: #F05305;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  }

  .mobile_menu .mobile_menu_content .mobile_menu-close {
    line-height: 70px;
    text-align: right;
    padding-right: 30px;
    font-size: 40px;
  }

  .mobile_menu .mobile_menu_content ul {
    overflow: auto;
    padding: 20px;
  }

  .mobile_menu .mobile_menu_content ul li {
    list-style: none;
    margin: 10px 0;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 2px;
  }

  .mobile_menu .mobile_menu_content ul li a {
    line-height: 30px;
  }

  .theme-toggle {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
  }

  [data-theme='dark'] .sun-icon {
    display: block;
  }

  [data-theme='dark'] .moon-icon {
    display: none;
  }

  [data-theme='light'] .sun-icon {
    display: none;
  }

  [data-theme='light'] .moon-icon {
    display: block;
  }
   #content_html h1,
    #content_html h2,
    #content_html h3,
    #content_html h4,
    #content_html h5,
    #content_html h6 {
      color: var(--text-title) !important;
    }

    #content_html strong {
      color: var(--text-title) !important;
    }

    #content_html em {
      color: var(--text-desc) !important;
    }

    @media (max-width: 768px) {
      [data-theme='dark'] #content_html {
        background-color: #111625;
      }

      #content_html {
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
      }

      #header {
        margin-bottom: 0 !important;
      }

      .app #content_html {
        --font-family: "Google Sans Text", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Noto Color Emoji";

        h1, h2, h3, h4, h5, h6 {
          margin: 10px 0;
          font-weight: bold;
          color: var(--text-title);
        }

        h1 { font-size: 20px !important; }
        h2 { font-size: 19px !important; }
        h3 { font-size: 18px !important; }
        h4 { font-size: 17px !important; }
        h5 { font-size: 16px !important; }
        h6 { font-size: 15px !important; }

        p {
          letter-spacing: .3px;
          color: var(--text-desc);
          font-family: var(--font-family) !important;
          font-weight: 300;
          font-size: 14px !important;
          line-height: 20px;
          white-space: pre-line;
        }
      }
    }

    .article-card:hover {
      transform: translateY(-2px);
      transition: transform 0.2s ease;
    }

.mobile_menu[hidden] { display: none; }
.mobile_menu:not([hidden]) { display: block; }
.mobile_menu-close { display: block; margin-left: auto; color: white; background: transparent; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid #0077b6; outline-offset: 3px; }
#site-search:focus-visible { outline-offset: -3px; outline-color: white; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000000; padding: .75rem; background: white; }
.skip-link:focus { top: .5rem; }
.pagination { flex-wrap: wrap; align-items: center; }
.pagination-status { margin: auto; }
.article-anchors { flex: 0 0 300px; max-height: 90vh; overflow-y: auto; }
.toc-level-3 { padding-left: 1rem; }
.toc-level-4 { padding-left: 2rem; }
.content h2, .content h3, .content h4, .legacy-heading-anchor { scroll-margin-top: 1rem; }
.content :target { background-color: #fff4d6; }
.updated-date { font-size: .85em; }
#content_html { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

[data-menu-toggle], [data-menu-close] { min-width: 44px; min-height: 44px; }
