Jump to content

User:Udays108/common.css: Difference between revisions

From BioMicro Center
Udays108 (talk | contribs)
 
Udays108 (talk | contribs)
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   MIT BioMicro Center — MediaWiki Custom Styles
   MIT BioMicro Center — MediaWiki Custom Styles
   Skin: Vector-2022
   Skin: Vector-2022
   Scope: User:USERNAME/common.css  (personal preview only)
   Scope: User:USERNAME/common.css  (personal preview)
  Promote to MediaWiki:Common.css for site-wide deployment
   ============================================================ */
   ============================================================ */


Line 9: Line 9:
/* ── 1. Design Tokens ───────────────────────────────────────── */
/* ── 1. Design Tokens ───────────────────────────────────────── */
:root {
:root {
   --bmc-crimson:       #a31f34;
   --bmc-crimson:       #a31f34;
   --bmc-crimson-dark:   #7a1626;
   --bmc-crimson-dark: #7a1626;
   --bmc-crimson-light: #fde8ec;
   --bmc-crimson-light: #fde8ec;
   --bmc-text:           #1a1a1a;
   --bmc-text:         #1a1a1a;
   --bmc-text-muted:     #666;
   --bmc-text-muted:   #666;
   --bmc-bg:             #fff;
   --bmc-bg:           #fff;
   --bmc-bg-card:       #f9f9f9;
   --bmc-bg-card:       #f9f9f9;
   --bmc-border:         #e8e8e8;
   --bmc-border:       #e8e8e8;
   --bmc-border-hover:   #c8a0a8;
   --bmc-border-hover: #c8a0a8;
   --bmc-shadow-card:   0 2px 10px rgba(163, 31, 52, 0.07);
   --bmc-font:         'Helvetica Neue', Arial, sans-serif;
  --bmc-header-height:  68px;
   --bmc-max-width:     1140px;
   --bmc-max-width:     1140px;
  --bmc-font:          'Helvetica Neue', Arial, sans-serif;
}
}




/* ── 2. Base Typography ─────────────────────────────────────── */
/* ── 2. Hide Vector-2022 Chrome ─────────────────────────────── */
body {
/* We replace header, left nav sidebar, and footer with our own */
  font-family: var(--bmc-font) !important;
  color: var(--bmc-text);
  line-height: 1.6;
}


.mw-body-content,
.vector-header,
.mw-parser-output {
.vector-sticky-header,
  font-family: var(--bmc-font);
.vector-main-menu-container,
  font-size: 0.9rem;
.vector-footer,
  color: #333;
#footer,
   line-height: 1.6;
.mw-footer {
   display: none !important;
}
}


 
/* Remove Vector's default page padding that assumes its header height */
/* ── 3. Link Colors ─────────────────────────────────────────── */
.mw-page-container {
/* Scope to body content — avoids clobbering UI chrome links */
  padding-top: 0 !important;
.mw-body a,
   margin-top: 0 !important;
.mw-body-content a,
   max-width: 100% !important;
.mw-parser-output a {
   color: var(--bmc-crimson);
   text-decoration: none;
}
}


.mw-body a:visited,
.mw-page-container-inner {
.mw-body-content a:visited {
  display: block !important;
   color: var(--bmc-crimson);
  padding: 0 !important;
   margin: 0 !important;
}
}


.mw-body a:hover,
/* Content container: remove Vector's column layout so our layout takes over */
.mw-body-content a:hover,
.mw-content-container {
.mw-parser-output a:hover {
  max-width: 100% !important;
   color: var(--bmc-crimson-dark);
  margin: 0 !important;
   text-decoration: underline;
   padding: 0 !important;
   display: block !important;
}
}


/* External link icon inherits color */
/* The actual content area */
.mw-parser-output a.external {
#mw-content {
   color: var(--bmc-crimson);
   margin: 0 !important;
}
   padding: 0 !important;
 
   border: none !important;
 
/* ── 4. Header ──────────────────────────────────────────────── */
.vector-header {
  background: var(--bmc-bg) !important;
   border-bottom: 1px solid #e0e0e0 !important;
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07) !important;
}
 
/* Remove Vector-2022's default colored top border if present */
.vector-header::before {
  display: none;
}
 
/* Logo area */
.mw-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
 
.mw-logo-wordmark {
  font-family: var(--bmc-font) !important;
  color: var(--bmc-text) !important;
}
 
.mw-logo-tagline {
  font-size: 0.72rem;
  color: var(--bmc-text-muted);
}
 
 
/* ── 5. Navigation ──────────────────────────────────────────── */
/* Vector-2022 left sidebar navigation */
.vector-main-menu-action > a,
.vector-main-menu .mw-list-item a,
#p-navigation .mw-list-item a {
  font-family: var(--bmc-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  border-radius: 4px;
  padding: 6px 10px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
 
.vector-main-menu .mw-list-item a:hover,
#p-navigation .mw-list-item a:hover {
  background: #f5f5f5;
  color: var(--bmc-crimson);
  text-decoration: none;
}
}


/* Active nav item (set by JS) */
/* Hide original h1 — we recreate it in the hero banner */
.mw-list-item.bmc-active > a,
.mw-list-item.bmc-active > a:visited {
  background: #f5f5f5;
  color: var(--bmc-crimson);
  font-weight: 600;
}
 
