.brand-wordmark {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1;
}

/* Shared corporate lockup adopted from ElohimStoreApp. The existing span is
   retained in page markup as a resilient text fallback. */
.brand > span {
    display: block;
    width: 196px;
    height: 54px;
    flex: 0 0 196px;
    border: 0;
    border-radius: 0;
    background: transparent url("../images/elohim-logo.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    overflow: hidden;
}

.brand .brand-wordmark {
    display: none;
}

.brand-wordmark strong {
    color: inherit;
    font-family: "Manrope", sans-serif;
    font-size: .96rem;
    font-weight: 800;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.brand-wordmark small {
    margin: 0;
    color: #728682;
    font-family: "DM Sans", sans-serif;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.15;
    text-transform: uppercase;
}

.account-intro .brand-wordmark small,
footer .brand-wordmark small {
    color: #aac5be;
}

@media (max-width: 520px) {
    .brand > span { width: 146px; height: 42px; flex-basis: 146px; }
    .brand-wordmark strong { font-size: .82rem; }
    .brand-wordmark small { font-size: .46rem; }
}
