/* SRM Resources site stylesheet (resources.srm4ps.com)
   Brand: Navy #1B2A4A | Amber #E8952D | Calibri body, Montserrat logo only */

/* ═══════════════════════════════════════════
   SRM — Shared Resources Manager for Public Safety
   Shared Stylesheet  |  srm.css
   Brand: Navy #1B2A4A  |  Amber #E8952D
═══════════════════════════════════════════ */
/* ── Brand Tokens ── */
:root {
  --navy:       #1B2A4A;
  --amber:      #E8952D;
  --white:      #FFFFFF;
  --light-gray: #F2F4F7;
  --dark-gray:  #444444;
  --border:     #D0D5DF;
}

/* ── Reset & Base ── */
html {
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  width: 100%;
  overflow-x: hidden;
  font-family: Calibri, 'Gill Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark-gray);
  background: var(--white);
}

/* ═══════════════════════════════════════════
   SITE HEADER & NAV
═══════════════════════════════════════════ */
.site-header {
  width: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 4px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.header-inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  box-sizing: border-box;
  min-width: 0;
}

/* Logo — must be allowed to shrink, or it pushes the nav/hamburger
   past the right edge of a phone screen. */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}

.logo-text-wrap {
  min-width: 0;
}

.logo-svg {
  width: 46px;
  height: 43px;
  flex-shrink: 0;
}

.logo-text-wrap .logo-acronym {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  display: block;
}

.logo-text-wrap .logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* On phones the tagline is dropped entirely — the SRM mark carries it */
@media (max-width: 560px) {.logo-text-wrap .logo-sub { display: none; }}

/* Nav links */
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.site-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: Calibri, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav
   Breakpoint is 1150px, not 820px: the full desktop nav row plus the logo
   needs roughly 1100px, so a landscape phone (typically 844–932px wide) was
   still being served the desktop nav and overflowing the navy bar. */
@media (max-width: 1150px) {.site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-width: 100%;
    /* In landscape the open menu is taller than the screen — cap its height
       and let it scroll instead of running off the bottom. */
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 4px solid var(--amber);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    box-sizing: border-box;
  }

.site-nav.open {
    display: flex;
  }

.site-nav a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 15px;
  }

.nav-toggle {
    display: flex;
  }

.site-header {
    position: relative;
  }}

/* ═══════════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px clamp(20px, 3.5vw, 56px) 96px;
  box-sizing: border-box;
}

@media (max-width: 600px) {.container { padding: 40px 20px 32px; }}

/* ── Page intro block ── */
.page-intro {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--border);
}

.page-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}

.page-headline {
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 18px;
}

.page-tagline {
  font-family: Calibri, sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  opacity: 0.8;
  line-height: 1.4;
  margin: -8px 0 18px;
}

.page-rule {
  height: 3px;
  width: 48px;
  background: var(--amber);
  margin-bottom: 20px;
}

.page-intro-text {
  font-size: 18px;
  color: var(--dark-gray);
  max-width: none;
  line-height: 1.8;
}

/* ── Section labels & headings ── */
/* H2 section headings: navy with an amber underline that spans the text */
.section-label {
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--amber);
  display: table; /* block-level, but the underline only spans the text */
}

@media (max-width: 600px) {.section-label { font-size: 22px; }}

.subheading {
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 24px;
  line-height: 1.35;
}

/* ── Body text ── */
p {
  font-size: 17px;
  color: var(--dark-gray);
  margin-bottom: 14px;
  max-width: none;
  line-height: 1.75;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

li {
  font-size: 17px;
  color: var(--dark-gray);
  margin-bottom: 6px;
  line-height: 1.7;
}

strong { color: var(--navy); font-weight: 700; }

/* Links inside body text (FAQ answers, Reliability page, etc.)
   and founder LinkedIn links (About page) */
.container p a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.container p a:hover { text-decoration: underline; }

.content-block { margin-bottom: 40px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  padding: 12px 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 3px;
}

.btn-primary:hover { background: #d4841e; }

/* ═══════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════ */
.site-footer {
  width: 100%;
  background: var(--navy);
  border-top: 3px solid var(--amber);
  color: var(--white);
  font-size: 12px;
  text-align: center;
  padding: 22px 32px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  box-sizing: border-box;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

.footer-legal {
  display: inline;
  font-size: 12px;
}

/* ═══════════════════════════════════════════
   PRINT
═══════════════════════════════════════════ */
@media print {.site-header, .site-footer { display: none; }

.container { padding: 20px; }}

/* ═══════════════════════════════════════════
   RESOURCES SITE ADDITIONS (training and future sections)
═══════════════════════════════════════════ */
.breadcrumb { font-family: Calibri, sans-serif; font-size: 14px; color: var(--dark-gray); margin-bottom: 14px; }

.breadcrumb a { color: var(--navy); font-weight: 700; text-decoration: none; }

.breadcrumb a:hover { text-decoration: underline; }

.notice {
  background: var(--light-gray);
  border-left: 4px solid var(--amber);
  padding: 22px 28px;
  margin: 16px 0 28px;
}

.notice-title {
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.notice p { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; padding-left: 0; margin: 8px 0 24px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 52px;
  margin-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: var(--white);
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
}

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }

@media (max-width: 820px) {.topic-grid { grid-template-columns: 1fr; }}

.topic-card {
  display: block;
  background: var(--light-gray);
  border-left: 4px solid var(--amber);
  padding: 22px 26px;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.topic-card:hover {
  background: #e8ecf2;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.12);
  transform: translateY(-2px);
}

.topic-card .card-title-text {
  font-family: Calibri, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

.topic-card p { font-size: 15px; margin: 0; }

.topic-card.is-pending { opacity: 0.6; }

.topic-card.is-pending .card-title-text::after {
  content: " (coming soon)";
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}

.prev-next a {
  color: var(--navy);
  font-family: Calibri, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.prev-next a:hover { text-decoration: underline; }

.print-link { margin-top: 24px; }

.print-topic { margin-bottom: 48px; }

/* Screenshots float to the right of the text. Headings start below a screenshot. On narrow screens they stack. */
.section-label { clear: right; }

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.dot-green { background: #2E8B57; }

.status-columns {
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
  columns: 3;
  column-gap: 32px;
}

.status-columns li {
  break-inside: avoid;
  font-size: 16px;
  margin-bottom: 10px;
}

@media (max-width: 700px) {.status-columns { columns: 1; }}

.dot-yellow { background: #E8B12D; }

.dot-red { background: #C0392B; }

@media print {.site-header, .site-footer, .no-print, .breadcrumb, .prev-next { display: none !important; }

.print-topic { page-break-before: always; }

.print-topic:first-of-type { page-break-before: auto; }

.container { padding: 0; }

body { font-size: 12pt; }}
