/* Base layout helpers shared across templates */
html, body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f7f8fa;
  font-family: 'Segoe UI', sans-serif;
  color: #0f172a;
}

.main-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* Optional compact layout used by UI regression snapshots */
.ui-regression body,
body.ui-regression {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
}

.ui-regression .main-container,
body.ui-regression .main-container {
  width: min(100%, 420px);
  max-height: 92dvh;
  overflow-y: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.ui-regression .main-container img,
body.ui-regression .main-container img {
  width: 100%;
  height: clamp(160px, 35dvh, 280px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
