/* QSX Transport Ltd - legal pages
   STOPGLASS body #EAEAE0, ROUTECARD text #2C3432, PAVLOVA #B33E14 accent,
   PAULST #1A201C wells and header, SHELTER-PANEL #C8D0D6. Strong contrast only. */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #EAEAE0;
  color: #2C3432;
  line-height: 1.72;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", Verdana, Geneva, sans-serif;
  line-height: 1.2;
  color: #2C3432;
}

a {
  color: #B33E14;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: #1A201C;
}

.legal-head {
  background-color: #1A201C;
  border-bottom: 6px solid #B33E14;
  padding: 0;
}

.legal-head-in {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 24px 30px;
}

.legal-head-brand {
  display: inline-block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #EAEAE0;
  text-decoration: none;
  margin-bottom: 22px;
  border-bottom: 2px solid #B33E14;
  padding-bottom: 4px;
}

.legal-head-brand:hover,
.legal-head-brand:focus {
  color: #EAEAE0;
  border-bottom-color: #EAEAE0;
}

.legal-head h1 {
  color: #EAEAE0;
  font-size: 34px;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.legal-head-meta {
  color: #C8D0D6;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  margin: 0;
}

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content {
  padding: 46px 0 68px;
}

.legal-content section {
  background-color: #EAEAE0 !important;
}

.legal-lede {
  font-size: 17.5px;
  color: #2C3432;
  border-left: 6px solid #B33E14;
  padding-left: 20px;
  margin-bottom: 32px;
}

.legal-toc {
  background-color: #C8D0D6;
  border-top: 5px solid #B33E14;
  padding: 22px 24px 24px;
  margin-bottom: 40px;
}

.legal-toc-h {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A201C;
  margin: 0 0 14px;
}

.legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.legal-toc-list li {
  margin-bottom: 9px;
  break-inside: avoid;
  font-size: 14.5px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.legal-toc-list a {
  color: #1A201C;
  text-decoration: none;
  border-bottom: 1px solid #8E9AA2;
}

.legal-toc-list a:hover,
.legal-toc-list a:focus {
  color: #B33E14;
  border-bottom-color: #B33E14;
}

.legal-content h2 {
  font-size: 23px;
  margin: 38px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #C8D0D6;
  scroll-margin-top: 20px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 17.5px;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-top: 0;
  margin-bottom: 1.05em;
  font-size: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.1em;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-note {
  background-color: #DEE2DA;
  border-left: 6px solid #729182;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15.5px;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-contactbox {
  background-color: #1A201C;
  color: #EAEAE0;
  padding: 24px 26px;
  margin-top: 34px;
  border-bottom: 6px solid #B33E14;
}

.legal-contactbox p {
  color: #EAEAE0;
  margin-bottom: 6px;
}

.legal-contactbox a {
  color: #EAEAE0;
}

.legal-contactbox a:hover,
.legal-contactbox a:focus {
  color: #B33E14;
}

.legal-contactbox .legal-contact-h {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B33E14;
  margin-bottom: 12px;
}

.legal-foot {
  background-color: #1A201C;
  color: #EAEAE0;
  border-top: 6px solid #B33E14;
}

.legal-foot-in {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
}

.legal-foot-in a {
  color: #EAEAE0;
  text-decoration: none;
  border-bottom: 1px solid #6C776E;
}

.legal-foot-in a:hover,
.legal-foot-in a:focus {
  color: #B33E14;
  border-bottom-color: #B33E14;
}

.legal-foot-row {
  margin-bottom: 8px;
}

.legal-foot-row:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .legal-toc-list {
    columns: 1;
  }

  .legal-head h1 {
    font-size: 27px;
  }
}
