/* Janex Guides: listing cards, breadcrumb and article layout. Loaded only by the janexGuides and janexGuide templates, after janex.css. */

.block + .jx-guides { padding-top: 0; }
.jx-guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--jx-space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.jx-guide-card { position: relative; display: flex; flex-direction: column; gap: var(--jx-space-2); padding: var(--jx-space-6); background: var(--jx-surface); border: 1px solid var(--jx-border); border-radius: 12px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.jx-guide-card:hover { border-color: var(--jx-brand-purple); box-shadow: 0 6px 20px rgb(35 20 98 / 0.08); }
.jx-guide-card:focus-within { outline: 3px solid var(--jx-focus-ring); outline-offset: 2px; }
.jx-guide-card__service { margin: 0; color: var(--jx-brand-purple); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.jx-guide-card__title { margin: 0; font-size: 20px; line-height: 28px; }
.jx-guide-card__title a { color: var(--jx-text); text-decoration: none; }
.jx-guide-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.jx-guide-card__title a:focus-visible { outline: none; }
.jx-guide-card__summary { margin: 0; color: var(--jx-text-muted); }
.jx-guide-card__more { margin-top: auto; padding-top: var(--jx-space-2); color: var(--jx-action); font-weight: 600; }
.jx-guides--more { background: var(--jx-surface-alt); }
.jx-guides--more .block__title { margin-bottom: var(--jx-space-8); }

.jx-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--jx-space-2); margin: 0 0 var(--jx-space-6); padding: 0; font-size: 14px; line-height: 20px; }
.jx-breadcrumb li + li::before { content: "/"; margin-right: var(--jx-space-2); color: var(--jx-text-muted); }
.jx-breadcrumb a { color: var(--jx-action); }

.jx-guide__header { max-width: 44rem; margin-bottom: var(--jx-space-8); }
.jx-guide__title { margin-bottom: var(--jx-space-3); }
.jx-guide__meta { margin: 0; color: var(--jx-text-muted); font-size: 15px; line-height: 22px; }
.jx-guide__body { max-width: 44rem; font-size: 18px; line-height: 30px; }
.jx-guide__body h2 { font-size: 26px; line-height: 34px; }
.jx-guide__body h3 { font-size: 20px; line-height: 28px; }
.jx-guide__body a { color: var(--jx-action); }
.jx-guide__body strong { color: var(--jx-text); }

@media (prefers-reduced-motion: reduce) { .jx-guide-card { transition: none; } }

/* Guide images */
.jx-guide__image { width: 100%; max-width: 56rem; aspect-ratio: 16 / 9; height: auto; object-fit: cover; margin: 0 0 var(--jx-space-8); border-radius: 12px; }
.jx-guide-card__image { order: -1; width: calc(100% + 2 * var(--jx-space-6)); max-width: none; aspect-ratio: 16 / 9; height: auto; object-fit: cover; margin: calc(-1 * var(--jx-space-6)) calc(-1 * var(--jx-space-6)) var(--jx-space-2); border-radius: 11px 11px 0 0; }
.jx-guide-card { overflow: hidden; }
