/*
Reform Clause 1 — static archive stylesheet.

Written by hand from wp-content/themes/reformclause1/sass/style.scss, which was
compiled with Compass and cannot be rebuilt without a Ruby toolchain.

Palette   black #1C1B19, red #D13838, sub-footer black #000
Fonts     Questrial (body), frutigerbold (headings)
Breakpoint  767px — the theme's `screen-size(phonetotablet)` mixin
*/

@font-face {
  font-family: 'Questrial';
  src: url('../fonts/questrial-latin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'frutigerbold';
  src: url('../fonts/frutiger-bold-webfont.woff') format('woff'),
       url('../fonts/frutiger-bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #1C1B19;
  font-family: 'Questrial', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #D13838;
}

.container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-header {
  background: #1C1B19;
  padding: 30px 0;
}

.main-header .logo {
  display: block;
}

.main-content {
  flex: 1 0 auto;
  display: flex;
}

/* Fills the space between header and footer so the hero centres vertically. */
.black {
  background: #1C1B19;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0 80px;
}

.black > .container {
  width: 100%;
}

.black h2 {
  color: #fff;
  font-family: 'frutigerbold', sans-serif;
  font-size: 40px;
  font-weight: normal;
  text-align: center;
  margin: 0 0 25px;
}

.black p {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.sub-footer {
  background: #000;
  padding: 10px 0;
  color: #fff;
  font-size: 13px;
}

.sub-footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-footer .left p {
  margin: 13px 0 0;
}

.sub-footer .links {
  text-align: right;
}

.sub-footer .links a {
  margin-left: 10px;
}

.sub-footer .links a:first-child {
  margin-left: 0;
}

@media (max-width: 767px) {
  .black h2 {
    font-size: 30px;
  }

  .black p {
    font-size: 16px;
  }

  .sub-footer {
    padding: 20px 0;
    text-align: center;
  }

  .sub-footer .row {
    flex-direction: column;
  }

  .sub-footer .left p {
    margin: 0 0 15px;
  }

  .sub-footer .links {
    text-align: center;
  }
}
