/* blog-shared.css -- component styles shared between blog.html (the
   listing grid) and every blog/<slug>.html article page: the card
   visual/icon system, category tag, and reading-time badge. */

.blog-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.blog-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.22), transparent 55%);
}

.blog-visual svg {
  position: relative;
  width: 40px;
  height: 40px;
  color: #f4faff;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.28));
}

.blog-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-visual--payments { background: linear-gradient(145deg, rgba(11,201,255,.95), rgba(10,134,255,.9)); }
.blog-visual--tax { background: linear-gradient(145deg, rgba(154,126,255,.98), rgba(32,74,210,.9)); }
.blog-visual--formation,
.blog-visual--state-fee { background: linear-gradient(145deg, rgba(11,201,255,.9), rgba(139,53,255,.85)); }

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-soft);
  background: rgba(6, 20, 52, .6);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-tag--tax { color: #b79bff; }
.category-tag--formation,
.category-tag--state-fee { color: #7fd8ff; }

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.reading-time svg { width: 14px; height: 14px; }

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 211, 255, .85);
  box-shadow: 0 20px 44px rgba(0,0,0,.3), 0 0 26px rgba(0, 194, 255, .16);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.blog-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
}

.blog-card h3 a {
  color: #fff;
}

.blog-card h3 a:hover {
  color: var(--cyan);
}

.blog-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.blog-card .read-more svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.blog-card:hover .read-more svg {
  transform: translateX(3px);
}
