@use '../../assets/scss/variables' as *;

// 与面包屑、页面主体共用同一列宽（由外层 main.ntq-content-inner 约束），不再 100vw 出血
.ntq-page-banner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-height: 116px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-sizing: border-box;
}

.ntq-page-banner__inner {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 24px 0;
}

.ntq-page-banner__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.ntq-page-banner__right {
  flex: 0 0 auto;
  padding-top: 4px;
}

.ntq-page-banner__title {
  font-weight: 700;
  margin: 0 0 16px 0 !important;
  font-size: 28px !important;
  min-width: 0;
}

.ntq-page-banner__desc {
  margin: 0;
  line-height: 1.65 !important;
  max-width: 100%;
  overflow-wrap: anywhere;

  code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 6px;
    border: 1px solid var(--ntq-white-12);
    background: var(--ntq-white-03);
    color: var(--ntq-text);
  }
}
