.sp-construction-page,
.sp-single-project {
    background: #fff;
    color: #171717;
}

.sp-single-project {
    --sp-header-overlap: -110px;
    margin-top: var(--sp-header-overlap);
}


body.tax-construction_status .site-header,
body.tax-construction_status #masthead,
body.tax-construction_status .elementor-location-header,
body.tax-construction_location .site-header,
body.tax-construction_location #masthead,
body.tax-construction_location .elementor-location-header,
body.tax-construction_type .site-header,
body.tax-construction_type #masthead,
body.tax-construction_type .elementor-location-header {
    position: relative;
    z-index: 50;
    background: transparent;
}

body.tax-construction_status .sp-construction-page,
body.tax-construction_location .sp-construction-page,
body.tax-construction_type .sp-construction-page {
    --sp-header-overlap: -110px;
    margin-top: var(--sp-header-overlap);
}

.sp-taxonomy-hero + .sp-projects-wrap {
    padding-top: 48px;
}
body.single-construction .site-header,
body.single-construction #masthead,
body.single-construction .elementor-location-header {
    position: relative;
    z-index: 50;
    background: transparent;
}

.sp-projects-wrap {
    width: min(1128px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 64px;
}

.sp-project-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 20px;
    align-items: center;
    margin: 0 auto 56px;
}

.sp-project-filters label {
    display: block;
    min-width: 0;
}

.sp-project-filters input,
.sp-project-filters select {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 999px;
    background-color: #f1f1f1;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    padding: 0 28px;
    outline: none;
    box-shadow: none;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.sp-project-filters select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #1f2933 50%), linear-gradient(135deg, #1f2933 50%, transparent 50%);
    background-position: calc(100% - 28px) 27px, calc(100% - 22px) 27px;
    background-repeat: no-repeat;
    background-size: 7px 7px, 7px 7px;
    padding-right: 52px;
}

.sp-project-filters input:focus,
.sp-project-filters select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(216, 31, 42, 0.16);
}

.sp-project-filters input {
    padding-left: 42px;
    background-image: linear-gradient(45deg, transparent 45%, #b7b7b7 45%, #b7b7b7 55%, transparent 55%);
    background-position: 22px 28px;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.sp-project-filters button {
    min-height: 60px;
    border: 0;
    border-radius: 999px;
    background: #d81f2a;
    color: #fff;
    font-weight: 700;
    padding: 0 34px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.sp-project-filters button:hover,
.sp-project-filters button:focus-visible {
    background: #bd1822;
    transform: translateY(-1px);
}

.sp-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.sp-project-card {
    margin: 0;
    min-height: 520px;
}

.sp-project-card a {
    display: block;
    position: relative;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(17, 24, 39, 0.12);
    transition: box-shadow 320ms ease, transform 320ms ease;
}

.sp-project-card a:hover,
.sp-project-card a:focus-visible {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 34px 70px rgba(17, 24, 39, 0.24);
}

.sp-project-image {
    position: relative;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 30px;
    background: #eeeeee;
}

.sp-project-image::before,
.sp-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.sp-project-image::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.72));
}

.sp-project-image::after {
    opacity: 0;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.sp-project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 320ms ease, filter 320ms ease, opacity 320ms ease;
}

.sp-project-card a:hover img,
.sp-project-card a:focus-visible img {
    transform: scale(1.08);
    filter: none;
    opacity: 1;
}

.sp-project-card a:hover .sp-project-image::before,
.sp-project-card a:focus-visible .sp-project-image::before {
    opacity: 0;
}

.sp-project-card a:hover .sp-project-image::after,
.sp-project-card a:focus-visible .sp-project-image::after {
    opacity: 1;
    background: rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.sp-project-card-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 55px;
    z-index: 2;
    display: block;
    color: #fff;
    transition: opacity 280ms ease, transform 280ms ease;
}

.sp-project-card a:hover .sp-project-card-content,
.sp-project-card a:focus-visible .sp-project-card-content {
    top: 50%;
    bottom: auto;
    opacity: 1;
    transform: translateY(-50%);
    text-align: center;
}

.sp-project-card-content h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    text-align: left;
    text-transform: none;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.sp-project-card a:hover .sp-project-card-content h2,
