/* Shared public navigation. Scoped to avoid changing page-specific navigation. */
.cb-site-header.navbar { background: #fff !important; border-bottom: 1px solid #dde7f1; padding: 16px 0; box-shadow: 0 4px 20px #10335506; position: relative; z-index: 101; }
.cb-site-header > .container { max-width: 1200px; padding: 0 20px; gap: 20px; }
.cb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #103355; font-family: Inter, 'Segoe UI', sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.8px; line-height: 1.15; flex-shrink: 0; }
.cb-brand:hover { color: #0a66c2; }
.cb-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: #0a66c2; border-radius: 13px; box-shadow: 0 4px 12px #0a66c21a; }
.cb-brand-mark img { display: block; width: 30px; height: 30px; object-fit: contain; }
.cb-brand-domain { color: #0a66c2; }
.cb-brand small { display: block; font-weight: 500; font-size: 9px; letter-spacing: 1px; color: #70859a; margin-top: 4px; }
.cb-header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; order: 3; }
.cb-theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 1px solid #dce7f1; border-radius: 10px; color: #47647e; background: #f3f7fb; font-family: Inter, 'Segoe UI', sans-serif; font-size: 11px; font-weight: 600; cursor: pointer; }
.cb-theme-toggle:hover { background: #e7f1fb; color: #084484; }
.cb-theme-toggle svg { width: 18px; height: 18px; }
.cb-theme-toggle .cb-sun { display: none; }
html[data-theme="dark"] .cb-theme-toggle .cb-sun { display: block; }
html[data-theme="dark"] .cb-theme-toggle .cb-moon { display: none; }
.cb-site-header .navbar-collapse { flex-grow: 1; }
.cb-site-header .cbk-nav-links { display: flex; align-items: center; gap: 18px; padding: 0; }
.cb-site-header .cb-browse-link { color: #526b82; font-size: 12px; font-weight: 600; text-decoration: none; padding: 12px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.cb-site-header .btn-header { color: #244761; background: transparent; box-shadow: none; padding: 12px; border-radius: 9px; font-size: 12px; margin: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.cb-site-header .btn-header:hover, .cb-site-header .cb-browse-link:hover { color: #0a66c2; background: #edf5fc; transform: none; }
.cb-site-header .btn-header-post-ad { display: inline-flex; justify-content: center; align-items: center; background: #ffd700; color: #103355; border: 1px solid #eac600; border-radius: 10px; box-shadow: 0 4px 10px #d8ad0010; padding: 12px 18px; font-size: 12px; font-weight: 800; margin: 0; min-height: 44px; }
.cb-site-header .btn-header-post-ad:hover { background: #ffe34d; color: #103355; transform: none; }
.cb-site-header .btn_settings { display: grid; place-items: center; min-height: 44px; min-width: 44px; }
.cb-site-header .icon-settings { width: 24px; height: 24px; fill: #47647e; padding: 0; }
.cb-site-header .cbk-nav-toggler { width: 44px; height: 44px; border: 1px solid #dce7f1; border-radius: 10px; margin: 0; padding: 10px; }
.cb-menu-lines, .cb-menu-lines::before, .cb-menu-lines::after { display: block; width: 20px; height: 2px; background: #244761; border-radius: 2px; position: relative; }
.cb-menu-lines::before, .cb-menu-lines::after { content: ''; position: absolute; left: 0; }
.cb-menu-lines::before { top: -6px; }
.cb-menu-lines::after { top: 6px; }
.cb-site-header a:focus-visible, .cb-site-header button:focus-visible, .cb-site-footer a:focus-visible { outline: 3px solid #d4a900; outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 992px) { .cb-theme-label { display: none; } .cb-site-header > .container { gap: 12px; } .cb-site-header .cbk-nav-links { gap: 8px; } }
@media (max-width: 991px) {
  .cb-site-header.navbar { padding: 12px 0; }
  .cb-site-header > .container { gap: 0; }
  .cb-header-tools { order: 0; }
  .cb-site-header .navbar-collapse { width: 100%; }
  .cb-site-header .cbk-nav-links { align-items: stretch; gap: 8px; padding: 16px 0 0; margin-top: 12px; border-top: 1px solid #dce7f1; }
  .cb-site-header .cbk-nav-links > div { width: 100%; }
  .cb-site-header .btn-header, .cb-site-header .btn-header-post-ad { width: 100%; }
  .cb-site-header .cb-browse-link { padding: 12px; border-radius: 9px; }
  .cb-theme-label { display: none; }
}
@media (max-width: 380px) {
  .cb-site-header > .container { padding: 0 12px; }
  .cb-brand { font-size: 20px; gap: 8px; }
  .cb-brand-mark { width: 38px; height: 38px; border-radius: 10px; }
  .cb-brand small { font-size: 8px; letter-spacing: .5px; }
  .cb-header-tools { gap: 5px; }
  .cb-theme-toggle { padding: 10px; }
}
.cb-theme-toggle { min-width: 44px; }
