/* 顶栏 Logo：宽度铺满，高度按原图比例自动缩放 */

.h5-home .site-brand-bar.full-row-logo,
.h5-gallery .site-brand-bar.full-row-logo,
.h5-records .site-brand-bar.full-row-logo {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

.h5-home .site-brand-bar.full-row-logo .site-brand-inner,
.h5-gallery .site-brand-bar.full-row-logo .site-brand-inner,
.h5-records .site-brand-bar.full-row-logo .site-brand-inner {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  line-height: 0;
  width: 100%;
  display: block !important;
  box-sizing: border-box;
}

.h5-home .site-brand-bar.full-row-logo .site-brand-main,
.h5-gallery .site-brand-bar.full-row-logo .site-brand-main,
.h5-records .site-brand-bar.full-row-logo .site-brand-main {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  overflow: hidden;
  box-sizing: border-box;
}

.h5-home .site-brand-bar.full-row-logo .site-brand-logo,
.h5-gallery .site-brand-bar.full-row-logo .site-brand-logo,
.h5-records .site-brand-bar.full-row-logo .site-brand-logo,
.h5-records .site-brand-logo {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  vertical-align: top;
}
