/* Only the partner list is styled here. The theme owns the page frame,
   background, width, title and introduction. */
.nsp {
  --nsp-blue: var(--cyan, #66f3ff);
  --nsp-line: var(--stroke, rgba(255, 255, 255, .14));
  color: inherit;
  font: inherit;
  line-height: 1.6;
}
.nsp, .nsp * { box-sizing: border-box; }
.nsp .nsp-section { margin: 30px 0 0; padding: 0; }
.nsp .nsp-section h2 {
  margin: 0 0 18px;
  color: inherit;
  font-family: inherit;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: -.4px;
}
.nsp .nsp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.nsp .nsp-type-automotive .nsp-grid,
.nsp .nsp-type-sponsor .nsp-grid,
.nsp .nsp-type-honorary .nsp-grid,
.nsp .nsp-type-public_funds .nsp-grid,
.nsp .nsp-type-media .nsp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nsp .nsp-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nsp-line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 8, 22, .38);
}
.nsp .nsp-logo {
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  color: #12263a;
}
.nsp .nsp-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.nsp .nsp-body { padding: 18px; }
.nsp .nsp-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--nsp-blue);
}
.nsp .nsp-body h3 {
  margin: 10px 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.3;
  color: inherit;
  text-transform: none;
  overflow-wrap: anywhere;
}
.nsp .nsp-short { margin: 0 0 14px; color: var(--muted, #b8c3d3); font-size: 13px; line-height: 1.6; }
.nsp details { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--nsp-line); background: none; }
.nsp summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  color: inherit;
}
.nsp summary::-webkit-details-marker { display: none; }
.nsp summary span { color: var(--nsp-blue); font-size: 18px; }
.nsp details[open] summary span { transform: rotate(45deg); }
.nsp .nsp-description { color: var(--muted, #b8c3d3); font-size: 14px; overflow-wrap: anywhere; }
.nsp .nsp-description p { margin: 0 0 14px; }
.nsp .nsp-link { display: inline-block; padding: 8px 0; font-size: 12px; text-decoration: none; color: var(--nsp-blue); }
.nsp a:hover { text-decoration: underline; }
.nsp a:focus-visible, .nsp summary:focus-visible { outline: 3px solid var(--nsp-blue); outline-offset: 3px; }
@media (max-width: 950px) {
  .nsp .nsp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nsp .nsp-section { margin-top: 26px; }
  .nsp .nsp-grid,
  .nsp .nsp-type-automotive .nsp-grid,
  .nsp .nsp-type-sponsor .nsp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .nsp .nsp-type-automotive .nsp-card:first-child { grid-column: 1 / -1; }
  .nsp .nsp-logo { height: 105px; padding: 16px; }
  .nsp .nsp-body { padding: 14px 12px; }
  .nsp .nsp-body h3 { font-size: 16px; }
  .nsp .nsp-tag { font-size: 8px; }
  .nsp .nsp-short, .nsp summary { font-size: 12px; }
  .nsp .nsp-type-honorary .nsp-grid,
  .nsp .nsp-type-public_funds .nsp-grid,
  .nsp .nsp-type-media .nsp-grid { grid-template-columns: 1fr; }
  .nsp .nsp-type-honorary .nsp-card,
  .nsp .nsp-type-media .nsp-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); }
  .nsp .nsp-type-honorary .nsp-logo,
  .nsp .nsp-type-media .nsp-logo { height: 100%; min-height: 140px; padding: 12px; }
}
@media (max-width: 340px) {
  .nsp .nsp-grid,
  .nsp .nsp-type-automotive .nsp-grid,
  .nsp .nsp-type-sponsor .nsp-grid { grid-template-columns: 1fr; }
}
