/* Blog post: narrow single column following the original Blocksy post layout.
   750px wide (90% / 88% on smaller screens), no sidebar, no featured image. */
.post {
  width: 90%; max-width: 750px; margin: 0 auto; padding: 60px 0 100px;
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #3a4f66;
  overflow-wrap: break-word;
}
.post h1, .post h2, .post h3, .post h4, .post h5 { font-family: inherit; letter-spacing: normal; color: #192a3d; line-height: 1.5; }

.post-header { margin-bottom: 40px; }
.post-header h1 { font-size: 30px; margin: 0; }
.post-excerpt { margin: 20px 0 0; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  list-style: none; padding: 0; margin: 20px 0 0;
  font-size: 12px; line-height: 1.3; font-weight: 600; text-transform: uppercase;
}
.post-meta li:not(:last-child) { margin-right: 9px; }
.post-meta li:not(:last-child)::after { content: "/"; position: relative; top: -1.2px; margin-left: 9px; }
/* default (mystery person) avatar the original shows before the author */
.post-author { display: flex; align-items: center; min-height: 25px; }
.post-author::before {
  content: ""; width: 25px; height: 25px; margin-right: 6px; border-radius: 50%; flex: none;
  background: #ddd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='19' r='9' fill='%23fff'/%3E%3Cpath d='M7 46c2-10 9-15 18-15s16 5 18 15z' fill='%23fff'/%3E%3C/svg%3E") center / cover;
}

.post-content > * { margin: 0 0 24px; }
.post-content > :first-child { margin-top: 0; }
.post-content > :last-child { margin-bottom: 0; }
.post-content h2 { font-size: 35px; margin: 52.5px 0 20.5px; }
.post-content h2.as-h1 { font-size: 40px; margin: 60px 0 22px; } /* was an h1 in WordPress */
.post-content h3 { font-size: 30px; margin: 45px 0 19px; }
.post-content h4 { font-size: 25px; margin: 37.5px 0 17.5px; }
.post-content h5 { font-size: 20px; margin: 30px 0 16px; }
.post-content a { color: #2872fa; }
.post-content ul, .post-content ol { padding-left: 40px; }
.post-content img { height: auto; }
.post-content iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.post-content figure:empty { display: none; }
.post-content figcaption { font-size: 14px; line-height: 1.65; margin-top: 7px; text-align: center; }
.post-content figcaption a { text-decoration: none; }
.post-content blockquote { border-left: 4px solid #2872fa; padding: 0 0 0 24px; }
.post-content blockquote.quote-large { margin-bottom: 16px; padding: 0 16px; }
.post-content .quote-large p { font-size: 24px; line-height: 1.6; font-style: italic; }
.post-content blockquote p:last-child { margin-bottom: 0; }

/* Galleries (a figure of figures): images share a row, captions overlay the image. */
.post-content figure:has(> figure) { display: flex; flex-wrap: wrap; gap: 24px; }
.post-content figure > figure { position: relative; flex: 1 1 0; margin: 0; display: flex; }
.post-content figure > figure img { width: 100%; height: 100%; object-fit: cover; }
.post-content figure > figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 13px;
  font-size: 13px; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0));
}
.post-content figure > figure figcaption a { color: inherit; }

.post-back { margin: 60px 0 0; }
.post-back a {
  display: inline-block; padding: 0 20px; min-height: 40px; line-height: 40px; border-radius: 3px;
  background: #2872fa; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none;
}
.post-back a:hover { background: #1559ed; }

@media (max-width: 689.98px) {
  .post { width: 88%; padding-top: 50px; }
  .post-excerpt { display: none; }
}
