.nfmssmh-wrap {
  --nfmssmh-navy: #071b35;
  --nfmssmh-blue: #123f70;
  --nfmssmh-red: #c51f36;
  --nfmssmh-red-dark: #971426;
  --nfmssmh-sky: #eaf3fa;
  --nfmssmh-paper: #ffffff;
  --nfmssmh-mist: #f4f7fa;
  --nfmssmh-ink: #172235;
  --nfmssmh-muted: #586677;
  --nfmssmh-line: #d9e1e8;
  width: 100%;
  max-width: 100%;
  color: var(--nfmssmh-ink);
  background: var(--nfmssmh-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

.nfmssmh-wrap *,
.nfmssmh-wrap *::before,
.nfmssmh-wrap *::after {
  box-sizing: border-box;
}

.nfmssmh-wrap h1,
.nfmssmh-wrap h2,
.nfmssmh-wrap h3,
.nfmssmh-wrap p,
.nfmssmh-wrap blockquote {
  margin-top: 0;
}

.nfmssmh-wrap h1,
.nfmssmh-wrap h2,
.nfmssmh-wrap h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.nfmssmh-wrap a {
  color: inherit;
  text-decoration: none;
}

.nfmssmh-container {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.nfmssmh-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  color: white;
  background:
    radial-gradient(circle at 86% 22%, rgba(197, 31, 54, 0.32), transparent 25%),
    linear-gradient(125deg, #06162b 0%, var(--nfmssmh-blue) 100%);
}

.nfmssmh-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -220px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.035), 0 0 0 108px rgba(255, 255, 255, 0.02);
}

.nfmssmh-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 72px;
}

.nfmssmh-kicker {
  margin-bottom: 13px;
  color: var(--nfmssmh-red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nfmssmh-kicker-light {
  color: #ffb9c4;
}

.nfmssmh-hero h1 {
  max-width: 790px;
  margin-bottom: 23px;
  color: white;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.045em;
}

.nfmssmh-lead {
  max-width: 760px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.72;
}

.nfmssmh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nfmssmh-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.nfmssmh-button:hover,
.nfmssmh-button:focus {
  transform: translateY(-2px);
}

.nfmssmh-button-primary {
  color: white;
  background: var(--nfmssmh-red);
}

.nfmssmh-button-primary:hover,
.nfmssmh-button-primary:focus {
  color: white;
  background: var(--nfmssmh-red-dark);
}

.nfmssmh-button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.56);
}

.nfmssmh-button-outline:hover,
.nfmssmh-button-outline:focus {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.09);
}

.nfmssmh-text-link {
  padding: 12px 6px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline !important;
  text-decoration-color: #ffb9c4 !important;
  text-underline-offset: 5px;
}

.nfmssmh-principle {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--nfmssmh-red);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.22);
}

.nfmssmh-principle-label {
  margin-bottom: 15px;
  color: #ffb9c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nfmssmh-principle blockquote {
  margin-bottom: 18px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.3;
}

.nfmssmh-principle > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.nfmssmh-jump {
  color: white;
  background: var(--nfmssmh-red-dark);
  box-shadow: 0 7px 22px rgba(7, 27, 53, 0.18);
}

.nfmssmh-jump .nfmssmh-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nfmssmh-jump a {
  flex: 0 0 auto;
  padding: 15px 18px;
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.nfmssmh-jump a:hover,
.nfmssmh-jump a:focus {
  color: white;
  background: rgba(255, 255, 255, 0.13);
}

.nfmssmh-section {
  padding: 88px 0;
  scroll-margin-top: 78px;
}

.nfmssmh-intro {
  background: var(--nfmssmh-paper);
}

.nfmssmh-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 80px;
}

.nfmssmh-wrap h2 {
  margin-bottom: 17px;
  color: var(--nfmssmh-navy);
  font-size: clamp(35px, 4.1vw, 52px);
  letter-spacing: -0.03em;
}

.nfmssmh-intro-grid h2 {
  margin-bottom: 0;
}

.nfmssmh-prose p {
  margin-bottom: 20px;
  color: var(--nfmssmh-muted);
  font-size: 17px;
}

.nfmssmh-prose p:last-child {
  margin-bottom: 0;
}

.nfmssmh-audience {
  background: var(--nfmssmh-mist);
}

.nfmssmh-heading {
  max-width: 780px;
  margin-bottom: 43px;
}

.nfmssmh-heading > p:last-child {
  color: var(--nfmssmh-muted);
  font-size: 17px;
}

.nfmssmh-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nfmssmh-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nfmssmh-card {
  padding: 34px;
  border: 1px solid var(--nfmssmh-line);
  border-radius: 6px;
  background: white;
  box-shadow: 0 18px 48px rgba(7, 27, 53, 0.07);
}

.nfmssmh-card-accent {
  border-top: 5px solid var(--nfmssmh-red);
}

