.site-navbar {
    min-height: 72px;
    padding: 1rem 0;
    background: rgba(35, 12, 48, 0.96);
}

.site-navbar .navbar-brand,
.mobile-navigation .navbar-brand {
    color: #fff;
}

.site-navbar .brand-icon,
.mobile-navigation .brand-icon {
    color: var(--gold);
}

.site-navbar .brand-logo-img,
.mobile-navigation .brand-logo-img {
    display: inline-block;
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.site-navbar .navbar-brand:hover .brand-logo-img,
.mobile-navigation .navbar-brand:hover .brand-logo-img {
    filter: drop-shadow(0 0 6px rgba(239, 185, 76, 0.55));
    transform: scale(1.08);
}

.desktop-navbar .nav-link {
    position: relative;
    margin: 0 0.45rem;
    color: #eee;
}

.desktop-navbar .nav-link:hover,
.desktop-navbar .nav-link:focus,
.desktop-navbar .nav-link.active {
    color: #fff;
}

.desktop-navbar .nav-link.active::after {
    position: absolute;
    right: 0.5rem;
    bottom: 0.2rem;
    left: 0.5rem;
    height: 2px;
    border-radius: 1rem;
    background: var(--gold);
    content: "";
}

.mobile-menu-button {
    display: flex;
    padding: 0.55rem;
    border: 0;
    background: transparent;
}

.mobile-menu-button svg {
    width: 27px;
    height: 27px;
    color: #fff;
}

.mobile-menu-close {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    place-items: center;
}

.mobile-navigation {
    width: min(88vw, 380px);
    background: var(--deep);
    color: #fff;
}

.mobile-navigation .offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-navigation .offcanvas-body {
    padding: 1.5rem;
}

.mobile-nav-list a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
}

.mobile-nav-list a.active {
    color: var(--gold);
}

.mobile-contact-link {
    color: #fff;
}

.navbar-logout-form { margin: 0; }

button.navbar-logout-button {
    position: relative;
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    appearance: none;
    border: 1.5px solid var(--gold);
    border-radius: 46% 54% 49% 51% / 53% 45% 55% 47%;
    outline: 0;
    background: transparent;
    box-shadow: 0.16rem 0.13rem 0 rgba(239, 185, 76, 0.28);
    color: var(--gold);
    cursor: pointer;
    place-items: center;
    transform: rotate(-1.5deg);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

button.navbar-logout-button::after {
    position: absolute;
    inset: 0.16rem -0.17rem -0.14rem 0.12rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 52% 48% 55% 45% / 45% 56% 44% 55%;
    content: "";
    pointer-events: none;
    transform: rotate(3deg);
}

button.navbar-logout-button:hover,
button.navbar-logout-button:focus-visible {
    background: var(--gold);
    box-shadow: 0.2rem 0.22rem 0 rgba(255, 255, 255, 0.2);
    color: var(--deep);
    transform: translateY(-2px) rotate(1deg);
}

button.navbar-logout-button:focus-visible {
    outline: 2px dashed #fff;
    outline-offset: 0.25rem;
}

button.navbar-logout-button svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.9;
}

.mobile-account {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-account > span {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mobile-account form {
    flex: 0 0 auto;
    margin: 0;
}

.mobile-account button.navbar-logout-button {
    display: inline-flex;
    width: 7rem;
    height: 2.75rem;
    min-width: 7rem;
    min-height: 2.75rem;
    flex-direction: row;
    gap: 0.45rem;
    padding-inline: 0.85rem;
    border-radius: 1.3rem 1.55rem 1.25rem 1.45rem;
    white-space: nowrap;
    transform: rotate(-0.5deg);
}

.mobile-account button.navbar-logout-button span {
    line-height: 1;
}