/* Portal section headings in sidebar */
.vector-main-menu .mw-portlet-nav-logo,
.vector-menu-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}
 
 
/* ── 6. Page Title (h1) ─────────────────────────────────────── */
h1.firstHeading,
h1.firstHeading,
.mw-first-heading {
.mw-first-heading {
   font-family: var(--bmc-font) !important;
   display: none !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--bmc-text) !important;
  letter-spacing: -0.5px;
  border-bottom: 2px solid var(--bmc-crimson) !important;
  padding-bottom: 12px !important;
  margin-bottom: 24px !important;
}
}


 
/* Hide Vector's page toolbar (edit tabs area) background/border,
/* ── 7. Content Headings ────────────────────────────────────── */
  but keep the actual edit buttons visible and accessible */
.mw-parser-output h2,
.vector-page-toolbar {
.mw-body-content h2 {
   border-bottom: 1px solid var(--bmc-border) !important;
  font-size: 1.35rem;
   background: #fff !important;
  font-weight: 700;
   max-width: var(--bmc-max-width) !important;
  color: var(--bmc-text);
   margin: 0 auto !important;
  padding-bottom: 10px;
   padding: 0 24px !important;
   border-bottom: 2px solid var(--bmc-crimson) !important;
   margin: 48px 0 18px;
  letter-spacing: -0.2px;
   scroll-margin-top: 88px;
}
 
.mw-parser-output h2:first-child,
.mw-body-content h2:first-child {
  margin-top: 0;
}
 
/* Remove Vector-2022's default h2 styling */
.mw-parser-output h2 .mw-headline,
.mw-body-content h2 .mw-headline {
  border: none;
}
 
.mw-parser-output h3,
.mw-body-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bmc-text);
   margin: 28px 0 10px;
   scroll-margin-top: 88px;
}
}


.mw-parser-output h4,
/* Vector-2022 TOC — restyle to match our sidebar card */
.mw-body-content h4 {
.vector-toc-landmark,
   font-size: 0.88rem;
#mw-panel-toc {
   font-weight: 700;
   margin: 0 !important;
  color: #444;
   padding: 0 !important;
  margin: 20px 0 8px;
}
}


.mw-parser-output p {
.vector-toc {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 14px;
}
 
 
/* ── 8. Table of Contents (Vector-2022) ─────────────────────── */
/* Vector-2022 renders TOC in .vector-toc / #mw-panel-toc */
.vector-toc,
#mw-panel-toc .vector-toc {
   background: var(--bmc-bg-card) !important;
   background: var(--bmc-bg-card) !important;
   border: 1px solid var(--bmc-border) !important;
   border: 1px solid var(--bmc-border) !important;
Line 210: Line 92:
   padding: 20px !important;
   padding: 20px !important;
   box-shadow: none !important;
   box-shadow: none !important;
  font-family: var(--bmc-font) !important;
}
}


/* TOC title: "Contents" / "On this page" */
.vector-toc .vector-toc-title-bar {
.vector-toc .vector-toc-title,
.vector-toc-title-bar {
   border-bottom: 1px solid var(--bmc-border) !important;
   border-bottom: 1px solid var(--bmc-border) !important;
   padding-bottom: 10px !important;
   padding-bottom: 10px !important;
Line 228: Line 109:
}
}


/* TOC toggle button */
.vector-toc-toggle { display: none !important; }
.vector-toc-toggle {
  display: none; /* Remove toggle button for cleaner look */
}


/* TOC links */
.vector-toc .vector-toc-link {
.vector-toc .vector-toc-link {
   font-size: 0.82rem;
   font-size: 0.82rem !important;
   color: #444;
   color: #444 !important;
   padding: 4px 8px;
   padding: 4px 8px !important;
  display: block;
   border-radius: 4px !important;
   border-radius: 4px;
   transition: background 0.12s, color 0.12s !important;
   transition: background 0.12s, color 0.12s;
   text-decoration: none !important;
   text-decoration: none;
  display: block !important;
}
}


.vector-toc .vector-toc-link:hover {
.vector-toc .vector-toc-link:hover {
   background: #f0e8ea;
   background: #f0e8ea !important;
   color: var(--bmc-crimson);
   color: var(--bmc-crimson) !important;
   text-decoration: none;
   text-decoration: none !important;
}
}


/* Active section highlight (Vector-2022 applies this on scroll) */
.vector-toc-list-item-active > .vector-toc-link {
.vector-toc-list-item-active > .vector-toc-link,
   color: var(--bmc-crimson) !important;
.vector-toc-list-item-active > .vector-toc-link:visited {
   font-weight: 600 !important;
   color: var(--bmc-crimson);
   background: #fdf5f6 !important;
   font-weight: 600;
   background: #fdf5f6;
}
}


/* Sub-section indent */
.vector-toc .vector-toc-list .vector-toc-list > li > .vector-toc-link {
.vector-toc .vector-toc-list .vector-toc-list > li > .vector-toc-link {
   padding-left: 20px;
   padding-left: 20px !important;
   font-size: 0.78rem;
   font-size: 0.78rem !important;
   color: var(--bmc-text-muted);
   color: var(--bmc-text-muted) !important;
}
}