.sp-project-card a:focus-visible .sp-project-card-content h2 {
    text-align: center;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.sp-project-ribbon {
    width: 210px;
    min-width: 210px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 0;
    background: #d81f2a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    position: absolute;
    top: 24px;
    right: -58px;
    z-index: 3;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.sp-project-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 280ms ease, transform 280ms ease;
    pointer-events: none;
}

.sp-project-card-overlay {
    display: none !important;
}

.sp-project-card a:hover .sp-project-card-overlay,
.sp-project-card a:focus-visible .sp-project-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.sp-project-card-details {
    width: min(100%, 390px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sp-project-card-detail {
    min-height: 116px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #111 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 16px 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.sp-project-card-detail i {
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 50%;
    background: #d81f2a;
    position: relative;
}

.sp-project-card-detail i::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-filters input,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-filters select {
    background-color: #fff !important;
    color: #1f2933 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: #1f2933;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-filters input::placeholder {
    color: #5f6b76 !important;
    opacity: 1;
    -webkit-text-fill-color: #5f6b76;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-filters select option {
    background-color: #fff !important;
    color: #1f2933 !important;
}

.sp-project-card-detail,
.sp-project-card-detail *,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-card-detail,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-card-detail * {
    color: #111 !important;
    opacity: 1 !important;
}

.sp-project-card-detail i,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-card-detail i {
    color: #fff !important;
}

.sp-project-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #ececec;
    color: #707070;
    font-weight: 700;
}

.sp-project-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.sp-project-pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    color: #1d1d1d;
    text-decoration: none;
}

.sp-project-pagination .current {
    border-color: #d81f2a;
    background: #d81f2a;
    color: #fff;
}

.sp-no-projects {
    text-align: center;
    font-size: 18px;
}

.sp-project-detail {
    width: min(1290px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.sp-detail-hero {
    position: relative;
    width: 100vw;
    min-height: clamp(430px, 68vh, 680px);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #efefef;
}

.sp-detail-hero-inner {
    position: relative;
    min-height: inherit;
}

.sp-detail-hero img {
    width: 100%;
    height: clamp(430px, 68vh, 680px);
    display: block;
    object-fit: cover;
}

.sp-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.76));
}

.sp-detail-title {
    position: absolute;
    left: 50%;
    bottom: 58px;
    z-index: 2;
    width: min(1290px, calc(100% - 32px));
    transform: translateX(-50%);
}

.sp-detail-title h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
}

/* The single construction hero section itself controls the image height. */
.sp-single-project .sp-detail-hero {
    height: 730px !important;
    min-height: 730px !important;
}

.sp-single-project .sp-detail-hero-inner {
    height: 100%;
    min-height: 0;
}

.sp-single-project .sp-detail-hero img {
    height: 100% !important;
}

.sp-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
    margin-top: 42px;
}

.sp-detail-main h2,
.sp-detail-sidebar h2 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.25;
}

.sp-detail-main > h2,
.sp-detail-main > .sp-project-content {
    background: #F4F4F4;
}

.sp-detail-main > h2 {
    margin-bottom: 0;
    padding: 46px 46px 18px;
    border-radius: 18px 18px 0 0;
}

.sp-project-content {
    font-size: 17px;
    line-height: 1.75;
    padding: 0 46px 46px;
    border-radius: 0 0 18px 18px;
}

.sp-construction-brochure-action {
    margin: 28px 0 0;
}

.sp-construction-brochure-button,
.sp-construction-brochure-button:hover,
.sp-construction-brochure-button:focus {
    background: #343465;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    opacity: 1;
    padding: 14px 22px;
}

body.sp-construction-brochure-popup-open {
    overflow: hidden;
}

.sp-construction-brochure-popup[hidden] {
    display: none !important;
}

.sp-construction-brochure-popup {
    display: none !important;
    inset: 0;
    position: fixed;
    z-index: 100000;
}

.sp-construction-brochure-popup__backdrop {
    background: rgba(0, 0, 0, .7);
    inset: 0;
    position: absolute;
}

.sp-construction-brochure-popup__dialog {
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    left: 50%;
    max-height: calc(100vh - 40px);
    max-width: 680px;
    overflow: auto;
    padding: 42px 34px 34px;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
}

#sp-construction-brochure-popup-title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 32px 24px 0;
    text-align: center;
}

.sp-construction-brochure-popup__close,
.sp-construction-brochure-popup__close:hover,
.sp-construction-brochure-popup__close:focus {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #111;
    cursor: pointer;
    font-size: 34px;
    height: auto !important;
    line-height: 1;
    min-height: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: 16px;
    top: 12px;
    width: auto !important;
}

