:root {
  --blue: #224596;
  --pale-blue: #91a2cb;
  --ink: #000000;
  --charcoal: #333333;
  --paper: #ffffff;
  --light-link: #f6f6f6;
  --bas-red: #760602;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

.topbar {
  min-width: 780px;
  height: 20px;
  background-color: var(--pale-blue);
  background-image: url("../gfx/bg.png");
  background-position: center top;
  background-repeat: repeat-y;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 13px;
  color: var(--charcoal);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  padding: 0 10px;
}

.brand {
  color: var(--charcoal);
}

.network-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}

.network-nav span {
  color: var(--light-link);
}

.network-nav .active {
  color: var(--blue);
}

.network-nav .bas-link {
  color: var(--bas-red);
}

.site-shell {
  display: grid;
  grid-template-columns: 10px 560px 210px;
  width: 780px;
  min-height: calc(100vh - 20px);
  margin: 0 auto;
  background: var(--blue);
}

.left-rail,
.content-column {
  background: var(--blue);
}

.content-column {
  width: 560px;
  padding-top: 20px;
}

.page-title {
  margin: 0 0 15px;
}

.page-title h1 {
  margin: 0 0 15px;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 83px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
}

.page-title p {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
}

.posts {
  width: 560px;
}

.post {
  display: grid;
  grid-template-columns: 110px 450px;
  width: 560px;
  margin: 0 0 10px;
}

.post-gutter {
  position: relative;
  min-height: 100%;
  background: var(--blue);
}

.post-gutter::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  content: "";
  background: var(--charcoal);
}

.post.has-thumb .post-gutter::after {
  height: calc(100% - 10px);
}

.post.has-thumb .post-gutter {
  background-color: var(--blue);
  background-image: url("../gfx/bgplaatje.gif");
  background-repeat: repeat-y;
}

.post.has-thumb .post-gutter::before {
  position: absolute;
  top: 60px;
  left: 0;
  width: 110px;
  height: 10px;
  content: "";
  background: var(--charcoal);
}

.post-thumb {
  position: relative;
  z-index: 1;
  width: 110px;
  margin: 70px 0 0;
  padding: 0 0 10px 10px;
  background: var(--charcoal);
}

.post-thumb img {
  display: block;
  width: 100px;
  height: auto;
}

.post-frame {
  width: 450px;
  padding: 10px 10px 10px 0;
  background: var(--charcoal);
}

.post-body {
  width: 440px;
  min-height: 100%;
  padding: 10px 20px;
  background: var(--paper);
}

.post-header {
  display: grid;
  grid-template-columns: 50px 1fr;
  width: 400px;
  margin: 0 0 6px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
}

.post-number {
  font-size: 25px;
  line-height: 1.1;
}

.post-header h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.post-header time {
  grid-column: 1 / -1;
  display: block;
  min-height: 20px;
  margin-top: 3px;
  font-size: 14px;
}

.entry {
  width: 400px;
  text-align: justify;
}

.entry img {
  max-width: 400px;
  height: auto;
  border: 0;
}

.entry p {
  margin: 0 0 12px;
}

.entry a {
  color: var(--ink);
  font-weight: 700;
}

.entry a:hover {
  color: var(--blue);
}

.entry blockquote {
  margin: 10px 20px;
}

.entry ul {
  margin: 0 0 0 15px;
  padding: 0;
}

.entry li {
  margin-left: 15px;
  list-style-position: outside;
}

.entry center {
  display: block;
  text-align: center;
}

.video-embed {
  display: block;
  width: 400px;
  max-width: 400px;
  border: 0;
}

.entry iframe {
  display: block;
  width: 400px;
  max-width: 400px;
  min-height: 225px;
  margin: 8px 0 12px;
  border: 0;
}

.align-center,
.aligncenter {
  display: block;
  text-align: center;
}

.underline {
  text-decoration: underline;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 400px;
  margin: 8px 0 12px;
}

.gallery-grid a {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eeeeee;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-trigger {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}

.gallery-grid a {
  cursor: zoom-in;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  padding: 48px 24px 34px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden],
.gallery-data[hidden] {
  display: none;
}

.lightbox-figure {
  display: grid;
  justify-items: center;
  align-items: center;
  min-width: 0;
  max-height: calc(100vh - 92px);
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border: 10px solid #ffffff;
  background: #111111;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.65);
}

.lightbox-caption,
.lightbox-count {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  text-align: center;
}

.lightbox-caption {
  max-width: min(700px, calc(100vw - 120px));
  margin-top: 10px;
}

.lightbox-count {
  position: fixed;
  right: 20px;
  bottom: 14px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  font-size: 21px;
}

.lightbox-prev,
.lightbox-next {
  width: 54px;
  height: 68px;
  font-size: 32px;
}

.read-more,
.article-nav {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
}

.article-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  width: 400px;
  padding-top: 10px;
  border-top: 1px solid #dddddd;
}

.archive-search {
  width: 400px;
  height: 34px;
  margin: 4px 0 12px;
  padding: 6px 8px;
  border: 1px solid #999999;
  border-radius: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.archive-list {
  width: 400px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list li {
  margin: 0;
  padding: 0;
}

.archive-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 8px;
  padding: 5px 0;
  border-top: 1px solid #dddddd;
  font-weight: 400;
}

.archive-list span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
}

.archive-list strong {
  min-width: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.05;
}

.archive-list time {
  grid-column: 2;
  color: #666666;
  font-size: 11px;
}

.entry-twitter {
  min-height: 12px;
}

.sidebar {
  width: 210px;
  min-height: 100%;
  background: var(--paper);
}

.portrait {
  width: 210px;
  height: 230px;
  background-color: var(--charcoal);
  background-image: url("../gfx/hoofd.jpg");
  background-repeat: no-repeat;
}

.sidebar-content {
  min-height: calc(100% - 230px);
  padding: 0 20px 20px;
  background:
    linear-gradient(
      to right,
      var(--blue) 0,
      var(--blue) 10px,
      var(--charcoal) 10px,
      var(--charcoal) 200px,
      var(--blue) 200px,
      var(--blue) 210px
    );
  color: var(--paper);
}

.sidebar-date {
  margin: 0;
  padding-top: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  text-align: right;
}

.stbas-logo {
  display: block;
  width: 169px;
  margin: 22px 0 22px 1px;
}

.stbas-logo img {
  display: block;
  width: 169px;
  height: 27px;
}

.side-nav,
.side-section {
  margin: 0 0 20px;
}

.side-nav h2,
.side-section h2 {
  margin: 0 0 2px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 25px;
  line-height: 1.05;
}

.side-nav a,
.latest-posts a {
  display: block;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.08;
}

.side-section p {
  margin: 0 0 1px;
  font-family: Arial, Helvetica, sans-serif;
}

.side-section span {
  display: block;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.08;
}

.side-section em {
  display: block;
  color: var(--paper);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.08;
}

.latest-posts a {
  margin-bottom: 1px;
}

@media (max-width: 779px) {
  .topbar,
  .site-shell {
    min-width: 780px;
  }
}
