/* Standalone variables
========================================================================== */
/*
==========================================================================
    Mixins - typography - body
========================================================================== */
/*
==========================================================================
    Mixins - typography - body
========================================================================== */
.c-tiles-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1025px) {
  .c-tiles-steps {
    flex-direction: row;
    gap: 4.75rem;
  }
}

.c-tiles-steps__inner {
  overflow: visible;
}

.c-tiles-steps__content {
  width: 100%;
  max-width: 61rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .c-tiles-steps__content {
    gap: 2rem;
  }
}

.c-tiles-steps__header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1400px) {
  .c-tiles-steps__header {
    display: block;
  }
}

@media (min-width: 1400px) {
  .c-tiles-steps__label {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1400px) {
  .c-tiles-steps__heading {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1400px) {
  .c-tiles-steps__description {
    margin-bottom: 1rem;
  }
}

.c-tiles-steps__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
@media (min-width: 1400px) {
  .c-tiles-steps__items {
    gap: 2rem;
  }
}
.c-tiles-steps__items::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(32, 77, 81, 0.4);
  transform: translateX(-50%);
  z-index: 0;
}

.c-tiles-steps__item {
  background: #204D51;
  color: #E8ECED;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .c-tiles-steps__item {
    flex-direction: row;
  }
}

.c-tiles-steps__item-content {
  padding: 1.25rem;
  max-width: 25rem;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-content {
    padding: 2rem;
    max-width: 42rem;
  }
}

.c-tiles-steps__item-label {
  margin-bottom: 0.625rem;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-label {
    margin-bottom: 1.25rem;
  }
}

.c-tiles-steps__item-text h2 {
  font-size: 48px;
  line-height: 1.333;
  font-weight: normal;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-text h2 {
    font-size: 64px;
    line-height: 1.093;
    font-weight: normal;
  }
}
.c-tiles-steps__item-text h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: normal;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-text h3 {
    font-size: 32px;
    line-height: 1;
    font-weight: normal;
  }
}
.c-tiles-steps__item-text h4 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: normal;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-text h4 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: normal;
  }
}
.c-tiles-steps__item-text h5 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: normal;
}
.c-tiles-steps__item-text h1,
.c-tiles-steps__item-text h2,
.c-tiles-steps__item-text h3,
.c-tiles-steps__item-text h4,
.c-tiles-steps__item-text h5,
.c-tiles-steps__item-text h6 {
  margin-bottom: 0.625rem;
  margin-top: 0;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-text h1,
.c-tiles-steps__item-text h2,
.c-tiles-steps__item-text h3,
.c-tiles-steps__item-text h4,
.c-tiles-steps__item-text h5,
.c-tiles-steps__item-text h6 {
    margin-bottom: 1.25rem;
  }
}
.c-tiles-steps__item-text p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: normal;
}
.c-tiles-steps__item-text p + h1,
.c-tiles-steps__item-text p + h2,
.c-tiles-steps__item-text p + h3,
.c-tiles-steps__item-text p + h4,
.c-tiles-steps__item-text p + h5,
.c-tiles-steps__item-text p + h6,
.c-tiles-steps__item-text h1 + p,
.c-tiles-steps__item-text h2 + p,
.c-tiles-steps__item-text h3 + p,
.c-tiles-steps__item-text h4 + p,
.c-tiles-steps__item-text h5 + p,
.c-tiles-steps__item-text h6 + p,
.c-tiles-steps__item-text p + p {
  margin-top: 0.625rem;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-text p + h1,
.c-tiles-steps__item-text p + h2,
.c-tiles-steps__item-text p + h3,
.c-tiles-steps__item-text p + h4,
.c-tiles-steps__item-text p + h5,
.c-tiles-steps__item-text p + h6,
.c-tiles-steps__item-text h1 + p,
.c-tiles-steps__item-text h2 + p,
.c-tiles-steps__item-text h3 + p,
.c-tiles-steps__item-text h4 + p,
.c-tiles-steps__item-text h5 + p,
.c-tiles-steps__item-text h6 + p,
.c-tiles-steps__item-text p + p {
    margin-top: 1.25rem;
  }
}
.c-tiles-steps__item-text a {
  transition-timing-function: ease;
  transition-duration: 170ms;
  text-decoration: underline;
  transition-property: opacity;
}
.c-tiles-steps__item-text a:hover {
  opacity: 0.4;
}

.c-tiles-steps__item-action {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: row;
  gap: 0.625rem;
}
@media (min-width: 1400px) {
  .c-tiles-steps__item-action {
    margin-top: 2rem;
    gap: 1rem;
  }
}
.c-tiles-steps__item-action .c-button--transparent {
  border-color: #E8ECED;
  color: #E8ECED;
}

.c-tiles-steps__item-media {
  position: relative;
  border: none;
}
.c-tiles-steps__item-media picture {
  width: 100%;
  height: 100%;
  display: flex;
  border: none;
}
.c-tiles-steps__item-media picture img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border: none;
}

.c-tiles-steps__item-media:not(.c-tiles-steps__item-media--svg):after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 77, 81, 0.1);
  z-index: 2;
}

@media (min-width: 768px) {
  .c-tiles-steps__aside > * {
    position: sticky;
    top: 8rem;
  }
}

.c-tiles-steps__item--featured {
  background: #f4f677;
  color: #204D51;
}
.c-tiles-steps__item--featured .c-button--primary {
  color: #f4f677;
  border-color: #204D51;
  background: #204D51;
}
.c-tiles-steps__item--featured .c-button--transparent {
  border-color: #204D51;
  color: #204D51;
}
