/**
 * Single projects page
 */

.ecs-project-single {
    background-color: #ffffff;
    color: #4a4b4d;
}

.ecs-project-single__hero {
    position: relative;
    margin-bottom: 44px;
}

.ecs-project-single__hero-media,
.ecs-project-single__hero-overlay {
    inset: 0;
    position: absolute;
}

.ecs-project-single__hero-media img,
.ecs-project-single__image-band-media img,
.ecs-project-single__project-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ecs-project-single__hero-overlay {
    background: linear-gradient(90deg, rgba(0, 129, 198, 0.88) 0%, rgba(0, 129, 198, 0.72) 38%, rgba(0, 129, 198, 0) 100%);
}

.ecs-project-single__hero-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    height: auto;
    padding-bottom: 0;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.ecs-project-single__hero-inner::before,
.ecs-project-single__hero-inner::after {
    display: none;
}

.ecs-project-single__hero-copy {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    max-width: 332px;
    text-align: center;
    width: 100%;
}

.ecs-project-single__title {
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.ecs-project-single__breadcrumbs {
    width: 100%;
}

.ecs-project-single__breadcrumb-list {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-project-single__breadcrumb-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    list-style-type: none;
    margin-top: 0;
    padding-left: 0;
}

.ecs-project-single__breadcrumb-item a {
    color: inherit;
}

.ecs-project-single__breadcrumb-item + .ecs-project-single__breadcrumb-item::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cpath d='M9.87239 6.08201L3.9633.173072C3.73257-.0576973 3.3584-.0576974 3.12763.173112 2.8969.403881 2.8969.778006 3.12767 1.00878L8.61891 6.4999 3.12763 11.9913C2.8969 12.2221 2.8969 12.5962 3.12767 12.827 3.24302 12.9423 3.39425 13 3.54548 13 3.69672 13 3.84795 12.9423 3.96334 12.8269L9.87239 6.91767C9.98324 6.80685 10.0455 6.65657 10.0455 6.49986 10.0455 6.34315 9.98324 6.19282 9.87239 6.08201Z' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    transform: rotate(90deg);
    margin: 0;
}

.ecs-project-single__glance {
    background-color: #f7cc40;
    color: #4a4b4d;
    margin-left: -22px;
    margin-right: -22px;
    margin-top: auto;
    padding: 30px 22px;
    width: calc(100% + 44px);
}

.ecs-project-single__glance-title {
    color: #00427d;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 16px;
}

.ecs-project-single__glance-content,
.ecs-project-single__glance-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.ecs-project-single__glance-content p + p {
    margin-top: 12px;
}

.ecs-project-single__overview {
    padding-bottom: 50px;
}

.ecs-project-single__overview-grid {
    display: grid;
    gap: 50px;
}

.ecs-project-single__content {
    font-size: 16px;
    line-height: 1.5;
    order: 1;
}

.ecs-project-single__content p {
    margin: 0 0 29px;
}

.ecs-project-single__content p:last-child {
    margin-bottom: 0;
}

.ecs-project-single__content a {
    color: #0081c6;
    text-decoration: none;
}

.ecs-project-single__content a:hover,
.ecs-project-single__content a:focus {
    text-decoration: underline;
}

.ecs-project-single__info {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    gap: 35px;
    order: 2;
    padding: 25px;
}

.ecs-project-single__info-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ecs-project-single__info-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.ecs-project-single__info-value,
.ecs-project-single__info-value p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.ecs-project-single__info-value p + p {
    margin-top: 8px;
}

