.nlbp-broker-header {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #10171d;
  color: white;
  border-radius: 7px;
}

.nlbp-broker-identity {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nlbp-broker-identity h1 {
  margin: 7px 0;
  font-size: 42px;
  line-height: 1.05;
}

.nlbp-broker-identity p {
  margin: 0;
  color: #b8c7ce;
}

.nlbp-broker-logo {
  display: grid;
  flex: 0 0 120px;
  width: 120px;
  height: 100px;
  place-items: center;
  overflow: hidden;
  background: white;
  border-radius: 6px;
}

.nlbp-broker-logo img {
  max-width: 100px;
  max-height: 78px;
  object-fit: contain;
}

.nlbp-broker-rating span {
  color: #9bb2bd;
  font-size: 12px;
}

.nlbp-broker-rating strong {
  display: block;
  margin: 3px 0 14px;
  color: #ffd36b;
  font-size: 46px;
  line-height: 1;
}

.nlbp-broker-rating small {
  font-size: 17px;
}

.nlbp-broker-facts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 14px 0 30px;
  background: white;
  border: 1px solid #d8e0e4;
}

.nlbp-broker-facts div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid #d8e0e4;
}

.nlbp-broker-facts div:last-child {
  border-right: 0;
}

.nlbp-broker-facts span,
.nlbp-broker-facts strong {
  display: block;
}

.nlbp-broker-facts span {
  color: #64757d;
  font-size: 11px;
  text-transform: uppercase;
}

.nlbp-broker-facts strong {
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.nlbp-broker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
}

.nlbp-broker-section {
  margin-bottom: 18px;
  padding: 28px;
  background: white;
  border: 1px solid #d8e0e4;
  border-radius: 6px;
}

.nlbp-broker-section h2,
.nlbp-broker-promo h2,
.nlbp-review-note h2 {
  margin-top: 0;
  font-size: 25px;
}

.nlbp-broker-sidebar {
  align-self: start;
  position: sticky;
  top: 105px;
}

.nlbp-broker-promo,
.nlbp-review-note {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 6px;
}

.nlbp-broker-promo {
  background: #153326;
  color: white;
}

.nlbp-broker-promo > span {
  color: #52f59a;
  font-size: 11px;
  font-weight: 900;
}

.nlbp-review-note {
  background: #fff7df;
  border: 1px solid #e7ce83;
}

.nlbp-table-scroll {
  overflow-x: auto;
}

.nlbp-account-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
}

.nlbp-account-table th,
.nlbp-account-table td {
  padding: 11px;
  border: 1px solid #d8e0e4;
  text-align: left;
  font-size: 13px;
}

.nlbp-account-table th {
  background: #edf4f6;
}

@media (max-width: 900px) {
  .nlbp-broker-header,
  .nlbp-broker-layout {
    grid-template-columns: 1fr;
  }

  .nlbp-broker-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .nlbp-broker-facts div:nth-child(3n) {
    border-right: 0;
  }

  .nlbp-broker-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .nlbp-broker-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .nlbp-broker-identity h1 {
    font-size: 34px;
  }

  .nlbp-broker-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .nlbp-broker-facts div:nth-child(3n) {
    border-right: 1px solid #d8e0e4;
  }

  .nlbp-broker-facts div:nth-child(2n) {
    border-right: 0;
  }
}

