Jump to content

User:Udays108/common.css: Difference between revisions

From BioMicro Center
Udays108 (talk | contribs)
No edit summary
Udays108 (talk | contribs)
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   BioMicro Center Wiki — Modern UI
   BioMicro Center Wiki — Modern UI (matches about.html)
   Paste into: User:USERNAME/common.css
   Paste into: User:USERNAME/common.css
   Promoted to: MediaWiki:Common.css (by sysop)
   Promoted to: MediaWiki:Common.css (by sysop)
  Targets: Vector (legacy) + Vector 2022
   ============================================================ */
   ============================================================ */


/* ── 1. CSS Variables ───────────────────────────────────────── */
/* ── Reset & Base ───────────────────────────────────────────── */
:root {
*, *::before, *::after { box-sizing: border-box; }
  --bmc-red:       #A31F34;
 
  --bmc-red-dark:   #8B1A2C;
html { font-size: 16px; scroll-behavior: smooth; }
  --bmc-red-light: #c9374f;
 
  --bmc-bg:         #F8F9FA;
body {
  --bmc-white:      #FFFFFF;
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
  --bmc-text:      #1A1A1A;
   color: #1a1a1a !important;
  --bmc-muted:     #555555;
  background: #fff !important;
  --bmc-border:     #E0E0E0;
   line-height: 1.6 !important;
  --bmc-shadow:    0 2px 8px rgba(0,0,0,0.08);
  --bmc-radius:    6px;
   --bmc-font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                    "Helvetica Neue", Arial, sans-serif;
   --bmc-sidebar-w: 180px;
   --bmc-transition: 0.25s ease;
}
}


/* ── 2. Page Base & Body ────────────────────────────────────── */
a { color: #a31f34 !important; text-decoration: none !important; }
html, body {
a:hover { text-decoration: underline !important; }
   background-color: var(--bmc-bg) !important;
 
   font-family: var(--bmc-font) !important;
/* ── Topbar (injected by JS as .bmc-topbar) ─────────────────── */
   font-size: 15px !important;
.bmc-topbar {
   color: var(--bmc-text) !important;
   background: #a31f34;
   line-height: 1.7 !important;
  color: #fff;
   font-size: 0.75rem;
  padding: 6px 0;
  text-align: right;
   width: 100%;
   position: relative;
   z-index: 200;
}
}
 
.bmc-topbar .bmc-topbar-inner {
#mw-page-base,
   max-width: 1140px;
.mw-page-container {
  margin: 0 auto;
   background-color: var(--bmc-bg) !important;
  padding: 0 24px;
}
}
.bmc-topbar a { color: #fff !important; opacity: 0.85; }
.bmc-topbar a:hover { opacity: 1; text-decoration: none !important; }
.bmc-topbar span { margin: 0 6px; opacity: 0.5; }


/* ── 3. Header ──────────────────────────────────────────────── */
/* ── Header: restyle #mw-head to white bar ──────────────────── */
/* Legacy Vector */
/* Legacy Vector */
#mw-head,
#mw-head,
#mw-head-base {
#mw-head-base {
   background-color: var(--bmc-red) !important;
   background: #fff !important;
   border-bottom: none !important;
   border-bottom: 1px solid #e0e0e0 !important;
   box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
   box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
  height: 68px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}
}


/* Vector 2022 */
/* Vector 2022 */
.vector-header,
.vector-header,
.vector-header-container,
.vector-header-container {
.vector-header-start,
   background: #fff !important;
.vector-header-end {
   border-bottom: 1px solid #e0e0e0 !important;
   background-color: var(--bmc-red) !important;
   box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
   border-bottom: none !important;
  height: 68px !important;
   box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}
}


