/* Shared styles for Open Source Medicine Foundation — Research Tracker */
/* Matches design system of opensourcemed.info (navy #0e1444 + orange #ff9800) */

:root {
  --primary-dark: #0e1444;
  --accent-orange: #ff9800;
  --accent-deep-orange: #e64a19;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --text-gray: #6c757d;
  --border: rgba(14,20,68,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--primary-dark);
  background: var(--white);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(14,20,68,0.08);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand span { color: var(--accent-orange); }
.nav-brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-orange); }
.nav-links a.nav-active { color: var(--accent-orange); font-weight: 600; }
.nav-support {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.83rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-support:hover { opacity: 0.9; transform: translateY(-1px); color: var(--white) !important; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 7rem 2rem 3.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2266 100%);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,152,0,0.18);
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.68);
  max-width: 620px;
  margin: 0 auto;
}
.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 0.5rem 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent-orange); line-height: 1; }
.stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }

/* ── MAIN SECTION ── */
.main-section { padding: 3.5rem 2rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ── INDEX GRID CARDS ── */
.tracker-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tracker-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  box-shadow: 0 3px 18px rgba(14,20,68,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tracker-hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-deep-orange));
}
.tracker-hub-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(14,20,68,0.12); }
.hub-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fff3e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.hub-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}
.tracker-hub-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.tracker-hub-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}
.condition-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.condition-links li a,
.condition-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent-orange);
  padding-bottom: 1px;
  transition: color 0.2s;
  width: fit-content;
}
.condition-links li a:hover,
.condition-links a:hover { color: var(--accent-deep-orange); }

.condition-links-muted li a,
.condition-links-muted a,
.condition-links-grouped-muted .condition-links li a,
.condition-links-grouped-muted .condition-links a {
  font-weight: 400;
  font-size: 0.84rem;
  color: #8a93a3;
  border-bottom-color: transparent;
  padding-bottom: 0.1rem;
}
.condition-links-muted li a:hover,
.condition-links-muted a:hover,
.condition-links-grouped-muted .condition-links li a:hover,
.condition-links-grouped-muted .condition-links a:hover {
  color: var(--text-gray);
  border-bottom-color: rgba(108, 117, 125, 0.35);
}

.tracker-hub-card-wide { grid-column: 1 / -1; }
.condition-links-grouped {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.condition-group-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 0.6rem;
}

/* ── CHRONIC DISEASE INTERVENTIONS INDEX ── */
.disease-category-block { margin-bottom: 2.5rem; }
.disease-category-block:last-child { margin-bottom: 0; }
.disease-category-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep-orange);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.disease-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.disease-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  color: var(--primary-dark);
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.disease-card:hover { border-color: var(--accent-orange); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,20,68,0.08); }
.disease-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary-dark); }
.disease-badge {
  display: inline-block;
  background: rgba(255,152,0,0.14);
  color: var(--accent-deep-orange);
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.disease-best { font-size: 0.82rem; color: var(--text-gray); line-height: 1.45; }

/* ── CROSS-CONDITION BIOMARKER INDEX ── */
.cross-index-group-row td { padding: 0.4rem 0.8rem; }
.cross-index-group-row summary { cursor: pointer; padding: 0.5rem 0; list-style: revert; }
.cross-index-group-meta { color: var(--text-gray); font-weight: 400; font-size: 0.85rem; }
.cross-index-group-table { width: 100%; margin-top: 0.5rem; border-collapse: collapse; }
.cross-index-group-table th, .cross-index-group-table td { padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; text-align: left; }

/* ── CONDITION PAGE CONTENT ── */
.condition-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.study-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-gray);
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 1rem;
}
.study-count-badge strong { color: var(--primary-dark); }
.btn-reload {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-gray);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-reload:hover { background: var(--light-gray); }

.condition-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  max-width: 680px;
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  color: #92400e;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.disclaimer strong { font-weight: 700; }

/* ── SEARCH + FILTER CONTROLS ── */
.tracker-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 0.85rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  border: 1px solid rgba(14,20,68,0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--primary-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--accent-orange); }
.search-input::placeholder { color: var(--text-gray); }
.filter-select {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(14,20,68,0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--primary-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus { border-color: var(--accent-orange); }
.btn-clear {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(14,20,68,0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--white);
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-clear:hover { background: var(--light-gray); }

.tracker-meta {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tracker-meta a { color: var(--accent-deep-orange); text-decoration: none; }
.tracker-meta a:hover { text-decoration: underline; }

/* ── STUDY CARDS ── */
#studies-container { display: flex; flex-direction: column; gap: 1rem; }

.study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(14,20,68,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.study-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-deep-orange));
}
.study-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,20,68,0.1); }

.study-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.study-title:hover { color: var(--accent-deep-orange); }