.ecs-project-single__info-row .ecs-project-single__social-list {
    align-items: center;
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-project-single__info-row .ecs-project-single__social-item {
    margin-top: 0;
    padding-left: 0;
}

.ecs-project-single__info-row .ecs-project-single__social-item::before {
    display: none;
}

.ecs-project-single__social-item a {
    color: #0081c6;
    display: block;
    line-height: 0;
}

.ecs-project-single__social-item a svg {
    display: block;
    height: 34px;
    width: 34px;
}

.ecs-project-single__social-item a:hover,
.ecs-project-single__social-item a:focus {
    color: #00427d;
}

.ecs-project-single__image-band {
    display: none;
}

.ecs-project-single__services {
    padding-bottom: 50px;
}

.ecs-project-single__section-title {
    color: #4a4b4d;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 25px;
    text-align: center;
}

.ecs-project-single__services .ecs-project-single__service-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-project-single__service-list .ecs-project-single__service-item {
    margin-top: 0;
    padding-left: 0;
}

.ecs-project-single__service-list .ecs-project-single__service-item::before {
    display: none;
}

.ecs-project-single__service-list .ecs-project-single__service-item a,
.ecs-project-single__service-list .ecs-project-single__service-item span {
    align-items: center;
    background-color: #0081c6;
    border-radius: 4px;
    color: #ffffff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.2;
    min-height: 57px;
    padding: 18px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.ecs-project-single__projects {
    padding-bottom: 80px;
}

.ecs-project-single__projects-header {
    margin-bottom: 26px;
}

.ecs-project-single__projects-nav {
    align-items: center;
    display: flex;
    gap: 19px;
    justify-content: center;
}

.ecs-project-single__projects-nav--desktop {
    display: none;
}

.ecs-project-single__projects-button {
    align-items: center;
    background-color: #efefef;
    border: 0;
    border-radius: 4px;
    color: #4a4b4d;
    cursor: pointer;
    display: inline-flex;
    height: 60px;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 60px;
}

.ecs-project-single__projects-button:hover,
.ecs-project-single__projects-button:focus {
    background-color: #f7cc40;
    color: #4a4b4d;
}

.ecs-project-single__projects-slider {
    overflow: hidden;
    padding: 0 22px;
}

.ecs-project-single__projects-track {
    -ms-overflow-style: none;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ecs-project-single__projects-track::-webkit-scrollbar {
    display: none;
}

.ecs-project-single__project-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.ecs-project-single__project-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.ecs-project-single__project-image {
    border-radius: 3px 3px 0 0;
    height: 266px;
    overflow: hidden;
}

.ecs-project-single__project-body {
    background-color: #efefef;
    border-radius: 0 0 3px 3px;
    min-height: 219px;
    padding: 20px 19px 25px;
}

.ecs-project-single__project-title {
    color: #4a4b4d;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
}

.ecs-project-single__project-excerpt {
    color: #4a4b4d;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.ecs-project-single__project-cta {
    align-items: center;
    color: #4a4b4d;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
    line-height: 1.333;
}

.ecs-project-single__projects-footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

.ecs-project-single__projects-archive {
    align-items: center;
    background-color: #f7cc40;
    border-radius: 4px;
    color: #4a4b4d;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0.09em;
    line-height: 1.2;
    min-height: 51px;
    padding: 16px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

@media (min-width: 1200px) {
    .ecs-project-single__hero {
        margin-bottom: 150px;
    }

    .ecs-project-single__hero-inner {
        display: block;
        height: 661px;
        padding-bottom: 100px;
        padding-top: 455px;
    }

    .ecs-project-single__hero-copy {
        align-items: flex-start;
        margin: 0;
        max-width: 575px;
        text-align: left;
    }

    .ecs-project-single__title {
        font-size: 35px;
        max-width: 488px;
    }

    .ecs-project-single__breadcrumb-list {
        align-items: center;
        flex-direction: row;
    }

    .ecs-project-single__breadcrumb-item {
        flex-direction: row;
    }

    .ecs-project-single__breadcrumb-item + .ecs-project-single__breadcrumb-item::before {
        left: 0;
        margin: 0;
        position: relative;
        transform: none;
        margin: 0 auto 5px;
    }

    .ecs-project-single__glance {
        bottom: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 517px;
        position: absolute;
        right: 22px;
        width: calc(100% - 44px);
    }

    .ecs-project-single__overview {
        padding-bottom: 100px;
    }

    .ecs-project-single__overview-grid {
        align-items: start;
        gap: 37px;
        grid-template-columns: 307px minmax(0, 1fr);
    }

    .ecs-project-single__info {
        order: 1;
    }

    .ecs-project-single__content {
        order: 2;
    }

    .ecs-project-single__image-band {
        display: block;
        padding-bottom: 100px;
    }

    .ecs-project-single__image-band-media {
        height: 236px;
        overflow: hidden;
    }

    .ecs-project-single__services {
        padding-bottom: 100px;
    }

    .ecs-project-single__section-title {
        font-size: 35px;
        margin-bottom: 40px;
        text-align: left;
    }

    .ecs-project-single__services .ecs-project-single__service-list {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 35px;
    }

    .ecs-project-single__service-list .ecs-project-single__service-item a,
    .ecs-project-single__service-list .ecs-project-single__service-item span {
        width: auto;
    }

    .ecs-project-single__projects {
        padding-bottom: 120px;
    }

    .ecs-project-single__projects-header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
    }

    .ecs-project-single__projects-nav--desktop {
        display: flex;
    }

    .ecs-project-single__projects-track {
        gap: 40px;
        padding-left: max(22px, calc(50% - 661px));
        padding-right: max(22px, calc(50% - 661px));
        scroll-padding-inline: 0;
    }

    .ecs-project-single__projects-slider {
        padding: 0;
    }

    .ecs-project-single__project-card {
        flex: 0 0 417px;
    }

    .ecs-project-single__project-image {
        height: 394px;
    }

    .ecs-project-single__project-body {
        min-height: 232px;
        padding: 28px 26px 30px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .ecs-project-single__project-title {
        font-size: 19px;
    }

    .ecs-project-single__project-cta {
        font-size: 16px;
    }

    .ecs-project-single__project-link:hover .ecs-project-single__project-body,
    .ecs-project-single__project-link:focus .ecs-project-single__project-body {
        background-color: #0081c6;
    }

    .ecs-project-single__project-link:hover .ecs-project-single__project-title,
    .ecs-project-single__project-link:hover .ecs-project-single__project-excerpt,
    .ecs-project-single__project-link:hover .ecs-project-single__project-cta,
    .ecs-project-single__project-link:focus .ecs-project-single__project-title,
    .ecs-project-single__project-link:focus .ecs-project-single__project-excerpt,
    .ecs-project-single__project-link:focus .ecs-project-single__project-cta {
        color: #ffffff;
    }

    .ecs-project-single__projects-footer {
        display: none;
    }
}
