/* Single-row navy header with a light catalog. Scope overrides to avoid legacy theme navigation rules. */
#masthead.rh-header { display: block; height: auto; font-family: Arial, Helvetica, sans-serif; position: sticky; top: 0; z-index: 1000; width: 100%; max-width: none; margin: 0; padding: 0; background: #153a57; color: #f2f6fa; box-shadow: 0 2px 10px #153a5710; transition: background-color .2s ease, box-shadow .2s ease; }
#masthead.rh-header.is-scrolled { background: rgba(21, 58, 87, .96); box-shadow: 0 4px 18px #102d4026; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
 #masthead.rh-header.is-scrolled { background: rgba(21, 58, 87, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.admin-bar #masthead.rh-header { top: 32px; }
#masthead *, #masthead *::before, #masthead *::after { box-sizing: border-box; max-width: none; }
#masthead .rh-wrap { width: min(1300px, calc(100% - 48px)); max-width: none; margin: 0 auto; }
#masthead a { text-decoration: none; }
#masthead a:focus-visible, #masthead summary:focus-visible, #masthead button:focus-visible, #masthead input:focus-visible { outline: 2px solid #f48c30; outline-offset: 3px; }
#masthead .rh-row { display: flex; align-items: center; position: relative; min-height: 88px; gap: 24px; }
#masthead .rh-logo { display: inline-flex; flex: 0 0 150px; align-items: center; padding: 0; background: transparent; }
#masthead .rh-logo img { display: block; width: 150px; max-width: 100%; height: 60px; object-fit: contain; margin: 0; }
#masthead .rh-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-left: 0; padding-left: 20px; border-left: 1px solid #ffffff30; }
#masthead .rh-contact a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#masthead .rh-phone { color: #fff; font-size: 20px; font-weight: 700; }
#masthead .rh-email { color: #9ad7f6; font-size: 12px; }
#masthead .rh-phone svg { display: none; }
#masthead .rh-email svg { display: block; width: 17px; height: 17px; flex-shrink: 0; }
#masthead .rh-email:hover { color: #fff; }
#masthead details { margin: 0; padding: 0; }
#masthead summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; font-size: 14px; font-weight: 400; list-style: none; cursor: pointer; }
#masthead summary::-webkit-details-marker { display: none; }
#masthead .rh-chevron { display: block; flex: 0 0 12px; width: 12px; height: 12px; margin-left: auto; transition: transform .15s; }
#masthead details[open] > summary .rh-chevron { transform: rotate(180deg); }
#masthead .rh-catalog { flex: 0 0 auto; }
#masthead .rh-catalog > summary { padding: 10px 14px; min-height: 44px; border-radius: 4px; border: 1px solid #ffffff20; background: #1d506f; color: #8bd7ff; }
#masthead .rh-catalog > summary:hover { background: #286580; }
#masthead .rh-catalog-panel { position: absolute; top: 100%; left: 0; width: min(920px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 28px; color: #24364b; background: #fff; border: 1px solid #e2e9ef; border-top: 2px solid #159fdf; border-radius: 0 0 5px 5px; box-shadow: 0 12px 28px #153a5720; max-height: calc(100dvh - 120px); overflow-y: auto; }
#masthead .rh-catalog-group h2 { margin: 0 0 14px; color: #1283b8; font-size: 14px; font-weight: 600; text-align: left; text-transform: uppercase; line-height: 1.4; }
#masthead ul { margin: 0; padding: 0; list-style: none; }
#masthead li { margin: 0; padding: 0; }
#masthead .rh-catalog-group a { display: block; padding: 7px 0; color: #344e61; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
#masthead .rh-catalog-group a:hover { color: #c66210; }
#masthead .rh-catalog-group .rh-catalog-all { color: #b45309; font-weight: 600; }
#masthead .rh-catalog-group .rh-catalog-all:hover { color: #873c06; }
#masthead .rh-menu { flex: 1; min-width: 0; }
#masthead .rh-menu > summary { display: none; }
/* Desktop navigation remains visible even when its mobile disclosure is closed. */
#masthead .rh-menu::details-content { content-visibility: visible; }
#masthead .rh-menu > nav { display: block; }
#masthead .rh-menu ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 22px; }
#masthead .rh-menu a { display: block; padding: 16px 0; white-space: nowrap; color: #f2f6fa; font-size: 14px; line-height: 20px; }
#masthead .rh-menu a:hover { color: #8bd7ff; }
#masthead .rh-search { margin-left: auto; }
#masthead .rh-search summary { gap: 9px; min-height: 44px; padding: 0 13px; border: 1px solid #a8c7db80; border-radius: 5px; background: #ffffff0a; white-space: nowrap; color: #fff; font-size: 13px; }
#masthead .rh-search summary:hover { background: #ffffff18; }
#masthead .rh-search summary span { display: inline; }
#masthead .rh-search form { position: absolute; right: 0; top: 100%; display: flex; width: min(440px, 100%); padding: 16px; margin: 0; gap: 8px; background: #fff; border: 1px solid #e2e9ef; box-shadow: 0 12px 28px #153a5720; }
#masthead .rh-search input { min-width: 0; width: 100%; margin: 0; padding: 10px; border: 1px solid #ccd8e1; background: #fff; color: #24364b; font-size: 16px; }
#masthead .rh-search button { margin: 0; padding: 10px 16px; border: 0; background: #159fdf; color: #fff; font-size: 14px; line-height: 1.4; }
#masthead .rh-search button:hover { background: #0c8fce; }
@media (max-width: 1100px) {
 #masthead .rh-menu { flex: 0 0 auto; }
 #masthead .rh-menu > summary { display: flex; gap: 8px; }
 #masthead .rh-menu:not([open]) > nav { display: none; }
 #masthead .rh-menu > nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #e2e9ef; box-shadow: 0 12px 28px #153a5720; padding: 8px 20px; max-height: calc(100dvh - 120px); overflow-y: auto; }
 #masthead .rh-menu ul { display: block; }
 #masthead .rh-menu a { padding: 12px 0; color: #24364b; }
 #masthead .rh-menu a:hover { color: #1283b8; }
}
@media (max-width: 720px) {
 #masthead .rh-wrap { width: calc(100% - 24px); }
 #masthead .rh-row { min-height: 64px; gap: 5px; }
 #masthead .rh-logo { flex-basis: 76px; }
 #masthead .rh-logo img { width: 76px; height: 46px; }
 #masthead .rh-catalog > summary { padding: 8px; gap: 5px; font-size: 12px; }
 #masthead .rh-catalog > summary > span:first-child, #masthead .rh-menu .rh-chevron { display: none; }
 #masthead .rh-menu > summary { font-size: 12px; }
 #masthead .rh-contact { flex-direction: row; align-items: center; gap: 6px; padding-left: 6px; }
 #masthead .rh-contact svg { display: block; width: 20px; height: 20px; }
 #masthead .rh-contact-text { display: none; }
 #masthead .rh-contact a { min-height: 44px; }
 #masthead .rh-search { margin-left: auto; }
 #masthead .rh-search summary { min-height: 44px; min-width: 36px; justify-content: center; padding: 0 8px; }
 #masthead .rh-search summary span { display: none; }
 #masthead .rh-contact { margin-left: 0; }
 #masthead .rh-catalog-panel { width: 100%; padding: 20px; grid-template-columns: 1fr; gap: 20px; max-height: calc(100dvh - 100px); }
}
@media (max-width: 782px) { .admin-bar #masthead.rh-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar #masthead.rh-header { position: relative; top: 0; } }
@media (prefers-reduced-motion: reduce) { #masthead.rh-header, #masthead .rh-chevron { transition: none; } }