/* ── 9. Tables (.wikitable) ─────────────────────────────────── */
/* ── 3. Our Injected Topbar ─────────────────────────────────── */
.wikitable {
.bmc-topbar {
   width: 100%;
   background: var(--bmc-crimson);
   border-collapse: collapse !important;
   color: #fff;
   font-size: 0.83rem;
   font-size: 0.75rem;
  padding: 6px 0;
  text-align: right;
   font-family: var(--bmc-font);
   font-family: var(--bmc-font);
  background: var(--bmc-bg);
  border: 1px solid #e4e4e4 !important;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 26px;
}
}
.bmc-topbar .bmc-inner {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.bmc-topbar a { color: #fff; opacity: 0.85; text-decoration: none; }
.bmc-topbar a:hover { opacity: 1; }
.bmc-topbar .bmc-sep { margin: 0 6px; opacity: 0.5; }


/* Wrap table for horizontal scroll on mobile */
 
.wikitable-wrapper {
/* ── 4. Our Injected Header ─────────────────────────────────── */
   overflow-x: auto;
.bmc-header {
   border-radius: 8px;
   background: #fff;
   border: 1px solid #e4e4e4;
  border-bottom: 1px solid #e0e0e0;
   margin-bottom: 26px;
  position: sticky;
  top: 0;
   z-index: 500;
   box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  font-family: var(--bmc-font);
}
.bmc-header-inner {
  max-width: var(--bmc-max-width);
   margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
}


/* Dark header */
/* Logo */
.wikitable > thead > tr > th,
.bmc-logo {
.wikitable > tr > th {
  display: flex;
   background: #1a1a1a !important;
  align-items: center;
   color: #fff !important;
  gap: 12px;
   padding: 11px 14px !important;
  text-decoration: none;
   font-weight: 600;
  flex-shrink: 0;
  font-size: 0.78rem;
}
   text-align: left;
.bmc-logo-mark {
   letter-spacing: 0.03em;
  width: 40px; height: 40px;
   white-space: nowrap;
   background: var(--bmc-crimson);
   border: none !important;
   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: var(--bmc-text); letter-spacing: -0.2px;
   line-height: 1.2;
}
.bmc-logo-text .bmc-logo-sub {
   font-size: 0.72rem; color: var(--bmc-text-muted); font-weight: 400;
}
}


/* Body cells */
/* Right side: search + user tools from Vector (moved into our header) */
.wikitable > tbody > tr > td,
.bmc-header-right {
.wikitable > tr > td {
   display: flex;
   padding: 10px 14px !important;
   align-items: center;
   vertical-align: top;
   gap: 12px;
  border-bottom: 1px solid #f0f0f0 !important;
   border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}
}


.wikitable > tbody > tr:last-child > td {
/* The Vector search form we move into our header */
   border-bottom: none !important;
.bmc-header-right .vector-search-box,
.bmc-header-right #p-search {
   margin: 0 !important;
  padding: 0 !important;
}
}


/* Hover row */
.bmc-header-right .vector-search-box-input,
.wikitable > tbody > tr:hover > td {
.bmc-header-right #searchInput {
   background: #fafafa;
   border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 0.83rem !important;
  font-family: var(--bmc-font) !important;
  width: 180px !important;
  transition: border-color 0.15s !important;
}
}


/* Section row (use class="wikitable-section-row" in wiki markup) */
.bmc-header-right .vector-search-box-input:focus,
.wikitable .section-row > td {
.bmc-header-right #searchInput:focus {
  background: #f5f5f5 !important;
   border-color: var(--bmc-crimson) !important;
  font-weight: 600;
   outline: none !important;
   font-size: 0.8rem;
  color: #555;
   padding: 7px 14px !important;
}
}


/* Price / number column alignment */
/* User menu moved into our header */
.wikitable .price,
.bmc-header-right .vector-user-links {
.wikitable .col-right {
   display: flex !important;
  text-align: right;
   align-items: center !important;
  font-variant-numeric: tabular-nums;
   font-weight: 500;
   white-space: nowrap;
}
}




/* ── 10. Note / Alert Boxes ─────────────────────────────────── */
/* ── 5. Our Injected Navigation ─────────────────────────────── */
/* Usage in wiki: <div class="bmc-note"> ... </div>              */
.bmc-nav { display: flex; align-items: center; }
.bmc-note {
.bmc-nav > ul {
   background: #fdf6f0;
   list-style: none;
   border-left: 3px solid #e07b39;
   display: flex;
   padding: 10px 14px;
   gap: 2px;
   border-radius: 0 6px 6px 0;
   margin: 0; padding: 0;
   font-size: 0.82rem;
}
   color: #555;
.bmc-nav > ul > li { position: relative; }
   margin: 12px 0 18px;
.bmc-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
   font-size: 0.85rem; font-weight: 500; color: #333;
   border-radius: 4px; white-space: nowrap;
   transition: background 0.15s, color 0.15s;
  text-decoration: none;
   font-family: var(--bmc-font);
   font-family: var(--bmc-font);
}
.bmc-nav > ul > li > a:hover,
.bmc-nav > ul > li.bmc-active > a {
  background: #f5f5f5;
  color: var(--bmc-crimson);
  text-decoration: none;
}
}


.bmc-note strong { color: #c0622a; }
/* Dropdown arrow */
.bmc-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; opacity: 0.6; }


.bmc-note-info {
/* Dropdown menu */
   background: #f0f6ff;
.bmc-dropdown-menu {
   border-left-color: #3b7dd8;
  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: 600;
  font-family: var(--bmc-font);
}
}
 
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-note-warn {
.bmc-dropdown-menu a {
   background: #fff9e6;
   display: block; padding: 8px 18px;
   border-left-color: #d4a017;
  font-size: 0.83rem; color: #333;
  transition: background 0.12s;
   text-decoration: none;
}
.bmc-dropdown-menu a:hover {
  background: #faf0f0; color: var(--bmc-crimson); text-decoration: none;
}
}
 
