/* North Carolina History Wiki - shared stylesheet */
:root {
  --page-bg: #ebe3cf;
  --page-bg-2: #e4dac2;
  --parchment: #f7f1e3;
  --parchment-2: #f2ead7;
  --paper: #fffdf8;
  --ink: #202122;
  --muted: #5d5a52;
  --border: #c8bea4;
  --border-soft: #ddd4bd;
  --blue: #4b7aa6;
  --blue-dark: #2c577f;
  --blue-deep: #1f4262;
  --blue-light: #e3edf6;
  --blue-mid: #a9c2da;
  --gold: #c9a96a;
  --link: #2d5e8c;
  --link-visited: #5b4a7e;
  --link-new: #b0412e;
  --heading-rule: #c9bd9e;
  --shadow-sm: 0 1px 2px rgba(60, 45, 20, 0.08);
  --shadow: 0 1px 3px rgba(60, 45, 20, 0.10), 0 4px 14px rgba(60, 45, 20, 0.06);
  --radius: 4px;
  --serif: "Crimson Pro", "Linux Libertine", "Georgia", "Times New Roman", Times, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--page-bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page-bg) radial-gradient(1200px 600px at 0 0, rgba(255, 255, 255, 0.35), transparent 70%) no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: var(--link); text-decoration: none; }
a:visited { color: var(--link-visited); }
a:hover { text-decoration: underline; }
a.new, a.new:visited { color: var(--link-new); }
a.external::after {
  content: "\2197";
  font-size: 0.75em;
  margin-left: 2px;
  vertical-align: super;
  color: var(--muted);
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Layout ---------- */
.site {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------- Sidebar ---------- */
.sidebar {
  padding: 18px 12px 24px 16px;
  font-size: 13.5px;
}

.logo {
  display: block;
  text-align: center;
  padding: 0 0 18px;
  margin-bottom: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.logo:visited { color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  width: 124px;
  height: 124px;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 2px 3px rgba(31, 66, 98, 0.25));
  transition: transform 0.2s ease;
}
.logo:hover .logo-mark { transform: rotate(-4deg) scale(1.02); }
.logo-text {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue-deep);
}
.logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}

.portal { margin: 0 0 18px; }
.portal h3 {
  margin: 0 0 6px;
  padding: 0 0 3px 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.portal ul { list-style: none; margin: 0; padding: 0; }
.portal li { line-height: 1.3; }
.portal li a,
.portal li .inert {
  display: block;
  padding: 3px 8px;
  border-radius: 3px;
}
.portal li a:hover { background: rgba(75, 122, 166, 0.10); text-decoration: none; }
.portal .inert { color: var(--muted); }

/* ---------- Top bar ---------- */
.main-col { padding: 0 20px 0 0; min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 6px;
}
.search {
  display: flex;
  align-items: center;
  position: relative;
  flex: 0 1 460px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(75, 122, 166, 0.18);
}
.search .search-icon {
  width: 17px;
  height: 17px;
  margin-left: 10px;
  color: var(--muted);
  flex: none;
}
.search input[type="search"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  padding: 7px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.search button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 14px;
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--blue-dark);
  background: linear-gradient(180deg, #5687b4, var(--blue-dark));
  color: #fff;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.search button:hover { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); }

.personal {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.personal a { margin-left: 14px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.tabs ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tabs li a,
.tabs li span {
  display: block;
  padding: 7px 14px 6px;
  font-size: 13.5px;
  background: linear-gradient(to bottom, rgba(255, 253, 248, 0.55), rgba(233, 225, 204, 0.9));
  border: 1px solid var(--border);
  border-bottom: 0;
  margin-right: -1px;
  color: var(--link);
}
.tabs ul li:first-child a { border-top-left-radius: var(--radius); }
.tabs ul li:last-child a { border-top-right-radius: var(--radius); }
.tabs li a:hover { background: var(--paper); text-decoration: none; }
.tabs li.selected a,
.tabs li.selected span {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  position: relative;
  top: 1px;
  box-shadow: inset 0 3px 0 var(--blue);
}
.tabs li a.new { color: var(--link-new); }

/* ---------- Content ---------- */
.content {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 28px 28px;
  min-width: 0;
  overflow-wrap: break-word;
}

.firstHeading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 2px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--heading-rule);
  color: #1a1a1a;
}
.tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 14px;
}
.hatnote {
  font-style: italic;
  padding-left: 1.6em;
  margin: 0 0 10px;
  color: #3a3a3a;
}

.content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 26px 0 10px;
  border-bottom: 1px solid var(--heading-rule);
  line-height: 1.25;
  color: #1a1a1a;
}
.content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 4px;
}
.content h4 { font-size: 15px; margin: 12px 0 4px; }
.content p { margin: 6px 0 12px; }
.content ul, .content ol { margin: 4px 0 12px 1.6em; padding: 0; }
.content li { margin-bottom: 3px; }

