/* FPPTI Jabar Theme 1.10.3
 * Compact sticky journal header.
 * Keeps the 1.10.2 full-header sticky behavior while reducing desktop masthead height.
 * Versioned filename avoids stale browser/proxy/CDN caches.
 */

@media (min-width: 901px) {
  /* Shared title + Dark/Login/Register row: ~64px instead of ~94px. */
  html body.openlib-journal-page .openlib_journal_header__utility_inner {
    min-height: 64px !important;
    padding: 6px 0 !important;
  }

  html body.openlib-journal-page .openlib_journal_header__identity {
    top: 0 !important;
  }

  html body.openlib-journal-page .openlib_journal_header__identity_inner {
    min-height: 64px !important;
    padding: 6px 0 !important;
  }

  /* Keep the title readable without making the sticky bar bulky. */
  html body.openlib-journal-page .openlib_journal_brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body.openlib-journal-page .openlib_journal_brand__title {
    line-height: 1.18 !important;
  }

  /* Combined sticky header is now around 120px tall. */
  html body.openlib-journal-page {
    scroll-padding-top: 124px !important;
  }
}
