/*
 * Styles written for this site, loaded after the Ramsay theme and site.css.
 * Colours and fonts come from the variables set in site.css:
 *   --p1 / --p2  accent colours      --pf  heading font      --sf  body font
 */

/* ---------------------------------------------------------------- Project page */

.project {
  padding-top: 121px; /* height of the navbar */
  color: #fff;
}

.project-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 10px;
  background: center / cover no-repeat;
}

.project-hero__title {
  margin: 0;
  font-family: var(--pf);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.166;
  letter-spacing: normal;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.64);
  color: #fff;
}

.project-details,
.project-intro,
.project-body {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* Two columns split by a vertical rule: facts on the left, timeline and features on the right. */
.project-details {
  display: flex;
  padding-top: 90px;
  padding-bottom: 70px;
  color: #888;
}

.project-details__column {
  width: 50%;
}

.project-details__column--left {
  padding-right: 40px;
  border-right: 1px solid currentColor;
  text-align: right;
}

.project-details__column--right {
  padding-left: 40px;
  border-left: 1px solid currentColor;
  text-align: left;
}

.project-fact {
  padding: 10px 0 30px;
}

.project-fact h5 {
  margin: 0 0 15px;
}

.project-fact p,
.project-fact ul {
  margin: 0;
}

.project-details__column--left ul {
  list-style-position: inside;
  padding-left: 0;
}

.project-intro {
  padding-top: 70px;
  padding-bottom: 30px;
  text-align: center;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.project-links a {
  display: inline-flex;
  color: #fff;
  transition: color 0.3s;
}

.project-links a:hover {
  color: var(--p1);
}

.project-links svg {
  width: 40px;
  height: 40px;
}

.project-embed {
  display: block;
  width: 552px;
  max-width: 100%;
  height: 167px;
  margin: 20px auto 0;
  border: 0;
}

.project-body {
  padding-top: 70px;
  padding-bottom: 100px;
  text-align: center;
}

@media (max-width: 767px) {
  .project {
    padding-bottom: 80px; /* room for the fixed footer */
  }

  .project-details {
    display: block;
    padding-top: 55px;
    padding-bottom: 0;
  }

  .project-details__column {
    width: auto;
    padding: 0;
    border: 0;
    text-align: center;
  }

  .project-details__column ul {
    list-style-position: inside;
    padding-left: 0;
  }

  .project-intro,
  .project-body {
    padding-top: 55px;
    padding-bottom: 10px;
  }
}

/* ---------------------------------------------------------------- Contact slide */

/* Two halves: the place name on the left, the channels on the right. */
.contact {
  display: flex;
  align-items: center;
  padding: 120px 10px 70px;
}

.contact__place,
.contact__channels {
  width: 50%;
  margin: 0;
}

.contact__channels {
  padding: 0;
  list-style: none;
}

.contact__channels li + li {
  margin-top: 44px;
}

.contact__channels a {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: #fff;
  transition: color 0.3s;
}

.contact__channels a:hover {
  color: var(--p1);
}

.contact__channels i {
  width: 64px;
  font-size: 64px;
  line-height: 1;
  text-align: center;
}

.contact__channels svg {
  width: 64px;
  height: 54px;
}

.contact__channels strong {
  display: block;
  font-family: var(--pf);
  font-size: 2.142rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.contact__channels small {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #888;
}

@media (max-width: 767px) {
  .contact {
    display: block;
    padding: 100px 0 90px;
  }

  .contact__place,
  .contact__channels {
    width: auto;
  }

  .contact__channels {
    margin-top: 48px;
  }

  .contact__channels li + li {
    margin-top: 32px;
  }

  .contact__channels a {
    gap: 20px;
  }

  .contact__channels i {
    width: 44px;
    font-size: 44px;
  }

  .contact__channels svg {
    width: 44px;
    height: 38px;
  }

  .contact__channels strong {
    font-size: 1.571rem;
  }
}
