/* =============================================
   SCI.HELP — Global Stylesheet
   ============================================= */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #1a3c5e;
  --blue:        #2e86ab;
  --blue-light:  #a8d8ea;
  --amber:       #e8a838;
  --amber-dark:  #c98a1a;
  --green:       #2d6a4f;
  --white:       #ffffff;
  --bg:          #f4f7fa;
  --bg-card:     #ffffff;
  --text:        #1a2332;
  --text-muted:  #5a6a7e;
  --border:      #dde3ea;
  --danger:      #c0392b;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(26,60,94,0.08);
  --shadow-md:   0 4px 24px rgba(26,60,94,0.12);
  --max-width:   1160px;
  --article-width: 720px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--article {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
.site-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo span { color: var(--blue); }
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  row-gap: 6px;
  min-width: 0;
  padding: 6px 0;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); background: var(--bg); }
.site-nav a.active { color: var(--navy); font-weight: 600; }
.btn-community {
  background: var(--amber);
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  transition: background 0.15s, transform 0.1s !important;
}
.btn-community:hover { background: var(--amber-dark) !important; text-decoration: none !important; }

/* Resources dropdown */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd__toggle {
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--navy);
  background: var(--bg); border: 1px solid var(--border); cursor: pointer; padding: 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav-dd__toggle:hover, .nav-dd.open .nav-dd__toggle { color: var(--blue); background: #eaf0f8; border-color: var(--blue); }
.nav-dd__caret { font-size: 12px; line-height: 1; color: var(--blue); transition: transform 0.15s; }
.nav-dd.open .nav-dd__caret { transform: rotate(180deg); }
.nav-dd__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 232px;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12); padding: 6px; z-index: 200;
  display: none; flex-direction: column;
}
/* invisible bridge so moving the cursor from the toggle into the menu doesn't cross dead space */
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd.open .nav-dd__menu { display: flex; }
.nav-dd__menu a {
  display: block; padding: 9px 12px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); border-radius: 6px; white-space: nowrap;
}
.nav-dd__menu a:hover { color: var(--navy); background: var(--bg); }
@media (hover: hover) and (min-width: 1141px) {
  .nav-dd:hover .nav-dd__menu { display: flex; }
  .nav-dd:hover .nav-dd__caret { transform: rotate(180deg); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5f8f 100%);
  color: var(--white);
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 26px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero__inner {
  max-width: 720px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero__tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
}
.hero h1 {
  font-size: clamp(23px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}
.hero p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 20px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(232,168,56,0.35);
}
.btn--primary:hover { background: var(--amber-dark); }
.btn--outline {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { background: rgba(255,255,255,0.18); }

/* =============================================
   NEWLY INJURED BANNER
   ============================================= */
.newly-injured-banner {
  background: #fff8e6;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.newly-injured-banner__icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}
.newly-injured-banner h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.newly-injured-banner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 520px;
}
.newly-injured-banner .btn { font-size: 14px; padding: 10px 20px; }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.section-header a {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
}

/* =============================================
   TOPIC GRID
   ============================================= */
.topics {
  padding: 32px 0;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  display: block;
}
.topic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-light);
  text-decoration: none;
}
.topic-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}
.topic-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.topic-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.topic-card__count {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f4f9;
  padding: 3px 10px;
  border-radius: 20px;
}

/* =============================================
   ARTICLE CARDS
   ============================================= */
.articles {
  padding: 0 0 32px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.article-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.article-card__meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-card__meta::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
}

/* Featured article */
.article-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #e8f4f9 0%, #f0f7ff 100%);
  border-color: var(--blue-light);
  padding: 36px 40px;
}
.article-card--featured .article-card__text { flex: 1; }
.article-card--featured h3 { font-size: 22px; }
.article-card--featured p { font-size: 15px; max-width: 540px; }
.article-card--featured .article-card__badge {
  flex-shrink: 0;
  background: var(--amber);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

/* =============================================
   COMMUNITY BANNER
   ============================================= */
.community-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.community-banner h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.community-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 480px;
}
.community-banner .btn--primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-page {
  background: var(--white);
}

.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5f8f 100%);
  color: var(--white);
  padding: 34px 0 30px;
}
.article-header__breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.article-header__breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.article-header__breadcrumb a:hover { color: var(--white); }
.article-header__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.article-header h1 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}
.article-header__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 32px 56px;
}

/* Table of Contents */
.article-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 13px;
}
.article-toc h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-toc a {
  display: block;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.15s, background 0.15s;
}
.article-toc a:hover {
  color: var(--navy);
  background: var(--bg-card);
  text-decoration: none;
}
.article-toc a.active {
  color: var(--blue);
  background: var(--bg-card);
  font-weight: 600;
}

