h1 a {
  background-image: url('../../media.wandystan.eu/graf/sogo/header.png');
  background-position: top center;
  background-size: contain;
  height: 0;
  padding: 30.625% 0 0 0;
}

html, body {
  background: #fcc;
  color: black;
}

header .custom {
  display: table;
  width: 100%;
  margin: 1.12em 0 0.67em;
}

header .custom ul {
  display: table-row;
  font-size: 0.9em;
  font-weight: bold;
}

header .custom ul li {
  display: table-cell;
}

header .custom ul li::after {
  display: none;
}

header .custom ul li a {
  display: block;
  margin: 0.2em;
  padding: 0.2em 1em;
  background: #f9c;
  color: white;
  text-align: center;
}

header .custom ul li a:hover {
  background: red;
  color: yellow;
  text-decoration: none;
}

article, nav {
  float: unset;
  width: unset;
}

article {
  border: 0.36em solid #f9c;
  padding: 0 0.45em;
}

nav ul {
  list-style: none;
  margin: 0 0.67em;
  text-align: center;
}

nav ul li {
  display: inline;
  font-weight: bold;
}

nav ul li ~ li::before {
  display: inline;
  content: ' | ';
}

nav, footer {
  color: #666666;
}

h2 {
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.2em;
}

a:link {
  color: #f0c;
}

a:visited {
  color: #c0c;
}

a:hover {
  color: red;
}

[data-system-document="/w/SoGo::Strona_główna"] article {
  padding: 0;
}

[data-system-document="/w/SoGo::Strona_główna"] article h2 {
  display: none;
}

[data-system-document="/w/SoGo::Strona_główna"] article figure {
  margin: 0.5em;
  line-height: 1;
}

[data-system-document="/w/SoGo::Strona_główna"] article figure img {
  max-width: 100%;
}