.nfmssmh-card-label {
  margin-bottom: 10px;
  color: var(--nfmssmh-red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nfmssmh-card h3,
.nfmssmh-panel h3,
.nfmssmh-steps h3,
.nfmssmh-standard-grid h3 {
  margin-bottom: 12px;
  color: var(--nfmssmh-navy);
  font-size: 25px;
}

.nfmssmh-check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.nfmssmh-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--nfmssmh-muted);
}

.nfmssmh-check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--nfmssmh-red);
  font-weight: 900;
}

.nfmssmh-quote-list {
  margin: 24px 0;
  border-top: 1px solid var(--nfmssmh-line);
}

.nfmssmh-quote-list p {
  margin: 0;
  padding: 16px 18px;
  color: var(--nfmssmh-navy);
  border-bottom: 1px solid var(--nfmssmh-line);
  border-left: 3px solid var(--nfmssmh-red);
  background: var(--nfmssmh-mist);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.nfmssmh-callout {
  padding: 62px 0;
  color: white;
  background: var(--nfmssmh-red-dark);
}

.nfmssmh-callout-grid {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.nfmssmh-callout-number {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 1;
}

.nfmssmh-callout h2 {
  margin-bottom: 12px;
  color: white;
}

.nfmssmh-callout div > p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.nfmssmh-coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nfmssmh-panel {
  padding: 30px;
  border: 1px solid var(--nfmssmh-line);
  border-radius: 5px;
  background: white;
}

.nfmssmh-panel-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: white;
  border-radius: 50%;
  background: var(--nfmssmh-navy);
  font-weight: 900;
}

.nfmssmh-panel p {
  margin-bottom: 0;
  color: var(--nfmssmh-muted);
}

.nfmssmh-coach-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 30px;
  margin-top: 24px;
  padding: 27px 30px;
  color: white;
  border-radius: 5px;
  background: var(--nfmssmh-navy);
}

.nfmssmh-coach-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.3;
}

.nfmssmh-coach-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.nfmssmh-response {
  color: white;
  background: var(--nfmssmh-navy);
}

.nfmssmh-response-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 76px;
}

.nfmssmh-response-intro {
  position: sticky;
  top: 102px;
  align-self: start;
}

.nfmssmh-response h2 {
  color: white;
}

.nfmssmh-response-intro > p:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.nfmssmh-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nfmssmh-steps li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 19px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.nfmssmh-steps li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--nfmssmh-red);
  font-weight: 900;
}

.nfmssmh-steps h3 {
  margin-bottom: 5px;
  color: white;
  font-size: 21px;
}

.nfmssmh-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.nfmssmh-conversation {
  background: var(--nfmssmh-sky);
}

.nfmssmh-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nfmssmh-prompt-grid article {
  display: flex;
  align-items: center;
  min-height: 180px;
  padding: 30px;
  border: 1px solid #c9d9e6;
  border-top: 4px solid var(--nfmssmh-red);
  border-radius: 5px;
  background: white;
}

.nfmssmh-prompt-grid p {
  margin-bottom: 0;
  color: var(--nfmssmh-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.45;
}

.nfmssmh-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--nfmssmh-line);
  border-left: 1px solid var(--nfmssmh-line);
}

.nfmssmh-standard-grid article {
  min-height: 285px;
  padding: 28px;
  border-right: 1px solid var(--nfmssmh-line);
  border-bottom: 1px solid var(--nfmssmh-line);
}

.nfmssmh-standard-grid span {
  display: block;
  margin-bottom: 25px;
  color: var(--nfmssmh-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nfmssmh-standard-grid h3 {
  font-size: 22px;
}

.nfmssmh-standard-grid p {
  margin-bottom: 0;
  color: var(--nfmssmh-muted);
}

.nfmssmh-crisis {
  padding: 72px 0;
  scroll-margin-top: 78px;
  color: white;
  background: var(--nfmssmh-red-dark);
}

.nfmssmh-crisis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 64px;
}

.nfmssmh-crisis h2 {
  color: white;
}

.nfmssmh-crisis p {
  color: rgba(255, 255, 255, 0.85);
}

.nfmssmh-crisis-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px;
  color: var(--nfmssmh-navy);
  border-radius: 6px;
  background: white;
  box-shadow: 0 20px 55px rgba(56, 0, 10, 0.2);
}

.nfmssmh-crisis-card:hover,
.nfmssmh-crisis-card:focus {
  color: var(--nfmssmh-navy);
  transform: translateY(-3px);
}

.nfmssmh-crisis-card span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nfmssmh-crisis-card strong {
  margin: 2px 0;
  color: var(--nfmssmh-red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  line-height: 1;
}

.nfmssmh-crisis-card small {
  color: var(--nfmssmh-muted);
  font-size: 13px;
  text-align: center;
}

.nfmssmh-resources {
  background: var(--nfmssmh-mist);
}

.nfmssmh-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
}

.nfmssmh-resource-grid > div:first-child > p:last-child {
  color: var(--nfmssmh-muted);
}

