/* Koszty hub: guide cards and short column copy. */

.costs-index {
  padding: 8px 0 88px;
}

.costs-index-intro {
  max-width: 68ch;
  margin-bottom: 28px;
}

.costs-index-intro p + p {
  margin-top: 12px;
}

.costs-index-intro p,
.costs-note p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.costs-index a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 22px;
  background: var(--surface);
  border-radius: 26px;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.03);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.guide-card-visual {
  height: 200px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
}

.guide-card-visual img {
  width: min(200px, 82%);
  height: 170px;
  object-fit: contain;
}

.guide-card-body {
  padding: 16px 10px 0;
}

.guide-card-body h2 {
  margin: 10px 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.guide-card-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.guide-card-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}

.costs-note {
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.costs-note h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.costs-note p {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.costs-note p + p {
  margin-top: 12px;
}

.costs-faq {
  margin-top: 48px;
}

.costs-faq h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}