.editsection {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 10px;
  white-space: nowrap;
}

/* ---------- Region banner ---------- */
.region-banner {
  position: relative;
  height: 96px;
  margin: 0 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.region-banner svg { display: block; width: 100%; height: 100%; }
.rb-label {
  position: absolute;
  left: 12px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(200, 190, 164, 0.9);
  border-radius: 999px;
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(2px);
  max-width: calc(100% - 24px);
}
.rb-label .icon { width: 22px; height: 22px; }
.rb-label span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.rb-label b { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--blue-deep); }
.rb-label small { font-size: 11.5px; color: var(--muted); }

/* ---------- Infobox ---------- */
.infobox {
  float: right;
  clear: right;
  width: 300px;
  margin: 2px 0 16px 22px;
  border: 1px solid var(--border);
  background: var(--parchment);
  font-size: 13px;
  line-height: 1.45;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.infobox caption {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  padding: 10px 10px 9px;
  background: linear-gradient(180deg, #5687b4 0%, var(--blue-dark) 100%);
  color: #fff;
  caption-side: top;
  border: 1px solid var(--blue-deep);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.infobox caption .ib-emblem {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 5px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.infobox caption .ib-emblem .icon { width: 22px; height: 22px; display: block; }
.infobox caption small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.92;
  margin-top: 2px;
  text-shadow: none;
}
.infobox th, .infobox td {
  padding: 4px 10px;
  vertical-align: top;
  text-align: left;
  border-top: 1px solid var(--border-soft);
}
.infobox tr:first-child > * { border-top: 0; }
.infobox th { width: 42%; font-weight: 600; color: #34332f; }
.infobox .ib-section th {
  text-align: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 8px;
  border-top: 1px solid #c9d8e6;
  border-bottom: 1px solid #c9d8e6;
  width: auto;
}
.infobox .ib-image td { text-align: center; padding: 8px 8px 6px; background: var(--paper); }
.infobox .ib-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.infobox .ib-image .ib-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.35;
}
.infobox .ib-motto td {
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  background: var(--paper);
}
.infobox .ib-motto td i { font-style: normal; font-weight: 600; }

/* ---------- Table of contents ---------- */
.toc {
  display: inline-block;
  min-width: 240px;
  max-width: 100%;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 18px 12px 14px;
  margin: 8px 0 16px;
  font-size: 13.5px;
}
.toc-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--blue-deep);
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul ul { margin: 2px 0 4px 1.7em; }
.toc li { margin: 2px 0; }
.toc a { display: inline-block; }
.toc .tocnumber {
  display: inline-block;
  min-width: 1.6em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-right: 6px;
}

/* ---------- Figures, tables ---------- */
.thumb {
  float: right;
  clear: right;
  margin: 4px 0 14px 20px;
  width: 300px;
  max-width: 100%;
  font-size: 12.5px;
}
.thumb.tleft { float: left; clear: left; margin: 4px 18px 10px 0; }
.thumb-inner {
  display: block;
  border: 1px solid var(--border);
  background: var(--parchment);
  padding: 4px;
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}
a.thumb-inner, a.thumb-inner:visited { color: var(--muted); }
a.thumb-inner:hover { text-decoration: none; border-color: var(--blue); }
.thumb img, .thumb svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-soft);
  background: var(--paper);
}
.thumb svg text { font-family: var(--sans); }
.thumb figcaption {
  padding: 5px 3px 2px;
  line-height: 1.4;
  color: var(--muted);
}

