/* Indexable brand directory. */
.brands-page,
.brand-page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 90px;
}
.brands-hero,
.brand-hero {
  display: grid;
  min-height: 390px;
  padding: 48px 0 52px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  gap: 65px;
}
.brands-hero h1,
.brand-hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 70px);
  line-height: 1.01;
  letter-spacing: -.065em;
}
.brands-hero > div > p:not(.kicker),
.brand-hero > div > p:not(.kicker, .brand-aliases) {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}
.brands-hero aside,
.brand-hero aside {
  display: grid;
  overflow: hidden;
  border: 1px solid #d8dfdb;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 33, 28, .055);
}
.brands-hero aside > div,
.brand-hero aside > div {
  display: flex;
  min-height: 92px;
  padding: 15px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e1e6e3;
}
.brands-hero aside > div:last-child,
.brand-hero aside > div:last-child { border-bottom: 0; }
.brands-hero aside strong,
.brand-hero aside strong {
  color: var(--green);
  font-size: 36px;
  letter-spacing: -.045em;
}
.brands-hero aside span,
.brand-hero aside span {
  color: #596a62;
  font-size: 14px;
  font-weight: 800;
}

.brand-leaders {
  overflow: hidden;
  border: 1px solid #d8dfdb;
  border-radius: 10px;
  background: #fff;
}
.brand-leaders > header {
  display: flex;
  min-height: 64px;
  padding: 12px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dfe5e2;
  background: #10231c;
  color: #fff;
}
.brand-leaders > header span {
  color: #9ed8c2;
  font-size: 13px;
  font-weight: 850;
}
.brand-leaders > header strong { font-size: 16px; }
.brand-leaders > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.brand-leaders > div > a {
  display: grid;
  min-height: 82px;
  padding: 12px 15px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e0e5e2;
  border-bottom: 1px solid #e0e5e2;
  color: #26372f;
  text-decoration: none;
}
.brand-leaders > div > a:nth-child(3n) { border-right: 0; }
.brand-leaders > div > a:nth-last-child(-n + 3) { border-bottom: 0; }
.brand-leaders > div > a:hover {
  background: #eef7f3;
  color: var(--green);
}
.brand-leaders > div b {
  color: #8a9690;
  font: 850 13px/1 var(--font-geist-mono), monospace;
}
.brand-leaders > div span {
  font-size: 15px;
  font-weight: 850;
}
.brand-leaders > div small {
  grid-column: 2;
  color: #718078;
  font-size: 13px;
}
.brand-leaders > div i {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 20px;
  font-style: normal;
}