.bmc-dropdown-menu .bmc-divider { border-top: 1px solid #eee; margin: 4px 0; }
/* Map to existing MediaWiki notice boxes too */
.bmc-dropdown-menu .bmc-group-label {
.mw-message-box-notice {
   padding: 6px 18px 2px; font-size: 0.7rem;
   border-left-color: #3b7dd8 !important;
  font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 0 6px 6px 0 !important;
}
}




/* ── 11. Card Components ────────────────────────────────────── */
/* ── 6. Our Injected Hero ───────────────────────────────────── */
/* Usage in wiki: <div class="bmc-card"> ... </div>              */
.bmc-hero {
.bmc-card {
   background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
   background: var(--bmc-bg-card);
   color: #fff;
  border: 1px solid var(--bmc-border);
   padding: 40px 0 36px;
   border-radius: 8px;
   padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
   font-family: var(--bmc-font);
   font-family: var(--bmc-font);
}
}
 
.bmc-hero .bmc-inner {
.bmc-card:hover {
   max-width: var(--bmc-max-width);
   border-color: var(--bmc-border-hover);
   margin: 0 auto;
   box-shadow: var(--bmc-shadow-card);
  padding: 0 24px;
}
.bmc-breadcrumb {
  font-size: 0.78rem; margin-bottom: 10px; opacity: 0.75;
}
}
 
.bmc-breadcrumb a { color: #fff; text-decoration: none; }
.bmc-card h4 {
.bmc-breadcrumb a:hover { text-decoration: underline; }
   font-size: 0.88rem;
.bmc-breadcrumb .bmc-sep { margin: 0 6px; }
  font-weight: 700;
.bmc-hero h1 {
   color: var(--bmc-crimson);
   font-size: 2rem; font-weight: 700; letter-spacing: -0.5px;
   margin-bottom: 6px;
   color: #fff !important; display: block !important;
  letter-spacing: -0.1px;
   border: none !important; padding: 0 !important; margin: 0 !important;
}
}


.bmc-card p {
  font-size: 0.82rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}


/* Grid containers */
/* ── 7. Page Layout Wrapper ─────────────────────────────────── */
.bmc-grid-2 {
/* Wraps Vector's content region in our grid */
.bmc-page-layout {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
   display: grid;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   grid-template-columns: 220px 1fr;
   gap: 16px;
   gap: 40px;
   margin: 20px 0 28px;
   font-family: var(--bmc-font);
}
}


.bmc-grid-3 {
.bmc-sidebar {
   display: grid;
   position: sticky;
   grid-template-columns: repeat(3, 1fr);
   top: 84px;
   gap: 14px;
   align-self: start;
  margin: 20px 0 28px;
}
}


.bmc-grid-4 {
.bmc-content-col {
   display: grid;
   min-width: 0; /* prevent grid blowout */
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 28px;
}
}




/* ── 12. Badges / Pills ─────────────────────────────────────── */
/* ── 8. Content Typography ──────────────────────────────────── */
/* Usage: <span class="bmc-badge bmc-badge-red">Label</span>    */
.mw-parser-output {
.bmc-badge {
   font-family: var(--bmc-font) !important;
   display: inline-block;
   font-size: 0.9rem;
   font-size: 0.68rem;
   color: #333;
   padding: 2px 7px;
   line-height: 1.6;
   border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--bmc-font);
}
}


.bmc-badge-red {
.mw-parser-output a,
  background: var(--bmc-crimson-light);
.mw-body-content a {
   color: var(--bmc-crimson);
   color: var(--bmc-crimson);
  text-decoration: none;
}
}
.mw-parser-output a:hover { color: var(--bmc-crimson-dark); text-decoration: underline; }
.mw-parser-output a:visited { color: var(--bmc-crimson); }


.bmc-badge-blue {
.mw-parser-output h2 {
   background: #e8f4fd;
   font-size: 1.35rem !important;
   color: #1a6fa8;
  font-weight: 700 !important;
   color: var(--bmc-text) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--bmc-crimson) !important;
  margin: 48px 0 18px !important;
  letter-spacing: -0.2px;
  scroll-margin-top: 88px;
}
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }


.bmc-badge-green {
.mw-parser-output h3 {
   background: #e8f9ef;
   font-size: 1rem !important;
   color: #1a8042;
  font-weight: 600 !important;
   color: var(--bmc-text) !important;
  margin: 28px 0 10px !important;
  scroll-margin-top: 88px;
}
}


.bmc-badge-gray {
.mw-parser-output h4 {
   background: #f0f0f0;
   font-size: 0.88rem !important;
   color: #555;
  font-weight: 700 !important;
   color: #444 !important;
  margin: 20px 0 8px !important;
}
}
.mw-parser-output p { margin-bottom: 14px !important; }