.wikitable {
  border-collapse: collapse;
  background: var(--parchment);
  border: 1px solid var(--border);
  margin: 8px 0 16px;
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}
.wikitable th, .wikitable td {
  border: 1px solid var(--border);
  padding: 5px 10px;
  text-align: left;
  vertical-align: top;
}
.wikitable th { background: var(--blue-light); color: #243b52; }
.wikitable tr:first-child th[colspan] {
  background: var(--blue-dark);
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  text-align: center;
}
.wikitable tr:nth-child(even) td { background: #fbf7ec; }
.table-wrap { overflow-x: auto; max-width: 100%; }

/* ---------- References ---------- */
sup.reference { font-size: 0.72em; line-height: 1; }
sup.reference a { white-space: nowrap; }
.references { font-size: 13px; margin-left: 2em !important; }
.references li { margin-bottom: 5px; }
.references li:target { background: var(--blue-light); border-radius: 2px; }
.reflist-note { font-size: 13px; color: var(--muted); }
blockquote {
  margin: 8px 2em 12px;
  padding: 2px 12px;
  border-left: 3px solid var(--border);
  color: #333;
}

/* ---------- Categories ---------- */
.catlinks {
  clear: both;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--parchment);
  padding: 7px 12px;
  font-size: 13px;
}
.catlinks > a { font-weight: 600; }
.catlinks ul { display: inline; list-style: none; margin: 0; padding: 0; }
.catlinks li {
  display: inline;
  padding: 0 7px;
  border-left: 1px solid var(--border);
}
.catlinks li:first-child { border-left: 0; }

/* ---------- Footer ---------- */
.footer {
  padding: 16px 4px 36px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.footer ul { list-style: none; margin: 8px 0 0; padding: 0; }
.footer li { display: inline-block; margin-right: 16px; }
.clear { clear: both; }

/* ---------- Main page ---------- */
.mp-welcome {
  position: relative;
  background:
    radial-gradient(600px 180px at 100% 0, rgba(75, 122, 166, 0.14), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--parchment));
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.mp-welcome h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin: 0;
  border: 0;
}
.mp-welcome h1 span { color: var(--blue-dark); font-weight: 600; }
.mp-welcome p { margin: 6px 0 0; font-size: 15.5px; }
.mp-welcome .mp-count { font-size: 13px; color: var(--muted); }
.content .mp-portals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 6px 10px;
  font-size: 14px;
}
.mp-portals a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.mp-portals a:hover { border-color: var(--blue); text-decoration: none; background: var(--blue-light); }
.mp-portals .icon { color: var(--blue); }

