/* ================================================================
 *  custom.css — your own CSS
 *
 *  Loads after the template and theme.css, so a rule here wins any
 *  tie. Every template update ships this file empty: keep your copy
 *  when you update.
 * ================================================================ */

/* Bitwisely logo: the colored mark sits before the wordmark, which the template tints by itself. */
.site-brand-mark {
    width: auto;
    height: 1.6em;
    margin-inline-end: 0.5em;
    display: block;
}

/* The menu button's label on the Croatian pages (the demo writes "Menu" / "Close" in CSS). */
html[lang='hr'][data-demo='software-dev-1'] .header-overlay-menu .hamburger:before {
    content: 'Izbornik';
}

html[lang='hr'][data-demo='software-dev-1'] .header-overlay-menu:has(.mobile-nav.open) .hamburger:before {
    content: 'Zatvori';
}

/* Language switch in the header: a small outlined pill, like the menu button. */
.site-lang {
    min-height: 2.75rem;
    padding-inline: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid color-mix(in oklch, var(--color-text) 18%, transparent);
    border-radius: var(--btn-radius-override);
    align-items: center;
    display: inline-flex;
}

/* No room for it beside the logo on a phone: there the switch is in the menu and the footer. */
@media (width < 30rem) {
    .site-lang {
        display: none;
    }
}

.site-lang:hover {
    color: var(--custom-on-ink);
    background: var(--custom-ink);
    border-color: var(--custom-ink);
}

html[data-demo='software-dev-1'] .header-overlay-menu:has(.mobile-nav.open) .site-lang {
    color: var(--custom-on-ink);
    background: #ffffff14;
    border-color: #ffffff2e;
}