/* ── 13. Step List ──────────────────────────────────────────── */
/* ── 9. Tables ──────────────────────────────────────────────── */
/* Usage: <div class="bmc-steps"><div class="bmc-step">...</div></div> */
.mw-parser-output .wikitable {
.bmc-steps {
  width: 100%;
   margin: 16px 0 24px;
  border-collapse: collapse !important;
  font-size: 0.83rem;
  font-family: var(--bmc-font);
  background: var(--bmc-bg);
  border: 1px solid #e4e4e4 !important;
  margin-bottom: 26px;
}
.mw-parser-output .wikitable thead th,
.mw-parser-output .wikitable > tr > th {
  background: #1a1a1a !important;
  color: #fff !important;
  padding: 11px 14px !important;
  font-weight: 600;
  font-size: 0.78rem;
  text-align: left;
  border: none !important;
  white-space: nowrap;
}
.mw-parser-output .wikitable tbody td,
.mw-parser-output .wikitable > tr > td {
   padding: 10px 14px !important;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}
}
.mw-parser-output .wikitable tbody tr:hover td { background: #fafafa; }
.mw-parser-output .wikitable tbody tr:last-child td { border-bottom: none !important; }


.bmc-step {
 
   display: flex;
/* ── 10. Note Boxes ─────────────────────────────────────────── */
  gap: 16px;
.bmc-note {
   padding: 14px 0;
   background: #fdf6f0; border-left: 3px solid #e07b39;
   border-bottom: 1px solid #f0f0f0;
   padding: 10px 14px; border-radius: 0 6px 6px 0;
   align-items: flex-start;
   font-size: 0.82rem; color: #555; margin: 12px 0 18px;
   font-family: var(--bmc-font);
}
}
.bmc-note strong { color: #c0622a; }
.bmc-note-info { background: #f0f6ff; border-left-color: #3b7dd8; }
.bmc-note-warn { background: #fff9e6; border-left-color: #d4a017; }


.bmc-step:last-child { border-bottom: none; }


.bmc-step-num {
/* ── 11. Cards & Grids ──────────────────────────────────────── */
  flex-shrink: 0;
.bmc-card {
  width: 28px;
   background: var(--bmc-bg-card); border: 1px solid var(--bmc-border);
  height: 28px;
   border-radius: 8px; padding: 20px 22px;
   background: var(--bmc-crimson);
   transition: border-color 0.15s, box-shadow 0.15s;
  color: #fff;
   font-family: var(--bmc-font);
   border-radius: 50%;
}
   display: flex;
.bmc-card:hover {
   align-items: center;
   border-color: var(--bmc-border-hover);
  justify-content: center;
   box-shadow: 0 2px 10px rgba(163,31,52,0.07);
   font-size: 0.78rem;
   font-weight: 700;
}
}
.bmc-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--bmc-crimson); margin-bottom: 6px; }
.bmc-card p  { font-size: 0.82rem; color: #555; margin: 0; line-height: 1.5; }


.bmc-step-content { flex: 1; }
.bmc-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 20px 0 28px; }
.bmc-step-content strong { font-size: 0.88rem; color: var(--bmc-text); }
.bmc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0 28px; }
.bmc-step-content p { font-size: 0.82rem; color: #555; margin: 4px 0 0; }
.bmc-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 20px 0 28px; }




/* ── 14. Contact Block ──────────────────────────────────────── */
/* ── 12. Badges ─────────────────────────────────────────────── */
.bmc-contact-block {
.bmc-badge {
   background: var(--bmc-bg-card);
   display: inline-block; font-size: 0.68rem; padding: 2px 7px;
  border: 1px solid var(--bmc-border);
   border-radius: 10px; font-weight: 600; white-space: nowrap;
   border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.85rem;
   font-family: var(--bmc-font);
   font-family: var(--bmc-font);
}
}
.bmc-badge-red  { background: var(--bmc-crimson-light); color: var(--bmc-crimson); }
.bmc-badge-blue  { background: #e8f4fd; color: #1a6fa8; }
.bmc-badge-green { background: #e8f9ef; color: #1a8042; }
.bmc-badge-gray  { background: #f0f0f0; color: #555; }


.bmc-contact-item { display: flex; flex-direction: column; gap: 3px; }


.bmc-contact-item .label {
/* ── 13. Our Injected Footer ────────────────────────────────── */
   font-size: 0.72rem;
.bmc-footer {
  font-weight: 700;
   background: #1a1a1a; color: #aaa;
   text-transform: uppercase;
   padding: 40px 0; font-size: 0.82rem;
  letter-spacing: 0.07em;
   font-family: var(--bmc-font);
   color: #999;
}
}
 
.bmc-footer-inner {
.bmc-contact-item .value {
  max-width: var(--bmc-max-width); margin: 0 auto; padding: 0 24px;
   color: var(--bmc-text);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
   font-weight: 500;
}
.bmc-footer h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #fff; margin-bottom: 12px;
}
.bmc-footer ul { list-style: none; margin: 0; padding: 0; }
.bmc-footer ul li { margin-bottom: 6px; }
.bmc-footer ul li a { color: #aaa; text-decoration: none; }
.bmc-footer ul li a:hover { color: #fff; }
.bmc-footer-bottom {
   max-width: var(--bmc-max-width); 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;
}
}
.bmc-footer-bottom a { color: #666; }
.bmc-footer-bottom a:hover { color: #aaa; }


.bmc-contact-item a { color: var(--bmc-crimson); }
/* ── 15. Tab Panel System ───────────────────────────────────── */
/* Used on pricing page. JS activates these.                    */
/* Usage: wrap sections in <div class="tab-panel" id="tab-NAME"> */


/* ── 14. Tab Panel System ───────────────────────────────────── */
.tab-bar-wrap {
.tab-bar-wrap {
   background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
   background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
   border-bottom: 3px solid rgba(0, 0, 0, 0.15);
   border-bottom: 3px solid rgba(0,0,0,0.15);
  margin-bottom: 0;
}
}
.tab-bar {
.tab-bar {
   max-width: var(--bmc-max-width);
   max-width: var(--bmc-max-width); margin: 0 auto; padding: 0 24px;
  margin: 0 auto;
   display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 0 24px;
   display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
.tab-btn {
   flex-shrink: 0;
   flex-shrink: 0; padding: 13px 22px;
  padding: 13px 22px;
   font-size: 0.87rem; font-weight: 500;
   font-size: 0.87rem;
   color: rgba(255,255,255,0.7);
  font-weight: 500;
   background: transparent; border: none;
   color: rgba(255, 255, 255, 0.7);
   border-bottom: 3px solid transparent; margin-bottom: -3px;
   background: transparent;
   cursor: pointer; white-space: nowrap;
  border: none;
   border-bottom: 3px solid transparent;
  margin-bottom: -3px;
   cursor: pointer;
  white-space: nowrap;
   transition: color 0.15s, border-color 0.15s, background 0.15s;
   transition: color 0.15s, border-color 0.15s, background 0.15s;
   border-radius: 4px 4px 0 0;
   border-radius: 4px 4px 0 0; font-family: var(--bmc-font);
  font-family: var(--bmc-font);
}
 
.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
}
 
.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.tab-btn.active {
.tab-btn.active { color: #fff; font-weight: 600; background: rgba(255,255,255,0.12); border-bottom-color: #fff; }
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: #fff;
}
 
.tab-panel { display: none; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel.active { display: block; }




/* ── 16. Footer ─────────────────────────────────────────────── */
/* ── 15. Responsive ─────────────────────────────────────────── */
.vector-footer,
#footer {
  background: #1a1a1a !important;
  color: #aaa !important;
  padding: 40px 0 !important;
  font-size: 0.82rem;
  font-family: var(--bmc-font);
  border-top: none !important;
}
 
.vector-footer a,
#footer a {
  color: #aaa !important;
  text-decoration: none;
}
 
.vector-footer a:hover,
#footer a:hover {
  color: #fff !important;
  text-decoration: none;
}
 
.vector-footer-container,
#footer-info,
#footer-places {
  max-width: var(--bmc-max-width) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
 
/* Footer category headings */
.vector-footer h4,
.vector-footer .mw-portlet-lang > h3,
#footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff !important;
  margin-bottom: 12px;
}
 
/* Footer link lists */
.vector-footer ul { list-style: none; }
.vector-footer ul li { margin-bottom: 6px; }
 
 
/* ── 17. Responsive ─────────────────────────────────────────── */
@media screen and (max-width: 860px) {
@media screen and (max-width: 860px) {
   .bmc-grid-2,
  .bmc-page-layout { grid-template-columns: 1fr; }
  .bmc-grid-3,
  .bmc-sidebar { position: static; }
  .bmc-grid-4 {
   .bmc-grid-2, .bmc-grid-3, .bmc-grid-4 { grid-template-columns: 1fr; }
    grid-template-columns: 1fr;
   .bmc-footer-inner { grid-template-columns: 1fr 1fr; }
  }
 
   h1.firstHeading { font-size: 1.6rem !important; }
}
}


@media screen and (max-width: 580px) {
@media screen and (max-width: 580px) {
   h1.firstHeading { font-size: 1.4rem !important; }
   .bmc-hero h1 { font-size: 1.5rem !important; }
 
   .bmc-footer-inner { grid-template-columns: 1fr; }
   .bmc-contact-block {
   .bmc-nav > ul { display: none; }
    flex-direction: column;
    gap: 16px;
  }
 
   .tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}
}

Revision as of 19:48, 8 May 2026


/* ============================================================
   MIT BioMicro Center — MediaWiki Custom Styles
   Skin: Vector-2022
   Scope: User:USERNAME/common.css  (personal preview)
   ============================================================ */


/* ── 1. Design Tokens ───────────────────────────────────────── */
:root {
  --bmc-crimson:       #a31f34;
  --bmc-crimson-dark:  #7a1626;
  --bmc-crimson-light: #fde8ec;
  --bmc-text:          #1a1a1a;
  --bmc-text-muted:    #666;
  --bmc-bg:            #fff;
  --bmc-bg-card:       #f9f9f9;
  --bmc-border:        #e8e8e8;
  --bmc-border-hover:  #c8a0a8;
  --bmc-font:          'Helvetica Neue', Arial, sans-serif;
  --bmc-max-width:     1140px;
}


/* ── 2. Hide Vector-2022 Chrome ─────────────────────────────── */
/* We replace header, left nav sidebar, and footer with our own */

.vector-header,
.vector-sticky-header,
.vector-main-menu-container,
.vector-footer,
#footer,
.mw-footer {
  display: none !important;
}

/* Remove Vector's default page padding that assumes its header height */
.mw-page-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  max-width: 100% !important;
}

.mw-page-container-inner {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Content container: remove Vector's column layout so our layout takes over */
.mw-content-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* The actual content area */
#mw-content {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide original h1 — we recreate it in the hero banner */
h1.firstHeading,
.mw-first-heading {
  display: none !important;
}

/* Hide Vector's page toolbar (edit tabs area) background/border,
   but keep the actual edit buttons visible and accessible */
.vector-page-toolbar {
  border-bottom: 1px solid var(--bmc-border) !important;
  background: #fff !important;
  max-width: var(--bmc-max-width) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Vector-2022 TOC — restyle to match our sidebar card */
.vector-toc-landmark,
#mw-panel-toc {
  margin: 0 !important;
  padding: 0 !important;
}

.vector-toc {
  background: var(--bmc-bg-card) !important;
  border: 1px solid var(--bmc-border) !important;
  border-radius: 8px !important;
  padding: 20px !important;
  box-shadow: none !important;
  font-family: var(--bmc-font) !important;
}

.vector-toc .vector-toc-title-bar {
  border-bottom: 1px solid var(--bmc-border) !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}

.vector-toc .vector-toc-title-text {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #999 !important;
}

.vector-toc-toggle { display: none !important; }

.vector-toc .vector-toc-link {
  font-size: 0.82rem !important;
  color: #444 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  transition: background 0.12s, color 0.12s !important;
  text-decoration: none !important;
  display: block !important;
}

.vector-toc .vector-toc-link:hover {
  background: #f0e8ea !important;
  color: var(--bmc-crimson) !important;
  text-decoration: none !important;
}

.vector-toc-list-item-active > .vector-toc-link {
  color: var(--bmc-crimson) !important;
  font-weight: 600 !important;
  background: #fdf5f6 !important;
}

.vector-toc .vector-toc-list .vector-toc-list > li > .vector-toc-link {
  padding-left: 20px !important;
  font-size: 0.78rem !important;
  color: var(--bmc-text-muted) !important;
}


/* ── 3. Our Injected Topbar ─────────────────────────────────── */
.bmc-topbar {
  background: var(--bmc-crimson);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: right;
  font-family: var(--bmc-font);
}
.bmc-topbar .bmc-inner {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.bmc-topbar a { color: #fff; opacity: 0.85; text-decoration: none; }
.bmc-topbar a:hover { opacity: 1; }
.bmc-topbar .bmc-sep { margin: 0 6px; opacity: 0.5; }


/* ── 4. Our Injected Header ─────────────────────────────────── */
.bmc-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  font-family: var(--bmc-font);
}
.bmc-header-inner {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.bmc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.bmc-logo-mark {
  width: 40px; height: 40px;
  background: var(--bmc-crimson);
  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: var(--bmc-text); letter-spacing: -0.2px;
  line-height: 1.2;
}
.bmc-logo-text .bmc-logo-sub {
  font-size: 0.72rem; color: var(--bmc-text-muted); font-weight: 400;
}

/* Right side: search + user tools from Vector (moved into our header) */
.bmc-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* The Vector search form we move into our header */
.bmc-header-right .vector-search-box,
.bmc-header-right #p-search {
  margin: 0 !important;
  padding: 0 !important;
}

.bmc-header-right .vector-search-box-input,
.bmc-header-right #searchInput {
  border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 0.83rem !important;
  font-family: var(--bmc-font) !important;
  width: 180px !important;
  transition: border-color 0.15s !important;
}

.bmc-header-right .vector-search-box-input:focus,
.bmc-header-right #searchInput:focus {
  border-color: var(--bmc-crimson) !important;
  outline: none !important;
}

/* User menu moved into our header */
.bmc-header-right .vector-user-links {
  display: flex !important;
  align-items: center !important;
}


/* ── 5. Our Injected Navigation ─────────────────────────────── */
.bmc-nav { display: flex; align-items: center; }
.bmc-nav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0; padding: 0;
}
.bmc-nav > ul > li { position: relative; }
.bmc-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem; font-weight: 500; color: #333;
  border-radius: 4px; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  font-family: var(--bmc-font);
}
.bmc-nav > ul > li > a:hover,
.bmc-nav > ul > li.bmc-active > a {
  background: #f5f5f5;
  color: var(--bmc-crimson);
  text-decoration: none;
}

/* Dropdown arrow */
.bmc-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; opacity: 0.6; }

/* Dropdown menu */
.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: 600;
  font-family: var(--bmc-font);
}
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-dropdown-menu a {
  display: block; padding: 8px 18px;
  font-size: 0.83rem; color: #333;
  transition: background 0.12s;
  text-decoration: none;
}
.bmc-dropdown-menu a:hover {
  background: #faf0f0; color: var(--bmc-crimson); text-decoration: none;
}
.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;
}


