/* /business home page: the page listing (blog-index style cards). Everything else comes from sweatpals.css. */


.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.post:hover, .post:focus-within { transform: translateY(-3px); border-color: var(--ink); }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.post:hover .post-thumb img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post .cat {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: 7px 11px; border-radius: 999px;
  background: var(--tint-aqua); color: var(--ink);
  margin-bottom: 16px;
}
.post .cat.cat-solution, .post .cat.cat-switching { background: var(--tint-yellow); }
.post .cat.cat-guide { background: var(--tint-green); }
.post h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; text-wrap: pretty; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post p { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-bottom: 18px; text-wrap: pretty; }
.post-meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--muted);
}
.post .more { margin-top: 14px; }
.post:hover .more .i { transform: translateX(3px); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .post-body { padding: 22px; }
}
