/* =========================================================
   The Blackgang Garden Railway - section stylesheet
   Every page in this folder links to this file, so a change
   here changes the whole section.
   Colours used:  main #1e5631   accent #e8c547   light #f4f8ee
   ========================================================= */

/* Page text: easier to read, and centred on wide screens */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Pictures shrink to fit small screens (phones, tablets) */
img { max-width: 100%; height: auto; }

/* Headings in the section colour */
h1, h2, h3 { color: #1e5631; }

/* ---------- Navigation buttons ----------
   Use like this:  <A class="navbtn" HREF="index.htm">Home</A>   */
.nav { text-align: center; margin: 18px 0 10px; }
a.navbtn {
  display: inline-block;
  margin: 4px 3px;
  padding: 6px 18px;
  border: 2px solid #e8c547;
  border-radius: 20px;
  background: #1e5631;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
}
a.navbtn:hover { background: #e8c547; color: #000000; }

/* ---------- Note on pages kept for reference ---------- */
.archive-note {
  max-width: 700px;
  margin: 10px auto 20px;
  padding: 8px 14px;
  border-left: 4px solid #e8c547;
  background: #f4f8ee;
}

/* ---------- Feature boxes on the main page ----------
   Side by side on wide screens, one above the other on phones */
.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
.box {
  flex: 1 1 320px;
  max-width: 520px;
  padding: 10px 18px 14px;
  background: #f4f8ee;
  border: 2px solid #e8c547;
  border-radius: 10px;
  text-align: center;
}
.box h3 { margin-top: 6px; }