/* ── 6. Our Injected Hero ───────────────────────────────────── */
.bmc-hero {
  background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
  color: #fff;
  padding: 40px 0 36px;
  font-family: var(--bmc-font);
}
.bmc-hero .bmc-inner {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.bmc-breadcrumb {
  font-size: 0.78rem; margin-bottom: 10px; opacity: 0.75;
}
.bmc-breadcrumb a { color: #fff; text-decoration: none; }
.bmc-breadcrumb a:hover { text-decoration: underline; }
.bmc-breadcrumb .bmc-sep { margin: 0 6px; }
.bmc-hero h1 {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.5px;
  color: #fff !important; display: block !important;
  border: none !important; padding: 0 !important; margin: 0 !important;
}


/* ── 7. Page Layout Wrapper ─────────────────────────────────── */
/* Wraps Vector's content region in our grid */
.bmc-page-layout {
  max-width: var(--bmc-max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  font-family: var(--bmc-font);
}

.bmc-sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
}

.bmc-content-col {
  min-width: 0; /* prevent grid blowout */
}


/* ── 8. Content Typography ──────────────────────────────────── */
.mw-parser-output {
  font-family: var(--bmc-font) !important;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}

.mw-parser-output a,
.mw-body-content a {
  color: var(--bmc-crimson);
  text-decoration: none;
}
.mw-parser-output a:hover { color: var(--bmc-crimson-dark); text-decoration: underline; }
.mw-parser-output a:visited { color: var(--bmc-crimson); }

.mw-parser-output h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--bmc-text) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--bmc-crimson) !important;
  margin: 48px 0 18px !important;
  letter-spacing: -0.2px;
  scroll-margin-top: 88px;
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }

