/* Orion Top Header Bar Widget Styles — custom classes only, no Tailwind
   utility classes (see orion_render_top_header_bar() in
   inc/orion-header-footer.php). Values below replicate the previous
   Tailwind output exactly (bg-primary-900, container-2, p2, gap-4,
   space-x-3/4, py-1.5/md:py-3, hidden/md:flex) so the visual result is
   unchanged.

   Breakpoints match the project's real Tailwind config, NOT Tailwind
   defaults: sm=640, md=769, lg=992, xl=1199, 1xl=1380, 2xl=1752 */

.orion-top-header-bar {
    background-color: var(--orion-primary);
    color: #ffffff;
    position: relative;
    z-index: 50;
    width: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
    animation: orionSlideDown 0.5s ease-out;
}
@media (min-width: 769px) {
    .orion-top-header-bar { padding-top: 12px; padding-bottom: 12px; }
}

.orion-top-header-bar__container {
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) { .orion-top-header-bar__container { max-width: 640px; } }
@media (min-width: 769px) { .orion-top-header-bar__container { max-width: 768px; } }
@media (min-width: 992px) { .orion-top-header-bar__container { max-width: 992px; } }
@media (min-width: 1199px) { .orion-top-header-bar__container { max-width: 1170px; } }
@media (min-width: 1380px) { .orion-top-header-bar__container { max-width: 1260px; } }
@media (min-width: 1752px) { .orion-top-header-bar__container { max-width: 1472px; } }

.orion-top-header-bar__row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
.orion-top-header-bar__row--justified { justify-content: center; }
@media (min-width: 769px) {
    .orion-top-header-bar__row--justified { justify-content: space-between; }
}
.orion-top-header-bar__row--left_right { justify-content: space-between; }

.orion-top-header-bar__contact {
    display: none;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding-bottom: 0;
    color: #ffffff;
    font-family: var(--font-lexend, "Lexend", sans-serif);
    font-weight: 300;
    font-size: 13px;
    line-height: 150%;
}
@media (min-width: 769px) {
    .orion-top-header-bar__contact {
        display: flex;
        font-size: 0.875rem;
        line-height: 1.4286;
    }
}
@media (min-width: 1752px) {
    .orion-top-header-bar__contact {
        font-size: 1rem;
        line-height: 1.5;
    }
}

.orion-top-header-bar__divider {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.orion-top-header-bar__social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #ffffff;
}

.orion-top-header-bar__social-link {
    display: inline-block;
    margin-bottom: 0;
    font-family: var(--font-lexend, "Lexend", sans-serif);
    font-weight: 300;
    font-size: 13px;
    line-height: 150%;
}
@media (min-width: 769px) {
    .orion-top-header-bar__social-link { font-size: 0.875rem; line-height: 1.4286; }
}
@media (min-width: 1752px) {
    .orion-top-header-bar__social-link { font-size: 1rem; line-height: 1.5; }
}
.orion-top-header-bar__social-link:hover {
    text-decoration: underline;
}

/* Base link color — the theme's global `a{color:var(--orion-primary)}`
   default otherwise wins over the inherited white text, making links
   invisible against this bar's teal background. */
.orion-top-header-bar a {
    color: #ffffff;
}

.orion-top-header-bar a:hover {
    color: #ffffff;
    opacity: 0.8;
}

@keyframes orionSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .orion-top-header-bar {
        background-color: #000000;
        color: #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    .orion-top-header-bar a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        padding: 2px 4px;
        border-radius: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .orion-top-header-bar {
        animation: none;
    }

    .orion-top-header-bar a {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .orion-top-header-bar {
        display: none;
    }
}

/* Focus Management for Accessibility */
.orion-top-header-bar:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}

/* Screen Reader Support */
.orion-top-header-bar[aria-hidden="true"] {
    display: none;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .orion-top-header-bar {
        background-color: #0f4c3a;
    }
}