/* Article Body */
.article-body {
  min-width: 0;
  line-height: 1.75;
  font-size: 17px;
  color: var(--text);
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 34px 0 14px;
  letter-spacing: -0.3px;
  border-top: 2px solid var(--border);
  padding-top: 28px;
}
.article-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
/* Leave room for the sticky header when jumping to a TOC anchor, so the heading isn't hidden behind it */
.article-body h2, .article-body h3, .article-body [id] { scroll-margin-top: 80px; }
/* Homepage section anchors (#medical, #rehab, finders, etc.) also clear the sticky header */
section[id], .articles[id] { scroll-margin-top: 90px; }
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 14px;
}
.article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body li { padding-left: 4px; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body em { color: var(--text-muted); font-style: italic; }
.article-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}
.article-body a { color: var(--blue); font-weight: 500; }
.article-body a:hover { text-decoration: underline; }
.article-body blockquote {
  border-left: 4px solid var(--amber);
  background: #fff8e6;
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Callout boxes */
.callout {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout--warning {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
}
.callout--info {
  background: #e8f4f9;
  border: 1px solid var(--blue-light);
}
.callout--tip {
  background: #f0fbf6;
  border: 1px solid #9ad8b5;
}
.callout__icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.callout__content { flex: 1; font-size: 15px; line-height: 1.65; }
.callout__content > strong:first-child { display: block; margin-bottom: 4px; } /* bold lead-in = title line; all other <strong> stay inline */
.callout--warning .callout__content { color: #7b2335; }
.callout--info .callout__content { color: #1a4a6b; }
.callout--tip .callout__content { color: #1a4a35; }

/* Article footer */
.article-footer {
  border-top: 2px solid var(--border);
  padding-top: 32px;
  margin-top: 48px;
}
.article-footer__cta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 28px;
}
.article-footer__cta h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.article-footer__cta p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.article-footer__reviewed {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 32px 0 22px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer__brand .site-logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 12px;
}
.site-footer__brand .site-logo span { color: var(--blue-light); }
.site-footer__brand p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}
.site-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
  margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__col a:hover { color: var(--white); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 680px;
  margin-top: 12px;
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* Collapse the (now larger) nav to a hamburger before it gets cramped */
@media (max-width: 1140px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .hamburger { display: flex; }
  .nav-dd { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .nav-dd__toggle { width: auto; justify-content: center; padding: 6px 8px; background: none; border: none; }
  .nav-dd.open .nav-dd__toggle { background: none; }
  .nav-dd__menu { position: static; box-shadow: none; border: none; padding: 2px 0 6px; min-width: 0; align-items: center; }
  .nav-dd__menu a { text-align: center; }
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-toc { display: block; position: static; top: auto; max-height: none; margin-bottom: 18px; }
  .article-toc ul { max-height: 40vh; overflow-y: auto; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-card--featured {
    flex-direction: column;
    align-items: flex-start;
  }
  .community-banner {
    flex-direction: column;
    text-align: center;
  }
  .community-banner p { max-width: 100%; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .hamburger { display: flex; }
  .hero { padding: 52px 0 56px; }
  .newly-injured-banner { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .topic-grid { grid-template-columns: 1fr; }
}

/* Equipment product thumbnails (local, swappable images) */
.product-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #eef3f8;
}

/* Search link in nav + search page */
.nav-search { font-weight:600; }
.search-box {
  width: 100%; font-size: 17px; padding: 14px 18px;
  border: 2px solid var(--border); border-radius: var(--radius);
  margin-bottom: 8px; font-family: inherit;
}
.search-box:focus { outline: none; border-color: var(--blue); }
.search-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.search-results { display: flex; flex-direction: column; gap: 12px; }
.search-result {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.search-result:hover { box-shadow: var(--shadow-md); border-color: var(--blue-light); text-decoration: none; }
.search-result__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--blue); margin-bottom: 4px; }
.search-result h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.search-result p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* Related reading block */
.related-block { border-top: 2px solid var(--border); margin-top: 40px; padding-top: 24px; }
.related-block h3 { font-size: 16px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; }
.related-card { display:block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s, background 0.15s; }
.related-card:hover { background: var(--white); box-shadow: var(--shadow); border-color: var(--blue-light); text-decoration: none; }
.related-card__cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--blue); margin-bottom: 4px; }
.related-card span.t { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; display:block; }


/* Collapsible equipment sections */
details.equip-section > summary.equip-section__header {
  cursor: pointer;
  list-style: none;
  user-select: none;
  align-items: center;
}
details.equip-section > summary.equip-section__header::-webkit-details-marker { display: none; }
details.equip-section > summary.equip-section__header::after {
  content: "⌄";
  margin-left: auto;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.2s;
  padding-left: 12px;
}
details.equip-section[open] > summary.equip-section__header::after { transform: rotate(180deg); }
details.equip-section > summary.equip-section__header:hover h2 { color: var(--blue); }

/* Donate link in main nav */
.site-nav a.nav-donate{color:var(--blue);font-weight:700;}
.site-nav a.nav-donate:hover{color:var(--navy);}

/* Exchange temporarily hidden site-wide (pages kept for later). Delete this rule to bring it back. */
a[href="/exchange/"]{display:none !important;}

/* Brand emblem in header/footer logo */
.site-logo{display:inline-flex;align-items:center;}
.site-logo__mark{height:30px;width:auto;display:block;flex-shrink:0;margin-right:8px;}
.site-footer__brand .site-logo__mark{height:26px;}