.mw-parser-output h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--bmc-text) !important;
  margin: 28px 0 10px !important;
  scroll-margin-top: 88px;
}

.mw-parser-output h4 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #444 !important;
  margin: 20px 0 8px !important;
}

.mw-parser-output p { margin-bottom: 14px !important; }


/* ── 9. Tables ──────────────────────────────────────────────── */
.mw-parser-output .wikitable {
  width: 100%;
  border-collapse: collapse !important;
  font-size: 0.83rem;
  font-family: var(--bmc-font);
  background: var(--bmc-bg);
  border: 1px solid #e4e4e4 !important;
  margin-bottom: 26px;
}
.mw-parser-output .wikitable thead th,
.mw-parser-output .wikitable > tr > th {
  background: #1a1a1a !important;
  color: #fff !important;
  padding: 11px 14px !important;
  font-weight: 600;
  font-size: 0.78rem;
  text-align: left;
  border: none !important;
  white-space: nowrap;
}
.mw-parser-output .wikitable tbody td,
.mw-parser-output .wikitable > tr > td {
  padding: 10px 14px !important;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}
.mw-parser-output .wikitable tbody tr:hover td { background: #fafafa; }
.mw-parser-output .wikitable tbody tr:last-child td { border-bottom: none !important; }


/* ── 10. Note Boxes ─────────────────────────────────────────── */
.bmc-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;
  font-family: var(--bmc-font);
}
.bmc-note strong { color: #c0622a; }
.bmc-note-info { background: #f0f6ff; border-left-color: #3b7dd8; }
.bmc-note-warn { background: #fff9e6; border-left-color: #d4a017; }


/* ── 11. Cards & Grids ──────────────────────────────────────── */
.bmc-card {
  background: var(--bmc-bg-card); border: 1px solid var(--bmc-border);
  border-radius: 8px; padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--bmc-font);
}
.bmc-card:hover {
  border-color: var(--bmc-border-hover);
  box-shadow: 0 2px 10px rgba(163,31,52,0.07);
}
.bmc-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--bmc-crimson); margin-bottom: 6px; }
.bmc-card p  { font-size: 0.82rem; color: #555; margin: 0; line-height: 1.5; }

.bmc-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 20px 0 28px; }
.bmc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0 28px; }
.bmc-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 20px 0 28px; }


