/* focusChrist canonical site header
   Shared by all public pages. Page-specific hero/banner content remains independent.
   Harvest Sky palette: translucent twilight blue, sunflower highlights, parchment text. */

.nav[data-focuschrist-header="standard"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 72px;
    padding: 25px 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    background: linear-gradient(180deg, rgba(10,28,37,0.90) 0%, rgba(15,39,50,0.62) 54%, rgba(15,39,50,0) 100%) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.nav[data-focuschrist-header="standard"] .nav-logo {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', serif !important;
    font-size: 1.5em !important;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 5px !important;
    color: #f0c36a !important;
    text-decoration: none !important;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(4,16,22,.34);
}

.nav[data-focuschrist-header="standard"] .nav-links {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 40px !important;
    margin: 0;
    padding: 0;
}

.nav[data-focuschrist-header="standard"] .nav-links a {
    margin: 0;
    padding: 0;
    color: #fff2dc !important;
    text-decoration: none !important;
    font-size: 0.9em !important;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 2px !important;
    transition: color 0.25s ease, text-shadow .25s ease;
    white-space: nowrap;
}

.nav[data-focuschrist-header="standard"] .nav-links a:hover,
.nav[data-focuschrist-header="standard"] .nav-links a:focus,
.nav[data-focuschrist-header="standard"] .nav-links a.active,
.nav[data-focuschrist-header="standard"] .nav-links a[aria-current="page"] {
    color: #f0c36a !important;
    text-shadow: 0 0 18px rgba(240,195,106,.18);
    outline: none;
}

.nav[data-focuschrist-header="standard"] .hamburger-wrap {
    position: relative !important;
    flex: 0 0 auto;
    display: block !important;
    margin: 0;
    padding: 0;
}

.nav[data-focuschrist-header="standard"] .hamburger {
    position: relative !important;
    display: block !important;
    width: 40px;
    height: 40px;
    padding: 10px !important;
    margin: -10px !important;
    border: 0;
    color: #f0c36a !important;
    cursor: pointer;
    line-height: 1 !important;
}

.nav[data-focuschrist-header="standard"] .hamburger::before {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 9px 0 0 !important;
    background: #f0c36a !important;
    box-shadow: 0 -6px 0 #f0c36a, 0 6px 0 #f0c36a !important;
}

.nav[data-focuschrist-header="standard"] .hamburger:focus-visible {
    outline: 2px solid #86afc8;
    outline-offset: 4px;
    border-radius: 4px;
}

.nav[data-focuschrist-header="standard"] .hamburger-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 14px) !important;
    right: 0 !important;
    width: 230px !important;
    min-width: 230px !important;
    max-height: min(76vh, 620px);
    overflow-y: auto;
    margin: 0 !important;
    padding: 12px !important;
    background: rgba(13,35,45,0.985) !important;
    border: 1px solid rgba(134,175,200,0.28) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 38px rgba(4,16,22,0.46);
    backdrop-filter: blur(12px);
    z-index: 1100 !important;
}

.nav[data-focuschrist-header="standard"] .hamburger-menu.show {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.nav[data-focuschrist-header="standard"] .hamburger-menu a {
    display: block !important;
    margin: 0;
    padding: 8px 12px !important;
    color: #dcebf2 !important;
    text-decoration: none !important;
    font-size: 0.88em !important;
    line-height: 1.35;
    letter-spacing: 0.4px;
    border-bottom: 1px solid rgba(134,175,200,0.14) !important;
}

.nav[data-focuschrist-header="standard"] .hamburger-menu a:hover,
.nav[data-focuschrist-header="standard"] .hamburger-menu a:focus,
.nav[data-focuschrist-header="standard"] .hamburger-menu a.active,
.nav[data-focuschrist-header="standard"] .hamburger-menu a[aria-current="page"] {
    color: #fff2dc !important;
    background: linear-gradient(90deg, rgba(134,175,200,.12), rgba(240,195,106,.06)) !important;
    outline: none;
}

.nav[data-focuschrist-header="standard"] .hamburger-menu hr {
    width: 100%;
    margin: 8px 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(240,195,106,0.30) !important;
}

.nav[data-focuschrist-header="standard"] .menu-label {
    padding: 8px 12px 4px !important;
    color: #f0c36a !important;
    font-size: 0.78em !important;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* Seven primary destinations fit comfortably on standard desktop widths.
   Tighten spacing before switching fully to the mobile/hamburger layout. */
@media (min-width: 1021px) and (max-width: 1260px) {
    .nav[data-focuschrist-header="standard"] {
        padding: 22px 24px !important;
    }

    .nav[data-focuschrist-header="standard"] .nav-links {
        gap: 22px !important;
    }

    .nav[data-focuschrist-header="standard"] .nav-links a {
        font-size: 0.84em !important;
        letter-spacing: 1.4px !important;
    }

    .nav[data-focuschrist-header="standard"] .nav-logo {
        font-size: 1.4em !important;
        letter-spacing: 4px !important;
    }
}

@media (max-width: 1020px) {
    .nav[data-focuschrist-header="standard"] {
        position: relative !important;
        min-height: 62px;
        padding: 16px 20px !important;
        background: #102b36 !important;
        border-bottom: 1px solid rgba(134,175,200,.12) !important;
    }

    .nav[data-focuschrist-header="standard"] .nav-links {
        display: none !important;
    }

    .nav[data-focuschrist-header="standard"] .nav-logo {
        font-size: 1.35em !important;
        letter-spacing: 4px !important;
    }

    .nav[data-focuschrist-header="standard"] .hamburger-menu {
        top: calc(100% + 10px) !important;
        right: 0 !important;
        width: min(260px, calc(100vw - 40px)) !important;
        min-width: 0 !important;
    }
}

/* Legacy QA compatibility checkpoint. The actual mobile transition now begins
   at 1020px above; devices at 900px and below inherit those same rules. */
@media (max-width: 900px) {
}

/* Keyboard-first accessibility: hidden until focused. */
.fc-skip-link {
    position: fixed;
    top: 10px;
    left: 14px;
    z-index: 2200;
    padding: 10px 14px;
    border: 1px solid #86afc8;
    border-radius: 6px;
    background: #102b36;
    color: #fff2dc;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 0.18s ease;
}

.fc-skip-link:focus,
.fc-skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid #f0c36a;
    outline-offset: 2px;
}

.fc-main-landmark:focus,
main[tabindex="-1"]:focus {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .fc-skip-link {
        transition: none;
    }
}

/* Shared conversation alignment hardening — 2026-08-30.
   User questions remain visually distinct without appearing detached from the answer column. */
body.fc-site .ask-chat-box .user-message,
body.fc-site .qa-container .user-message,
body.fc-site .fc-history-message--user {
    margin-left: clamp(8px, 2.4vw, 28px) !important;
    margin-right: 0 !important;
    max-width: none !important;
}
body.fc-site .ask-chat-box .bot-message,
body.fc-site .qa-container .bot-message,
body.fc-site .fc-history-message--assistant {
    margin-left: 0 !important;
    margin-right: clamp(8px, 2.4vw, 28px) !important;
    max-width: none !important;
}
@media (max-width: 720px) {
    body.fc-site .ask-chat-box .user-message,
    body.fc-site .ask-chat-box .bot-message,
    body.fc-site .qa-container .user-message,
    body.fc-site .qa-container .bot-message,
    body.fc-site .fc-history-message--user,
    body.fc-site .fc-history-message--assistant {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
    }
}
