/* Projects — matches News/Products hero + yellow content */

.u-section-1 {
  background-image: url("images/websiteBG1.png");
  background-position: 50% 50%;
}

.u-section-1 .u-sheet-1 {
  min-height: 599px;
}

.u-section-1 .u-layout-wrap-1 {
  margin: 50px auto 0 0;
}

.u-section-1 .u-layout-cell-1 {
  min-height: 549px;
  background-image: none;
}

.u-section-1 .u-container-layout-1 {
  padding: 30px 30px 9px;
}

.u-section-1 .u-image-1 {
  width: 311px;
  height: 283px;
  margin: 0 auto 0 0;
}

.u-section-1 .u-text-1 {
  line-height: 1.2;
  font-weight: 900;
  font-size: 2.25rem;
  margin: 25px 0 0;
}

.u-section-1 .u-text-2 {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 700;
  margin: 15px 0 0;
}

.u-section-1 .u-layout-cell-2 {
  min-height: 549px;
}

.u-section-1 .u-container-layout-2 {
  padding: 30px 0 0 30px;
}

.u-section-1 .u-image-2 {
  object-position: 50% 16.29%;
  background-position: 50% 16.29%;
  width: 426px;
  height: 487px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 567px;
  }

  .u-section-1 .u-layout-wrap-1 {
    margin-top: 20px;
    margin-right: initial;
    margin-left: initial;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 453px;
  }

  .u-section-1 .u-image-1 {
    width: 255px;
    height: 232px;
  }

  .u-section-1 .u-text-1 {
    font-size: 3rem;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 453px;
    background-position: 50% 16.29%;
  }

  .u-section-1 .u-image-2 {
    height: 486px;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 288px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-1 .u-text-1 {
    font-size: 2.25rem;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 347px;
  }

  .u-section-1 .u-image-2 {
    width: 407px;
    height: 479px;
    margin-top: 42px;
    margin-left: -30px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 556px;
  }

  .u-section-1 .u-container-layout-1 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-1 .u-image-1 {
    width: 311px;
    height: 283px;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 521px;
  }

  .u-section-1 .u-container-layout-2 {
    padding-left: 10px;
  }

  .u-section-1 .u-image-2 {
    width: 493px;
    height: 521px;
    margin-top: 0;
    margin-left: 66px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 369px;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 328px;
  }

  .u-section-1 .u-image-2 {
    width: 330px;
    height: 349px;
    margin-left: 0;
  }
}

.u-section-2 {
  background-image: none;
}

.u-section-2 .u-sheet-1 {
  min-height: auto;
  padding-top: 50px;
  padding-bottom: 60px;
}

.u-section-2 .cfoge-project-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.u-section-2 .cfoge-project-link {
  display: block;
  text-decoration: none;
  color: #ffffff;
  border-radius: 6px;
  border-left: 5px solid #f1c50e;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  padding: 28px 30px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Fun tile colours, borrowed from the homepage 01-04 tiles */
.u-section-2 .cfoge-project-link:nth-child(odd) {
  background: #db545a;
}

.u-section-2 .cfoge-project-link:nth-child(even) {
  background: #2cccc4;
}

.u-section-2 .cfoge-project-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* High-contrast tag chip; beats the #sec-2add .u-text-variant global rule */
#sec-2add .cfoge-project-link .u-text-variant {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 2px;
  color: #f1c50e;
  background: #292e33;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.u-section-2 .cfoge-project-link h3 {
  font-family: "Space Grotesk", Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
}

.u-section-2 .cfoge-project-link p {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.u-section-3 .u-sheet-1 {
  min-height: 120px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.u-section-3 .u-btn-1 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 auto;
  max-width: 420px;
  display: block;
}

.u-section-4 {
  background-image: none;
}

.u-section-4 .u-sheet-1 {
  min-height: 219px;
}

.u-section-4 .u-text-1 {
  letter-spacing: 0px;
  font-weight: 900;
  width: 670px;
  text-transform: none;
  font-size: 2.25rem;
  margin: 60px auto 0;
}

.u-section-4 .u-social-icons-1 {
  white-space: nowrap;
  height: 37px;
  min-height: 16px;
  width: 151px;
  min-width: 88px;
  margin: 23px auto 60px;
}

.u-section-4 .u-icon-1,
.u-section-4 .u-icon-2,
.u-section-4 .u-icon-3 {
  height: 100%;
}

@media (max-width: 767px) {
  .u-section-2 .cfoge-project-link {
    padding: 22px 20px;
  }

  .u-section-4 .u-text-1 {
    width: 540px;
  }
}

@media (max-width: 575px) {
  .u-section-4 .u-text-1 {
    font-size: 3.75rem;
    margin-left: 0;
    margin-right: 0;
    width: 340px;
  }
}
