/* Base colors and typography mirroring Wikipedia Vector skin */
html, body {
    background: #f6f6f6;
    color: #202122;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: 14px;
}
/* Headings use a serif stack similar to Wikipedia wordmark/content titles */
h1, h2, h3, h4, h5, h6 {
    color: #202122;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: normal;
    margin: 0.6em 0 0.3em;
}
.firstHeading {
    font-size: 2em;
    margin-top: 0.2em;
}
.visually-hidden { position: absolute; left: -9999px; }
/* Header */
.mw-header {
    border-bottom: 1px solid #a2a9b1;
    background: #fff;
}
.mw-header-inner, .mw-header-tools {
    max-width: 1600px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between;
}
.mw-wordmark {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 20px; color: #202122; text-decoration: none;
}
.mw-user-links { font-size: 13px; }
.mw-sep { color: #72777d; margin: 0 6px; }
/* Search */
.mw-search { display: flex; gap: 6px; }
.mw-search input {
    border: 1px solid #a2a9b1; padding: 6px 8px; background: #fff; color: #202122; border-radius: 2px; width: 240px;
}
.mw-button {
    border: 1px solid #a2a9b1; background: #f8f9fa; color: #202122; padding: 6px 10px; border-radius: 2px; cursor: pointer;
}
.mw-button:hover { background: #fff; }
/* Layout */
.mw-container { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px; }
.mw-sidebar { background: transparent; }
.mw-body {
    background: #fff; border: 1px solid #a2a9b1; padding: 16px; box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
/* Sidebar portals */
.mw-portal-title { font-weight: bold; font-family: Helvetica, Arial, sans-serif; font-size: 0.95em; margin: 0.6em 0; }
.mw-portal-list { list-style: none; padding: 0; margin: 0; }
.mw-portal-list li { margin: 4px 0; }
/* Tabs */
.mw-page-controls { border-bottom: 1px solid #a2a9b1; margin-bottom: 10px; }
.mw-tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.mw-tabs li { display: inline-block; }
.mw-tabs a {
    display: inline-block; padding: 6px 10px; border: 1px solid #a2a9b1; border-bottom: none; background: #f8f9fa; color: #202122; text-decoration: none; border-top-left-radius: 2px; border-top-right-radius: 2px;
}
.mw-tabs .selected a { background: #fff; }
/* Links */
a { color: #0645ad; text-decoration: none; }
a:visited { color: #0b0080; }
a:hover { text-decoration: underline; }
a.new { color: #ba0000; }
/* Hatnote */
.hatnote { font-size: 90%; color: #202122; background: #f8f9fa; border: 1px solid #a2a9b1; padding: 8px; margin: 8px 0; }
/* TOC */
.toc { border: 1px solid #a2a9b1; background: #f8f9fa; padding: 8px; margin: 12px 0; width: 260px; float: right; }
.toctitle { display: flex; align-items: center; justify-content: space-between; }
.toctitle h2 { font-size: 1em; margin: 0; }
.toctoggle { color: #0645ad; cursor: pointer; }
.toc ul { list-style: none; margin: 6px 0 0; padding: 0; }
.toc li { margin: 2px 0; }
.tocnumber { color: #202122; }
/* Infobox */
.infobox { float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background: #f8f9fa; width: 280px; }
.infobox .infobox-title { text-align: center !important; }
/* Add visible dividers between each infobox row and ensure table fills the infobox */
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th, .infobox td { border-top: 1px solid #a2a9b1; padding: 6px 8px; text-align: left; background: transparent; }
/* Center the caption/title more robustly */
.infobox caption.infobox-title {
    caption-side: top;
    text-align: center;
    display: block;
    width: 100%;
    margin: 0;
}
/* Infobox image: centered and responsive */
.infobox-image { text-align: center; padding: 8px; }
.infobox-image img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
/* Lead */
.mw-lead { font-size: 1em; }
/* Sections edit links */
.mw-editsection { font-size: 85%; margin-left: 6px; }
.mw-editsection-bracket { color: #72777d; }
/* Lists */
ul, ol { margin: 0.4em 0 0.8em 1.6em; }
dl { margin: 0.4em 0 0.8em 0; }
dt { font-weight: bold; }
/* Wikitable */
table.wikitable {
    background: #fff; color: #202122; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse;
}
.wikitable th, .wikitable td {
    border: 1px solid #a2a9b1; padding: 0.4em 0.6em;
}
.wikitable th {
    background: #f8f9fa; text-align: center; font-weight: bold;
}
/* Blockquote and code */
blockquote { border-left: 3px solid #a2a9b1; margin: 0.8em 0; padding: 0.2em 0.8em; background: #f8f9fa; }
pre, code { font-family: Consolas, "Lucida Console", Monaco, monospace; font-size: 12px; }
pre { background: #f8f9fa; border: 1px solid #a2a9b1; padding: 8px; overflow: auto; }
/* References */
.references { border-top: 1px solid #a2a9b1; margin-top: 1.2em; }
.references-list { margin: 0.6em 0 0 1.6em; }
.reference { font-size: 80%; }
.reference a { color: #0645ad; }
/* Navbox */
.navbox { border: 1px solid #a2a9b1; background: #f8f9fa; margin: 1em 0; }
.navbox table { width: 100%; border-collapse: collapse; }
.navbox-title { width: 180px; background: #fff; border-right: 1px solid #a2a9b1; padding: 6px; text-align: center; }
.navbox-list { padding: 6px; }
.hlist { list-style: none; margin: 0; padding: 0; }
.hlist li { display: inline; }
.hlist li + li:before { content: " · "; color: #72777d; }
/* Categories */
.catlinks { border: 1px solid #a2a9b1; background: #f8f9fa; padding: 6px; font-size: 90%; }
.catlinks ul { list-style: none; margin: 0; padding: 0; }
.catlinks li { display: inline; }
.catlinks li + li:before { content: " "; }
/* Footer */
.mw-footer { color: #202122; font-size: 90%; margin-top: 1em; border-top: 1px solid #a2a9b1; padding-top: 8px; }
.footer-places { list-style: none; margin: 0; padding: 0; }
.footer-places li { display: inline; }
.footer-places li + li:before { content: " · "; color: #72777d; }
/* Utility */
.nowrap { white-space: nowrap; }
.external.text { }
.mw-link { color: #0645ad; }
.mw-link:visited { color: #0b0080; }
/* Responsive adjustments */
@media (max-width: 1024px) {
    .mw-container { grid-template-columns: 1fr; }
    .mw-sidebar { display: none; }
    .toc { float: none; width: auto; }
}