/* Breadcrumbs styles */
.x-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x-breadcrumbs__item {
  font-size: 14px;
  font-weight: 400;
  color: #314052; 
  cursor: default;
}

.x-breadcrumbs__item a {
  transition-duration: 200ms;
}

.x-breadcrumbs__item a:hover {
  color: #FF6353;
}

.x-breadcrumbs__first-item a {
  color: #FF6353;
  font-weight: bold;
  text-decoration: underline;
}

.x-breadcrumbs__first-item a:hover {
  color: #314052;
}
/* Breadcrumbs styles end */

/* 404 page styles */
.x-404__container {
  margin-bottom: 24px;
}

.x-404__image {
  object-fit: contain;
  overflow: hidden;
  max-width: 208px;
  max-height: 185px;
  margin: 0 auto;
  display: block;
  margin-bottom: 16px;
}

.x-404__title {
  color: #E12528;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 16px;
}

.x-404__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #314052;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 16px;
}

.x-404__btn {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.x-404__related-boxes p {
  text-align: center;
  margin-bottom: 24px;
}

.x-404__related-boxes .x-related-boxes__title > * {
  color: #E12528;
  text-align: center;
  margin-bottom: 16px;
}

@media screen and (min-width: 480px) {
  .x-404__image {
    max-width: 356px;
    max-height: 317px;
    margin-bottom: 32px;
  }
}

@media screen and (min-width: 768px) {
  .x-404__container {
    margin-bottom: 32px;
  }

  .x-404__title {
    margin-bottom: 24px;
  }

  .x-404__description {
    font-size: 18px;
    margin-bottom: 32px;
  }
}

@media screen and (min-width: 1280px) {
  .x-404__container {
    margin-bottom: 56px;
  }

  .x-404__image {
    max-width: 436px;
    max-height: 389px;
  }

  .x-404__description {
    max-width: 636px;
  }

  .x-404__related-boxes p {
    text-align: left;
  }
  
  .x-404__related-boxes .x-related-boxes__title > * {
    text-align: left;
  }
}
/* 404 page styles end */