/* Shared overrides for paintpages: scale down font sizes */
html, body {
  font-size: 16px; /* base */
}

/* Headline smaller and responsive */
h1 {
  font-size: clamp(28px, 3.2vw, 36px) !important;
  margin-bottom: 24px !important;
}

.section {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin-bottom: 20px !important;
}

.container {
  max-width: 860px !important;
  margin: 56px auto !important;
  padding: 0 28px !important;
}

ul { font-size: 16px !important; }
li { margin-bottom: 6px !important; }

/* Image stack spacing reduced */
.image-stack { gap: 48px !important; margin-top: 80px !important; }

@media (max-width: 768px) {
  h1 { font-size: 28px !important; }
  .section, ul { font-size: 15px !important; }
  .image-stack { gap: 32px !important; }
}

/* Back to home button */
.back-home {
  position: fixed;
  left: 18px;
  top: 18px;
  background: #ffffffcc;
  color: #111;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-decoration: none;
  font-weight: 600;
  z-index: 1200;
  backdrop-filter: blur(6px);
}

@media (max-width: 420px) {
  .back-home { left: 12px; top: 12px; padding: 6px 10px; font-size: 13px; }
}
