/*
 * Small, static-archive compatibility layer.
 * The original ProcessWire theme remains in site/templates/css/main.css.
 */

:root {
  color-scheme: light;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#background-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.static-contact {
  background: rgba(255, 255, 255, 0.92);
  border-left: 4px solid #9b1c31;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
}

.address a {
  overflow-wrap: anywhere;
}

.client-logos img {
  height: auto;
  max-width: 100%;
}

.error-page {
  align-items: center;
  background: #f2f0eb;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.error-page main {
  max-width: 36rem;
}

.error-page img {
  height: auto;
  margin-bottom: 2rem;
  max-width: 18rem;
  width: 100%;
}

@media (max-width: 767px) {
  #header {
    position: relative;
  }

  #content {
    margin-left: 0;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-nav a {
    display: block;
  }

  .table-clients,
  .table-clients tbody,
  .table-clients tr,
  .table-clients td {
    display: block;
    width: 100%;
  }

  .table-clients td {
    min-height: 7rem;
  }
}
