/* Norsafe Add Copy — scoped brand/cyber support copy styling */

.nsac-copy-section {
  --nsac-navy: #091125;
  --nsac-orange: #f82b06;
  --nsac-green: #07722d;
  --nsac-silver: #e0e1e5;
  --nsac-white: #ffffff;
  background: #eef3f6;
  padding: clamp(30px, 4vw, 54px) 18px;
  color: var(--nsac-navy);
}

.nsac-wrap {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.nsac-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 10% 0%, rgba(248, 43, 6, .20), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(7, 114, 45, .18), transparent 34%),
    linear-gradient(145deg, #0b1728 0%, #091125 62%, #06101d 100%);
  border: 1px solid rgba(248, 43, 6, .32);
  box-shadow: 0 26px 75px rgba(9, 17, 37, .28), inset 0 0 0 1px rgba(255,255,255,.045);
  color: var(--nsac-white);
  isolation: isolate;
}

.nsac-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}

.nsac-shell::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 140%;
  top: -20%;
  left: -70%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent);
  transition: left .8s ease;
  pointer-events: none;
}

.nsac-shell:hover::after {
  left: 120%;
}

.nsac-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 43, 6, .14);
  border: 1px solid rgba(248, 43, 6, .38);
  color: #ffb45f;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}

.nsac-heading {
  max-width: 920px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 950;
  text-shadow: 0 2px 12px rgba(0,0,0,.46);
}

.nsac-lead {
  max-width: 920px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.62;
}

.nsac-card-grid,
.nsac-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.nsac-copy-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(248, 43, 6, .16), transparent 38%),
    linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(224, 225, 229, .14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 18px 38px rgba(0,0,0,.18);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.nsac-copy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 43, 6, .46);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 52px rgba(0,0,0,.28), 0 0 26px rgba(248, 43, 6, .12);
}

.nsac-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(248, 43, 6, .18);
  border: 1px solid rgba(248, 43, 6, .44);
  color: #ffb45f;
  font-size: 13px;
  font-weight: 950;
}

.nsac-copy-card h3,
.nsac-list-block h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 900;
}

.nsac-copy-card p,
.nsac-copy-cta p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.58;
}

.nsac-list-block {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(224,225,229,.13);
}

.nsac-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.nsac-pill-row span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(224,225,229,.12);
  font-size: 13px;
  font-weight: 700;
}

.nsac-copy-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(248, 43, 6, .17), rgba(7, 114, 45, .13));
  border: 1px solid rgba(248, 43, 6, .28);
}

.nsac-copy-cta p {
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-weight: 650;
}

.nsac-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--nsac-orange), #ff7a21);
  box-shadow: 0 12px 28px rgba(248,43,6,.26);
  font-size: 14px;
  font-weight: 900;
}

.nsac-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(248, 43, 6, .34);
  pointer-events: none;
}

.nsac-corners span:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.nsac-corners span:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.nsac-corners span:nth-child(3) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.nsac-corners span:nth-child(4) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

.nsac-scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(248, 43, 6, .07), transparent);
  transform: translateY(-100%);
  animation: nsacScanMove 4.5s linear infinite;
  pointer-events: none;
}

