/* =========================================================================
   TALENRY — Blog styles (index + article), Syphon Labs light editorial system
   ========================================================================= */

/* ============================ BLOG INDEX ============================ */
.blog-hero-dark { padding: 100px 0 88px; }
.blog-hero-dark .accent { --accent-color: var(--brand-sky); }

.blog-list { padding: 56px 0 96px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* clean text card (no visual block) */
.post-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--neutral-200); border-radius: var(--radius-xl);
  padding: 26px 26px 22px; text-decoration: none; color: inherit;
  transition: transform var(--dur-med), border-color var(--dur-med), box-shadow var(--dur-med);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--neutral-300); box-shadow: var(--shadow-md); }
.post-card .pc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.post-card .cat {
  font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow); color: var(--brand);
  background: var(--brand-soft); padding: 5px 11px; border-radius: var(--radius-pill);
}
.post-card .read { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--neutral-500); }
.post-card .read svg { width: 14px; height: 14px; }
.post-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.24; margin: 0 0 12px; color: var(--foreground); }
.post-card p { font-size: 14.5px; color: var(--neutral-600); line-height: 1.58; margin: 0 0 22px; flex: 1; }
.post-card .pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.post-card .au { display: flex; align-items: center; gap: 10px; }
.post-card .au .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.post-card .au .nm { font-size: 14px; font-weight: 600; color: var(--foreground); }
.post-card .date { font-family: var(--font-mono); font-size: 12.5px; color: var(--neutral-500); white-space: nowrap; }

/* featured = full-width row, larger type */
.post-card.feature { grid-column: 1 / -1; padding: 38px 40px 30px; }
.post-card.feature h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: var(--tracking-tight); line-height: 1.16; margin-bottom: 14px; }
.post-card.feature p { font-size: 16.5px; max-width: 680px; margin-bottom: 26px; }

/* ============================ ARTICLE ============================ */
.article-hero { background: var(--paper); padding: 72px 0 48px; }
.article-hero .wrap { max-width: 760px; margin: 0 auto; }
.article-hero .crumb { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--neutral-500); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.article-hero .crumb a { color: var(--brand); text-decoration: none; }
.article-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1.1; margin: 0; }
.article-hero .deck { color: var(--neutral-600); font-size: 19px; line-height: 1.55; margin: 18px 0 0; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 13.5px; color: var(--neutral-500); }
.article-meta .au { display: flex; align-items: center; gap: 9px; }
.article-meta .au .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.article-meta .au .nm { color: var(--foreground); font-weight: 600; }
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--neutral-400); }

.article-body { padding: 56px 0 80px; }
.article-body .wrap { max-width: 720px; margin: 0 auto; }
.article-body p { font-size: 17px; line-height: 1.72; color: var(--neutral-800); margin: 0 0 22px; }
.article-body h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1.2; margin: 48px 0 16px; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin: 34px 0 12px; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article-body strong { font-weight: 600; color: var(--foreground); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.article-body ul li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.6; color: var(--neutral-800); }
.article-body ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.article-body ol { counter-reset: li; }
.article-body ol li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.6; color: var(--neutral-800); counter-increment: li; }
.article-body ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.article-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); }
.article-body blockquote p { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--brand-accent); margin: 0; }
.article-body .lede { font-size: 19px; color: var(--neutral-700); }

/* comparison table */
.cmp-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 18px; font-size: 14.5px; border-bottom: 1px solid var(--neutral-200); }
.cmp-table thead th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-500); font-weight: 500; background: var(--neutral-50); }
.cmp-table thead th.talenry { color: var(--brand); background: var(--brand-soft); }
.cmp-table td.talenry { background: rgba(37,99,235,0.04); font-weight: 500; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table .feat { color: var(--neutral-600); font-weight: 500; }
.cmp-table .yes { color: var(--success); font-weight: 600; }
.cmp-table .no  { color: var(--neutral-400); }
.cmp-table .partial { color: var(--warning); }

/* verdict / callout box */
.callout { background: var(--paper); border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); padding: 26px 28px; margin: 32px 0; }
.callout.brand { background: var(--brand-soft); border-color: var(--brand-ring); }
.callout .ct-h { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--brand); margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.tldr { display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; }

/* end-of-article CTA */
.article-cta { background: var(--ink); color: #EEF2FB; border-radius: var(--radius-2xl); padding: 48px 44px; text-align: center; margin: 48px 0 0; --accent-color: var(--brand-sky); position: relative; overflow: hidden; }
.article-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 25%, rgba(37,99,235,0.22) 0%, transparent 70%); }
.article-cta > * { position: relative; z-index: 1; }
.article-cta h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: var(--tracking-tight); margin: 0 0 10px; color: #F6F8FE; }
.article-cta p { color: #AEB6CC; font-size: 16px; margin: 0 auto 24px; max-width: 440px; }

/* related posts strip */
.related { border-top: 1px solid var(--border); padding: 56px 0 96px; }
.related h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 24px; text-align: center; }

@media (max-width: 920px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-body p, .article-body ul li, .article-body ol li { font-size: 16px; }
  .article-cta, .post-card.feature { padding: 32px 24px; }
}