/* ── 12. Badges ─────────────────────────────────────────────── */
.bmc-badge {
  display: inline-block; font-size: 0.68rem; padding: 2px 7px;
  border-radius: 10px; font-weight: 600; white-space: nowrap;
  font-family: var(--bmc-font);
}
.bmc-badge-red   { background: var(--bmc-crimson-light); color: var(--bmc-crimson); }
.bmc-badge-blue  { background: #e8f4fd; color: #1a6fa8; }
.bmc-badge-green { background: #e8f9ef; color: #1a8042; }
.bmc-badge-gray  { background: #f0f0f0; color: #555; }


/* ── 13. Our Injected Footer ────────────────────────────────── */
.bmc-footer {
  background: #1a1a1a; color: #aaa;
  padding: 40px 0; font-size: 0.82rem;
  font-family: var(--bmc-font);
}
.bmc-footer-inner {
  max-width: var(--bmc-max-width); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.bmc-footer h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #fff; margin-bottom: 12px;
}
.bmc-footer ul { list-style: none; margin: 0; padding: 0; }
.bmc-footer ul li { margin-bottom: 6px; }
.bmc-footer ul li a { color: #aaa; text-decoration: none; }
.bmc-footer ul li a:hover { color: #fff; }
.bmc-footer-bottom {
  max-width: var(--bmc-max-width); 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;
}
.bmc-footer-bottom a { color: #666; }
.bmc-footer-bottom a:hover { color: #aaa; }


/* ── 14. Tab Panel System ───────────────────────────────────── */
.tab-bar-wrap {
  background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
  border-bottom: 3px solid rgba(0,0,0,0.15);
}
.tab-bar {
  max-width: var(--bmc-max-width); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; padding: 13px 22px;
  font-size: 0.87rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: transparent; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  cursor: pointer; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  border-radius: 4px 4px 0 0; font-family: var(--bmc-font);
}
.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.tab-btn.active { color: #fff; font-weight: 600; background: rgba(255,255,255,0.12); border-bottom-color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }


/* ── 15. Responsive ─────────────────────────────────────────── */
@media screen and (max-width: 860px) {
  .bmc-page-layout { grid-template-columns: 1fr; }
  .bmc-sidebar { position: static; }
  .bmc-grid-2, .bmc-grid-3, .bmc-grid-4 { grid-template-columns: 1fr; }
  .bmc-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 580px) {
  .bmc-hero h1 { font-size: 1.5rem !important; }
  .bmc-footer-inner { grid-template-columns: 1fr; }
  .bmc-nav > ul { display: none; }
}