/* Base */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0 0 50px 0;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}

/* Container: keep 900px look on desktop, fluid on mobile */
.mainbox {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px; /* small side padding for mobile edges */
}

/* Images: fluid by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header blocks */
.logo,
.jobs,
.bodytext,
.list,
.footer,
.thanks {
  width: 100%;
  text-align: center;
}

/* Remove fixed heights to allow images to scale naturally */
.logo img { width: 100%; height: auto; }
.jobs img { width: 100%; height: auto; }

/* Links */
a:link,
a:visited,
a:hover,
a:active {
  color: #c54f26;
  font-weight: bold;
  text-decoration: none;
}

/* Product list */
.list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prodli {
  list-style-type: none;
  margin: 6px 0;
}

/* Forms */
.myform {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Footer */
.footer {
  margin-top: 40px;
  text-align: center;
}

/* Utility */
.greybox {
  background-color: #EFEFEF;
  padding: 16px;
  border: 1px solid #DFDFDF;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  display: inline; /* preserve your inline heading style */
  margin: 0;
  font-family: Tahoma, sans-serif;
  font-size: 16px;
  color: #666666;
  font-weight: bold;
}

/* Content image spacing */
.content-image {
  margin-top: 12px;
	max-width: 450px;
	text-align: center;
	margin: auto;
}

/* Remove borders on linked images (legacy) */
a img { border: 0; }

/* Optional legacy class */
.new {
  color: #CC6600;
  font-weight: bold;
  /* text-decoration: blink;  <-- obsolete, intentionally removed */
}

/* ---------------------------
   Responsive tweaks
   --------------------------- */

/* Tablet and down */
@media (max-width: 900px) {
  /* Keep the feel but breathe a bit */
  h1 { font-size: 18px; }
}

/* Phones */
@media (max-width: 600px) {
  body {
    font-size: 15px; /* slight bump for readability on mobile */
    line-height: 1.6;
  }

  .prodli {
    margin: 8px 0;
  }

  .footer {
    margin-top: 28px;
  }
}
