.nsd-homeblocks {
  --nsdhb-red: #d71920;
  --nsdhb-blue: #009fe3;
  --nsdhb-blue-dark: #007db4;
  --nsdhb-yellow: #ffc400;
  --nsdhb-green: #25d366;
  --nsdhb-ink: #1f2a44;
  --nsdhb-muted: #60708a;
  --nsdhb-bg: #f5fbff;
  --nsdhb-border: #e4ecf7;
  --nsdhb-white: #ffffff;
  --nsdhb-radius: 8px;
  --nsdhb-shadow: 0 10px 24px rgba(31, 42, 68, 0.09);
  color: var(--nsdhb-ink);
  display: block;
  margin: 0 auto 1.8rem;
  max-width: 1200px;
}

.nsd-homeblocks a {
  text-decoration: none;
}

.nsd-homeblocks > section {
  margin-bottom: 1.15rem;
}

.nsd-homeblocks .nsdhb-storefront {
  display: grid;
  gap: 1rem;
  grid-template-columns: 270px minmax(0, 1fr);
}

.nsd-homeblocks .nsdhb-category-sidebar,
.nsd-homeblocks .nsdhb-hero,
.nsd-homeblocks .nsdhb-services,
.nsd-homeblocks .nsdhb-quick-find,
.nsd-homeblocks .nsdhb-featured-categories {
  background: var(--nsdhb-white);
  border: 1px solid var(--nsdhb-border);
  border-radius: var(--nsdhb-radius);
  box-shadow: var(--nsdhb-shadow);
  overflow: hidden;
}

.nsd-homeblocks .nsdhb-sidebar-title {
  align-items: center;
  background: var(--nsdhb-red);
  color: var(--nsdhb-white);
  display: flex;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0 1rem;
  font-weight: 900;
}

.nsd-homeblocks .nsdhb-sidebar-title .material-icons {
  color: var(--nsdhb-yellow);
}

.nsd-homeblocks .nsdhb-sidebar-list {
  display: grid;
}

.nsd-homeblocks .nsdhb-sidebar-link {
  align-items: center;
  border-bottom: 1px solid var(--nsdhb-border);
  color: var(--nsdhb-ink);
  display: flex;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.nsd-homeblocks .nsdhb-sidebar-link:last-child {
  border-bottom: 0;
}

.nsd-homeblocks .nsdhb-sidebar-link:hover,
.nsd-homeblocks .nsdhb-sidebar-priority {
  background: #eef9ff;
  color: var(--nsdhb-blue-dark);
}

.nsd-homeblocks .nsdhb-sidebar-priority {
  border-left: 5px solid var(--nsdhb-blue);
  font-weight: 900;
}

.nsd-homeblocks .nsdhb-sidebar-link .material-icons {
  align-items: center;
  background: #eef9ff;
  border-radius: var(--nsdhb-radius);
  color: var(--nsdhb-blue);
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nsd-homeblocks .nsdhb-storefront-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.nsd-homeblocks .nsdhb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 38%);
  min-height: 300px;
}

.nsd-homeblocks .nsdhb-hero-copy {
  align-self: center;
  padding: clamp(1rem, 2.4vw, 1.75rem);
}

.nsd-homeblocks .nsdhb-eyebrow {
  background: #fff5d8;
  border: 1px solid rgba(255, 196, 0, 0.5);
  border-radius: 999px;
  color: #815f00;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.68rem;
  text-transform: uppercase;
}

.nsd-homeblocks .nsdhb-hero h1 {
  color: var(--nsdhb-ink);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.nsd-homeblocks .nsdhb-hero p {
  color: #31405d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1rem;
  max-width: 560px;
}

.nsd-homeblocks .nsdhb-hero-button {
  min-height: 42px;
  padding: 0.65rem 1rem;
}

.nsd-homeblocks .nsdhb-hero-visual {
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.12), rgba(255, 196, 0, 0.18)), var(--nsdhb-bg);
  overflow: hidden;
}

.nsd-homeblocks .nsdhb-hero-visual picture,
.nsd-homeblocks .nsdhb-hero-visual img {
  display: block;
  height: 100%;
  width: 100%;
}

.nsd-homeblocks .nsdhb-hero-visual img {
  object-fit: cover;
}

.nsd-homeblocks .nsdhb-visual-placeholder {
  align-content: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 100%;
  padding: 1rem;
}

.nsd-homeblocks .nsdhb-visual-placeholder span {
  align-items: center;
  background: var(--nsdhb-white);
  border: 2px solid var(--nsdhb-border);
  border-radius: var(--nsdhb-radius);
  color: var(--nsdhb-ink);
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 76px;
  padding: 0.65rem;
}

