/*
Theme Name: MWS Custom Theme
Theme URI: https://minnesotawebstudio.com/
Author: Minnesota Web Studio
Author URI: https://minnesotawebstudio.com/
Description: A highly optimized, custom-built WordPress theme tailored specifically for our clients. Featuring blazing-fast performance, localized SEO defaults, and an intuitive editing experience. DO NOT switch or delete this theme.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
Text Domain: mws-theme
*/

/* ============================================================
   BRAND TOKENS — OpioidRisks
   ============================================================ */
:root {
  /* OpioidRisks palette */
  --green:      #8DBB34;
  --navy:       #0F2942;
  --blue:       #00ADEF;
  --off-white:  #F5F7F9;
  --border:     #D8DDE3;
  --text-body:  #2D3748;
  --text-muted: #6B7280;

  /* MWS system aliases (used by nav/footer/btn components) */
  --brand-primary:   #8DBB34;
  --brand-secondary: #00ADEF;
  --brand-accent:    #0F2942;
  --bg-main:         #F5F7F9;
  --bg-alt:          #FFFFFF;
  --border-color:    #D8DDE3;
  --text-dark:       #0F2942;

  /* Typography */
  --font-headings: 'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--off-white);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

p { margin-top: 0; margin-bottom: var(--space-sm); }

a {
  color: var(--green);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--blue); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: var(--space-xl) 0; }
@media (max-width: 768px) { .section-padding { padding: var(--space-lg) 0; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--green);
  color: #fff !important;
  border-color: var(--green);
}
.btn-primary:hover {
  background-color: #7aaa28;
  border-color: #7aaa28;
  color: #fff !important;
}

.btn-secondary {
  background-color: transparent;
  color: #fff !important;
  border-color: #fff;
}
.btn-secondary:hover {
  background-color: #fff;
  color: var(--navy) !important;
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #fff !important;
}

.btn-outline-green {
  background-color: transparent;
  color: var(--green) !important;
  border-color: var(--green);
}
.btn-outline-green:hover {
  background-color: var(--green);
  color: #fff !important;
}

/* ============================================================
   PERSISTENT AWARENESS BANNER
   ============================================================ */
.site-awareness-banner {
  background-color: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.mws-nav {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15,41,66,.08);
  transition: all .3s ease;
}
body.admin-bar .mws-nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .mws-nav { top: 46px; } }

.mws-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  transition: all .3s ease;
}

.mws-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1002;
}
.mws-nav-logo img { height: 55px; width: auto; transition: height .3s ease; }

.mws-nav-logo .site-title {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: font-size .3s ease;
}
.mws-nav-logo .site-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mws-desktop-nav { display: flex; align-items: center; }

.mws-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.mws-nav-links a {
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .25s ease;
}
.mws-nav-links a:hover,
.mws-nav-links .current-menu-item > a { color: var(--green); }

.mws-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.mws-nav-links a:hover::after,
.mws-nav-links .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sub-menu */
.mws-nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(15,41,66,.1);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 100;
}
.mws-nav-links li { position: relative; }
.mws-nav-links li:hover > .sub-menu { display: block; }
.mws-nav-links .sub-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
}
.mws-nav-links .sub-menu a::after { display: none; }

@media (min-width: 901px) {
  .mws-nav-container.scrolled { height: 65px; }
  .mws-nav-container.scrolled .mws-nav-logo img { height: 42px; }
  .mws-nav-container.scrolled .mws-nav-logo .site-title { font-size: 18px; }
}

/* Hamburger toggle */
.mws-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1003;
}
.mws-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s ease;
}
.mws-nav-toggle span:nth-child(1) { margin-bottom: 6px; }
.mws-nav-toggle span:nth-child(3) { margin-top: 6px; }
.mws-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mws-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mws-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile nav drawer */
.mws-nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,41,66,.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
}
.mws-nav-overlay.active { opacity: 1; visibility: visible; }

