/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

#header .container { max-width: 1180px; }
#header .navbar { min-height: 4.5rem; padding-block: .5rem; }
#header .desktop-menu { display: none; }
#header .actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
#header .actions .gem-menu-toggle { position: static; }
.gem-article-image { margin: 0 0 1.5rem; }
.gem-article-image img { display: block; width: min(100%, 680px); height: auto; max-height: 520px; object-fit: contain; margin-inline: auto; border-radius: .35rem; }
#header .gem-logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
#header .gem-logo-mark { width: 2.7rem; height: 2.7rem; color: var(--q2-accent, currentColor); }
#header .gem-logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.mobile-menu { display: none !important; }
.mobile-menu .button_container { display: none !important; }
#header .gem-menu-toggle { display: flex !important; width: 2.75rem; height: 2.75rem; }
.mobile-container { display: block !important; z-index: 60 !important; }
.overlay-menu .navigation { display: block; margin: 0; padding: 0; }
.overlay-menu .navigation li { margin: .15rem 0; }
.overlay-menu .navigation a { display: block; padding: .5rem .75rem; font-size: 1rem; }
#footer { padding-block: 1.25rem; }
@media (max-width: 860px) {
  #header .navbar-section.actions { display: flex !important; margin-right: 3.5rem; }
  #header .gem-menu-toggle { display: flex !important; }
  #header .actions .theme-toggle { display: inline-flex !important; }
}
