.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .post {
    #background-color: #111111;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .post h3 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .post .date {
    font-size: 0.9rem;
    color: #666;
  }
  
  .post .summary {
    margin: 0.5rem 0;
    font-size: 1rem;
  }
  
  .post .read-more {
    color: #007bff;
    text-decoration: none;
  }
  
  .post .read-more:hover {
    text-decoration: underline;
  }

  article .title{
    font:bold;
    font-size: 3em;
    text-decoration: underline;
  }
  
  .post-meta{
    font-size: smaller;
    color: #555555;
  }

  .builtWith{
    font-size: xx-small;
    color: #555555;
  }
  
  .copyright{
    font-size: xx-small;
    color: #555555;
  }

  #social{
    font-size: small;
  }

.img-grid {
  display: grid;
  gap: 12px;
  align-items: start;
}

.img-grid > * {
  margin: 0;              /* kills default figure margins */
}

.img-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.img-grid-2 { grid-template-columns: repeat(2, 1fr); }
.img-grid-3 { grid-template-columns: repeat(3, 1fr); }
.img-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 700px) {
  .img-grid-2, .img-grid-3, .img-grid-4 { grid-template-columns: 1fr; }
}

/* Lightbox dialog must escape grid layout */
dialog.lb-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  /* display: block; */
  max-width: none;
  max-height: none;

  border: none;
  padding: 14px;
  border-radius: 10px;
}

/* Dark backdrop */
dialog.lb-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