.nsd-homeblocks .nsdhb-visual-placeholder span:nth-child(1) {
  border-color: var(--nsdhb-blue);
}

.nsd-homeblocks .nsdhb-visual-placeholder span:nth-child(2) {
  border-color: var(--nsdhb-red);
}

.nsd-homeblocks .nsdhb-visual-placeholder span:nth-child(3) {
  border-color: var(--nsdhb-yellow);
  grid-column: 1 / -1;
}

.nsd-homeblocks .nsdhb-mini-banners {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nsd-homeblocks .nsdhb-mini-banner {
  align-content: end;
  background: var(--nsdhb-ink);
  border-radius: var(--nsdhb-radius);
  box-shadow: var(--nsdhb-shadow);
  color: var(--nsdhb-white);
  display: grid;
  min-height: 134px;
  overflow: hidden;
  padding: 0.9rem;
  position: relative;
}

.nsd-homeblocks .nsdhb-mini-banner::after {
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.04), rgba(31, 42, 68, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.nsd-homeblocks .nsdhb-mini-banner img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.nsd-homeblocks .nsdhb-mini-banner-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)), var(--nsdhb-accent, var(--nsdhb-blue));
}

.nsd-homeblocks .nsdhb-banner-pattern {
  border: 2px dashed rgba(255, 255, 255, 0.42);
  border-radius: var(--nsdhb-radius);
  inset: 0.7rem;
  position: absolute;
}

