/* Frontend identity: keep the ministry wordmark and product name legible at every breakpoint. */
.encon-site-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 70px;
    max-width: none;
    margin-top: 0 !important;
    margin-right: 18px;
    padding: 8px 0;
    text-decoration: none;
}

.encon-site-brand:hover,
.encon-site-brand:focus {
    text-decoration: none;
}

.encon-site-brand .encon-site-brand__logo {
    display: block !important;
    flex: 0 0 auto;
    width: 112px;
    height: auto;
    max-height: 46px;
}

.encon-site-brand__name {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 34px;
    padding-left: 12px;
    border-left: 1px solid #d7dee5;
    color: #173b5e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: .01em;
    white-space: nowrap;
}

.encon-site-brand__name > span {
    display: block;
}

@media (min-width: 993px) and (max-width: 1199px) {
    .encon-site-brand {
        gap: 8px;
        margin-right: 8px;
    }

    .encon-site-brand .encon-site-brand__logo {
        width: 94px;
    }

    .encon-site-brand__name {
        padding-left: 8px;
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .navbar-header .encon-site-brand {
        display: inline-flex;
        width: auto;
        max-width: calc(100% - 64px);
        margin-right: 0;
        padding: 8px 0 8px 15px;
    }

    .encon-site-brand .encon-site-brand__logo {
        width: 105px;
        max-height: 44px;
    }

    .encon-site-brand__name {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .encon-site-brand {
        gap: 8px;
    }

    .encon-site-brand .encon-site-brand__logo {
        width: 84px;
    }

    .encon-site-brand__name {
        padding-left: 8px;
        font-size: 10.5px;
    }
}
