/* Blog post template pieces (includes/blog-post.php). Tokens match the fragments. */

/* The sidebar clears the header's "Give Us A Call" pill (runbook: more top padding). */
body.single-post .fl-sidebar { padding-top: 56px; }
body.single-post .fl-sidebar .widget_ls_fragment { margin-bottom: 24px; }

/* The theme's own author box (Customizer) would repeat ours: hide it only where ours rendered. */
.fl-post:has(.lsf-post-author) .fl-author-box { display: none; }

.lsf-post-after { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; font-family: "DM Sans", -apple-system, system-ui, sans-serif; }

.lsf-post-author { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid #dee7f3; border-radius: 18px; }
.lsf-post-author__avatar { width: 72px; height: 72px; border-radius: 50%; flex: 0 0 72px; object-fit: cover; }
.lsf-post-author__text p { margin: 0; }
.lsf-post-author__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2c6fd1; }
.lsf-post-author__name { font-size: 18px; font-weight: 700; color: #0f1d2e; margin-top: 4px !important; }
.lsf-post-author__bio { font-size: 15px; line-height: 1.6; color: #4a5a70; margin-top: 6px !important; }

.lsf-keep-reading__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.lsf-keep-reading__heading { font-size: 24px; font-weight: 700; color: #0f1d2e; margin: 0; }
.lsf-keep-reading__all { font-weight: 600; color: #2c6fd1; text-decoration: none; white-space: nowrap; }
.lsf-keep-reading__all:hover { text-decoration: underline; }
.lsf-keep-reading__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lsf-keep-reading__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #dee7f3; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; }
.lsf-keep-reading__card:hover { border-color: #b9cbe6; }
.lsf-keep-reading__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3fb; }
.lsf-keep-reading__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lsf-keep-reading__title { font-size: 16px; font-weight: 700; line-height: 1.35; color: #0f1d2e; padding: 14px 16px 6px; }
.lsf-keep-reading__date { font-size: 13px; color: #6b7a90; padding: 0 16px 16px; margin-top: auto; }

@media (max-width: 768px) {
  body.single-post .fl-sidebar { padding-top: 24px; }
  .lsf-keep-reading__grid { grid-template-columns: 1fr; }
  .lsf-post-author { padding: 18px; }
}

/* Phones: the photo above the text, or the bio is squeezed into a narrow column. */
@media (max-width: 560px) {
  .lsf-post-author { flex-direction: column; gap: 12px; }
  .lsf-post-author__avatar { width: 56px; height: 56px; flex-basis: auto; }
}