/* Site name / logo text */
/* Inner wrapper for header content (flex row) */
#p-logo a,
#mw-head .bmc-header-inner,
.mw-wiki-logo,
.bmc-header-inner {
.vector-header .mw-logo {
   max-width: 1140px;
   color: var(--bmc-white) !important;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
}


/* Search bar */
/* ── Logo ───────────────────────────────────────────────────── */
#searchInput,
/* Hide default MediaWiki logo (replaced by JS-injected logo in header) */
#searchform input[type="search"],
#p-logo,
.vector-search-box input {
.mw-wiki-logo {
   border: 1px solid rgba(255,255,255,0.4) !important;
   display: none !important;
  border-radius: var(--bmc-radius) !important;
  background: rgba(255,255,255,0.15) !important;
  color: var(--bmc-white) !important;
  padding: 5px 10px !important;
  transition: background var(--bmc-transition) !important;
}
}


#searchInput:focus,
.bmc-logo {
.vector-search-box input:focus {
  display: flex;
   background: rgba(255,255,255,0.95) !important;
  align-items: center;
   color: var(--bmc-text) !important;
  gap: 12px;
   outline: none !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.bmc-logo-mark {
  width: 40px;
  height: 40px;
   background: #a31f34;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.bmc-logo-text .bmc-logo-name {
  font-size: 1rem;
  font-weight: 700;
   color: #1a1a1a;
  letter-spacing: -0.2px;
  display: block;
}
.bmc-logo-text .bmc-logo-sub {
  font-size: 0.72rem;
  color: #666;
  font-weight: 400;
   display: block;
}
}


#searchInput::placeholder,
/* ── Horizontal Navigation (injected by JS as .bmc-hnav) ────── */
.vector-search-box input::placeholder {
.bmc-hnav {
   color: rgba(255,255,255,0.7) !important;
  display: flex;
  align-items: center;
}
.bmc-hnav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.bmc-hnav > ul > li {
  position: relative;
  margin: 0;
}
.bmc-hnav > ul > li > a {
  display: block !important;
  padding: 8px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s !important;
  text-decoration: none !important;
}
.bmc-hnav > ul > li > a:hover,
.bmc-hnav > ul > li.bmc-active > a {
  background: #f5f5f5 !important;
  color: #a31f34 !important;
  text-decoration: none !important;
}
.bmc-hnav .bmc-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.6;
}
.bmc-dropdown-menu {
   display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  min-width: 200px;
  padding: 6px 0;
  z-index: 200;
}
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-dropdown-menu a {
  display: block !important;
  padding: 8px 18px !important;
  font-size: 0.83rem !important;
  color: #333 !important;
  transition: background 0.12s !important;
  text-decoration: none !important;
}
.bmc-dropdown-menu a:hover {
  background: #faf0f0 !important;
  color: #a31f34 !important;
  text-decoration: none !important;
}
.bmc-dropdown-menu .bmc-divider { border-top: 1px solid #eee; margin: 4px 0; }
.bmc-dropdown-menu .bmc-group-label {
  padding: 6px 18px 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
}


/* Search button */
/* Hide original MediaWiki nav elements that are replaced */
#searchButton,
#mw-head #left-navigation,
.vector-search-box button[type="submit"] {
#mw-head #right-navigation,
  background: rgba(255,255,255,0.2) !important;
#mw-panel,
  border: 1px solid rgba(255,255,255,0.4) !important;
.vector-column-start,
  border-radius: var(--bmc-radius) !important;
#p-personal,
  color: var(--bmc-white) !important;
#pt-userpage,
   cursor: pointer !important;
#p-namespaces {
  transition: background var(--bmc-transition) !important;
   display: none !important;
}
}


#searchButton:hover,
/* Keep search accessible but repositioned into header by JS */
.vector-search-box button[type="submit"]:hover {
#p-search, .vector-search-box {
   background: rgba(255,255,255,0.35) !important;
   display: none !important;
}
}


/* Personal tools (login, user links) */
/* ── Page Hero (injected by JS as .bmc-page-hero) ───────────── */
#pt-userpage a,
.bmc-page-hero {
#pt-login a,
  background: linear-gradient(135deg, #a31f34 0%, #7a1626 100%);
#pt-logout a,
   color: #fff;
.vector-user-menu a,
   padding: 40px 0 36px;
#p-personal li a {
   width: 100%;
   color: var(--bmc-white) !important;
   opacity: 0.9;
   transition: opacity var(--bmc-transition) !important;
}
}
 
.bmc-page-hero .bmc-hero-inner {
#pt-userpage a:hover,
  max-width: 1140px;
#pt-login a:hover,
   margin: 0 auto;
#pt-logout a:hover,
   padding: 0 24px;
.vector-user-menu a:hover,
#p-personal li a:hover {
   opacity: 1 !important;
   text-decoration: underline !important;
}
}
 
.bmc-breadcrumb {
/* ── 4. Navigation Tabs ─────────────────────────────────────── */
   font-size: 0.78rem;
#left-navigation,
   margin-bottom: 10px;
#right-navigation,
   opacity: 0.75;
.vector-menu-tabs {
   background: transparent !important;
   border-bottom: 2px solid var(--bmc-border) !important;
   margin-bottom: 0 !important;
}
}
 
.bmc-breadcrumb a { color: #fff !important; }
/* Tab links */
.bmc-breadcrumb span { margin: 0 6px; }
#left-navigation li a,
.bmc-page-hero h1 {
#right-navigation li a,
   font-size: 2rem !important;
.vector-menu-tabs li a {
  font-weight: 700 !important;
   color: var(--bmc-muted) !important;
  letter-spacing: -0.5px !important;
  color: #fff !important;
   border: none !important;
   border: none !important;
   background: transparent !important;
   margin: 0 !important;
  font-size: 13px !important;
   padding: 0 !important;
   padding: 6px 12px !important;
  border-radius: var(--bmc-radius) var(--bmc-radius) 0 0 !important;
  transition: color var(--bmc-transition), background var(--bmc-transition) !important;
}
}


#left-navigation li a:hover,
/* Hide original page title (shown in hero instead) */
#right-navigation li a:hover,
#firstHeading,
.vector-menu-tabs li a:hover {
.mw-first-heading {
   color: var(--bmc-red) !important;
   display: none !important;
  background: rgba(163,31,52,0.06) !important;
}
}


/* Active tab */
/* ── Page Layout Container ──────────────────────────────────── */
#left-navigation li.selected a,
#content,
#left-navigation li.new.selected a,
.mw-body,
.vector-menu-tabs li.selected a {
.vector-body {
   color: var(--bmc-red) !important;
  max-width: 1140px !important;
   border-bottom: 2px solid var(--bmc-red) !important;
  margin: 0 auto !important;
   background: transparent !important;
  padding: 40px 24px 80px !important;
   font-weight: 600 !important;
   background: #fff !important;
   border: none !important;
  box-shadow: none !important;
   border-radius: 0 !important;
   float: none !important;
}
}


/* ── 5. Sidebar ─────────────────────────────────────────────── */
/* Remove MediaWiki's default content margin-left (for sidebar offset) */
/* Legacy Vector */
#mw-content-wrapper,
#mw-panel {
.mw-content-container {
  background: var(--bmc-white) !important;
   margin-left: 0 !important;
   border-right: 1px solid var(--bmc-border) !important;
   padding-left: 0 !important;
   padding-top: 12px !important;
  width: var(--bmc-sidebar-w) !important;
  transition: transform var(--bmc-transition), width var(--bmc-transition) !important;
}
}