.mws-nav-mobile {
  position: fixed;
  top: 0; right: -320px;
  width: 320px; max-width: 100%; height: 100vh;
  background: #fff;
  z-index: 1002;
  padding: 100px 30px 40px;
  box-shadow: -5px 0 20px rgba(15,41,66,.08);
  transition: right .4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mws-nav-mobile.active { right: 0; }

.mws-nav-mobile-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.mws-nav-mobile-links a {
  color: var(--navy);
  font-size: 18px; font-weight: 600;
  text-decoration: none;
  display: block;
  transition: color .25s ease;
}
.mws-nav-mobile-links a:hover,
.mws-nav-mobile-links .current-menu-item > a { color: var(--green); }

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .mws-desktop-nav { display: none; }
  .mws-nav-toggle { display: flex; }
  .mws-nav-container { height: 72px; }
}

/* ============================================================
   SECTION EYEBROW
   ============================================================ */
.eyebrow {
  display: block;
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow--green  { color: var(--green); }
.eyebrow--blue   { color: var(--blue); }
.eyebrow--white  { color: #fff; }
.eyebrow--navy   { color: var(--navy); }
.eyebrow--muted  { color: var(--text-muted); }

/* ============================================================
   STAT CALLOUT CARDS
   ============================================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: 1fr; } }

.stat-card {
  background: var(--bg-alt, #fff);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}
.stat-card__number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-card__number--blue { color: var(--blue); }
.stat-card__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.4;
  display: block;
}
.stat-card__source {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   LEFT-ACCENT CALLOUT PANEL
   ============================================================ */
.callout-panel {
  border-left: 4px solid var(--blue);
  background: #F0F9FF;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: var(--space-md) 0;
}
.callout-panel p:last-child { margin-bottom: 0; }
.callout-panel--green {
  border-left-color: var(--green);
  background: #F4FAE8;
}
.callout-panel--navy {
  border-left-color: var(--navy);
  background: #EEF2F6;
}

/* ============================================================
   GREEN CHECKLIST ITEMS
   ============================================================ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checklist__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--green);
}
.checklist__icon svg { width: 22px; height: 22px; }
.checklist__text { font-size: 16px; color: var(--text-body); line-height: 1.6; }
.checklist__text strong { color: var(--navy); }

/* ============================================================
   NUMBERED STEP BLOCKS
   ============================================================ */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.step-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-block__number {
  flex-shrink: 0;
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  min-width: 56px;
}
.step-block__number--blue { color: var(--blue); }
.step-block__content {}
.step-block__title {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.step-block__body { font-size: 16px; color: var(--text-body); margin: 0; }

/* ============================================================
   AUDIENCE ROUTING CARDS
   ============================================================ */
.routing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 680px) { .routing-cards { grid-template-columns: 1fr; } }

.routing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
}
.routing-card h3 { font-size: 22px; margin-bottom: 12px; }
.routing-card p { color: var(--text-body); margin-bottom: 24px; }

/* ============================================================
   QUESTION CALLOUT CARDS
   ============================================================ */
.question-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.question-card {
  border-left: 4px solid var(--blue);
  background: #F0F9FF;
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  font-size: 16px;
  color: var(--text-body);
  font-style: italic;
}

/* ============================================================
   OUTCOME TABLE
   ============================================================ */
.outcome-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
}
.outcome-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-headings);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.outcome-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.outcome-table tr:nth-child(even) td { background: var(--off-white); }
.outcome-table .reduction { color: var(--green); font-weight: 700; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-band-header {
  background: var(--navy);
  padding: 72px 20px 64px;
  color: #fff;
}
.page-band-header .eyebrow { margin-bottom: 16px; }
.page-band-header h1 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
}
.page-band-header .subhead {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  max-width: 700px;
  line-height: 1.7;
  margin: 0;
}

