
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  color: #8b8989;
  background: #fff;
}
.site-header {
  background: #f9f9f9;
  border-bottom: 4px solid #eaeeef;
  text-align: center;
  padding: 42px 20px;
}
.site-title {
  margin: 0;
  font-family: "Varela", sans-serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #141414;
}
.site-title span { color: #ff6666; }
.wrapper { width: 90%; max-width: 900px; margin: 0 auto; }
main { padding: 50px 0 70px; }
h1 {
  font-family: "Varela", sans-serif;
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: #141414;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 4px solid #eaeeef;
  position: relative;
}
h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 80px;
  height: 4px;
  background: #ff6666;
  transform: translateX(-50%);
}
article {
  background: #fff;
  border: 1px solid #dde4e6;
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(50,50,50,.1);
  padding: 40px 48px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
article h2, article h3, article h4, article h5, article h6 {
  font-family: "Varela", sans-serif;
  font-weight: 400;
  color: #292e32;
  line-height: 1.4;
  margin: 1.6em 0 .7em;
}
article h2 { font-size: 2.8rem; }
article h3 { font-size: 2.4rem; }
article h4 { font-size: 2rem; }
article h5 { font-size: 1.8rem; }
article h6 { font-size: 1.6rem; }
article > :first-child { margin-top: 0; }
article p { margin: 0 0 24px; font-size: 1.6rem; line-height: 1.8; }
article a, .extra a, .links-block a { color: #ff6666; text-decoration: none; }
article a:hover, .extra a:hover, .links-block a:hover { color: #303030; }
article ul, article ol { margin: 0 0 24px; padding-left: 24px; }
article li { margin-bottom: 6px; }
article img { max-width: 100%; height: auto; border-radius: 4px; }
article blockquote {
  background: #ececec;
  color: #404040;
  border-radius: 4px;
  padding: 15px 25px 1px;
  margin: 0 0 24px;
}
article table { width: 100%; border-collapse: collapse; margin-bottom: 24px; display: block; overflow-x: auto; }
article th, article td { border: 1px solid #e7e7e7; padding: 8px 14px; text-align: left; }
article th { color: #888; font-weight: bold; }
.extra {
  margin-top: 40px;
  padding: 30px 40px;
  background: #f9f9f9;
  border-left: 4px solid #ff6666;
  border-radius: 0 7px 7px 0;
}
.extra p { margin: 0 0 18px; }
.extra p:last-child { margin-bottom: 0; }
.links-block {
  margin-top: 40px;
  background: #f9f9f9;
  border: 1px solid #dde4e6;
  border-radius: 7px;
  padding: 36px 40px;
  overflow: hidden;
}
.links-block h3 {
  font-family: "Varela", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #141414;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaeeef;
}
.links-block h3:first-child { margin-top: 0; }
.links-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  column-gap: 40px;
}
.links-block li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 10px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.links-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6666;
}
.site-footer {
  background: #f9f9f9;
  border-top: 4px solid #eaeeef;
  text-align: center;
  padding: 30px 20px;
}
.site-footer .footer-title {
  font-family: "Varela", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a2a2a2;
  margin: 0;
}
@media (max-width: 700px) {
  h1 { font-size: 2.6rem; }
  article { padding: 26px 20px; }
  .extra { padding: 22px 20px; }
  .links-block { padding: 26px 20px; }
  .links-block ul { column-count: 1; }
}
@media (max-width: 400px) {
  .site-title { font-size: 2.2rem; }
  h1 { font-size: 2.2rem; }
}
