.log-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  width: 100%;
  row-gap: 10px;
  align-items: flex-end;
}

.log-entry {
  width: 300px;
}

.log-entry a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.log-entry img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid black;
}

.placeholder {
  width: 100%;
  height: 300px;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.log-entry-title-placeholder {
  /* blue and purple */
  /* background: linear-gradient(135deg, #dfe1ff 0%, #6b72ff 100%) */
  background: #f2f2f2;
}

.construction-placeholder {
  --construction-color: #ffff73;
  --line-size: 90px;
  position: relative;
  bottom: 8px;
  /* display: none; */
  background: repeating-linear-gradient(
    45deg,
    var(--construction-color),
    var(--construction-color) var(--line-size),
    /* #ffe062 var(--line-size), */
    #000000 var(--line-size),
    #000000 calc(var(--line-size) * 2)
  );
}

.spacer {
  /* width: 50px; */
}

.placeholder span {
  text-align: center;
  background: white;
  padding: 12px 16px;
  font-size: 0.85rem;
  border: 1px solid black;
  font-weight: bold;
}

.log-entry img.preview-position-left {
  object-position: top left;
}

.log-entry img.preview-position-middle {
  object-position: center;
}

.log-entry:hover img {
  outline: 1px solid var(--highlight);
  border-color: var(--highlight);
}

.log-entry:hover .log-entry-caption {
  color: var(--highlight);
}

.log-entry-caption {
  font-size: 0.9rem;
  line-height: 1.3;
}

.log-entry-date {
    font-family: "Iosevka", "Fira Mono", "menlo", monospace;
  }

.log-entry-title {
  font-weight: bold;
}

.addendum {
  margin-top: 200px;
  float: left;
}

@media screen and (max-width: 680px) {
  .log-entry {
    width: calc(50% - 8px);
  }

  .log-entry img {
    height: auto;
    aspect-ratio: 1;
  }

  .construction-placeholder {
    height: auto;
    aspect-ratio: 1;
    & span {
      width: 100%;
      border-left-width: 0px;
      border-right-width: 0px;
    }
  }
}

body.template-log, body.template-log-entry {
  max-width: 100%;
  margin-top: 0px;
}

.log-title {
  /* font-weight: normal; */
  font-size: 1.2rem;
  margin-top: 8px;
  margin-bottom: 0px;
}

.log-entry-show {
  max-width: 600px;
}

.log-entry-show .log-entry-caption {
  font-size: 1.1rem;
}

.log-entry-show img {
  width: 100%;
  border: 1px solid black;
}

.log-entry-description {
  max-width: 600px;
  margin-top: 16px;
}

.template-log-entry .log-entry-caption {
  margin-bottom: 4px;
  margin-left: 1px;
  color: black;
}

.template-log-entry .title {
  display: none;
}

.log-rss {
  margin-top: 2px;
}