/* Vector 2022 */
/* ── Table of Contents ──────────────────────────────────────── */
.vector-column-start {
#toc,
   background: var(--bmc-white) !important;
.toc {
   border-right: 1px solid var(--bmc-border) !important;
   background: #f9f9f9 !important;
   transition: width var(--bmc-transition) !important;
   border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 20px !important;
   display: inline-block !important;
  min-width: 200px !important;
  font-size: 0.82rem !important;
  float: none !important;
  margin: 0 0 28px 0 !important;
}
}
 
#toc .toctitle h2,
/* Collapsed state (class added by JS) */
.toc .toctitle h2 {
body.sidebar-collapsed #mw-panel,
  font-size: 0.78rem !important;
body.sidebar-collapsed .vector-column-start {
  font-weight: 700 !important;
   width: 0 !important;
  text-transform: uppercase !important;
   overflow: hidden !important;
   letter-spacing: 0.08em !important;
   border-right: none !important;
  color: #999 !important;
   margin-bottom: 12px !important;
   border: none !important;
  background: none !important;
   padding: 0 !important;
   padding: 0 !important;
}
}
 
#toc ul, .toc ul {
/* Portlet headings */
   list-style: none !important;
.portlet h3,
.mw-portlet-heading,
.vector-menu-heading {
   font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--bmc-muted) !important;
  padding: 10px 14px 4px !important;
   margin: 0 !important;
   margin: 0 !important;
   border: none !important;
   padding: 0 !important;
}
}
 
#toc ul li, .toc ul li { margin-bottom: 2px !important; }
/* Portlet links */
#toc ul li a, .toc ul li a {
.portlet li a,
   font-size: 0.82rem !important;
.mw-portlet-body li a,
   color: #444 !important;
.vector-menu-content li a {
   padding: 4px 8px !important;
   color: var(--bmc-text) !important;
   font-size: 13px !important;
   padding: 4px 14px !important;
   display: block !important;
   display: block !important;
   border-radius: 3px !important;
   border-radius: 4px !important;
   transition: color var(--bmc-transition), background var(--bmc-transition) !important;
   transition: background 0.12s, color 0.12s !important;
  text-decoration: none !important;
}
}
 
#toc ul li a:hover, .toc ul li a:hover {
.portlet li a:hover,
   background: #f0e8ea !important;
.mw-portlet-body li a:hover,
   color: #a31f34 !important;
.vector-menu-content li a:hover {
   color: var(--bmc-red) !important;
   background: rgba(163,31,52,0.06) !important;
   text-decoration: none !important;
   text-decoration: none !important;
}
}
 
/* Sub-items */
/* Active page link */
#toc ul li ul li a, .toc ul li ul li a {
.portlet li.active a {
  padding-left: 20px !important;
   color: var(--bmc-red) !important;
   color: #666 !important;
   font-weight: 600 !important;
   font-size: 0.78rem !important;
}
}


/* ── 6. Sidebar Toggle Button ───────────────────────────────── */
/* ── Typography ─────────────────────────────────────────────── */
#bmc-sidebar-toggle {
.mw-parser-output {
   position: fixed;
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
  top: 12px;
   font-size: 0.95rem !important;
  left: 12px;
   line-height: 1.6 !important;
  z-index: 9999;
   color: #333 !important;
  background: var(--bmc-red);
  color: var(--bmc-white);
  border: none;
  border-radius: var(--bmc-radius);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
   font-size: 18px;
   line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
   transition: background var(--bmc-transition);
}
}


#bmc-sidebar-toggle:hover {
.mw-parser-output h2 {
   background: var(--bmc-red-dark);
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #a31f34 !important;
  margin: 48px 0 18px !important;
  letter-spacing: -0.2px !important;
  scroll-margin-top: 88px !important;
  /* remove any card styling from prior CSS */
   background: none !important;
  box-shadow: none !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }


/* ── 7. Content Area ────────────────────────────────────────── */
.mw-parser-output h3 {
#content,
   font-size: 1rem !important;
.mw-body,
   font-weight: 600 !important;
.vector-body {
   color: #1a1a1a !important;
   background: var(--bmc-white) !important;
   margin: 28px 0 10px !important;
  border: 1px solid var(--bmc-border) !important;
   scroll-margin-top: 88px !important;
   border-radius: var(--bmc-radius) !important;
   box-shadow: var(--bmc-shadow) !important;
   padding: 28px 36px !important;
   margin: 16px !important;
}
}


/* Page title */
.mw-parser-output h4 {
#firstHeading,
   font-size: 0.88rem !important;
.mw-first-heading {
  font-family: var(--bmc-font) !important;
   font-size: 26px !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
   color: var(--bmc-text) !important;
   color: #a31f34 !important;
   border-bottom: 2px solid var(--bmc-red) !important;
   margin-bottom: 6px !important;
   padding-bottom: 10px !important;
   letter-spacing: -0.1px !important;
  margin-bottom: 20px !important;
}
}


/* ── 8. Typography ──────────────────────────────────────────── */
.mw-parser-output p {
.mw-parser-output {
   margin-bottom: 14px !important;
   font-family: var(--bmc-font) !important;
   font-size: 0.9rem !important;
   font-size: 15px !important;
   color: #333 !important;
  line-height: 1.75 !important;
   color: var(--bmc-text) !important;
}
}