.nsd-homeblocks .nsdhb-mini-kicker,
.nsd-homeblocks .nsdhb-mini-banner strong {
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-mini-kicker {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
}

.nsd-homeblocks .nsdhb-mini-banner strong {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.08;
}

.nsd-homeblocks .nsdhb-quick-find {
  padding: 1rem;
}

.nsd-homeblocks .nsdhb-quick-find h2,
.nsd-homeblocks .nsdhb-section-heading h2 {
  color: var(--nsdhb-ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.nsd-homeblocks .nsdhb-quick-find h2::after,
.nsd-homeblocks .nsdhb-section-heading h2::after {
  background: linear-gradient(90deg, var(--nsdhb-red), var(--nsdhb-yellow), var(--nsdhb-blue));
  border-radius: 6px;
  content: "";
  display: block;
  height: 4px;
  margin: 0.42rem 0 0.85rem;
  width: 82px;
}

.nsd-homeblocks .nsdhb-quick-links {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nsd-homeblocks .nsdhb-quick-links a {
  align-items: center;
  background: #fbfdff;
  border: 1px solid var(--nsdhb-border);
  border-radius: var(--nsdhb-radius);
  color: var(--nsdhb-ink);
  display: flex;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.55rem;
  font-size: 0.86rem;
  font-weight: 900;
}

.nsd-homeblocks .nsdhb-quick-links a:hover,
.nsd-homeblocks .nsdhb-quick-links a.nsdhb-quick-priority {
  border-color: rgba(0, 159, 227, 0.45);
  color: var(--nsdhb-blue-dark);
}

.nsd-homeblocks .nsdhb-quick-links .material-icons {
  color: var(--nsdhb-blue);
  font-size: 1.15rem;
}

.nsd-homeblocks .nsdhb-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nsd-homeblocks .nsdhb-service {
  align-items: center;
  border-right: 1px solid var(--nsdhb-border);
  color: var(--nsdhb-ink);
  display: flex;
  gap: 0.65rem;
  min-height: 72px;
  padding: 0.85rem;
}

.nsd-homeblocks .nsdhb-service:last-child {
  border-right: 0;
}

.nsd-homeblocks .nsdhb-service .material-icons {
  align-items: center;
  background: #eaf8ff;
  border-radius: var(--nsdhb-radius);
  color: var(--nsdhb-blue);
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nsd-homeblocks .nsdhb-service strong,
.nsd-homeblocks .nsdhb-service small {
  display: block;
}

.nsd-homeblocks .nsdhb-service strong {
  color: var(--nsdhb-ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.nsd-homeblocks .nsdhb-service small {
  color: var(--nsdhb-muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.12rem;
}

.nsd-homeblocks .nsdhb-featured-categories {
  padding: 1rem;
}

.nsd-homeblocks .nsdhb-section-heading {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nsd-homeblocks .nsdhb-section-heading span {
  color: var(--nsdhb-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nsd-homeblocks .nsdhb-category-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nsd-homeblocks .nsdhb-category-card {
  background: var(--nsdhb-white);
  border: 1px solid var(--nsdhb-border);
  border-top: 5px solid var(--nsdhb-accent, var(--nsdhb-blue));
  border-radius: var(--nsdhb-radius);
  color: var(--nsdhb-ink);
  display: grid;
  gap: 0.45rem;
  min-height: 190px;
  overflow: hidden;
  padding: 0.9rem;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nsd-homeblocks .nsdhb-category-card:hover {
  box-shadow: 0 12px 26px rgba(31, 42, 68, 0.12);
  color: var(--nsdhb-ink);
  transform: translateY(-2px);
}

.nsd-homeblocks .nsdhb-category-priority {
  grid-column: span 2;
  background: linear-gradient(135deg, #eef9ff, var(--nsdhb-white));
}

.nsd-homeblocks .nsdhb-category-title {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.18;
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-category-desc {
  color: var(--nsdhb-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-category-card img {
  align-self: end;
  justify-self: end;
  max-height: 78px;
  max-width: 90px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-category-icon {
  align-items: center;
  align-self: end;
  background: var(--nsdhb-accent, var(--nsdhb-blue));
  border-radius: 18px;
  color: var(--nsdhb-white);
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  height: 68px;
  justify-content: center;
  justify-self: end;
  width: 68px;
}

.nsd-homeblocks .nsdhb-subcategory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-subcategory-chips span {
  background: var(--nsdhb-white);
  border: 1px solid rgba(0, 159, 227, 0.24);
  border-radius: 999px;
  color: var(--nsdhb-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.45rem;
}

.nsd-homeblocks .nsdhb-promos {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nsd-homeblocks .nsdhb-promo {
  align-items: center;
  background: var(--nsdhb-ink);
  border-radius: var(--nsdhb-radius);
  box-shadow: var(--nsdhb-shadow);
  color: var(--nsdhb-white);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 34%);
  min-height: 160px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.nsd-homeblocks .nsdhb-promo::before {
  background: var(--nsdhb-accent, var(--nsdhb-blue));
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.9;
  position: absolute;
  top: 0;
  width: 7px;
}

.nsd-homeblocks .nsdhb-promo:hover {
  color: var(--nsdhb-white);
}

.nsd-homeblocks .nsdhb-promo-copy,
.nsd-homeblocks .nsdhb-promo img,
.nsd-homeblocks .nsdhb-promo-pattern {
  position: relative;
  z-index: 1;
}

.nsd-homeblocks .nsdhb-promo strong,
.nsd-homeblocks .nsdhb-promo small {
  display: block;
}

.nsd-homeblocks .nsdhb-promo strong {
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.1;
}

.nsd-homeblocks .nsdhb-promo small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.42rem;
}

.nsd-homeblocks .nsdhb-promo img {
  border-radius: var(--nsdhb-radius);
  height: 120px;
  object-fit: cover;
  width: 100%;
}

.nsd-homeblocks .nsdhb-promo-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)), var(--nsdhb-ink);
}

.nsd-homeblocks .nsdhb-promo-pattern {
  align-self: stretch;
  border: 2px dashed rgba(255, 255, 255, 0.36);
  border-radius: var(--nsdhb-radius);
  min-height: 120px;
}

@media (max-width: 1199px) {
  .nsd-homeblocks .nsdhb-storefront {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .nsd-homeblocks .nsdhb-category-grid,
  .nsd-homeblocks .nsdhb-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .nsd-homeblocks .nsdhb-storefront,
  .nsd-homeblocks .nsdhb-hero,
  .nsd-homeblocks .nsdhb-promos {
    grid-template-columns: 1fr;
  }

  .nsd-homeblocks .nsdhb-category-sidebar {
    order: 2;
  }

  .nsd-homeblocks .nsdhb-storefront-main {
    order: 1;
  }

  .nsd-homeblocks .nsdhb-sidebar-list,
  .nsd-homeblocks .nsdhb-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsd-homeblocks .nsdhb-mini-banners {
    grid-template-columns: 1fr;
  }

  .nsd-homeblocks .nsdhb-hero-visual {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .nsd-homeblocks > section {
    margin-bottom: 1rem;
  }

  .nsd-homeblocks .nsdhb-hero-copy {
    padding: 1rem;
  }

  .nsd-homeblocks .nsdhb-hero h1 {
    font-size: 1.85rem;
  }

  .nsd-homeblocks .nsdhb-sidebar-list,
  .nsd-homeblocks .nsdhb-services,
  .nsd-homeblocks .nsdhb-category-grid,
  .nsd-homeblocks .nsdhb-quick-links {
    grid-template-columns: 1fr;
  }

  .nsd-homeblocks .nsdhb-category-priority {
    grid-column: auto;
  }

  .nsd-homeblocks .nsdhb-promo {
    grid-template-columns: 1fr;
  }
}
