:root {
    --new-black: #030303;
    --new-gray: #616161;
    --new-orange: #FC612D;
    --new-white: #fff;
}

.new-wood-garage {
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-inline: -20px;

        &:before,
        &:after {
            display: none;
        }

        [class*=col-] {
            float: none;
        }
    }

    .container {
        position: relative;
        z-index: 3;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--new-black);
        margin: 0 0 20px;
        line-height: 1.2;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 28px;
    }

    h2:not(:first-child, :first-of-type) {
        margin-top: 40px;
    }

    h4 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    p {
        color: var(--new-gray);
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        font-family: proxima_nova_rgregular,arial;
    }

    p:last-child {
        margin-bottom: 0;
    }

    ul li,
    ol li {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;

        &:not(:last-child) {
            margin-bottom: 20px;
        }
    }

    ul,
    ol {
        padding-left: 0;
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .new-wood-garage {
        .flex-opposite {
            flex-direction: row-reverse;
        }

        h2 {
            font-size: 40px;
        }

        h3 {
            font-size: 32px;
        }

        h2:not(:first-child, :first-of-type) {
            margin-top: 60px;
        }

        h4 {
            font-size: 28px;
            margin-bottom: 5px;
        }

        p {
            font-size: 20px;
        }

        ul li,
        ol li {
            font-size: 20px;
        }
    }
}

@media (max-width: 1199px) {
    .new-wood-garage {
        .container {
            padding: 0 22px;
        }
    }
}

.section-padding {
    padding: 92px 0;
}

@media (max-width: 1199px) {
    .section-padding {
        padding: 60px 0;
    }
}

.bg-blue {
    background: #3257A5;

    h2,
    h3,
    h4,
    p,
    ul li,
    ol li {
        color: var(--new-white);
    }

    ul li,
    ol li {
        &:before {
            color: var(--new-white);
        }
    }
}

@media (max-width: 1199px) {
    .hidden-md-down {
        display: none !important;
    }
}

.half-text__image {
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding-top: 66.65%;
    margin-bottom: 30px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
    }
}

.btn {
    padding: 10px 15px;
    background-color: var(--new-orange);
    color: var(--new-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.3s ease;

    &:after {
        content: "\e60c";
        display: inline-block;
        vertical-align: middle;
        font-family: icomoon;
        font-size: 12px;
        margin-left: 10px;
    }
}

.work-slider .slick-track {
    display: flex;
}

.work-slider__box {
    min-height: 400px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.work-slider__inner {
    position: relative;
    height: 100%;
    margin-inline: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: margin 0.3s ease-in-out;
}

.work-slider__image {
    height: 400px;
    transition: height 0.3s ease-in-out, margin 0.3s ease-in-out;
}

.work-slider .slick-slide {
    padding: 0 32px;
}

.slick-slide:not(.slick-center):not(.slick-current-center) .work-slider__image {
    height: 270px;
}

.slick-slide:not(.slick-active).work-slider__box {
    opacity: 0;
}

.slick-center .work-slider__inner,
.slick-active:nth-of-type(2) .work-slider__inner,
.slick-current-center .work-slider__inner {
    margin-inline: -32px;
}

.work-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.work-slider__slider {
    /* margin-inline: -80px; */
}

.work-slider__slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(50, 87, 165, 0.76);
    backdrop-filter: blur(12px);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    width: 100%;

    p {
        color: var(--new-white);
        margin: 0 0 10px;
        font-size: 18px;
        line-height: 1.2;
    }

    p:last-child {
        margin-bottom: 0;
    }
}

.slick-center .work-slider__slider-content,
.slick-active:nth-of-type(2) .work-slider__slider-content,
.slick-current-center .work-slider__slider-content {
    transform: translateY(0);
}

.work-slider__content {
    text-align: center;
    max-width: 830px;
    margin-inline: auto;
    margin-bottom: 40px;
}

.work-slider {
    .slick-next,
    .slick-prev {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--new-orange);
        border-radius: 50%;
        font-size: 0;

        &:before {
            text-shadow: none;
            font-size: 16px;
        }
    }
}

/* Maintenance Tips Section */
.half-text-bleed-image {
    position: relative;

    .container-fluid {
        padding: 0;
    }

    .row {
        margin: 0;
    }

    [class*=col-] {
        padding: 0;
    }
}

.half-text-bleed-image__image {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    font-size: 0;
    line-height: 1;

    img {
        width: 100%;
        height: auto;
        margin: 0;
    }
}

@media (max-width: 1199px) {
    .half-text-bleed-image__image--1-image {
        padding-top: 66.65%;
        position: relative;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
}

.half-text-bleed-image__logo {
    position: absolute;
    bottom: 62px;
    left: 0;
    width: 100%;
    max-width: 900px;
    overflow: hidden;

    img {
        width: 100%;
        height: auto;
        position: relative;
        left: -50px;
    }
}

.half-text-bleed-image__gallery  {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.half-text-bleed-image__gallery-item {
    font-size: 0;
    line-height: 1;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.half-text-bleed-image__gallery--3-images .half-text-bleed-image__gallery-item:not(:last-child) {
    width: calc(40% - 10px);
    height: calc(50% - 10px);
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.half-text-bleed-image__gallery--3-images .half-text-bleed-image__gallery-item:first-child {
    position: absolute;
    top: 0;
    left: 0;
}

.half-text-bleed-image__gallery--3-images .half-text-bleed-image__gallery-item:nth-child(2) {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
}

.half-text-bleed-image__gallery--3-images .half-text-bleed-image__gallery-item:last-child {
    width: calc(60% - 10px);
    margin-left: auto;
    height: 100%;
}

.half-text-bleed-image__gallery--2-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    .half-text-bleed-image__gallery-item {
        width: calc(50% - 10px);
    }
}

@media (min-width: 1200px) {
    .half-text-bleed-image__image,
    .half-text-bleed-image__gallery {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        height: calc(100% - 184px);
        max-width: calc(50% - 100px);
        width: 100%;
        border-radius: 10px 0 0 10px;
        overflow: hidden;
        margin-bottom: 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    .half-text-bleed-image--reverse {
        .half-text-bleed-image__gallery,
        .half-text-bleed-image__image {
            left: 0;
            right: auto;
            border-radius: 0 10px 10px 0;
        }

        .half-text-bleed-image__logo {
            left: auto;
            right: 0;
        }
    }

    .half-text-bleed-image__gallery  {
        margin-bottom: 0;
    }

    .half-text__image {
        height: 100%;
        position: relative;
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 0;
        
        img {
            position: absolute;
            top: 0;
            left: 0;
        }
    }
}

.full-width-cta {
    position: relative;

    .container {
        position: relative;
        z-index: 1;
        max-width: 1000px;
        text-align: center;
    }

    h2,
    h3,
    h4,
    p,
    ul li,
    ol li,
    a:not(.btn) {
        color: var(--new-white);
    }

    ul li,
    ol li {
        &:before {
            color: var(--new-white);
        }
    }

    a {
        font-weight: 700;
    }
}

.full-width-cta__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    &:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(30, 28, 26, 0.80) 0%, rgba(30, 28, 26, 0.80) 100%);
    }
}

.bg-white + .work-slider {
    padding-top: 0;
}