.mw-parser-output h1 {
/* ── Links ──────────────────────────────────────────────────── */
   font-size: 24px !important;
.mw-parser-output a,
   font-weight: 700 !important;
#bodyContent a {
  color: var(--bmc-text) !important;
   color: #a31f34 !important;
   margin: 28px 0 12px !important;
   text-decoration: none !important;
}
.mw-parser-output a:hover,
#bodyContent a:hover {
   text-decoration: underline !important;
}
}


.mw-parser-output h2 {
/* ── Service Cards ──────────────────────────────────────────── */
   font-size: 20px !important;
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}
.service-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover {
  border-color: #c8a0a8;
  box-shadow: 0 2px 10px rgba(163,31,52,0.07);
}
.service-card h4 {
   font-size: 0.88rem !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
   color: var(--bmc-text) !important;
   color: #a31f34 !important;
   border-bottom: none !important;
  margin-bottom: 6px !important;
   margin: 32px 0 0 !important;
}
   padding: 0 !important;
.service-card p {
  font-size: 0.82rem !important;
   color: #555 !important;
   margin: 0 !important;
   line-height: 1.5 !important;
}
}


.mw-parser-output h3 {
/* ── Staff Grid ─────────────────────────────────────────────── */
   font-size: 16px !important;
.staff-section { margin-bottom: 32px; }
   font-weight: 600 !important;
.staff-section h3 { margin-bottom: 16px !important; }
   color: var(--bmc-text) !important;
.staff-grid {
   margin: 18px 0 8px !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.staff-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
}
.staff-card .staff-name {
   font-size: 0.88rem;
   font-weight: 700;
   color: #1a1a1a;
}
.staff-card .staff-role {
  font-size: 0.78rem;
  color: #666;
   margin-top: 3px;
  line-height: 1.4;
}
.staff-card.director {
  grid-column: 1 / -1;
  background: #fdf5f6;
  border-color: #d4a0a8;
  display: flex;
  align-items: center;
  gap: 18px;
}
.director-badge {
  width: 44px;
  height: 44px;
  background: #a31f34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.staff-card.director .staff-name { font-size: 1rem; }
.staff-card.director .staff-role {
  font-size: 0.82rem;
  color: #7a1626;
  font-weight: 500;
}
}


.mw-parser-output h4,
/* ── Publication List ───────────────────────────────────────── */
.mw-parser-output h5,
.pub-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mw-parser-output h6 {
.pub-list li {
   font-size: 14px !important;
   padding: 14px 0 !important;
   font-weight: 600 !important;
   border-bottom: 1px solid #f0f0f0 !important;
   color: var(--bmc-muted) !important;
   font-size: 0.85rem !important;
   text-transform: uppercase !important;
}
   letter-spacing: 0.05em !important;
.pub-list li:last-child { border-bottom: none !important; }
   margin: 16px 0 6px !important;
.pub-list .pub-lab { font-weight: 700; color: #1a1a1a; }
.pub-list .pub-desc { color: #444; margin-top: 3px; line-height: 1.5; }
.pub-list .pub-cite {
  display: inline-block;
   margin-top: 5px;
   font-size: 0.75rem;
  background: #f0f0f0;
  color: #555;
  padding: 2px 8px;
   border-radius: 10px;
}
}


.mw-parser-output p {
/* ── Affiliation Grid ───────────────────────────────────────── */
   margin: 0 0 14px !important;
.affil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
   margin: 18px 0 24px;
}
}
 
.affil-card {
/* ── 9. Section Cards (h2 blocks) ───────────────────────────── */
  background: #f9f9f9;
.mw-parser-output .mw-headline {
  border: 1px solid #e8e8e8;
   display: block !important;
  border-radius: 8px;
   padding: 16px 18px;
}
}
.affil-card .affil-name { font-size: 0.85rem; font-weight: 700; color: #1a1a1a; }
.affil-card .affil-rep { font-size: 0.78rem; color: #666; margin-top: 4px; }


/* Wrap each h2 section visually */
/* ── Contact Block ──────────────────────────────────────────── */
.mw-parser-output h2 {
.contact-block {
   background: var(--bmc-white) !important;
   background: #f9f9f9;
   border-left: 4px solid var(--bmc-red) !important;
   border: 1px solid #e8e8e8;
   border-radius: 0 var(--bmc-radius) var(--bmc-radius) 0 !important;
   border-radius: 8px;
   padding: 12px 16px !important;
   padding: 22px 24px;
   margin-top: 28px !important;
  display: flex;
   box-shadow: var(--bmc-shadow) !important;
   gap: 40px;
  flex-wrap: wrap;
   font-size: 0.85rem;
}
}
 
.contact-item { display: flex; flex-direction: column; gap: 3px; }
/* ── 10. Links ──────────────────────────────────────────────── */
.contact-item .label {
.mw-parser-output a,
   font-size: 0.72rem;
#bodyContent a {
  font-weight: 700;
   color: var(--bmc-red) !important;
   text-transform: uppercase;
   text-decoration: none !important;
   letter-spacing: 0.07em;
   transition: color var(--bmc-transition) !important;
  color: #999;
}
}
.contact-item .value { color: #1a1a1a; font-weight: 500; }
.contact-item a { color: #a31f34 !important; }


.mw-parser-output a:hover,
/* ── Note / Info Boxes ──────────────────────────────────────── */
#bodyContent a:hover {
.note {
   color: var(--bmc-red-dark) !important;
  background: #fdf6f0;
   text-decoration: underline !important;
  border-left: 3px solid #e07b39;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
   color: #555;
   margin: 12px 0 18px;
}
}
 
.note strong { color: #c0622a; }
/* External link icon tint */
.note.note-info {
.mw-parser-output a.external {
   background: #f0f6ff;
   color: var(--bmc-red) !important;
  border-left-color: #3b7dd8;
}
}


/* ── 11. Tables ─────────────────────────────────────────────── */
/* ── Tables ─────────────────────────────────────────────────── */
.mw-parser-output table,
.wikitable,
.wikitable {
.mw-parser-output table {
   border-collapse: collapse !important;
   border-collapse: collapse !important;
   width: 100% !important;
   width: 100% !important;
   margin: 16px 0 !important;
   margin: 16px 0 !important;
   font-size: 14px !important;
   font-size: 0.88rem !important;
   border-radius: var(--bmc-radius) !important;
  border: 1px solid #e8e8e8 !important;
   border-radius: 8px !important;
   overflow: hidden !important;
   overflow: hidden !important;
  box-shadow: var(--bmc-shadow) !important;
  border: 1px solid var(--bmc-border) !important;
}
}
.wikitable th,
.wikitable th,
.mw-parser-output table th {
.mw-parser-output table th {
   background: var(--bmc-red) !important;
   background: #a31f34 !important;
   color: var(--bmc-white) !important;
   color: #fff !important;
   font-weight: 600 !important;
   font-weight: 600 !important;
   padding: 10px 14px !important;
   padding: 10px 14px !important;
   text-align: left !important;
   text-align: left !important;
   border: none !important;
   border: none !important;
  font-size: 0.85rem !important;
}
}
.wikitable td,
.wikitable td,
.mw-parser-output table td {
.mw-parser-output table td {
   padding: 9px 14px !important;
   padding: 9px 14px !important;
   border: none !important;
   border: none !important;
   border-bottom: 1px solid var(--bmc-border) !important;
   border-bottom: 1px solid #f0f0f0 !important;
   vertical-align: top !important;
   vertical-align: top !important;
  color: #333 !important;
}
}
.wikitable tr:nth-child(even) td,
.wikitable tr:nth-child(even) td,
.mw-parser-output table tr:nth-child(even) td {
.mw-parser-output table tr:nth-child(even) td {
   background: #fafafa !important;
   background: #fafafa !important;
}
}
 
.wikitable tr:last-child td,
.mw-parser-output table tr:last-child td {
  border-bottom: none !important;
}
.wikitable tr:hover td,
.wikitable tr:hover td,
.mw-parser-output table tr:hover td {
.mw-parser-output table tr:hover td {
   background: rgba(163,31,52,0.04) !important;
   background: rgba(163,31,52,0.03) !important;
}
}


/* ── 12. Table of Contents ──────────────────────────────────── */
/* ── Edit Section Links ─────────────────────────────────────── */
#toc,
.mw-editsection a,
.toc {
.mw-editsection-bracket {
  background: var(--bmc-white) !important;
   color: #999 !important;
   border: 1px solid var(--bmc-border) !important;
   font-size: 0.75rem !important;
  border-radius: var(--bmc-radius) !important;
  box-shadow: var(--bmc-shadow) !important;
  padding: 14px 18px !important;
   font-size: 13px !important;
  display: inline-block !important;
  min-width: 200px !important;
}
}
.mw-editsection a:hover { color: #a31f34 !important; }


.toctitle h2,
/* ── Code ───────────────────────────────────────────────────── */
#toc .toctitle h2 {
.mw-parser-output code,
  font-size: 13px !important;
.mw-parser-output pre,
   font-weight: 700 !important;
.mw-parser-output tt {
  text-transform: uppercase !important;
   font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
   letter-spacing: 0.06em !important;
   background: #f4f4f4 !important;
   color: var(--bmc-muted) !important;
   border: 1px solid #e8e8e8 !important;
   border: none !important;
   border-radius: 4px !important;
   background: none !important;
   font-size: 0.85rem !important;
  box-shadow: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
}
.mw-parser-output code, .mw-parser-output tt { padding: 1px 5px !important; }
.mw-parser-output pre { padding: 12px 16px !important; overflow-x: auto !important; }


.toc a {
/* ── Footer ─────────────────────────────────────────────────── */
   color: var(--bmc-text) !important;
#footer,
.mw-footer {
  background: #1a1a1a !important;
   color: #aaa !important;
  padding: 40px 0 !important;
  font-size: 0.82rem !important;
  margin: 0 !important;
  border: none !important;
}
}
 
.bmc-footer-inner {
.toc a:hover {
  max-width: 1140px;
   color: var(--bmc-red) !important;
  margin: 0 auto;
  padding: 0 24px;
   display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
}
 
#footer h4,
/* ── 13. Footer ─────────────────────────────────────────────── */
.mw-footer h4,
#footer,
.bmc-footer-inner h4 {
.mw-footer {
   font-size: 0.75rem !important;
   background: #2a2a2a !important;
   font-weight: 700 !important;
   color: #ccc !important;
   text-transform: uppercase !important;
   border-top: 3px solid var(--bmc-red) !important;
   letter-spacing: 0.08em !important;
   padding: 20px 24px !important;
   color: #fff !important;
   font-size: 13px !important;
   margin-bottom: 12px !important;
   margin-top: 24px !important;
}
}
 
#footer ul,
#footer a,
.mw-footer ul,
.mw-footer a {
.bmc-footer-inner ul {
   color: #ddd !important;
   list-style: none !important;
   text-decoration: underline !important;
  padding: 0 !important;
   margin: 0 !important;
}
}
#footer ul li,
.mw-footer ul li,
.bmc-footer-inner li { margin-bottom: 6px !important; }
#footer ul li a,
.mw-footer ul li a,
.bmc-footer-inner a { color: #aaa !important; }
#footer ul li a:hover,
.mw-footer ul li a:hover,
.bmc-footer-inner a:hover { color: #fff !important; text-decoration: none !important; }


#footer a:hover,
/* Footer bottom bar */
.mw-footer a:hover {
.bmc-footer-bottom {
   color: var(--bmc-white) !important;
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #333;
  display: flex;
   justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.77rem;
  color: #666;
}
}


#footer-info li,
/* Hide default MediaWiki footer items (replaced by JS-injected structure) */
#footer-places li {
#footer-info,
   display: inline !important;
#footer-places,
  margin-right: 16px !important;
#footer-icons {
  list-style: none !important;
   display: none !important;
}
}


/* ── 14. Responsive ─────────────────────────────────────────── */
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
@media (max-width: 860px) {
  #content,
   .bmc-hnav { display: none !important; }
  .mw-body,
   .vector-body {
    margin: 8px !important;
    padding: 16px !important;
  }


  /* Restore wiki sidebar on mobile */
   #mw-panel,
   #mw-panel,
   .vector-column-start {
   .vector-column-start {
     display: none !important;
     display: block !important;
    background: #f9f9f9 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    width: 100% !important;
   }
   }


   #firstHeading,
   .staff-grid { grid-template-columns: repeat(2, 1fr) !important; }
   .mw-first-heading {
   .bmc-footer-inner { grid-template-columns: 1fr 1fr !important; }
    font-size: 22px !important;
  }


   .mw-parser-output h2 {
  #content,
     font-size: 17px !important;
   .mw-body,
  .vector-body {
     padding: 24px 16px 48px !important;
   }
   }
  #bmc-sidebar-toggle {
    display: none !important;
  }
}
/* ── 15. Edit / Action Buttons ──────────────────────────────── */
.mw-editsection a,
.mw-editsection-bracket {
  color: var(--bmc-muted) !important;
  font-size: 12px !important;
}
.mw-editsection a:hover {
  color: var(--bmc-red) !important;
}
/* ── 16. Notices & Infoboxes ────────────────────────────────── */
.mw-parser-output .infobox {
  border: 1px solid var(--bmc-border) !important;
  border-radius: var(--bmc-radius) !important;
  background: var(--bmc-white) !important;
  font-size: 13px !important;
  box-shadow: var(--bmc-shadow) !important;
}
.mw-parser-output .infobox th {
  background: var(--bmc-red) !important;
  color: var(--bmc-white) !important;
}
}


/* ── 17. Code blocks ────────────────────────────────────────── */
@media (max-width: 580px) {
.mw-parser-output code,
  .bmc-page-hero h1 { font-size: 1.5rem !important; }
.mw-parser-output pre {
   .service-grid,
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
   .staff-grid,
   background: #f4f4f4 !important;
   .affil-grid { grid-template-columns: 1fr !important; }
   border: 1px solid var(--bmc-border) !important;
  .staff-card.director { flex-direction: column !important; }
   border-radius: 4px !important;
  .contact-block { flex-direction: column !important; gap: 16px !important; }
  font-size: 13px !important;
   .bmc-footer-inner { grid-template-columns: 1fr !important; }
}
 
.mw-parser-output code {
  padding: 1px 5px !important;
}
 
.mw-parser-output pre {
  padding: 12px 16px !important;
  overflow-x: auto !important;
   line-height: 1.5 !important;
}
}

Revision as of 21:51, 8 May 2026

/* ============================================================
   BioMicro Center Wiki — Modern UI (matches about.html)
   Paste into: User:USERNAME/common.css
   Promoted to: MediaWiki:Common.css (by sysop)
   ============================================================ */

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #1a1a1a !important;
  background: #fff !important;
  line-height: 1.6 !important;
}

a { color: #a31f34 !important; text-decoration: none !important; }
a:hover { text-decoration: underline !important; }

/* ── Topbar (injected by JS as .bmc-topbar) ─────────────────── */
.bmc-topbar {
  background: #a31f34;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: right;
  width: 100%;
  position: relative;
  z-index: 200;
}
.bmc-topbar .bmc-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.bmc-topbar a { color: #fff !important; opacity: 0.85; }
.bmc-topbar a:hover { opacity: 1; text-decoration: none !important; }
.bmc-topbar span { margin: 0 6px; opacity: 0.5; }

/* ── Header: restyle #mw-head to white bar ──────────────────── */
/* Legacy Vector */
#mw-head,
#mw-head-base {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
  height: 68px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Vector 2022 */
.vector-header,
.vector-header-container {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
  height: 68px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Inner wrapper for header content (flex row) */
#mw-head .bmc-header-inner,
.bmc-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* ── Logo ───────────────────────────────────────────────────── */
/* Hide default MediaWiki logo (replaced by JS-injected logo in header) */
#p-logo,
.mw-wiki-logo {
  display: none !important;
}

.bmc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.bmc-logo-mark {
  width: 40px;
  height: 40px;
  background: #a31f34;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.bmc-logo-text .bmc-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.2px;
  display: block;
}
.bmc-logo-text .bmc-logo-sub {
  font-size: 0.72rem;
  color: #666;
  font-weight: 400;
  display: block;
}

/* ── Horizontal Navigation (injected by JS as .bmc-hnav) ────── */
.bmc-hnav {
  display: flex;
  align-items: center;
}
.bmc-hnav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.bmc-hnav > ul > li {
  position: relative;
  margin: 0;
}
.bmc-hnav > ul > li > a {
  display: block !important;
  padding: 8px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s !important;
  text-decoration: none !important;
}
.bmc-hnav > ul > li > a:hover,
.bmc-hnav > ul > li.bmc-active > a {
  background: #f5f5f5 !important;
  color: #a31f34 !important;
  text-decoration: none !important;
}
.bmc-hnav .bmc-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.6;
}
.bmc-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  min-width: 200px;
  padding: 6px 0;
  z-index: 200;
}
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-dropdown-menu a {
  display: block !important;
  padding: 8px 18px !important;
  font-size: 0.83rem !important;
  color: #333 !important;
  transition: background 0.12s !important;
  text-decoration: none !important;
}
.bmc-dropdown-menu a:hover {
  background: #faf0f0 !important;
  color: #a31f34 !important;
  text-decoration: none !important;
}
.bmc-dropdown-menu .bmc-divider { border-top: 1px solid #eee; margin: 4px 0; }
.bmc-dropdown-menu .bmc-group-label {
  padding: 6px 18px 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hide original MediaWiki nav elements that are replaced */
#mw-head #left-navigation,
#mw-head #right-navigation,
#mw-panel,
.vector-column-start,
#p-personal,
#pt-userpage,
#p-namespaces {
  display: none !important;
}

/* Keep search accessible but repositioned into header by JS */
#p-search, .vector-search-box {
  display: none !important;
}

/* ── Page Hero (injected by JS as .bmc-page-hero) ───────────── */
.bmc-page-hero {
  background: linear-gradient(135deg, #a31f34 0%, #7a1626 100%);
  color: #fff;
  padding: 40px 0 36px;
  width: 100%;
}
.bmc-page-hero .bmc-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.bmc-breadcrumb {
  font-size: 0.78rem;
  margin-bottom: 10px;
  opacity: 0.75;
}
.bmc-breadcrumb a { color: #fff !important; }
.bmc-breadcrumb span { margin: 0 6px; }
.bmc-page-hero h1 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  color: #fff !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide original page title (shown in hero instead) */
#firstHeading,
.mw-first-heading {
  display: none !important;
}

/* ── Page Layout Container ──────────────────────────────────── */
#content,
.mw-body,
.vector-body {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 40px 24px 80px !important;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  float: none !important;
}

/* Remove MediaWiki's default content margin-left (for sidebar offset) */
#mw-content-wrapper,
.mw-content-container {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* ── Table of Contents ──────────────────────────────────────── */
#toc,
.toc {
  background: #f9f9f9 !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  display: inline-block !important;
  min-width: 200px !important;
  font-size: 0.82rem !important;
  float: none !important;
  margin: 0 0 28px 0 !important;
}
#toc .toctitle h2,
.toc .toctitle h2 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #999 !important;
  margin-bottom: 12px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
#toc ul, .toc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#toc ul li, .toc ul li { margin-bottom: 2px !important; }
#toc ul li a, .toc ul li a {
  font-size: 0.82rem !important;
  color: #444 !important;
  padding: 4px 8px !important;
  display: block !important;
  border-radius: 4px !important;
  transition: background 0.12s, color 0.12s !important;
  text-decoration: none !important;
}
#toc ul li a:hover, .toc ul li a:hover {
  background: #f0e8ea !important;
  color: #a31f34 !important;
  text-decoration: none !important;
}
/* Sub-items */
#toc ul li ul li a, .toc ul li ul li a {
  padding-left: 20px !important;
  color: #666 !important;
  font-size: 0.78rem !important;
}

/* ── Typography ─────────────────────────────────────────────── */
.mw-parser-output {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.mw-parser-output h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #a31f34 !important;
  margin: 48px 0 18px !important;
  letter-spacing: -0.2px !important;
  scroll-margin-top: 88px !important;
  /* remove any card styling from prior CSS */
  background: none !important;
  box-shadow: none !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }

.mw-parser-output h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 28px 0 10px !important;
  scroll-margin-top: 88px !important;
}

.mw-parser-output h4 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #a31f34 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.1px !important;
}

.mw-parser-output p {
  margin-bottom: 14px !important;
  font-size: 0.9rem !important;
  color: #333 !important;
}

/* ── Links ──────────────────────────────────────────────────── */
.mw-parser-output a,
#bodyContent a {
  color: #a31f34 !important;
  text-decoration: none !important;
}
.mw-parser-output a:hover,
#bodyContent a:hover {
  text-decoration: underline !important;
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}
.service-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover {
  border-color: #c8a0a8;
  box-shadow: 0 2px 10px rgba(163,31,52,0.07);
}
.service-card h4 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #a31f34 !important;
  margin-bottom: 6px !important;
}
.service-card p {
  font-size: 0.82rem !important;
  color: #555 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* ── Staff Grid ─────────────────────────────────────────────── */
.staff-section { margin-bottom: 32px; }
.staff-section h3 { margin-bottom: 16px !important; }
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.staff-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
}
.staff-card .staff-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
}
.staff-card .staff-role {
  font-size: 0.78rem;
  color: #666;
  margin-top: 3px;
  line-height: 1.4;
}
.staff-card.director {
  grid-column: 1 / -1;
  background: #fdf5f6;
  border-color: #d4a0a8;
  display: flex;
  align-items: center;
  gap: 18px;
}
.director-badge {
  width: 44px;
  height: 44px;
  background: #a31f34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.staff-card.director .staff-name { font-size: 1rem; }
.staff-card.director .staff-role {
  font-size: 0.82rem;
  color: #7a1626;
  font-weight: 500;
}

/* ── Publication List ───────────────────────────────────────── */
.pub-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pub-list li {
  padding: 14px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 0.85rem !important;
}
.pub-list li:last-child { border-bottom: none !important; }
.pub-list .pub-lab { font-weight: 700; color: #1a1a1a; }
.pub-list .pub-desc { color: #444; margin-top: 3px; line-height: 1.5; }
.pub-list .pub-cite {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.75rem;
  background: #f0f0f0;
  color: #555;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── Affiliation Grid ───────────────────────────────────────── */
.affil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}
.affil-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
}
.affil-card .affil-name { font-size: 0.85rem; font-weight: 700; color: #1a1a1a; }
.affil-card .affil-rep { font-size: 0.78rem; color: #666; margin-top: 4px; }

/* ── Contact Block ──────────────────────────────────────────── */
.contact-block {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.contact-item { display: flex; flex-direction: column; gap: 3px; }
.contact-item .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
}
.contact-item .value { color: #1a1a1a; font-weight: 500; }
.contact-item a { color: #a31f34 !important; }

/* ── Note / Info Boxes ──────────────────────────────────────── */
.note {
  background: #fdf6f0;
  border-left: 3px solid #e07b39;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  color: #555;
  margin: 12px 0 18px;
}
.note strong { color: #c0622a; }
.note.note-info {
  background: #f0f6ff;
  border-left-color: #3b7dd8;
}

/* ── Tables ─────────────────────────────────────────────────── */
.wikitable,
.mw-parser-output table {
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 16px 0 !important;
  font-size: 0.88rem !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
.wikitable th,
.mw-parser-output table th {
  background: #a31f34 !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border: none !important;
  font-size: 0.85rem !important;
}
.wikitable td,
.mw-parser-output table td {
  padding: 9px 14px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  vertical-align: top !important;
  color: #333 !important;
}
.wikitable tr:nth-child(even) td,
.mw-parser-output table tr:nth-child(even) td {
  background: #fafafa !important;
}
.wikitable tr:last-child td,
.mw-parser-output table tr:last-child td {
  border-bottom: none !important;
}
.wikitable tr:hover td,
.mw-parser-output table tr:hover td {
  background: rgba(163,31,52,0.03) !important;
}

/* ── Edit Section Links ─────────────────────────────────────── */
.mw-editsection a,
.mw-editsection-bracket {
  color: #999 !important;
  font-size: 0.75rem !important;
}
.mw-editsection a:hover { color: #a31f34 !important; }

/* ── Code ───────────────────────────────────────────────────── */
.mw-parser-output code,
.mw-parser-output pre,
.mw-parser-output tt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
  background: #f4f4f4 !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 4px !important;
  font-size: 0.85rem !important;
}
.mw-parser-output code, .mw-parser-output tt { padding: 1px 5px !important; }
.mw-parser-output pre { padding: 12px 16px !important; overflow-x: auto !important; }

/* ── Footer ─────────────────────────────────────────────────── */
#footer,
.mw-footer {
  background: #1a1a1a !important;
  color: #aaa !important;
  padding: 40px 0 !important;
  font-size: 0.82rem !important;
  margin: 0 !important;
  border: none !important;
}
.bmc-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
#footer h4,
.mw-footer h4,
.bmc-footer-inner h4 {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #fff !important;
  margin-bottom: 12px !important;
}
#footer ul,
.mw-footer ul,
.bmc-footer-inner ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#footer ul li,
.mw-footer ul li,
.bmc-footer-inner li { margin-bottom: 6px !important; }
#footer ul li a,
.mw-footer ul li a,
.bmc-footer-inner a { color: #aaa !important; }
#footer ul li a:hover,
.mw-footer ul li a:hover,
.bmc-footer-inner a:hover { color: #fff !important; text-decoration: none !important; }

/* Footer bottom bar */
.bmc-footer-bottom {
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.77rem;
  color: #666;
}

/* Hide default MediaWiki footer items (replaced by JS-injected structure) */
#footer-info,
#footer-places,
#footer-icons {
  display: none !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .bmc-hnav { display: none !important; }

  /* Restore wiki sidebar on mobile */
  #mw-panel,
  .vector-column-start {
    display: block !important;
    background: #f9f9f9 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    width: 100% !important;
  }

  .staff-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bmc-footer-inner { grid-template-columns: 1fr 1fr !important; }

  #content,
  .mw-body,
  .vector-body {
    padding: 24px 16px 48px !important;
  }
}

@media (max-width: 580px) {
  .bmc-page-hero h1 { font-size: 1.5rem !important; }
  .service-grid,
  .staff-grid,
  .affil-grid { grid-template-columns: 1fr !important; }
  .staff-card.director { flex-direction: column !important; }
  .contact-block { flex-direction: column !important; gap: 16px !important; }
  .bmc-footer-inner { grid-template-columns: 1fr !important; }
}