.mp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
}
.mp-box {
  --box-border: var(--border);
  --box-head: var(--parchment-2);
  --box-ink: #4f4430;
  border: 1px solid var(--box-border);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.mp-blue { --box-border: #a9c0d6; --box-head: #dde9f5; --box-ink: #22486c; }
.mp-green { --box-border: #adc6a2; --box-head: #e0eed8; --box-ink: #2f5424; }
.mp-amber { --box-border: #d6bf87; --box-head: #f5e9c8; --box-ink: #6a4f14; }
.mp-mauve { --box-border: #bfb0d4; --box-head: #e9e2f3; --box-ink: #4a3a6b; }
.mp-sand { --box-border: var(--border); --box-head: #efe6cf; --box-ink: #5a4a26; }
.content .mp-box h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid var(--box-border);
  background: var(--box-head);
  color: var(--box-ink);
}
.mp-box h2 .icon {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--box-border);
}
.mp-box .mp-body { padding: 10px 14px 12px; }
.mp-box .mp-body p { margin: 4px 0 8px; }
.mp-box .mp-body ul { margin-left: 1.3em; }
.mp-box .mp-body li { margin-bottom: 5px; }
.mp-box .mp-more {
  font-size: 13px;
  text-align: right;
  margin: 8px 0 0 !important;
  padding-top: 6px;
  border-top: 1px dashed var(--border-soft);
}
.thumb.mp-feature-img { width: 190px; margin: 4px 14px 6px 0; }
.otd-date { font-weight: 700; color: #6a4f14; }
.region-list { margin: 0 !important; padding: 0; list-style: none; }
.region-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 8px 0; border-top: 1px solid var(--border-soft); }
.region-list li:first-child { border-top: 0; padding-top: 2px; }
.region-list b { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.region-list small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.rl-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: #fff;
}
.rl-icon .icon { width: 22px; height: 22px; }
.rl-mountains { background: linear-gradient(160deg, #6f96bd, var(--blue-dark)); }
.rl-piedmont { background: linear-gradient(160deg, #a8b87f, #6d7f48); }
.rl-sandhills { background: linear-gradient(160deg, #cdb173, #8f7440); }
.rl-coast { background: linear-gradient(160deg, #5f8bb5, #1f4262); }

/* ---------- All towns index ---------- */
.az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 8px;
  font-size: 13.5px;
  margin: 8px 0 14px;
}
.az-nav a, .az-nav span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 3px;
}
.az-nav a { background: var(--paper); border: 1px solid var(--border); font-weight: 600; }
.az-nav a:hover { background: var(--blue); color: #fff; border-color: var(--blue-dark); text-decoration: none; }
.az-nav span { color: #b3ab9c; }
.az-letter { margin-bottom: 6px; }
.filter-note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--blue-light);
  border: 1px solid #c9d8e6;
  border-radius: var(--radius);
  padding: 6px 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 820px) {
  body { font-size: 15px; }
  .site { display: block; }
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 10px 16px;
    background: linear-gradient(180deg, var(--paper), var(--parchment));
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    text-align: left;
  }
  .logo .logo-mark { width: 48px; height: 48px; margin: 0; }
  .logo-text { font-size: 17px; }
  .logo-text br { display: none; }
  .logo-text small { display: none; }
  .portal { margin: 0; flex: 1 1 100%; }
  .portal h3 { display: none; }
  .portal ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .portal li a { padding: 2px 8px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--border-soft); border-radius: 999px; font-size: 13px; }
  .portal.secondary { display: none; }
  .main-col { padding: 0 8px; }
  .topbar { padding: 10px 0 2px; }
  .search { flex: 1 1 100%; }
  .personal { display: none; }
  .tabs { margin-top: 8px; overflow-x: auto; }
  .tabs li a, .tabs li span { padding: 6px 10px 5px; font-size: 13px; white-space: nowrap; }
  .content { padding: 14px 14px 20px; }
  .firstHeading { font-size: 28px; }
  .content h2 { font-size: 23px; }
  .region-banner { height: 80px; }
  .infobox, .thumb, .thumb.tleft {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 16px;
  }
  .thumb.mp-feature-img { float: left; width: 130px; margin: 2px 12px 6px 0; }
  .thumb.mp-feature-img figcaption { display: none; }
  .toc { display: block; }
  .mp-welcome { padding: 14px 16px; }
  .mp-welcome h1 { font-size: 25px; }
  .content .mp-portals { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .mp-portals a { padding: 5px 8px 5px 7px; }
  .mp-portals a { white-space: normal; font-size: 13.5px; }
  .footer { padding: 14px 8px 28px; }
}

@media (max-width: 420px) {
  .search button { padding: 0 10px; }
  .editsection { display: none; }
  .thumb.mp-feature-img { width: 110px; }
  .rb-label b { font-size: 15px; }
}

@media print {
  body { background: #fff; }
  .sidebar, .topbar, .tabs, .editsection, .region-banner { display: none; }
  .site { display: block; }
  .content { border: 0; box-shadow: none; }
}