.nfmssmh-resource-list {
  border-top: 1px solid var(--nfmssmh-line);
}

.nfmssmh-resource-list a {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--nfmssmh-line);
  border-left: 3px solid transparent;
  background: white;
}

.nfmssmh-resource-list a:hover,
.nfmssmh-resource-list a:focus {
  color: var(--nfmssmh-navy);
  border-left-color: var(--nfmssmh-red);
}

.nfmssmh-resource-list strong {
  color: var(--nfmssmh-navy);
}

.nfmssmh-resource-list span {
  color: var(--nfmssmh-muted);
  font-size: 14px;
}

.nfmssmh-disclaimer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 55px;
  padding-top: 25px;
  color: var(--nfmssmh-muted);
  border-top: 1px solid var(--nfmssmh-line);
  font-size: 13px;
}

.nfmssmh-disclaimer p:first-child {
  max-width: 860px;
}

.nfmssmh-disclaimer p:last-child {
  flex: 0 0 auto;
}

.nfmssmh-wrap a:focus-visible {
  outline: 3px solid #ffd15c;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .nfmssmh-hero-grid,
  .nfmssmh-intro-grid,
  .nfmssmh-response-grid,
  .nfmssmh-resource-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .nfmssmh-response-intro {
    position: static;
  }

  .nfmssmh-coach-grid,
  .nfmssmh-prompt-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nfmssmh-container {
    width: min(100% - 32px, 1180px);
  }

  .nfmssmh-hero {
    padding: 68px 0 72px;
  }

  .nfmssmh-hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .nfmssmh-principle {
    padding: 26px;
  }

  .nfmssmh-section {
    padding: 68px 0;
  }

  .nfmssmh-two-column,
  .nfmssmh-coach-note,
  .nfmssmh-crisis-grid {
    grid-template-columns: 1fr;
  }

  .nfmssmh-callout-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nfmssmh-callout-number {
    font-size: 62px;
  }

  .nfmssmh-standard-grid {
    grid-template-columns: 1fr;
  }

  .nfmssmh-standard-grid article {
    min-height: auto;
  }

  .nfmssmh-disclaimer {
    display: block;
  }
}

@media (max-width: 480px) {
  .nfmssmh-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nfmssmh-button,
  .nfmssmh-text-link {
    width: 100%;
    text-align: center;
  }

  .nfmssmh-card,
  .nfmssmh-panel,
  .nfmssmh-prompt-grid article {
    padding: 24px;
  }

  .nfmssmh-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 19px;
  }

  .nfmssmh-steps li > span {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nfmssmh-wrap *,
  .nfmssmh-wrap *::before,
  .nfmssmh-wrap *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------
 * FULL-WIDTH SAFETY NET (page-scoped)
 * ---------------------------------------------------------------------
 * Only applies when the page has the .nfmssmh-page body class, which
 * the plugin adds only on the page containing [nfmss_mental_health]
 * (see nfmss_mental_health_body_class() in nfmss-mental-health.php),
 * so this never affects any other page on the site. This is a backup
 * for the theme's own "Full Width" page template: if that template is
 * selected in Page Attributes, the sidebar markup usually won't exist
 * at all and these rules simply have nothing to do. If the sidebar
 * still shows up anyway, this hides it and expands the content column
 * to fill the space, covering the most common WordPress/theme sidebar
 * patterns. If a widget stack still appears after this, the site's
 * sidebar container is using a class name outside this list — inspect
 * the element in the browser and add its exact class/ID to this block.
 * --------------------------------------------------------------------- */
.nfmssmh-page #secondary,
.nfmssmh-page .widget-area,
.nfmssmh-page aside.sidebar,
.nfmssmh-page .sidebar,
.nfmssmh-page .site-sidebar,
.nfmssmh-page .theme-sidebar,
.nfmssmh-page .td-sidebar,
.nfmssmh-page .right-sidebar,
.nfmssmh-page .left-sidebar,
.nfmssmh-page .col-sidebar,
.nfmssmh-page .sidebar-widget-area,
.nfmssmh-page .widget-column,
.nfmssmh-page .elementor-widget-sidebar {
  display: none !important;
}

.nfmssmh-page .site-content,
.nfmssmh-page .content-area,
.nfmssmh-page .content-sidebar-wrap,
.nfmssmh-page #primary,
.nfmssmh-page .primary-content,
.nfmssmh-page main.site-main {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  /* If the parent is CSS Grid with a leftover "content + sidebar"
     column template, force it back to a single column now that the
     sidebar is hidden — otherwise content stays squeezed into the
     old content-column track and the old sidebar-column track sits
     empty, which is what caused the large blank strip on the right. */
  display: block !important;
  grid-template-columns: 1fr !important;
}

/* The plugin's own wrapper: make sure it actually stretches to fill
   whatever width its parent now gives it, whether that parent uses
   block, flex, or grid layout. */
.nfmssmh-page .nfmssmh-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  grid-column: 1 / -1 !important;
}

