/* =========================
   Shared containers
   ========================= */

.skillhire-limitedw-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.skillhire-container--full {
  max-width: none;
  padding: 0;
}

/* =========================
   Shared button system
   ========================= */

.sh-button {
  position: relative;
  min-width: 270px;
  max-width: 355px;
  height: 65px;
  background: #00053e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: none;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.25px;
  text-decoration: none;
  overflow: hidden;
  width: max-content;
  padding: 0 20px;
  transition: all 150ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.sh-button:hover,
.sh-button:focus-visible {
  background: #f57f29;
  color: #ffffff;
  transform: scale(1.04);
}

/* =========================
   Hero section
   ========================= */

.home-hero {
  position: relative;
}

.home-hero__slider {
  position: relative;
}

.home-hero__slide,
.slider-slide {
  width: 100%;
}

.slider-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 135px;
}

/* Left column */
.slide-left {
  width: 50%;
  padding: 0 2.5%;
}

.slide-left h1 {
  margin: 0;
  font-size: 64px !important;
  line-height: 64px !important;
  padding-bottom: 25px !important;
  color: #262626 !important;
  font-weight: bold !important;
}

.slide-copy {
  font-size: 24px;
}

.slide-copy p {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 30px;
  color: #515151;
}

.slide-copy p:last-child {
  margin-bottom: 0;
}

.home-hero .sh-button {
  margin-top: 30px;
}

/* Right column */
.slide-right {
  width: 40%;
  padding: 0 2.5%;
}

.slide-right .sh-imagewrapper {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.slide-right .sh-imagewrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero slick dots */
.home-hero .slick-dots {
  position: absolute;
  top: 245px;
  left: 13px;
  bottom: auto;
  right: auto;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-hero .slick-dots li {
  margin: 6px 0;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 100%;
  overflow: hidden;
}

.home-hero .slick-dots li:last-child {
  margin-bottom: 0;
}

.home-hero .slick-dots li button {
  width: 18px;
  height: 18px;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  background-color: #00053e;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
}

.home-hero .slick-dots li button::before {
  display: none;
}

.home-hero .slick-dots li.slick-active button {
  background-color: #f57f29;
}

/* Slick stability */
.home-hero .slick-track {
  display: flex !important;
}

.home-hero .slick-slide {
  height: auto;
}

/* =========================
   Home services strip
   ========================= */

.home-services-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.home-services-strip__item {
  min-width: 0;
  display: flex;
  transition: transform 200ms ease;
}

.home-services-strip__item:hover {
  transform: translateY(-2px);
}

.home-services-strip .strip_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
  width: 100%;
  padding: 70px 30px;
}

/* coloured panels */
.home-services-strip__item:nth-child(1) {
  background-color: #00053e;
}

.home-services-strip__item:nth-child(2) {
  background-color: #e33226;
}

.home-services-strip__item:nth-child(3) {
  background-color: #f57f29;
}

.home-services-strip__item:nth-child(4) {
  background-color: #ffd24f;
}

/* icon */
.home-services-strip .left {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.home-services-strip__icon {
  width: 50px;
  height: auto;
  max-height: 45px;
  object-fit: contain;
}

/* text column */
.home-services-strip .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.home-services-strip .right h4 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center;
}

.home-services-strip .right p {
  margin: 0 0 18px;
  padding: 0;
  font-size: 15px;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
}

/* CTA with inline arrow */
.home-services-strip .right a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: underline;
  text-align: center;
  position: relative;
}

.home-services-strip .right a::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-left: 7px solid #ffffff;
  border-bottom: 4.5px solid transparent;
  transition: transform 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  flex-shrink: 0;
}

.home-services-strip .right a:hover::after,
.home-services-strip .right a:focus-visible::after {
  transform: translateX(4px);
}

/* =========================
   Home welcome section
   ========================= */

.home-welcome {
  padding: 100px 0;
}

.home-welcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

/* Image column */
.home-welcome__media {
  height: 100%;
  padding-left: 16px;
  padding-right: 8px;
}

.home-welcome__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-welcome__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Content column */
.home-welcome__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-welcome__content h2 {
  margin: 0 0 20px;
  font-size: 45px !important;
  line-height: 50px !important;
  letter-spacing: -1.25px;
  color: #262626 !important;
  font-weight: bold !important;
}

.home-welcome__text p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 30px;
  color: #515151;
}

.home-welcome__text p:last-child {
  margin-bottom: 0;
}

.home-welcome .sh-button {
  margin-top: 30px;
  align-self: flex-start;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px) {
  .home-services-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-strip .strip_content {
    padding: 56px 28px;
  }
}

