/**
 * Copyright (c) 2026 Matthew X Murphy.
 * Release owner: CreatorPublishingHub.com.
 * Developer: Matthew X Murphy, https://matthewxmurphy.com/ | https://builtnotbegged.com/
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
.cph-mobile-menu:not([open]), .cph-menu-trigger:not(.cph-menu-trigger-ready), .cph-menu-trigger[hidden],
[data-cph-fallback-for][hidden], .cph-menu-panels [hidden] { display: none !important; }
.cph-menu-trigger-ready.cph-menu-trigger { display: inline-flex; align-items: center; min-height: 44px; padding: .75rem; background: transparent; color: inherit; border: 0; border-radius: 0; font: inherit; cursor: pointer; }
.cph-navigation-instance [data-cph-fallback-for] a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem; }
.cph-mobile-menu { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(94vw, 26rem); max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; padding: 0; border: 0; border-radius: 0; color: var(--cph-menu-ink, #1c2330); background: var(--cph-menu-bg, #fff); font: inherit; overflow: hidden; box-sizing: border-box; }
.cph-mobile-menu[open] { display: flex; flex-direction: column; }
.cph-mobile-menu::backdrop { background: rgb(5 10 20 / 60%); }
.cph-menu-fallback { z-index: 99999; }
.cph-menu-scrim { display: none; position: fixed; inset: 0; z-index: 99998; background: rgb(5 10 20 / 60%); }
.cph-menu-scrim-open { display: block; }
.cph-menu-top { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1rem; padding: max(.75rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) .75rem max(1.25rem, env(safe-area-inset-left)); border-bottom: 1px solid var(--cph-menu-line, #dfe3e8); font-weight: 700; }
.cph-menu-brand { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.cph-menu-top button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: .25rem; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.cph-menu-top button > span { font-size: 1.75rem; line-height: 1; }
.cph-menu-panels { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.cph-menu-panels h2 { color: inherit; font-family: inherit; font-size: 1.6rem; font-weight: 600; line-height: 1.3; margin: 0; padding: 1.25rem; overflow-wrap: anywhere; }
.cph-menu-panels nav > a, .cph-menu-panels nav > button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 56px; padding: 1rem max(1.25rem, env(safe-area-inset-right)) 1rem max(1.25rem, env(safe-area-inset-left)); border: 0; border-bottom: 1px solid var(--cph-menu-line, #dfe3e8); border-radius: 0; background: transparent; color: inherit; text-align: left; text-decoration: none; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; box-sizing: border-box; cursor: pointer; }
.cph-menu-panels nav > a > span:first-child, .cph-menu-panels nav > button > span:first-child { min-width: 0; }
.cph-menu-chevron { flex-shrink: 0; font-size: 1.4rem; line-height: 1; }
.cph-menu-panels .cph-menu-back { justify-content: flex-start; font-size: .875rem; font-weight: 500; background: var(--cph-menu-back-bg, #f5f6f8); }
.cph-menu-panels a[aria-current="page"] { color: var(--cph-menu-accent, #745913); }
.cph-menu-footer { padding: 1rem max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left)); }
.cph-mobile-menu :focus-visible, .cph-menu-trigger:focus-visible { outline: 3px solid var(--cph-menu-focus, #745913); outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) { .cph-mobile-menu nav:not([hidden]) { animation: cph-menu-enter .15s ease-out; } @keyframes cph-menu-enter { from { opacity: .4; transform: translateX(8px); } to { opacity: 1; transform: none; } } }