@keyframes nsacScanMove {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Keep page rhythm tight when this support copy is injected before footer. */
.nsac-copy-section + .nsf-compact-footer,
.nsac-copy-section + footer {
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .nsac-card-grid,
  .nsac-article-grid {
    grid-template-columns: 1fr;
  }

  .nsac-copy-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nsac-copy-section {
    padding: 26px 14px;
  }

  .nsac-wrap {
    width: min(100%, calc(100vw - 28px));
  }

  .nsac-shell {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .nsac-copy-card {
    padding: 18px;
    min-height: 0;
  }

  .nsac-copy-cta {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nsac-shell::after,
  .nsac-copy-card,
  .nsac-scan-line {
    transition: none !important;
    animation: none !important;
  }
}


/* v1.0.1 — readability + tighter rhythm fix
   Keep the injected copy relevant and clean; fix theme overrides that made headings too dark. */
.nsac-copy-section {
  padding: clamp(22px, 3vw, 36px) 18px !important;
}

.nsac-shell {
  padding: clamp(26px, 3.2vw, 40px) !important;
}

.nsac-heading,
.nsac-copy-section .nsac-heading,
.nsac-copy-section h2.nsac-heading {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 3px 14px rgba(0,0,0,.58) !important;
  margin-bottom: 12px !important;
}

.nsac-lead,
.nsac-copy-section .nsac-lead {
  color: rgba(255,255,255,.88) !important;
  margin-bottom: 18px !important;
}

.nsac-card-grid,
.nsac-article-grid {
  gap: 16px !important;
  margin-top: 18px !important;
}

.nsac-copy-card {
  min-height: 160px !important;
  padding: 20px !important;
}

.nsac-copy-card h3,
.nsac-copy-section .nsac-copy-card h3,
.nsac-list-block h3,
.nsac-copy-section .nsac-list-block h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.42) !important;
}

.nsac-copy-card p,
.nsac-copy-section .nsac-copy-card p,
.nsac-copy-cta p,
.nsac-copy-section .nsac-copy-cta p {
  color: rgba(255,255,255,.82) !important;
}

.nsac-card-number {
  margin-bottom: 12px !important;
}

.nsac-copy-cta {
  margin-top: 18px !important;
  padding: 18px 20px !important;
}

.nsac-copy-section + .nsf-compact-footer,
.nsac-copy-section + footer,
.nsac-copy-section + .site-footer {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  .nsac-copy-section { padding: 20px 12px !important; }
  .nsac-shell { padding: 22px 16px !important; }
  .nsac-copy-card { min-height: 0 !important; padding: 17px !important; }
  .nsac-copy-cta { padding: 16px !important; }
}


/* v1.0.2 — cohesive site blend
   The support copy now behaves like part of the existing category pages:
   light section rhythm, white cards, subtle cyber grid, Norsafe orange/green accents.
   This keeps the cyber-card influence without dropping a separate dark billboard above the footer. */
.nsac-copy-section {
  padding: clamp(24px, 3.2vw, 42px) 18px clamp(34px, 4vw, 56px) !important;
  background: #eef3f6 !important;
  color: #091125 !important;
}

.nsac-wrap {
  width: min(1080px, calc(100vw - 36px)) !important;
}

.nsac-shell {
  overflow: hidden !important;
  padding: clamp(26px, 3.2vw, 38px) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 43, 6, .08), transparent 32%),
    radial-gradient(circle at 100% 10%, rgba(7, 114, 45, .055), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
  border: 1px solid rgba(9, 17, 37, .09) !important;
  box-shadow: 0 18px 45px rgba(9, 17, 37, .10) !important;
  color: #091125 !important;
}

.nsac-shell::before {
  background:
    linear-gradient(to right, rgba(9, 17, 37, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 17, 37, .028) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  opacity: .45 !important;
}

.nsac-shell::after {
  background: linear-gradient(90deg, transparent, rgba(248,43,6,.12), transparent) !important;
  opacity: .58 !important;
}

.nsac-eyebrow {
  margin-bottom: 12px !important;
  padding: 7px 11px !important;
  background: #fff2e9 !important;
  border: 1px solid rgba(248, 43, 6, .18) !important;
  color: #b84a00 !important;
  box-shadow: none !important;
}

.nsac-heading,
.nsac-copy-section .nsac-heading,
.nsac-copy-section h2.nsac-heading {
  max-width: 840px !important;
  margin: 0 0 10px !important;
  color: #091125 !important;
  -webkit-text-fill-color: #091125 !important;
  font-size: clamp(24px, 2.4vw, 36px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
  text-shadow: none !important;
}

.nsac-lead,
.nsac-copy-section .nsac-lead {
  max-width: 850px !important;
  margin: 0 0 18px !important;
  color: rgba(9, 17, 37, .72) !important;
  font-size: clamp(15px, 1.1vw, 17px) !important;
  line-height: 1.55 !important;
}

.nsac-card-grid,
.nsac-article-grid {
  gap: 16px !important;
  margin-top: 18px !important;
}

.nsac-copy-card {
  min-height: 145px !important;
  padding: 20px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(248, 43, 6, .075), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,252,.96)) !important;
  border: 1px solid rgba(9, 17, 37, .08) !important;
  box-shadow: 0 12px 28px rgba(9, 17, 37, .075) !important;
}

