/* ─────────────────────────────────────────────────────────────────────────────
   GLOBAL BOX-SIZING RESET
   ───────────────────────────────────────────────────────────────────────────── */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BASE RESET & BODY STYLES
   ───────────────────────────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;  /* kill any horizontal scroll */
}

body {
  background: #eee url('/resources/template/resources-bg.jpg') center center/cover no-repeat fixed;
  font-family: 'Raleway', Arial, sans-serif;
  color: #464855;
  font-size: 1em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLEX LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 40px auto 0;
  gap: 2em;
  padding: 2em;
  min-height: 420px;
  background: none;
}

.flex-box {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 8px rgba(187, 181, 181, 0.5);
  padding: 1.3em 2em;
  flex: 1 1 270px;
  min-width: 0;                  /* prevents flex children from overflowing */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ─────────────────────────────────────────────────────────────────────────────
   IMAGE STYLING
   ───────────────────────────────────────────────────────────────────────────── */
.flex-image img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1em;
  display: block;
  border: 0.5px solid #eee;
  background: #fff;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */
/* Headings */
h1, h2, h3 {
  font-family: 'Raleway', Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 .5em;
}

h1 {
  font-size: 1.5em;
  font-weight: 500;
  color: #ff6600;
}

h2 {
  font-size: 1.1em;
  font-weight: 400;
  color: #ff6600;
  margin-bottom: .3em;
}

h3 {
  font-size: 1em;
  font-weight: 400;
  color: #464855;
  margin: 1.2em 0 .4em;
}

/* Product price */
.product-price {
  color: #ff6600;
  font-size: 1.25em;
  font-weight: 400;
  margin: .5em 0 1em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   IMAGE CAPTION
   ───────────────────────────────────────────────────────────────────────────── */
.image-caption-block {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.image-caption-block .caption {
  font-size: 0.85em;
  color: #464855;
  margin: 1.1em 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TABLES & LINKS
   ───────────────────────────────────────────────────────────────────────────── */
.info-table,
.address-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.3em;
}

.info-table td,
.address-table td {
  padding: 5px 8px 5px 0;
  font-size: 0.85em;
  color: #464855;
  border-bottom: 1px solid #f3f3f3;
  vertical-align: top;
}

.info-table tr:last-child td,
.address-table tr:last-child td {
  border-bottom: none;
}

.info-table td.label {
  width: 10%;
  padding-right: 10px;
  color: #464855;
}

table a,
.contact-details a,
.address-table a {
  color: #ff6600;
  text-decoration: none;
}

table a:hover,
.contact-details a:hover,
.address-table a:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DOWNLOAD LINKS
   ───────────────────────────────────────────────────────────────────────────── */
.download-links {
  margin-top: 1em;
}

.download-link {
  display: inline-block;
  border: 0.5px solid #eee;
  background: #ff6600;
  color: #464855;
  font-size: 0.75em;
  font-weight: 400;
  padding: 0.65em 1.4em;
  border-radius: 5px;
  margin-right: .6em;
  margin-bottom: .7em;
  text-decoration: none;
  transition: background .18s;
}

.download-link:hover {
  background: #ff8500;
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE STACKING
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 950px) {
  .flex-container {
    flex-direction: column;
    gap: 1.2em;
    padding: 1em;
  }
  .flex-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .flex-image img {
    max-width: 100%;
  }
  .image-caption-block {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.1em;
  }
  .image-caption-block .caption {
    font-size: .85em;
  }
  .flex-container {
    padding: .4em;
  }
}




/* ─────────────────────────────────────────────────────────────────────────────
   END
   ─────────────────────────────────────────────────────────────────────────────


