/* Blog: list, article, author (etransferpaydayloans.ca) */
.post-meta { margin: 14px 0 0; color: var(--text-onink); font-size: 16px; }
.post-meta a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.post-wrap .readout { max-width: 820px; margin-inline: auto; }

.post-intro p:first-child { font-size: 1.08em; }
.post .post-figure { margin: 6px 0 24px; }
.post .post-figure img { width: 100%; height: auto; display: block; }

.post-disclosure {
  margin: 30px 0 clamp(30px, 4vw, 44px);
  padding: 22px 24px 8px;
  background: var(--violet-wash);
  border: 1px solid var(--line);
  border-left: 5px solid var(--violet-deep);
  border-radius: var(--r-card);
}
.post-disclosure__title { margin: 0 0 10px; font-weight: 700; font-size: 19px; color: var(--violet-press); }
.post-disclosure ul { list-style: none; margin: 0 0 1em; padding: 0; }
.post-disclosure li { position: relative; padding: 5px 0 5px 22px; }
.post-disclosure li::before {
  content: ""; position: absolute; left: 4px; top: .95em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--violet-deep);
}

.post-author {
  clear: both; display: flex; gap: 20px; align-items: flex-start;
  margin-top: clamp(36px, 5vw, 52px); padding: 22px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
}
.post-author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.post-author__label { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.post-author__name { margin: 2px 0 0; font-weight: 700; font-size: 19px; }
.post-author__job { margin: 0 0 8px; color: var(--violet-press); font-size: 15px; }
.post-author p:last-child { margin-bottom: 0; }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-2px); border-color: var(--violet); }
.post-card__img img { display: block; width: 100%; height: auto; }
.post-card__body { padding: 18px 22px 22px; }
.post-card__date { margin: 0 0 6px; font-size: 14px; color: var(--text-dim); }
.post-card__title { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--violet-deep); }
.post-card__excerpt { margin: 0 0 12px; }
.post-card__by { margin: 0; font-size: 14px; color: var(--text-dim); }

.author-hero { display: flex; gap: 24px; align-items: center; }
.author-hero__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mint); flex: none; }
.author-skills { columns: 2; column-gap: 24px; }

@media (max-width: 640px) {
  .post-author { flex-direction: column; }
  .author-hero { flex-direction: column; align-items: flex-start; }
  .author-hero__photo { width: 96px; height: 96px; }
  .author-skills { columns: 1; }
}

/* Article contents (table of contents) */
.post-wrap.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.post-wrap.post-layout .readout { max-width: none; margin: 0; }
.post-sidebar { min-width: 0; }
.post h3[id], .post-intro { scroll-margin-top: 84px; }
.post-toc { padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.post-toc summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--violet-press); }
.post-toc ol { list-style: none; margin: 12px 0 0; padding: 0; }
.post-toc li { margin: 0 0 2px; font-size: 15px; line-height: 1.45; }
.post-toc .post-toc__sub { padding-left: 14px; font-size: 14px; }
.post-toc a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; }
.post-toc a:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 62rem) {
  .post-wrap.post-layout { grid-template-columns: 17.5rem minmax(0, 1fr); gap: 36px; }
  .post-sidebar { align-self: stretch; }
  .post-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
}
