/* Karty poradników klastra (V13) — trzy równe karty; ładowany na stronach z modułem (inc/clusters.php). Tokeny --gh-* z site.css. */
/* ——— V13: karty poradników klastra (trzy równe karty) ——— */
.gh-guide-cards { max-width: 1280px; margin: 40px auto 0; padding: 0 24px; box-sizing: border-box; }
.gh-guide-cards .gh-guide-cards__title { margin: 0 0 18px; font-family: var(--gh-head-font); font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.2; color: var(--gh-ink); }
.gh-guide-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.gh-guide-cards--n1 .gh-guide-cards__grid { grid-template-columns: minmax(0, 420px); }
.gh-guide-cards--n2 .gh-guide-cards__grid { grid-template-columns: repeat(2, minmax(0, 420px)); }
.gh-guide-card { display: flex; margin: 0; }
.gh-guide-card > a { display: flex; flex-direction: column; width: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius, 16px); box-shadow: 0 6px 22px rgba(30, 60, 30, 0.06); transition: box-shadow 0.18s, transform 0.18s; }
.gh-guide-card > a:hover { box-shadow: 0 12px 30px rgba(30, 60, 30, 0.12); transform: translateY(-2px); }
.gh-guide-card > a:focus-visible { outline: 3px solid var(--gh-ink); outline-offset: 3px; }
.gh-guide-card__img { display: block; aspect-ratio: 3 / 2; background: var(--gh-surface); overflow: hidden; }
.gh-guide-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-guide-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.gh-guide-card__title { font-family: var(--gh-head-font); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--gh-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gh-guide-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--gh-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gh-guide-card__cta { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--gh-green-dark); }
@media (max-width: 1023px) { .gh-guide-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gh-guide-cards--n1 .gh-guide-cards__grid { grid-template-columns: minmax(0, 520px); } }
@media (max-width: 639px) { .gh-guide-cards { padding: 0 16px; } .gh-guide-cards__grid, .gh-guide-cards--n2 .gh-guide-cards__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gh-guide-card > a { transition: none; } .gh-guide-card > a:hover { transform: none; } }
