/* ── NIST Hero ── */
.nist-hero {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-deep);
}

.nist-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, #00000099 100%);
}

.nist-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem);
}

.nist-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.nist-hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Invert the NIST logo for dark background */
#nist-cyber {
  width: 60%;
  max-width: 480px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  filter: invert(1) brightness(0.9);
}

/* ── Content Section ── */
.nist-content {
  width: 100%;
  background: var(--color-bg);
  border-top: 1px solid var(--color-glass-border);
}

/* ── NIST Sections ── */
.nist-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  border-radius: 16px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nist-section:hover {
  border-color: #f28b2a33;
  box-shadow: 0 4px 24px #0000004d;
}

.nist-section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: var(--color-brand-orange);
  margin-bottom: 1rem;
  margin-top: 0;
  line-height: 1.3;
}

.nist-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.nist-section p:last-child {
  margin-bottom: 0;
}

.nist-section a {
  text-decoration: none;
  color: var(--color-accent-blue);
  transition: color 0.2s ease;
}

.nist-section a:hover {
  color: #79c0ff;
}

.nist-section strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── NIST Quotes ── */
.nist-quote {
  background: #f28b2a0d;
  border-left: 4px solid var(--color-brand-orange);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px #00000033;
}

.nist-quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.nist-quote p:last-child {
  margin-bottom: 0;
}

.nist-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-brand-orange);
  text-align: right;
  margin-top: 0.5rem;
}

/* ── Video Container ── */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 8px 32px #00000066;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* ── Responsive ── */
@media (width < 768px) {
  #nist-cyber {
    width: 80%;
  }

  .nist-section {
    padding: 1.4rem;
  }

  .nist-quote {
    padding: 1rem 1.4rem;
  }

  .nist-quote p {
    font-size: 0.88rem;
  }
}
