div.splitbox {width:100%; overflow:auto;}
div.splitbox div.left { width:48%; float:left;}
div.splitbox div.right { width:48%; float:right;}

@media only screen and (max-width: 600px) {
  div.splitbox div.left { width:100%; float:left;}
  div.splitbox div.right { width:100%; float:left;}
}

.post-content img.float-right {
  float: right;
  display: inline;
  margin: 0 0 1em 1em;
  max-width: 40%;
}

:root { --main-width: 960px; }

.nav { background-color: var(--code-bg); }

html[data-theme="light"] body.list .nav { background-color: var(--entry); }

.first-entry .entry-content {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.first-entry {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  #align-items: end;
}

.first-entry > .entry-header,
.first-entry > .entry-content {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.first-entry > .entry-footer {
  grid-column: 1 / 2;
  display: block;
}

.first-entry::after {
  content: "";
  grid-column: 2 / 3;
  grid-row: 1 / span 3;
  display: block;
  background-image: url("../images/header.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: var(--radius);
  min-height: 300px;
}

@media (max-width: 768px) {
  .first-entry {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .first-entry::after {
    grid-column: 1 / 2;
    order: -1;
    min-height: 200px;
  }

  .first-entry > .entry-header,
  .first-entry > .entry-content,
  .first-entry > .entry-footer {
    grid-column: 1 / 2;
    display: block;
  }
}