.brand-explorer { padding-top: 32px; }
.brand-explorer > label {
  display: grid;
  gap: 8px;
}
.brand-explorer > label > span {
  color: #52635b;
  font-size: 14px;
  font-weight: 850;
}
.brand-explorer > label > div {
  display: grid;
  min-height: 58px;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 2px solid #10231c;
  border-radius: 9px;
  background: #fff;
}
.brand-explorer > label > div:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.brand-explorer > label b {
  color: var(--green);
  font-size: 23px;
  text-align: center;
}
.brand-explorer input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
}
.brand-explorer > label strong {
  padding: 0 18px;
  color: #5d6d65;
  font-size: 14px;
  white-space: nowrap;
}
.brand-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.brand-grid > a {
  display: flex;
  min-height: 270px;
  padding: 18px;
  flex-direction: column;
  border: 1px solid #d9dfdc;
  border-radius: 9px;
  background: #fff;
  color: #20312a;
  text-decoration: none;
}
.brand-grid > a:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(8, 112, 82, .1);
}
.brand-grid > a > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-grid > a > header span {
  display: grid;
  min-width: 48px;
  height: 38px;
  padding: 0 7px;
  place-items: center;
  border-radius: 6px;
  background: #10231c;
  color: #fff;
  font: 850 13px/1 var(--font-geist-mono), monospace;
}
.brand-grid > a > header b {
  color: var(--green);
  font-size: 13px;
}
.brand-grid > a h2 {
  margin: 22px 0 0;
  font-size: 24px;
  letter-spacing: -.035em;
}
.brand-grid > a > small {
  min-height: 20px;
  margin-top: 4px;
  color: #748079;
  font-size: 13px;
}
.brand-grid > a > p {
  margin: 13px 0 0;
  color: #51635a;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}
.brand-grid > a > div {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 5px;
}
.brand-grid > a > div i {
  padding: 5px 7px;
  border-radius: 5px;
  background: #f0f4f2;
  color: #66756e;
  font-size: 13px;
  font-style: normal;
}
.brand-grid > a > strong {
  margin-top: auto;
  padding-top: 16px;
  color: var(--green);
  font-size: 14px;
}
.brand-empty {
  grid-column: 1 / -1;
  padding: 65px 20px;
  border: 1px solid #d9dfdc;
  border-radius: 9px;
  background: #fff;
  text-align: center;
}
.brand-empty > span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}
.brand-empty h2 { margin: 10px 0 0; font-size: 30px; }
.brand-empty p { color: var(--muted); font-size: 14px; }
.brand-empty a {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.brand-hero > div > small {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}
.brand-aliases {
  display: inline-flex;
  margin: 14px 0 0 !important;
  padding: 7px 10px;
  border-radius: 6px;
  background: #e5f2ec;
  color: var(--green-dark) !important;
  font-size: 14px !important;
  font-weight: 800;
}
.brand-model-section {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #d8dfdb;
  border-radius: 10px;
  background: #fff;
}
.brand-model-section > header {
  display: flex;
  min-height: 76px;
  padding: 13px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dfe5e2;
  background: #f4f7f5;
}
.brand-model-section > header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-model-section > header > div > span {
  display: grid;
  min-width: 52px;
  height: 42px;
  padding: 0 7px;
  place-items: center;
  border-radius: 7px;
  background: #10231c;
  color: #fff;
  font: 850 13px/1 var(--font-geist-mono), monospace;
}
.brand-model-section > header small {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}
.brand-model-section > header h2 {
  margin: 3px 0 0;
  font-size: 23px;
}
.brand-model-section > header > a {
  flex: none;
  display: inline-flex;
  min-height: 40px;
  padding: 0 13px;
  align-items: center;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.brand-model-section > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.brand-model-section > div > a {
  display: flex;
  min-height: 310px;
  padding: 20px;
  flex-direction: column;
  border-right: 1px solid #e0e5e2;
  color: #1f3029;
  text-decoration: none;
}
.brand-model-section > div > a:last-child { border-right: 0; }
.brand-model-section > div > a:hover { background: #f2f8f5; }
.brand-model-section > div > a > small {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}
.brand-model-section > div h3 {
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1.25;
}
.brand-model-section > div p {
  margin: 11px 0 15px;
  color: #65736c;
  font-size: 14px;
  line-height: 1.58;
}
.brand-model-section > div dl { margin: 0; }
.brand-model-section > div dl div {
  display: flex;
  padding: 7px 0;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e5e9e7;
}
.brand-model-section > div dt {
  color: #6c7a73;
  font-size: 13px;
}
.brand-model-section > div dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.brand-model-section > div > a > strong {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-size: 13px;
}
.brand-page-next {
  display: flex;
  min-height: 150px;
  margin-top: 28px;
  padding: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 10px;
  background: #10231c;
  color: #fff;
}
.brand-page-next span {
  color: #9ed8c2;
  font-size: 13px;
  font-weight: 850;
}
.brand-page-next h2 {
  margin: 7px 0 0;
  font-size: 25px;
}
.brand-page-next > div:last-child {
  display: flex;
  gap: 8px;
}
.brand-page-next a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  border: 1px solid #4b6258;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.brand-page-next a:first-child {
  border-color: #b9f0dc;
  background: #b9f0dc;
  color: #0c4635;
}

@media (max-width: 1000px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-hero,
  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 35px;
  }
  .brand-model-section > div { grid-template-columns: repeat(2, 1fr); }
  .brand-model-section > div > a:nth-child(2n) { border-right: 0; }
  .brand-model-section > div > a:nth-child(n + 3) {
    border-top: 1px solid #e0e5e2;
  }
}

@media (max-width: 700px) {
  .brands-page,
  .brand-page {
    width: min(100% - 24px, 680px);
    padding-bottom: 70px;
  }
  .brands-hero,
  .brand-hero {
    min-height: 0;
    padding: 38px 0;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .brands-hero h1,
  .brand-hero h1 { font-size: 46px; }
  .brands-hero aside,
  .brand-hero aside {
    grid-template-columns: repeat(3, 1fr);
  }
  .brands-hero aside > div,
  .brand-hero aside > div {
    min-height: 90px;
    padding: 12px 8px;
    align-items: flex-start;
    flex-direction: column;
    border-right: 1px solid #e1e6e3;
    border-bottom: 0;
  }
  .brands-hero aside > div:last-child,
  .brand-hero aside > div:last-child { border-right: 0; }
  .brands-hero aside strong,
  .brand-hero aside strong { font-size: 28px; }
  .brand-leaders > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .brand-leaders > div { grid-template-columns: 1fr; }
  .brand-leaders > div > a,
  .brand-leaders > div > a:nth-child(3n),
  .brand-leaders > div > a:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid #e0e5e2;
  }
  .brand-leaders > div > a:last-child { border-bottom: 0; }
  .brand-explorer > label > div {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .brand-explorer > label strong {
    grid-column: 1 / 3;
    padding: 10px 13px;
    border-top: 1px solid #e0e5e2;
  }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid > a {
    min-height: 250px;
    padding: 15px;
  }
  .brand-model-section > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-model-section > div { grid-template-columns: 1fr; }
  .brand-model-section > div > a,
  .brand-model-section > div > a:nth-child(2n),
  .brand-model-section > div > a:nth-child(n + 3) {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid #e0e5e2;
  }
  .brand-model-section > div > a:first-child { border-top: 0; }
  .brand-page-next {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand-grid { grid-template-columns: 1fr; }
}