.sp-description-image,
.sp-description-slider {
    margin: 0 0 24px;
}

.sp-description-image {
    overflow: hidden;
    border-radius: 18px;
}

.sp-description-image img {
    display: block;
    width: 100%;
    height: clamp(260px, 36vw, 490px);
    object-fit: cover;
}

.sp-description-slider {
    position: relative;
}

.sp-description-slider__viewport {
    overflow: hidden;
    border-radius: 18px;
}

.sp-description-slider__track {
    display: flex;
    transition: transform 360ms ease;
}

.sp-description-slider__slide {
    flex: 0 0 100%;
    margin: 0;
}

.sp-description-slider__slide img {
    display: block;
    width: 100%;
    height: clamp(260px, 36vw, 490px);
    object-fit: cover;
}

.sp-description-slider__button {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(20, 20, 20, 0.7);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

.sp-description-slider__button:hover,
.sp-description-slider__button:focus-visible {
    background: #d81f2a;
}

.sp-description-slider__button--previous { left: 18px; }
.sp-description-slider__button--next { right: 18px; }

.sp-description-slider__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.sp-description-slider__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.sp-description-slider__dots button[aria-selected="true"] {
    background: #fff;
    transform: scale(1.3);
}

.sp-detail-info-main {
    margin-top: 36px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fafafa;
}

.sp-detail-info-main h2 {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.25;
}

.sp-detail-info-main dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.sp-detail-info-main dl > div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(17, 17, 17, 0.08);
}

.sp-construction-info-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 31, 42, 0.22);
    border-radius: 50%;
    background: #f4f4f4;
    color: #d81f2a;
    font-size: 18px;
}

.sp-construction-info-copy {
    min-width: 0;
}

.sp-detail-info-main dt {
    margin: 0 0 5px;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sp-detail-info-main dd {
    margin: 0;
    color: #171717;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.sp-detail-sidebar {
    position: sticky;
    top: 120px;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 60px rgba(17, 17, 17, 0.18);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.sp-detail-sidebar dl {
    margin: 0;
}

.sp-detail-sidebar dl > div {
    padding: 14px 0;
    border-top: 1px solid #e4e4e4;
}

.sp-detail-sidebar dt {
    margin: 0 0 4px;
    color: #6b6b6b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-detail-sidebar dd {
    margin: 0;
    color: #171717;
    font-size: 16px;
    line-height: 1.45;
}

.sp-media-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 8px 0 36px;
}

.sp-media-gallery a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    background: #eee;
}

.sp-media-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sp-construction-media {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid #e5e5e5;
}

.sp-construction-media-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.sp-construction-media-heading h2 {
    margin: 0;
}

.sp-construction-media-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-construction-media-tabs button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.sp-construction-media-tabs button.is-active {
    background: #d81f2a;
    border-color: #d81f2a;
    color: #fff;
}

.sp-construction-media-panel {
    display: none;
}

.sp-construction-media-panel.is-active {
    display: block;
}

.sp-construction-media-carousel {
    position: relative;
}

.sp-construction-media-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 58%);
    gap: 22px;
    overflow-x: auto;
    padding: 0 0 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sp-construction-media-strip::-webkit-scrollbar {
    display: none;
}

.sp-construction-media-strip img {
    width: 100%;
    height: clamp(260px, 42vw, 470px);
    display: block;
    object-fit: cover;
    border-radius: 22px;
    scroll-snap-align: center;
}

.sp-construction-media-arrow {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d81f2a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(208, 28, 36, 0.26);
    cursor: pointer;
}

.sp-construction-media-arrow-prev {
    left: -26px;
}

.sp-construction-media-arrow-next {
    right: -26px;
}

.sp-construction-media-arrow:hover {
    background: #111;
    color: #fff;
}

.sp-construction-video-strip {
    grid-auto-columns: minmax(360px, calc(50% - 11px));
}

.sp-construction-video-card {
    position: relative;
    min-height: clamp(260px, 30vw, 360px);
    border-radius: 22px;
    overflow: hidden;
    display: block;
    color: #fff;
    background: #111;
    scroll-snap-align: center;
}

.sp-construction-video-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
}

.sp-construction-video-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3));
}

.sp-construction-video-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d81f2a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 22px;
}