@media (max-width: 991px) {
  .slider-flex {
    flex-direction: column;
    padding-bottom: 0;
  }

  .slide-left,
  .slide-right {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .slide-left {
    margin-bottom: 32px;
    text-align: center;
    padding: 0 10px;
  }

  .slide-right {
    margin-bottom: 24px;
  }

  .slide-left h1 {
    font-size: 48px;
    line-height: 1.05;
  }

  .slide-copy,
  .slide-copy p {
    font-size: 20px;
    line-height: 1.5;
  }

  .slide-right .sh-imagewrapper {
    aspect-ratio: 4 / 3;
  }

  .home-hero .slick-dots {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0;
    text-align: center;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .home-hero .slick-dots li {
    margin: 0 8px;
    width: 16px;
    height: 16px;
  }

  .home-hero .slick-dots li button {
    width: 16px;
    height: 16px;
  }

  .home-welcome {
    padding: 70px 0;
  }

  .home-welcome__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-welcome__media {
    height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .home-welcome__image-wrap {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-welcome__content {
    text-align: center;
  }

  .home-welcome .sh-button {
    align-self: center;
  }
}

@media (max-width: 575px) {
  .slider-flex {
    padding-bottom: 60px;
  }

  .slide-left {
    text-align: center;
    padding: 0 10px;
  }

  .slide-left h1 {
    font-size: 36px;
  }

  .slide-copy,
  .slide-copy p {
    font-size: 18px;
  }

  .home-hero .sh-button {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
  }

  .slide-right .sh-imagewrapper {
    aspect-ratio: 4 / 3;
  }

  .home-hero .slick-dots {
    margin-top: 22px;
  }

  .home-hero .slick-dots li {
    width: 14px;
    height: 14px;
    margin: 0 6px;
  }

  .home-hero .slick-dots li button {
    width: 14px;
    height: 14px;
  }

  .home-services-strip__grid {
    grid-template-columns: 1fr;
  }

  .home-services-strip .strip_content {
    padding: 40px 20px;
  }

  .home-services-strip .right h4 {
    font-size: 20px;
  }
}

/* =========================
   Home training section
   ========================= */

.home-training {
  padding: 100px 0;
}

.home-training__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Intro column */
.home-training__intro h2 {
  margin: 0 0 20px;
  font-size: 45px !important;
  line-height: 50px !important;
  letter-spacing: -1.25px !important;
  color: #262626 !important;
  font-weight: bold !important;
}

.home-training__intro-text p {
  margin: 0 0 20px;
  font-size: 18px !important;
  line-height: 30px !important;
  color: #515151 !important;
}

.home-training__intro .sh-button {
  margin-top: 30px;
}

/* Slider/card area */
.home-training__cards {
  min-width: 0;
}

.training-card {
  position: relative;
  min-height: 620px;
  overflow: visible;
}

.training-card__image-wrap {
  width: 100%;
  height: 100%;
}

.training-card__image {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: contain;
}

.training-card__content {
  position: absolute;
  opacity: 0;
  bottom: 77px;
  z-index: 2;
  width: 345px;
  min-height: 345px;
  padding: 40px 46px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #ffffff;
  transition: all 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slick-current .training-card__content,
.slick-active .training-card__content {
  opacity: 1;
}

.home-training__slide {
  padding: 0 6px;
}

.training-card__content h4 {
  margin: 0 0 14px;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.training-card__content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
}

.training-card__content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: underline;
}

.training-card__content a::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-left: 7px solid #ffffff;
  border-bottom: 4.5px solid transparent;
  transition: transform 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.training-card__content a:hover::after,
.training-card__content a:focus-visible::after {
  transform: translateX(4px);
}

.training-card__arrows {
  display: none;
}

/* Theme colors */
.training-card__content--red {
  background: #e33226;
}

.training-card__content--orange {
  background: #f57f29;
}

.training-card__content--yellow {
  background: #ffd24f;
}

.training-card__content--blue {
  background: #00053e;
}

/* Responsive */
@media (max-width: 991px) {
  .home-training {
    padding: 70px 0;
  }

  .home-training__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-training__intro {
    text-align: center;
  }

  .home-training__intro .sh-button {
    margin-left: auto;
    margin-right: auto;
  }

  .training-card {
    min-height: auto;
  }

  .training-card__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .training-card__content {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    min-height: auto;
    padding: 32px 28px;
  }
}

/* =========================
   Home apprenticeships section
   ========================= */

.home-apprenticeships {
  padding: 130px 0 190px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.home-apprenticeships__header {
  margin-top: -10px;
  margin-bottom: 80px;
  text-align: center;
}

.home-apprenticeships__header h2 {
  margin: 0;
  padding-bottom: 25px !important;
  font-size: 45px !important;
  line-height: 50px !important;
  letter-spacing: -1.25px !important;
  color: #262626 !important;
  font-weight: bold !important;
}

.home-apprenticeships__text {
  max-width: 1150px;
  margin: 0 auto;
}

.home-apprenticeships__text p {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 30px;
  color: #515151;
}

.home-apprenticeships__text p:last-child {
  margin-bottom: 0;
}

/* Buttons row */
.home-apprenticeships__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}

.home-apprenticeships__action {
  padding: 0 15px;
  display: flex;
}

.home-apprenticeships__action--left {
  justify-content: flex-start;
}

.home-apprenticeships__action--right {
  justify-content: flex-end;
}

.home-apprenticeships__actions .sh-button {
  width: 313px;
  max-width: 313px;
}

/* Yellow button */
.sh-button--yellow {
  background: #f99f1c;
  color: #ffffff;
}

.sh-button--yellow:hover,
.sh-button--yellow:focus-visible {
  background: #00053e;
  color: #ffffff;
}

/* Image grid */
.home-apprenticeships__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.home-apprenticeships__item {
  overflow: hidden;
}

.home-apprenticeships__image {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
  .home-apprenticeships {
    padding: 90px 0 110px;
  }

  .home-apprenticeships__header {
    margin-bottom: 50px;
  }

  .home-apprenticeships__actions {
    gap: 16px;
    justify-content: center;
  }

  .home-apprenticeships__action {
    width: 100%;
    justify-content: center !important;
    padding: 0;
  }

  .home-apprenticeships__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .home-apprenticeships {
    padding: 70px 0 80px;
  }

  .home-apprenticeships__header h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  .home-apprenticeships__grid {
    grid-template-columns: 1fr;
  }

  .home-apprenticeships__actions .sh-button {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================
   Home articles section
   ========================= */

.home-articles {
  padding: 100px 0 80px;
}

.home-articles__header {
  margin-top: -15px;
  margin-bottom: 45px;
  text-align: center;
}

.home-articles__header h2 {
  margin: 0;
  padding-bottom: 25px !important;
  font-size: 45px !important;
  letter-spacing: -1.25px !important;
  line-height: 50px !important;
  color: #262626 !important;
  font-weight: bold !important;
}

.home-articles__text {
  max-width: 1160px;
  margin: 0 auto;
}

.home-articles__text p {
  margin: 0 0 30px;
  font-size: 18px !important;
  color: #515151 !important;
  line-height: 30px !important;
}

.home-articles__text p:last-child {
  margin-bottom: 0;
}

/* Grid */
.home-articles__grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.home-articles__item {
  width: calc(33.333% - 27px);
  margin-bottom: 20px;
}

/* Image */
.home-articles__image-link {
  display: flex;
  text-decoration: none;
}

.home-articles__image {
  width: 100%;
  height: 16.67vw;
  min-height: 240px;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* Details */
.home-articles__details {
  position: relative;
  padding-left: 90px;
  margin-top: 35px;
}

.home-articles__details::before {
  position: absolute;
  content: "";
  left: 9px;
  top: 5px;
  width: 41px;
  height: 5px;
  background: #ee2624;
}

.home-articles__details::before {
  background: #00053e;
}

.home-articles__item:nth-child(2) .home-articles__details::before {
  background: #e33226;
}

.home-articles__item:nth-child(3) .home-articles__details::before {
  background: #f57f29;
}

.home-articles__details h4 {
  margin: 0;
  padding-bottom: 2px !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  letter-spacing: -0.75px !important;
}

.home-articles__details h4 a {
  color: #262626;
  text-decoration: none;
}

.home-articles__details h4 a:hover,
.home-articles__details h4 a:focus-visible {
  color: #00053e;
}

.home-articles__date {
  display: block;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #515151 !important;
}

.home-articles__details p {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
  color: #515151 !important;
}

.home-articles__readmore {
  font-size: 18px;
  line-height: 30px;
  font-weight: bold;
  color: #00053e;
  text-decoration: underline;
  letter-spacing: -0.5px;
  font-family: "Gilroy", Arial, sans-serif;
}

.home-articles__readmore:hover,
.home-articles__readmore:focus-visible {
  color: #f57f29;
}

/* Bottom button */
.home-articles__actions {
  margin-top: 30px;
  text-align: center;
}

.home-articles__actions .sh-button {
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
  .home-articles {
    padding: 80px 0 70px;
  }

  .home-articles__grid {
    flex-wrap: wrap;
    gap: 30px;
  }

  .home-articles__item {
    width: calc(50% - 15px);
  }

  .home-articles__image {
    height: 240px;
  }
}

@media (max-width: 575px) {
  .home-articles__grid {
    gap: 24px;
  }

  .home-articles__item {
    width: 100%;
  }

  .home-articles__details {
    padding-left: 70px;
    margin-top: 25px;
  }

  .home-articles__header h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  .home-articles__details h4 {
    font-size: 22px;
    line-height: 1.3;
  }
}

/* =========================
   Home capability section
   ========================= */

.home-capability {
  padding: 70px 0 100px;
}

.home-capability__inner {
  text-align: center;
}

.home-capability__inner h2 {
  margin: 0 0 30px;
  font-size: 45px !important;
  line-height: 50px !important;
  letter-spacing: -1.25px !important;
  color: #262626 !important;
  font-weight: bold !important;
}

.home-capability .sh-button {
  margin: 0 auto;
}

@media (max-width: 991px) {
  .home-capability {
    padding: 60px 0 80px;
  }
}

@media (max-width: 575px) {
  .home-capability__inner h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  .home-capability .sh-button {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
  }
}
