/* 2026-11-28 — "More from QSE Games" (/products). Layout and type come from qse-guide.css (.guide-wrap, PageHeader);
   this adds the product cards. UI alignment rule: every card is the same size (equal grid cells, rows of equal height)
   and every button the same width and height, the first column flush left. Two columns on desktop, one on phones. */

.qp-page .qx-ph .lede { max-width: 70ch; }

.qp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; margin: 8px 0 32px; }
@media (max-width: 720px) { .qp-grid { grid-template-columns: minmax(0, 1fr); } }

.qp-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--qse-border, #e2e6ea); border-radius: 10px;
    background: var(--qse-surface, #fff); overflow: hidden; }

/* Every thumb is the same 16:9 box: a screenshot where the product has one in the repo, otherwise its icon. */
.qp-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--qse-border, #e2e6ea);
    background: color-mix(in srgb, var(--qse-accent, #2F6FED) 10%, var(--qse-surface, #fff)); color: var(--qse-accent, #2F6FED); }
/* The screenshot fills the box absolutely, so its own size never stretches the thumb. */
.qp-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* QseIcon draws strokes: the page sets the stroke itself (qse-home.css / qse-shell.css are not loaded here). */
.qp-ic, .qp-out { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qp-thumb .qp-ic { width: 72px; height: 72px; stroke-width: 1.4; }
/* Contested Ground keeps the home band's colours: dark olive ground, gold mark. */
.qp-thumb-cg { background: #2A2820; color: #C9A54A; }

.qp-body { flex: 1 1 auto; padding: 16px 18px 8px; }
.qp-kick { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--qse-text-muted, #5c636a); }
.qp-body h2 { font-size: 1.3rem; margin: 4px 0 6px; color: var(--qse-text, #1A2340); overflow-wrap: anywhere; }
.qp-body p { margin: 0; color: var(--qse-text, #1A2340); }

/* One button per card, pinned to the bottom, the card's full inner width and one fixed height on every card. */
.qp-go { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 18px 18px; height: 44px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-go .qp-out { width: 14px; height: 14px; flex: none; }
/* Phones: the longest label ("Visit PlayContestedGround.com") fits a 390 px screen at a slightly smaller size. */
@media (max-width: 480px) {
    .qp-body { padding: 14px 14px 6px; }
    .qp-go { margin: 10px 14px 14px; padding-left: 8px; padding-right: 8px; font-size: .92rem; }
}
