/* ========== BUTTONS ========== */
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  margin: 0.5rem;
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cta-button:hover { background: var(--accent-hover); }

.cta-button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}





/* ========== CARD GRID (canonical) ========== */
.gp-grid, .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.gp-grid > a, .grid > a {
  display: block;
  width: 240px;          /* card width */
  flex: 0 1 auto;
  text-decoration: none;
  color: inherit;
}

.gp-grid .box, .grid .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 1rem;
  transition: transform 0.2s ease;
  /* never hide tall/portrait thumbs */
  overflow: visible;
  /* ensure no forced aspect from elsewhere */
  aspect-ratio: auto;
}

.gp-grid .box:hover, .grid .box:hover {
  transform: translateY(-4px);
}

/* Thumbnails: never crop, keep natural aspect, scale down if needed */
.gp-grid .box img, .grid .box img {
  display: block;
  margin-bottom: 0.75rem;
  /* width: 100%; */
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;          /* show entire image */
  object-position: center center;
  /* border: 1px solid var(--border); */
  border-radius: 4px;
}

.gp-grid .box h3, .grid .box h3 {
  margin: 0.25rem 0;
  font-size: 1.1rem;
}

.gp-grid .box p, .grid .box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}


@media (max-width: 480px) {
  .gp-grid > a, .grid > a { width: 180px; }
}

/* ========== FAQ ========== */
.faq-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.faq-content dt {
  font-weight: 700;
  margin-top: 1.5rem;
}
.faq-content dd {
  margin-left: 0;
  margin-bottom: 1rem;
}