/* ===== BASE (mobile-first) ===== */

html {
  font-size: 18px; /* mobile base size */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
  color: #111;
  max-width: 720px;
  margin: auto;
  padding: 20px;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
}

p {
  margin: 1em 0;
}

.date {
  color: #666;
  font-size: 0.9rem;
}

/* ===== LINKS ===== */

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== CONTENT ===== */

article {
  margin-bottom: 40px;
}

img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

/* ===== NAV ===== */

.back {
  display: inline-block;
  margin-bottom: 24px;
}

/* ===== DESKTOP ONLY ===== */

@media (min-width: 768px) {
  html {
    font-size: 16px; /* desktop stays normal */
  }

  body {
    padding: 24px;
  }
}

/* ===== FOOTER ===== */

.site-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-text {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Buttons container */
.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Base button */
.btn {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  min-width: 160px;
  text-align: center;
}

/* Social buttons */
.btn.social {
  background: #eef3f7;
  color: #111;
}

/* Donation buttons */
.btn.donate {
  background: #ffe9c6;
  color: #111;
  font-weight: 600;
}

/* Hover */
.btn:hover {
  opacity: 0.85;
}

/* Small text */
.footer-small {
  font-size: 0.85rem;
  color: #777;
}
