.brand-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none !important;
}

.brand-logo-link:hover {
    text-decoration: none !important;
}

.brand-logo-link--center {
    justify-content: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo__iconWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* ---------------------------------------------------------------------------
   WORDMARK LÀ CHỮ, KHÔNG PHẢI ẢNH
   Xem chú thích trong templates/silk/pages/partials/brand-logo.php. Các luật
   width cũ (64px/54px/72px) là kích thước của thẻ <img>, không còn nghĩa với
   chữ nên đã bỏ; chiều rộng giờ do cỡ chữ quyết định.
   --------------------------------------------------------------------------- */
.brand-logo__icon {
    display: block;
    height: auto;
    width: 32px;
    border-radius: 7px;
}

.brand-logo__wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Dấu tiếng Việt (Đ, ổ, ể) cao hơn chữ Latin thường: line-height quá chặt
       sẽ cắt cụt dấu, nên để 1.12 thay vì 1. */
    line-height: 1.12;
    min-width: 0;
    white-space: nowrap;
}

.brand-logo__line {
    display: block;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.brand-logo__line--1 {
    color: #ffb02e;
}

.brand-logo__line--2 {
    color: #fff;
}

.brand-logo--legacy .brand-logo__icon {
    width: 30px;
}

.brand-logo--legacy .brand-logo__line {
    font-size: 16px;
}

@media (max-width: 599.98px) {
    .brand-logo__icon {
        width: 30px;
    }

    .brand-logo__line {
        font-size: 13px;
    }

    .brand-logo--legacy .brand-logo__icon {
        width: 30px;
    }

    .brand-logo--legacy .brand-logo__line {
        font-size: 13px;
    }
}

/* Màn hình rất hẹp: bỏ chữ, giữ icon. Tên thương hiệu vẫn còn ở aria-label
   của thẻ <a> nên trình đọc màn hình không mất thông tin. */
@media (max-width: 359.98px) {
    .brand-logo--responsive .brand-logo__wordmark {
        display: none;
    }
}