.study-meta {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.study-meta-sep { color: rgba(14,20,68,0.2); }

.study-authors {
  font-size: 0.78rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.study-abstract-wrap {
  font-size: 0.85rem;
  line-height: 1.68;
  color: #3a3f5c;
  margin-bottom: 0.75rem;
}
.abstract-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-abstract-toggle {
  color: var(--accent-orange);
  font-size: 0.78rem;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  font-family: inherit;
}
.btn-abstract-toggle:hover { color: var(--accent-deep-orange); }

.study-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.btn-pubmed {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid rgba(14,20,68,0.18);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-pubmed:hover { background: #fff3e0; border-color: var(--accent-orange); color: var(--accent-deep-orange); }
.pmid-label {
  font-size: 0.68rem;
  font-family: 'Courier New', monospace;
  color: var(--text-gray);
}

/* ── CLINICAL TRIAL CARDS ── */
#list { display: flex; flex-direction: column; gap: 1rem; }

.trial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(14,20,68,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.trial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-deep-orange));
}
.trial-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,20,68,0.1); }

.trial-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.trial-meta {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.trial-meta strong { color: var(--primary-dark); font-weight: 600; }
.btn-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid rgba(14,20,68,0.18);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  margin-top: 0.6rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-trial:hover { background: #fff3e0; border-color: var(--accent-orange); color: var(--accent-deep-orange); }

/* ── AGENT CARDS ── */
.agent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(14,20,68,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-deep-orange));
}
.agent-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,20,68,0.1); }
#list-agents { display: flex; flex-direction: column; gap: 1rem; }

.agent-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.agent-meta {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 0.3rem;
  line-height: 1.55;
}
.agent-meta strong { color: var(--primary-dark); font-weight: 600; }
.agent-evidence {
  font-size: 0.82rem;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 0.3rem;
}
.agent-notes {
  font-size: 0.82rem;
  color: #3a3f5c;
  background: var(--light-gray);
  border-left: 3px solid var(--accent-orange);
  padding: 0.6rem 0.9rem;
  border-radius: 0 6px 6px 0;
  margin: 0.5rem 0;
  line-height: 1.6;
}
.agent-tag {
  display: inline-block;
  font-size: 0.7rem;
  background: #fff3e0;
  color: var(--accent-deep-orange);
  border-radius: 4px;
  padding: 1px 7px;
  margin: 2px 3px 2px 0;
  font-weight: 600;
}

/* ── STATE BOXES (loading/empty/error) ── */
.state-box {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}
.state-box-inner {
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}
.state-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  color: #b91c1c;
  font-size: 0.88rem;
}
.state-error a, .state-error button {
  color: #b91c1c;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  margin-left: 4px;
}
.hidden { display: none !important; }

/* ── DONATE / CTA SECTION ── */
.donate-section {
  padding: 4.5rem 2rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2266 100%);
  text-align: center;
}
.donate-eyebrow {
  display: inline-block;
  background: rgba(255,152,0,0.18);
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.donate-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  max-width: 580px;
  margin: 0 auto 0.9rem;
  line-height: 1.2;
}
.donate-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2rem;
}
.donate-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-donate {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-donate:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.45);
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.footer-note { font-size: 0.75rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-orange); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .tracker-hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .tracker-controls { flex-direction: column; }
  .search-wrapper { min-width: 100%; }
}


/* ── BIOMARKER CROSS-LINKS ── */
.biomarker-callout {
  background: linear-gradient(135deg, #fff8f0 0%, #f8f9fa 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-orange);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}
.biomarker-callout a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.biomarker-callout a:hover { color: var(--accent-orange); }

@media (min-width: 1100px) {
  .tracker-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ── SHARED OSMF NETWORK COMPONENT ── */
/* ═══════════════════════════════════════════════════════════════ */
.osmf-network-banner {
  background: linear-gradient(135deg, #0a0f2e 0%, #111a4d 100%);
  color: rgba(255,255,255,0.9);
  padding: 3rem 2rem;
  border-top: 3px solid var(--accent-orange);
}
.osmf-network-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.osmf-network-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.03em;
}
.osmf-network-sites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.osmf-network-site {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: background 0.2s, border-color 0.2s;
}
.osmf-network-site:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,152,0,0.3);
}
.osmf-network-site a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.osmf-network-site a:hover { color: var(--accent-orange); }
.osmf-network-site span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ── SHARED OSMF FOOTER (Extended) ── */
/* ═══════════════════════════════════════════════════════════════ */
.osmf-network-footer {
  background: #070b24;
  color: rgba(255,255,255,0.4);
  padding: 2.5rem 2rem;
}
.osmf-network-footer .footer-brand {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  text-align: center;
}
.osmf-network-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.osmf-network-footer .footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.osmf-network-footer .footer-links a:hover { color: var(--accent-orange); }
.osmf-network-footer .footer-note {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}