/* ============================================================
   iFleet — blog (index + article). Requires base.css
   ============================================================ */

/* ---- page header ---- */
.page-head { padding: 64px 0 0; }
.page-head .wrap { max-width: var(--maxw); }
.page-head h1 { font-size: 52px; margin-top: 16px; }
.page-head .lead { font-size: 19px; color: var(--ink-2); margin: 18px 0 0; max-width: 48ch; text-wrap: pretty; }

/* ---- blog index ---- */
.blog-list { padding: 48px 0 92px; }

.post-featured {
  display: block;
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
  margin-bottom: 16px; background: var(--paper);
}
.post-featured .pf-body { padding: 40px 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--ink-3); margin-bottom: 16px; }
.post-meta .cat { color: var(--accent-ink); }
.post-meta .sep { color: var(--line-2); }
.pf-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.pf-tag .sq { width: 8px; height: 8px; background: var(--accent); }
.post-featured h2 { font-size: 30px; line-height: 1.08; margin-bottom: 14px; transition: color .15s; }
.post-featured:hover h2 { color: var(--accent-ink); }
.post-featured .excerpt { font-size: 16px; color: var(--ink-2); margin: 0 0 24px; text-wrap: pretty; }
.read-more { font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 8px; }

/* row list */
.post-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: baseline;
  padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background .12s;
}
.post-row:first-of-type { border-top: 1px solid var(--line); }
.post-row:hover { background: var(--paper-2); }
.post-row .pr-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em; padding-top: 4px; }
.post-row .pr-date .cat { display: block; color: var(--accent-ink); margin-top: 6px; }
.post-row h3 { font-size: 22px; line-height: 1.12; margin-bottom: 8px; transition: color .15s; }
.post-row:hover h3 { color: var(--accent-ink); }
.post-row .pr-ex { font-size: 15.5px; color: var(--ink-2); margin: 0; max-width: 60ch; text-wrap: pretty; }
.post-row .pr-arrow { font-family: var(--font-mono); color: var(--ink-3); align-self: center; font-size: 18px; transition: transform .15s, color .15s; }
.post-row:hover .pr-arrow { color: var(--accent-ink); transform: translateX(3px); }

/* ---- article ---- */
.article { padding: 40px 0 80px; }
.article .wrap { max-width: 720px; }
.back-link { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 40px; }
.back-link:hover { color: var(--accent-ink); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 34px; margin-bottom: 40px; }
.article-head h1 { font-size: 44px; line-height: 1.06; margin: 16px 0 20px; text-wrap: balance; }
.article-head .standfirst { font-size: 20px; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.byline .who { color: var(--ink); }
.byline .av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }

/* prose */
.prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.prose > p { margin: 0 0 26px; text-wrap: pretty; }
.prose > p:first-of-type::first-letter {
  font-weight: 700; font-size: 3.4em; line-height: 0.82; float: left;
  padding: 6px 12px 0 0; color: var(--accent-ink); font-family: var(--font-sans);
}
.prose h2 { font-size: 27px; line-height: 1.15; margin: 46px 0 18px; letter-spacing: -0.015em; }
.prose h2 .h-idx { font-family: var(--font-mono); font-size: 14px; color: var(--accent-ink); display: block; margin-bottom: 8px; letter-spacing: 0.05em; font-weight: 500; }
.prose blockquote {
  margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent);
  font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty;
}
.prose strong { font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 44px 0; }

/* article end CTA */
.article-cta { background: var(--ink); color: var(--paper); }
.article-cta .wrap { max-width: 720px; padding-top: 56px; padding-bottom: 56px; }
.article-cta h3 { font-size: 26px; margin-bottom: 10px; }
.article-cta h3 .em { color: var(--accent); }
.article-cta p { color: oklch(0.78 0.01 255); margin: 0 0 24px; font-size: 16px; }

/* ============================================================
   BLOG RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .page-head h1 { font-size: 40px; }
  .post-featured .pf-body { padding: 30px 26px 32px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row .pr-date { padding-top: 0; }
  .post-row .pr-date .cat { display: inline; margin: 0 0 0 10px; }
  .post-row .pr-arrow { display: none; }
}
@media (max-width: 720px) {
  .page-head { padding: 40px 0 0; }
  .page-head h1 { font-size: 33px; }
  .page-head .lead { font-size: 17px; }
  .article-head h1 { font-size: 32px; }
  .article-head .standfirst { font-size: 18px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 23px; }
  .prose blockquote { font-size: 19px; }
  .prose > p:first-of-type::first-letter { font-size: 3em; }
}
