body {
  background: #070707;
  color: #f5f2ee;
}

.nm-strip {
  margin: 0;
  padding: 9px 16px;
  background: #e23f2d;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.nm-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: #0d0d0d;
  border-bottom: 1px solid #242424;
  position: sticky;
  top: 0;
  z-index: 2;
}

.nm-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nm-brand span {
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: #e23f2d;
  padding: 6px 8px;
  border-radius: 6px;
}

.nm-top h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.nm-brand p,
.nm-foot,
.aside-links {
  margin: 0;
  color: #bdb6b0;
  font-size: 13px;
}

.nm-menu,
.nm-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nm-menu a,
.nm-pills a,
.nm-foot a {
  color: inherit;
  text-decoration: none;
}

.nm-menu {
  margin-left: auto;
}

.nm-actions {
  display: flex;
  gap: 8px;
}

.nm-reg,
.nm-in,
.nm-cash {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.nm-reg {
  background: #e23f2d;
  color: #fff;
}

.nm-in,
.nm-cash {
  background: #1a1a1a;
  color: #fff;
}

.nm-banner,
.nm-pills,
.nm-grid,
.nm-block,
.nm-foot {
  width: min(1100px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.nm-banner {
  margin-top: 18px;
  padding: 28px;
  min-height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .55)),
    radial-gradient(500px 180px at 80% 40%, rgba(226, 63, 45, .55), transparent 70%),
    #141414;
}

.nm-banner:has(.nm-banner-pic) {
  position: relative;
  overflow: hidden;
  background: #140808;
}

.nm-banner:has(.nm-banner-pic)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25) 72%);
}

.nm-banner-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.nm-banner:has(.nm-banner-pic) > :not(.nm-banner-pic) {
  position: relative;
  z-index: 1;
}

.nm-banner h2,
.nm-block h2,
.nm-card h3 {
  margin: 0 0 8px;
}

.nm-banner p,
.nm-block p,
.nm-card p {
  margin: 0 0 8px;
  color: #e6e0da;
}

.nm-pills {
  margin-top: 16px;
}

.nm-pills a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #161616;
  border: 1px solid #2e2e2e;
}

.nm-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0 0;
  list-style: none;
}

.nm-card {
  padding: 10px;
  border-radius: 12px;
  background: #121212;
  border: 1px solid #262626;
}

.nm-card::before {
  content: "";
  display: block;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: linear-gradient(160deg, #e23f2d, #7a2418 55%, #1a1a1a);
}

.nm-card:nth-child(2n)::before {
  background: linear-gradient(160deg, #f0b429, #a85a12 50%, #1a1a1a);
}

.nm-card:nth-child(3n)::before {
  background: linear-gradient(160deg, #4aa3ff, #1d4f8a 50%, #1a1a1a);
}

.nm-block {
  margin-top: 18px;
}

.nm-foot {
  padding: 28px 0 48px;
}

@media (max-width: 900px) {
  .nm-top {
    flex-wrap: wrap;
  }

  .nm-menu {
    margin-left: 0;
  }

  .nm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