.sp-construction-video-card strong {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 1;
    color: #fff;
    font-size: 18px;
}

.sp-shortcode-area {
    margin-top: 32px;
}

.sp-detail-sidebar .sp-sidebar-request-title {
    max-width: 240px !important;
    margin: 0 auto 22px !important;
    text-align: center !important;
    font-size: 24px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
}

.sp-sidebar-request {
    margin: 0;
}

.sp-sidebar-request :is(input, textarea, select) {
    width: 100%;
    margin-bottom: 12px;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: #f1f1f1;
    color: #111;
    box-shadow: none;
}

.sp-sidebar-request textarea {
    min-height: 110px;
    border-radius: 18px;
    resize: vertical;
}

.sp-sidebar-request :is(button, input[type="submit"]) {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: #d81f2a;
    color: #fff;
    font-weight: 800;
    width: auto;
    margin-bottom: 0;
    cursor: pointer;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-sidebar {
    background: rgba(22, 22, 22, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-sidebar h2,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-sidebar dd,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-info-main h2,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-info-main dd {
    color: #fff;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-sidebar dt,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-info-main dt {
    color: rgba(255, 255, 255, 0.68);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-sidebar dl > div,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-sidebar-request {
    border-color: rgba(255, 255, 255, 0.12);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-info-main {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.1);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-main > h2:first-child,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-main > .sp-project-content {
    background: #171717;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-main > h2:first-child,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-project-content {
    color: #fff;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-detail-info-main dl > div {
    background: #202020;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-info-icon {
    background: #2a2a2a;
    border-color: rgba(216, 31, 42, 0.42);
    color: #ef3b46;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-sidebar-request :is(input, textarea, select) {
    background: #1b1b1b;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-sidebar-request :is(input, textarea)::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-popup__dialog {
    background: #1b1b1b;
    color: #f4f4f4;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) #sp-construction-brochure-popup-title,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-popup label,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-popup__close {
    color: #f4f4f4;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-popup .elementor-field {
    background: #292929;
    border-color: #676767;
    color: #f4f4f4;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-popup .elementor-field::placeholder {
    color: #bdbdbd;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-button,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-button:hover,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .sp-construction-brochure-button:focus {
    background: #343465;
    color: #fff !important;
    font-weight: 800;
    text-shadow: 0 0 1px rgba(255, 255, 255, .35);
}

@media (max-width: 980px) {
    .sp-project-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sp-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-project-card,
    .sp-project-image {
        min-height: 470px;
    }

    .sp-detail-layout {
        grid-template-columns: 1fr;
    }

    .sp-detail-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .sp-detail-info-main dl {
        grid-template-columns: 1fr;
    }

    .sp-construction-media-heading {
        display: block;
    }

    .sp-construction-media-tabs {
        margin-top: 16px;
    }

    .sp-single-project .sp-detail-hero {
        height: 560px !important;
        min-height: 560px !important;
    }
}

@media (max-width: 640px) {
    .sp-projects-wrap,
    .sp-project-detail {
        width: min(100% - 24px, 1128px);
    }

    .sp-project-filters,
    .sp-project-grid,
    .sp-media-gallery {
        grid-template-columns: 1fr;
    }

    .sp-project-filters {
        margin-bottom: 28px;
    }

    .sp-project-card,
    .sp-project-image {
        min-height: 430px;
    }

    .sp-project-card-content {
        left: 20px;
        right: 20px;
        bottom: 55px;
    }

    .sp-project-card-content h2 {
        font-size: 24px;
    }

    .sp-construction-media-strip,
    .sp-construction-video-strip {
        grid-auto-columns: 86%;
    }

    .sp-construction-media-arrow {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .sp-construction-media-arrow-prev {
        left: 8px;
    }

    .sp-construction-media-arrow-next {
        right: 8px;
    }

    .sp-single-project {
        --sp-header-overlap: -82px;
    }

    .sp-description-image img,
    .sp-description-slider__slide img {
        height: 270px;
    }

    .sp-description-slider__button {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .sp-description-slider__button--previous { left: 10px; }
    .sp-description-slider__button--next { right: 10px; }

    .sp-single-project .sp-detail-hero {
        height: 420px !important;
        min-height: 420px !important;
    }

    .sp-detail-title {
        bottom: 26px;
        width: min(100% - 24px, 1128px);
    }
}
