/* Main site banner: organization, service commitment, account. */
.div-header.qms-site-banner {
  height: 94px;
  background: #2062ad;
  color: #fff;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
}
.qms-site-banner > .container-web { height: 100%; }
.qms-site-banner .qms-site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
  height: 100%;
  padding: 7px 20px;
}
.qms-site-brand { display: flex; align-items: center; gap: 18px; flex: 1 1 0; min-width: 0; }
.qms-site-logo { position: relative; flex: 0 0 auto; }
.qms-site-logo img { display: block; width: 76px; height: 80px; object-fit: contain; }
.qms-site-code { position: absolute; bottom: 6px; left: 0; width: 100%; text-align: center; font-size: 13px; }
.qms-site-name { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.qms-site-name:empty { display: none; }
.qms-site-description { margin: 6px 0 0; font-size: 16px; font-weight: 400; line-height: 1.45; color: #d1e7ff; overflow-wrap: anywhere; }
.div-header.qms-unit-banner { height: auto; }
.qms-unit-banner > .container-web { height: auto; }
.qms-unit-banner .qms-site-header { height: auto; min-height: 94px; }
.qms-unit-banner .qms-site-name { font-size: clamp(18px, 1.8vw, 30px); font-weight: 800; line-height: 1.2; }
.qms-unit-banner .qms-site-description { margin-top: 5px; font-size: clamp(15px, 1.4vw, 23px); font-weight: 500; line-height: 1.2; }
.qms-site-motto { flex: 0 1 390px; padding: 4px 0 4px 28px; border-left: 1px solid #ffffff40; }
.qms-site-motto strong { display: block; color: #ffe4a0; font-size: clamp(19px, 1.65vw, 25px); font-weight: 700; line-height: 1.35; letter-spacing: .035em; }
.qms-site-account { flex: 0 0 auto; max-width: 180px; }
.qms-site-account a { display: inline-block; padding: 8px 0; color: #fff; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.qms-site-account a:hover { color: #ffe4a0; }
.qms-site-account a:focus-visible { outline: 2px solid #ffe4a0; outline-offset: 4px; }
@media (max-width: 1100px) {
  .qms-site-banner .qms-site-header { gap: 16px; padding: 7px 10px; }
  .qms-site-brand { gap: 12px; }
  .qms-site-brand > div:last-child { min-width: 0; }
  .qms-site-name { font-size: 20px; }
  .qms-site-description { font-size: 14px; }
  .qms-site-motto { flex: 0 0 210px; padding-left: 16px; }
  .qms-site-motto strong { font-size: 20px; }
  .qms-site-account { max-width: 110px; }
}
@media (max-width: 700px) {
  .qms-site-banner .qms-site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; gap: 3px 10px; padding: 5px 4px; }
  .qms-site-brand { min-height: 0; gap: 10px; }
  .qms-site-logo img { width: 48px; height: 50px; }
  .qms-site-name { font-size: 15px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .qms-site-name:empty { display: none; }
  .qms-site-description { font-size: 11px; line-height: 1.2; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qms-unit-banner .qms-site-description { white-space: normal; }
  .qms-site-motto { grid-column: 1 / -1; grid-row: 2; border: 0; padding: 0; text-align: center; }
  .qms-site-motto strong { font-size: 14px; line-height: 1.15; }
  .qms-site-account { grid-column: 2; grid-row: 1; max-width: 75px; }
  .qms-site-account a { padding: 2px 0; font-size: 12px; }
}
@media (max-width: 640px) {
  .qms-unit-banner .qms-site-name { font-size: 17px; }
  .qms-unit-banner .qms-site-description { font-size: 14px; }
}
@media (max-width: 480px) {
  .div-header.qms-site-banner { height: 70px; }
  .div-header.qms-unit-banner { height: auto; }
  .qms-unit-banner .qms-site-header { min-height: 70px; }
  .qms-site-logo img { width: 42px; height: 44px; }
  .qms-site-name { font-size: 14px; }
  .qms-site-motto strong { font-size: 13px; }
}
