/* || 404 page layout */

.error-layout{
  margin: 80px auto;
  max-width: 1280px;
}
.error-page__heading{
  color: var(--il-blue);
}
.error-page__heading > span{
  color: var(--il-orange);
  font-size: 96px;
}
.error-layout {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.error-layout__image {
  max-width: 500px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.error-layout__text {
  flex: 1;
  min-width: 280px;
}
.error-layout__message {
  font-size: 28px;
  line-height: 40px; 
}
.error-page-end--content{
  margin: 40px auto;
  max-width: 751px;
}
.error-page-end--content .site-search--page-end{
  max-width: none;
}
.error-page-end--content .mega-menu-extra{
  display: none;
}
.error-page-end--content h2{
  margin: 24px 0;
}

@media (max-width: 855px) {
.error-layout{
  margin: 80px 20px;
}

.error-page-end--content{
  margin: 40px 20px;
}

.error-page__heading{
  padding: 20px 0;
}

}
/****/

/* || Sitemap Section */

.sitemap__wrapper{
  margin-top: 80px;
  max-width: 751px;
  margin: auto;
}

.sitemap a{
  color: var(--il-blue);
}

.sitemap a:hover{
  color: var(--il-altgeld);
  text-decoration: none;
}

.sitemap-sections {
  display: flex;
  flex-direction: column;
}

.sitemap h3 {
  margin-top: 24px;
  margin-bottom: 16px;
}

.sitemap-sections ul {
  list-style-type: none;
  padding: 0;
}


.sitemap-sections {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 20px;
  margin: 24px 0;
  border-top: solid 8px var(--il-orange);
}

@media (min-width: 550px) {
  .sitemap {
  column-count: 2;
  column-gap: 20px;
  }

  .sitemap > * {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
  }

  .sitemap-sections{
    margin: 0;
    margin-bottom: 20px;
  }

}

@media (min-width: 999px) {

  .sitemap {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .sitemap-sections {
    margin: 0;
  }

  .sitemap-sections:nth-child(1) {
        height: max-content;

  }

  .sitemap-sections:nth-child(2) {
    grid-column: 2;
  }

  .sitemap-sections:nth-child(3) {
    grid-column: 3;
    height: max-content;
  }

  .sitemap-sections:nth-child(4) {
    grid-column: 1;
    margin-top: -60px;
  }

  .sitemap-sections:nth-child(5) {
    height: max-content;
    grid-column: 2;
    grid-row: span 2;
  }

  .sitemap-sections:nth-child(6) {
    height: max-content;
    grid-column: 3;
    margin-top: -90px;
  }

}
/****/
