/*** General ***/

.highlight {
    color: var(--accent-color);
}


/*** Services Archive Page ***/

.service-archive-page .top-section-columns--cta a.top-section-columns--cta {
    display: none;
}

.service-archive-items {
    display: flex;
    flex-wrap: wrap;
}

.service-archive-item {
    border-bottom: 1px solid #d0dbe1;
    border-right: 1px solid #d0dbe1;
    padding: 2rem 4rem 4rem;
    flex-basis: 100%;
    flex-grow: 0;
    border-right: none;
}

.service-archive-items .service-archive-item .service-archive-item--icon img {
    display: block;
    margin-left: 0;
}

.service-archive-item--content {
    max-width: 322px;
}

.service-archive-item--content a {
    white-space: break-spaces;
    font-size: 2rem;
    font-weight: 900;
}

@media (min-width: 992px) {
    .service-archive-item {
        flex-basis: 33%;
        flex-grow: 0;
        border-right: 1px solid #d0dbe1;
    }
    .service-archive-items .service-archive-item:nth-child(n+7) {
        border-bottom: none;
    }
    .service-archive-items .service-archive-item:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 992px) {
    .service-archive-item {
        flex-basis: 50%;
        flex-grow: 0;
        border-right: 1px solid #d0dbe1;
    }
    .service-archive-items .service-archive-item:nth-child(2n) {
        border-right: none;
    }
    .service-archive-items .service-archive-item:nth-child(n+9) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .service-archive-item {
        flex-basis: 100%;
        flex-grow: 0;
        border-right: none;
        padding: 2rem;
        border: none;
    }
    .service-archive-item--icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .service-archive-item--content {
        max-width: 100%;
        text-align: center;
    }
}

.service-archive-page section.service-page--banner-image {
    margin-top: 0;
    background-attachment: fixed;
    /*height: 400px;*/
    /*background-size: contain;*/
}

.service-archive-page .case-study-section--right ul {
    display: flex;
    flex-wrap: wrap;
    max-height: 450px;
    flex-direction: column;
    margin-left: 0;
}

.service-archive-page .case-study-section--right ul>li {
    flex: 1 100%;
    padding-bottom: 0.5rem;
    line-height: 1.2;
    margin-right: 4rem;
    max-width: 250px;
    font-size: 1.6rem;
}

.service-archive-page h4.ul-header {
    color: #c2d501;
    margin-left: -2rem;
}

ul+h4.ul-header {
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .service-archive-page h4.ul-header {
        margin-left: 0;
        margin-top: 1rem;
    }
    .service-archive-page .case-study-section--right ul {
        max-height: 100%;
    }
    .service-archive-page span.arrow-animation {
        display: none;
    }
    .service-archive-page .case-study-section--right ul {
        margin-top: 1rem;
        margin-left: 2rem;
    }
}


/*** 404 Template ***/

.not-found-template section#page-header {
    background-image: none;
    background-color: #fff;
    padding: 12rem 0 0;
}

.not-found-template h1.entry-title {
    color: #233746;
    margin-bottom: 1rem;
}

.not-found-template span.services-hero-title--tagline {
    margin-bottom: 1.25rem;
}

.not-found--content {
    display: block;
    padding: 2rem 0 6rem;
}

h2.not-found--header {
    color: #667d8d;
    font-weight: 500;
    margin-bottom: 1rem;
}

p.not-found--copy {
    color: #233746;
}

.not-found--team {
    position: relative;
    /* margin-top: 25rem; */
    background-color: #e7edf0;
}

.not-found--team-members {
    display: flex;
    position: initial;
    z-index: 8;
}

.not-found--team-member {
    display: block;
    padding: 4rem 1rem 2.5rem;
    position: relative;
    width: 100%;
    height: 100%;
}

.not-found--headshot-container img {
    display: block;
    position: absolute;
    height: 300px;
    top: -140%;
    left: 0%;
    width: 350px;
    min-width: 350px;
    object-position: inherit;
    object-fit: cover;
    z-index: -20;
}

.not-found--team-members .not-found--team-member:nth-child(odd) img {
    z-index: -10;
}

.not-found--team-image img {
    display: block;
    width: 100%;
}

.not-found--team-content {
    text-align: center;
    position: relative;
}

.not-found--team-content:before {
    content: "";
    display: block;
    background-image: url(/wp-content/uploads/2020/05/question-mark-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 50px;
    width: 100%;
    position: absolute;
    z-index: 25;
    top: -65px;
}

h5.not-found--name {
    color: #233746;
    font-weight: 900;
    letter-spacing: 0.03em;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

p.not-found--bio {
    color: #233746;
    font-size: 1.6rem;
    line-height: 1.5;
    font-size: 1.5rem;
    min-height: 66px;
}

span.not-found--quote {
    color: #c2d501;
    font-family: "Gelasio", "Merriweather", "Times", serif;
    font-weight: 600;
    font-size: 2rem;
    font-style: italic;
}


/*** Blog Lazy Loading ***/

a.insight-box {
    transition: 1.25s cubic-bezier(0.65, 0.05, 0.36, 1) opacity, 0.75s cubic-bezier(0.65, 0.05, 0.36, 1) transform;
}

a.insight-box.loaded {
    display: block;
    opacity: 1;
    transform: translateY(0px);
}

a.insight-box.not-loaded {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

a.insight-box.is-loading {
    display: block;
    opacity: 0;
    transform: translateY(10px);
}

.featured-blogs-container[class*="cat-item-"]:not(.cat-item-27) .insight-box {
    opacity: 1;
    transform: translateY(0px);
}