/* Keep the shared header brand mark aligned with the homepage wordmark. */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-mark {
    position: static;
    order: 0;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin-right: 0.55rem;
    object-fit: contain;
    pointer-events: none;
}

/* Match the homepage: place the mark in the desktop navbar inset so the
   wordmark keeps the same horizontal position. */
@media (min-width: 1025px) {
    .logo-mark {
        position: absolute;
        right: 100%;
        top: 50%;
        width: 34px;
        height: 34px;
        margin-right: 10px;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .logo-mark {
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        width: 26px;
        height: 26px;
        margin-right: 0.45rem;
    }
}