.nsac-copy-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(248, 43, 6, .24) !important;
  box-shadow: 0 16px 34px rgba(9, 17, 37, .11), 0 0 18px rgba(248, 43, 6, .055) !important;
}

.nsac-card-number {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 12px !important;
  border-radius: 12px !important;
  background: #fff0e8 !important;
  border: 1px solid rgba(248, 43, 6, .22) !important;
  color: #bd4b00 !important;
}

.nsac-copy-card h3,
.nsac-copy-section .nsac-copy-card h3,
.nsac-list-block h3,
.nsac-copy-section .nsac-list-block h3 {
  margin: 0 0 8px !important;
  color: #091125 !important;
  -webkit-text-fill-color: #091125 !important;
  font-size: clamp(17px, 1.45vw, 21px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em !important;
  text-shadow: none !important;
}

.nsac-copy-card p,
.nsac-copy-section .nsac-copy-card p {
  color: rgba(9, 17, 37, .70) !important;
  font-size: 14px !important;
  line-height: 1.52 !important;
}

.nsac-list-block {
  margin-top: 18px !important;
  padding: 18px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(9,17,37,.08) !important;
  box-shadow: 0 10px 24px rgba(9,17,37,.06) !important;
}

.nsac-pill-row {
  gap: 8px !important;
  margin-top: 12px !important;
}

.nsac-pill-row span {
  padding: 8px 11px !important;
  color: rgba(9,17,37,.74) !important;
  background: #f7fafc !important;
  border: 1px solid rgba(9,17,37,.08) !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.nsac-copy-cta {
  gap: 16px !important;
  margin-top: 18px !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(248,43,6,.16), transparent 35%),
    linear-gradient(135deg, #091125 0%, #101c2f 72%, #0b241a 100%) !important;
  border: 1px solid rgba(248,43,6,.24) !important;
  box-shadow: 0 14px 30px rgba(9,17,37,.16) !important;
}

.nsac-copy-cta p,
.nsac-copy-section .nsac-copy-cta p {
  max-width: 760px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  font-weight: 700 !important;
}

.nsac-btn {
  padding: 11px 17px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #f82b06, #ff7a21) !important;
  box-shadow: 0 10px 24px rgba(248,43,6,.24) !important;
  font-size: 13px !important;
}

.nsac-corners span {
  width: 15px !important;
  height: 15px !important;
  border-color: rgba(248,43,6,.24) !important;
}

.nsac-scan-line {
  background: linear-gradient(to bottom, transparent, rgba(248,43,6,.035), transparent) !important;
  opacity: .55 !important;
}

.nsac-copy-section + .nsf-compact-footer,
.nsac-copy-section + footer,
.nsac-copy-section + .site-footer {
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .nsac-card-grid,
  .nsac-article-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .nsac-copy-section {
    padding: 20px 12px 32px !important;
  }
  .nsac-wrap {
    width: min(100%, calc(100vw - 24px)) !important;
  }
  .nsac-shell {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
  .nsac-copy-card {
    min-height: 0 !important;
    padding: 17px !important;
  }
  .nsac-copy-cta {
    padding: 16px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}


/* v1.0.3 — move broad copy off Home and onto About.
   This keeps category pages helpful, but prevents the homepage from getting an extra intro block above the hero. */
.nsac-type-article .nsac-list-block {
  margin-top: 16px !important;
}

.nsac-type-article .nsac-pill-row span {
  font-weight: 750 !important;
}
