/* Blog list, articles and the return policy. Loaded on those pages only, after pro.css tokens. */

/* Articles and the policy use a narrow column, hero included */
.narrow { --wrap: 780px; }
.narrow .hero-page .h1 { font-size: clamp(34px, 4.4vw, 56px); }
.hero-page .lede a { text-decoration: underline 1px; text-underline-offset: 4px; }
.hero-page .lede a:hover { color: #fff; }

/* Blog list */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; margin: 0; padding: 0; list-style: none; }
.post { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.post-shot { overflow: hidden; margin-bottom: 10px; border-radius: 18px; background: var(--mist); box-shadow: 0 0 0 1px rgb(12 21 51 / .06); }
.post-shot img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .8s var(--out); }
.post time { color: var(--muted); font-size: 13.5px; font-weight: 560; }
.post-title { color: var(--ink); font-size: 21px; line-height: 1.25; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; transition: color .35s; }
.post-desc { font-size: 15.5px; line-height: 1.55; }
.post .link { align-self: flex-start; margin-top: auto; }
@media (hover: hover) {
  .post:hover .post-shot img { transform: scale(1.04); }
  .post:hover .post-title { color: var(--cobalt); }
}

/* Article text */
.cover { width: 100%; margin-bottom: 48px; border-radius: 24px; box-shadow: 0 0 0 1px rgb(12 21 51 / .06); }
.prose { font-size: 18px; line-height: 1.7; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { margin: 56px 0 16px; color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; font-stretch: 110%; letter-spacing: -.025em; text-wrap: balance; }
.prose h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; line-height: 1.3; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--cobalt); font-weight: 600; text-decoration: underline 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose b, .prose strong { color: var(--ink); font-weight: 650; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--mist); font-size: .88em; }
.prose .short { margin: 0 0 24px; padding: 22px 26px; border-radius: 18px; background: var(--mist); }
.prose .short p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mist); color: var(--ink); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }

/* Return policy */
.policy-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.policy-options .short { margin: 0; }
.next-step { margin-top: 56px; padding: clamp(28px, 4vw, 40px); border-radius: 24px; background: var(--mist); }
.next-step h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-stretch: 110%; letter-spacing: -.02em; }
.next-step p { margin: 0 0 24px; }

@media (max-width: 960px) {
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; gap: 44px; }
  .cover { margin-bottom: 36px; border-radius: 18px; }
  .prose { font-size: 17px; }
  .policy-options { grid-template-columns: 1fr; }
}