/* Background image variant — overlay keeps text legible */
.page-band-header--has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-band-header--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 41, 66, 0.82);
  z-index: 0;
}
.page-band-header--has-bg .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.band-hero {
  background: var(--navy);
  padding: 96px 20px 88px;
  color: #fff;
  text-align: center;
}
.band-hero .eyebrow { margin-bottom: 20px; }
.band-hero h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.band-hero .subhead {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}
.band-hero .hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BAND — STAT STRIP
   ============================================================ */
.band-stats {
  background: var(--off-white);
  padding: var(--space-lg) 20px;
}
.band-stats--white { background: #fff; }

/* ============================================================
   BAND — ABOUT / NAVY
   ============================================================ */
.band-about {
  background: var(--navy);
  padding: var(--space-lg) 20px;
  color: #fff;
  text-align: center;
}
.band-about .eyebrow { margin-bottom: 16px; }
.band-about p {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   BAND — GENERIC SECTION
   ============================================================ */
.band-section { padding: var(--space-lg) 20px; }
.band-section--white { background: #fff; }
.band-section--offwhite { background: var(--off-white); }
.band-section--navy { background: var(--navy); color: #fff; }
.band-section--navy h2 { color: #fff; }
.band-section--navy p { color: rgba(255,255,255,.88); }

.band-section__header { margin-bottom: var(--space-md); }
.band-section__header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.band-section__header p { font-size: 17px; color: var(--text-body); max-width: 720px; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   SUPPORT / SAMHSA BAND
   ============================================================ */
.band-support {
  background: var(--navy);
  padding: var(--space-lg) 20px;
  text-align: center;
  color: #fff;
}
.band-support .eyebrow { margin-bottom: 12px; }
.band-support__number {
  font-family: var(--font-headings);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin: 12px 0 8px;
}
.band-support p { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* ============================================================
   PROVIDER RESOURCE BUTTONS
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .resource-grid { grid-template-columns: 1fr; } }

.resource-btn {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  transition: all .2s ease;
}
.resource-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: #F4FAE8;
}

/* ============================================================
   STATE PDMP DIRECTORY
   ============================================================ */
.pdmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}
@media (max-width: 768px) { .pdmp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pdmp-grid { grid-template-columns: 1fr; } }

.pdmp-link {
  display: block;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all .2s ease;
}
.pdmp-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ============================================================
   ROUTING FOOTER (bottom-of-page nav cards)
   ============================================================ */
.band-routing {
  background: var(--off-white);
  padding: var(--space-md) 20px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   FOOTNOTES / CITATIONS
   ============================================================ */
.footnotes {
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footnotes p { margin-bottom: 4px; }

/* ============================================================
   CDC ATTRIBUTION DISCLAIMER
   ============================================================ */
.cdc-attribution {
  border-top: 2px solid var(--border);
  background: var(--off-white);
  padding: 20px 0;
}
.cdc-attribution p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.6;
}
.cdc-attribution p:last-child { margin-bottom: 0; }
.cdc-attribution a { color: var(--blue); }

/* ============================================================
   PRIVACY POLICY PROSE
   ============================================================ */
.privacy-body {
  max-width: 780px;
}
.privacy-body h2 {
  font-size: 20px;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.privacy-body h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.privacy-body p,
.privacy-body li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 14px;
}
.privacy-body ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.privacy-body li { margin-bottom: 8px; }
.privacy-body a { color: var(--blue); }
.privacy-body code {
  font-family: monospace;
  font-size: 13px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mws-footer {
  background-color: var(--navy);
  color: #fff;
  font-family: var(--font-body);
}

.mws-footer-main { padding: 64px 0; }

.mws-footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .mws-footer-container { grid-template-columns: 1fr; gap: 40px; }
}

.mws-footer-left h3 {
  color: #fff;
  font-family: var(--font-headings);
  font-size: 24px;
  margin-bottom: 16px;
}
.mws-footer-summary {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}

/* Co-brand strip */
.footer-cobrand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.footer-cobrand img { height: 32px; width: auto; }

.mws-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}
.footer-contact-link:hover { color: var(--green); }
.footer-contact-link svg { width: 18px; height: 18px; stroke: currentColor; }

.mws-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}
.footer-policy-link {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}
.footer-policy-link:hover { color: var(--green); }

.footer-social-icons { display: flex; gap: 12px; }
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  transition: all .25s ease;
}
.footer-social-icons a:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.footer-social-icons svg { width: 18px; height: 18px; }

.footer-icon-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.footer-icon-block a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .25s ease; }
.footer-icon-block a:hover { color: var(--green); }
.footer-icon-block svg { width: 20px; height: 20px; stroke: #fff; flex-shrink: 0; margin-top: 3px; }
.footer-icon-content strong { display: block; color: #fff; }

/* SAMHSA block in footer */
.footer-samhsa {
  background: rgba(0,173,239,.12);
  border: 1px solid rgba(0,173,239,.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 24px;
}
.footer-samhsa .samhsa-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.footer-samhsa .samhsa-number {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.footer-samhsa p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin: 4px 0 0;
}

/* Footer bottom bar */
.mws-footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 24px 0;
}
.mws-footer-inline-menu {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 28px;
}
.mws-footer-inline-menu a {
  color: rgba(255,255,255,.8);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}
.mws-footer-inline-menu a:hover { color: var(--green); }

.mws-footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 0;
  text-align: center;
}
.mws-footer-bottom a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 600;
}
.mws-footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   DISCLAIMER / CLINICAL FOOTER NOTE
   ============================================================ */
.clinical-disclaimer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: var(--space-sm) 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   PHYSIOLOGY FLOW DIAGRAM
   ============================================================ */
.physiology-diagram {
  display: flex;
  align-items: flex-start;
  margin: var(--space-md) 0;
}

.physio-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.physio-step__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.physio-step__icon-wrap svg { width: 32px; height: 32px; stroke-width: 1.75; }

.physio-icon--green { background: rgba(141,187,52,.15); color: var(--green); }
.physio-icon--blue  { background: rgba(0,173,239,.15);  color: var(--blue); }
.physio-icon--navy  { background: rgba(15,41,66,.1);    color: var(--navy); }
.physio-icon--alert { background: rgba(192,57,43,.08);  color: #C0392B; }

.physio-step__num {
  display: block;
  font-family: var(--font-headings);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.physio-step__title {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.physio-step__body {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

.physio-connector {
  flex-shrink: 0;
  width: 32px;
  display: flex;
  justify-content: center;
  padding-top: 36px;
  color: var(--border);
}
.physio-connector svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .physiology-diagram { flex-wrap: wrap; gap: 24px; }
  .physio-step { flex: 0 0 calc(50% - 32px); }
  .physio-connector { display: none; }
}
@media (max-width: 480px) {
  .physio-step { flex: 0 0 100%; }
}

/* ============================================================
   SYMPTOM ICON GRID
   ============================================================ */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 768px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }

.symptom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.symptom-item__icon {
  width: 52px;
  height: 52px;
  background: rgba(0,173,239,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.symptom-item__icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.symptom-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ============================================================
   PROCESS FLOW DIAGRAM (3-step, For Patients)
   ============================================================ */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: var(--space-md) 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.process-step__bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.process-step__bubble svg { width: 28px; height: 28px; stroke-width: 1.75; }
.process-step__bubble--blue { background: var(--blue); }
.process-step__bubble--green { background: var(--green); }

.process-step__label {
  font-family: var(--font-headings);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.process-step__title {
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.process-step__body {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

.process-connector {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  justify-content: center;
  padding-top: 32px;
  color: var(--border);
}
.process-connector svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .process-flow { flex-direction: column; align-items: center; gap: 20px; }
  .process-step { width: 100%; max-width: 360px; padding: 0; }
  .process-connector { padding-top: 0; transform: rotate(90deg); }
}

/* ============================================================
   OUTCOME BAR CHART WRAPPER
   ============================================================ */
.chart-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  margin: var(--space-md) 0;
}
.chart-wrapper canvas { max-height: 320px; }
