/*
 Theme Name:   PHASE Blank Theme
 Theme URI:    https://phase-digital.com
 Description:  Custom Theme by PHASE Digital
 Author:       PHASE Digital
 Author URI:   https://phase-digital.com
 Template:     generatepress
 Version:      1.0
*/
a {
    color: var(--SecondaryColor);
    font-family: var(--BodyFont);
    font-weight: 500;

    &:hover, &:focus {
        color: var(--PrimaryColor);
    }
}
body {
    background: #fff;
    font-family: var(--BodyFont);
    font-weight: 400;
    position: relative;
}
input, label {
    color: #000;
    font-family: var(--BodyFont);
    font-weight: 400;
}
p, li {
    color: #000;
    font-family: var(--BodyFont);
    font-weight: 400;
}
b, strong {
    font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: var(--HeadFont);
}
.page-section {
    margin: 25px auto 50px auto;
    max-width: 1400px;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);

    h1 {
        color: var(--PrimaryColor);
        font-size: 75px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 1em;
        margin-bottom: 10px;
        text-align: center;
    }
}
.paging-navigation {
    margin: 50px auto;
	text-align: center;
	width: 100%;	
}
.site-content {
    padding: 0px !important;
}
/*============================================================================
                    Header Nav
=============================================================================*/
.main-navigation:not(.slideout-navigation) {
	background: var(--PrimaryColor);
    background: linear-gradient(0deg,rgba(35, 43, 102, 1) 0%, rgba(0, 23, 44, 1) 100%);

    .inside-navigation {
        justify-content: space-between !important;
        padding-bottom: 0px;
        padding-left: var(--pd-content-padding);
        padding-right: var(--pd-content-padding);
        padding-top: 0px;
        max-width: 1400px;

        .navigation-branding {
            img {
                height: 76px;
                margin: 30px 0 16px 0;
            }
        }
        .slideout-toggle {
            display: block !important;
            margin-left: 30px;

            a {
                &:hover, &:focus {
                    background: transparent;
                }
                &:before {
                    color: #fff;
                    display: block;
                    font-size: 30px;
                    transform: scale(2,1);
                }
            }
        }
    }
}

.main-navigation:not(.slideout-navigation) {
    .inside-navigation {
        .navigation-branding {
            img {
                @media screen and (max-width: 980px) {
                    height: 66px;
                }
                @media screen and (max-width: 500px) {
                    height: 60px;
                    margin-top: 20px;
                }
                @media screen and (max-width: 450px) {
                    height: 53px;
                }
                @media screen and (max-width: 400px) {
                    height: 52px;
                }
            }
        }
        .slideout-toggle {
            @media screen and (max-width: 600px) {
                margin-left: 20px;

                a {
                    &:before {
                        font-size: 25px;
                    }
                }
            }
            @media screen and (max-width: 450px) {
                a {
                    &:before {
                        font-size: 23px;
                    }
                }
            }
        }
    }
}
/*============================================================================
                    Slideout Nav
=============================================================================*/
.slideout-navigation {
    background: #fff;
    max-width: 100%;
    position: relative;
    min-width: 300px;
    width: 30% !important;

    .inside-navigation {
        position: unset;

        .slideout-buttons {
            display: flex;
            flex-flow: row nowrap;
            justify-content: space-evenly;
            gap: 20px;
            padding: 0 20px;
            width: 100%;
        }
        .main-nav {
            ul {
                li {
                    &.sfHover {
                        a {
                            .dropdown-menu-toggle {                                
                                .gp-icon {
                                    svg {
                                        transform: unset !important;
                                    }
                                }
                            }  
                        }
                    }
                    a {
                        color: #000;
                        font-family: var(--HeadFont);
                        font-size: 24px;
                        font-weight: 600 !important;
                        line-height: 50px;
                        padding: 0 20px;
                        transition: 0.4s;

                        .dropdown-menu-toggle {
                            padding-right: 0px;
                            text-align: right;
                            width: 40%;

                            .gp-icon {
                                display: block;

                                svg {
                                    height: 1.2em;
                                    transform: rotate(-90deg);
                                    transition: 0.4s;
                                    width: 1.2em;
                                }
                            }
                        }
                    }
                    ul.sub-menu {
                        background: #fff;
                        box-shadow: none;
    
                        li {
                            &[class*="current-menu-"] {
                                a {
                                    color: var(--SecondaryColor) !important;
                                }
                            }
                            a {
                                color: #000;
                                font-size: 20px;
                                line-height: 2em;
                                margin-left: 20px;
    
                                &:hover {
                                    color: var(--SecondaryColor);
                                }
                            }
                        }
                    }
                }
                li:not([class*="current-menu-"]):hover, li.sfHover:not([class*="current-menu-"]), li:not([class*="current-menu-"]):focus {
                    & > a {
                        background: transparent;
                        color: #000;
                    }
                }
                li[class*="current-menu-"] {
                    & > a {
                        background: transparent;
                        color: var(--SecondaryColor);
                    }
                }
            }
        }
        .slideout-exit {
            color: var(--SecondaryColor);
            font-size: 30px;
            margin-bottom: 40px;
            padding: 20px 0 0 20px;
            width: auto;
        }
    }
}
/*============================================================================
                    Header Call Button
=============================================================================*/
.header-call {
	background: var(--SecondaryColor);
    border-left: 3px solid #fff;
	border-right: 3px solid #fff;
	height: 122px;
    padding: 40px 20px 0px 20px;
    position: relative;

    a {
        color: #fff;
        display: block;
        font-size: 30px;
        font-weight: bold;
        line-height: 1em;
        text-align: right;
        text-transform: uppercase;
    }
    p {
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.8em;
        margin: 0px;
        text-align: right;
        text-transform: uppercase;
    }
    & > div:first-of-type {
        position: relative;
        z-index: 10;
    }
    .bottom {
        background: var(--SecondaryColor);
        clip-path: polygon(0 0, 100% 0%, 50% 50%, 0 100%);
        height: 30px;
        position: absolute;
        bottom: -28px;
        left: 0px;
        width: calc(100% + 3px);
        z-index: 12;
    }
    .bottom-border {
        background: #fff;  
        clip-path: polygon(0 0, 100% 0%, 50% 50%, 0 100%);
        height: 30px;
        position: absolute;
        bottom: -30px;
        left: -3px;
        width: calc(100% + 6px);
        z-index: 11;
        right: -3px;
        margin: 0 auto;
    }
    .bottom-border2 {
        background: #fff;
        border-top-left-radius: 10px;
        height: 4px;
        position: absolute;
        bottom: -17px;
        left: -4px;
        width: calc(100% + 7px);
        z-index: 12;
        transform: rotate(-4.5deg);
    }
}
@media screen and (max-width: 980px) {
    .header-call {
        display: none;
    }
}
/*============================================================================
                    Home Banner
=============================================================================*/
.home-banner {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    height: 880px;
    margin-bottom: 0px;
    overflow: hidden;
    position: relative;
    z-index: 3;

    &:after {
        content: '';
        position: absolute;
        bottom: -738px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
        z-index: 4;
    }
    .swiper-slide {
        background: var(--bg-desktop);
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;

        &:not(:first-of-type) {
            .home-banner-content {
                padding: 550px 0 0 180px;

                h1 {
                    color: #fff;
                }
            }
        }
        .home-banner-content {
            padding: 150px 0 0 180px;

            a {
                background: var(--SecondaryColor);
                color: #fff;
                padding: 10px 20px;
                border-radius: 10px;
                text-transform: uppercase;

                &:hover {
                    background: var(--PrimaryColor);
                    transition: 0.2s;
                }
            }
            h1 {
                color: #000;
                font-size: 58px;
                font-weight: 500;
                line-height: 1.2em;
                margin-bottom: 40px;
            }
        }
    }
    .swiper-pagination {
        bottom: 105px !important;

        .swiper-pagination-bullet {
            background: #fff;
            height: 20px;
            opacity: 1;
            width: 20px;

            &.swiper-pagination-bullet-active {
                background: var(--SecondaryColor);
            }
        }
    }
}
@media screen and (max-width: 1250px) {
    .home-banner {
        .swiper-slide {
            .home-banner-content {
                padding-left: var(--pd-content-padding) !important;
                padding-right: var(--pd-content-padding) !important;

                h1 {
                    font-size: 25px;
                }
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .home-banner {
        clip-path: unset;
        height: 620px;

        &:after {
            display: none;
        }
        .swiper-slide {
            background: var(--bg-mobile);
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: cover !important;

            .home-banner-content {
                height: 90%;
                display: flex;
                flex-flow: column nowrap;
                justify-content: flex-end;
                align-items: flex-start;
                padding-top: 0px !important;

                a {
                    display: none;
                }
                h1 {
                    color: #fff;
                    font-size: 6.7vw;
                    margin: 0px;
                }

            }
        }
        .swiper-pagination {
            bottom: 25px !important;
            text-align: right;
            padding-right: 40px;
        }
    }
}
/*============================================================================
                    Banner CTA (below)
=============================================================================*/
.banner-cta-below {
    background: var(--SecondaryColor);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    display: none;
    padding-bottom: 40px;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);
    padding-top: 20px;

    & > div {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        margin: 0 auto;

        & > a {
            border: 2px solid #fff;
            background: transparent;
            border-radius: 15px;
            color: #fff;
            display: block;
            font-size: 16px;
            font-weight: bold;
            line-height: 1em;
            padding: 10px;
            text-align: center;
            text-transform: uppercase;
            width: 130px;
        }
        & > div {
            width: calc(100% - 150px);

            h5 {
                color: #000;
                font-size: 15px;
                font-weight: bold;
                margin-bottom: 5px;
                text-align: right;
                text-transform: uppercase;
            }
            a {
                color: #000;
                display: block;
                font-size: 24px;
                font-weight: bold;
                line-height: 1em;
                text-align: right;
            }
        }
    }
    &.blog-cta-below {
        padding-bottom: 120px;
    }
}
@media screen and (max-width: 600px) {
    .banner-cta-below {
        display: block;
    }
}
/*============================================================================
                    Footer
=============================================================================*/
.footer-content {
    background: var(--PrimaryColor);
    position: relative;

    h5 {
        color: var(--SecondaryColor);
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 15px;
        text-transform: uppercase;
    }
    .footer-main {
        background: var(--PrimaryColor);
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        margin: 0 auto;
        max-width: 1400px;
        padding-left: var(--pd-content-padding);
        padding-right: var(--pd-content-padding);
        padding-top: 40px;

        .footer-contact {
            h6 {
                color: var(--SecondaryColor);
                font-size: 18px;
                font-weight: bold;
                line-height: 1.2em;
                margin-bottom: 10px;
            }
            p {
                color: #fff;
                display: block;
                font-size: 18px;
                line-height: 1.2em;
                text-transform: uppercase;
            }
            .phone {
                color: #fff;
                display: block;
                font-size: 34px;
                font-weight: bold;
                line-height: 1em;
                margin-bottom: 15px;
            }
            .contact {
                border: 1px solid var(--SecondaryColor);
                border-radius: 15px;
                color: var(--SecondaryColor);
                display: block;
                font-size: 18px;
                font-weight: bold;
                line-height: 1em;
                padding: 15px 0;
                text-align: center;
                text-transform: uppercase;
                width: 170px;
            }
        }
        .footer-menu {
            margin-bottom: 10px;
            max-width: 380px;

            a {
                color: #fff;
                display: block;
                font-size: 18px;
                line-height: 1.4em;
                margin-bottom: 25px;
                text-transform: uppercase;
                transition: 0.2s;

                &:hover {
                    color: var(--SecondaryColor);
                }
            }
            h5 {
                &:not(:first-of-type) {
                    margin-top: 30px;
                }
            }
        }
    }
}
.footer-copyright {
    background: var(--PrimaryColor);
    color: var(--SecondaryColor);
    font-size: 18px;
    font-weight: 400;
    padding: 30px 0 15px 0;
    text-align: center;
}
@media screen and (max-width: 600px) {
    .footer-content {
        .footer-main {
            .footer-menu {
                margin-bottom: 25px;

                .guest-articles {
                    margin-top: 25px;
                }
            }
        }
    }
    .footer-copyright {
        font-size: 3.5vw;
    }
}
/*============================================================================
                    Home Page
=============================================================================*/
.focus {
    background: url('/wp-content/uploads/wave-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-bottom: -150px;
    margin-top: -150px;
    padding-bottom: 170px;
    overflow: hidden;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);
    padding-top: 180px;
    position: relative;
    z-index: 1;

    h2 {
        color: var(--SecondaryColor);
        font-size: 27px;
        font-weight: 600;
        letter-spacing: 10px;
        margin-bottom: 40px;
        text-align: center;
        text-transform: uppercase;

        &:after {
            background: var(--SecondaryColor);
            content: "";
            display: block;
            height: 1px;
            margin: 15px auto 0 auto;
            width: 350px;
        }
    }
    & > div {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        gap: 4%;
        margin: 0 auto;
        max-width: 1200px;

        & > div {
            width: 48%;

            img {
                border-radius: 20px;
                width: 100%;
            }
            h3 {
                color: #000;
                font-size: 45px;
                font-weight: bold;
                line-height: 1em;
                margin-bottom: 25px;
            }
            p {
                font-size: 20px;
                font-weight: 400;
            }
            .button {
                text-align: center;
                width: 100%;

                a {
                    border: 1px solid #000;
                    border-radius: 15px;
                    color: #000;
                    display: inline-block;
                    font-size: 18px;
                    font-weight: bold;
                    line-height: 1em;
                    padding: 10px 35px;
                    text-align: center;
                    text-transform: uppercase;
                }
            }
            .links {
                display: flex;
                flex-flow: row wrap;
                gap: 20px;

                a {
                    border: 1px solid #000;
                    color: #000;
                    display: block;
                    font-size: 20px;
                    font-weight: 600;
                    width: 40%;
                    text-align: center;
                    padding: 5px 0;
                    border-radius: 10px;
                    text-transform: uppercase;

                    &:hover {
                        background: var(--SecondaryColor);
                        border: 1px solid #fff;
                        color: #fff;
                        transition: 0.2s;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 980px) {
    .focus {
        & > div {
            flex-flow: column-reverse;

            & > div {
                width: 100%;

                img {
                    margin-bottom: 25px;
                }
                .links {
                    a {
                        width: 45%;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .focus {
        background: unset;
        margin-top: 50px;
        margin-bottom: -100px;
        padding-top: 0px;

        h2 {
            &:after {
                width: 150px;
            }
        }
    }
}
@media screen and (max-width: 450px) {
    .focus {
        h2 {
            font-size: 24px;
        }
        & > div {
            & > div {
                .links {
                    a {
                        width: 100%;
                    }
                }
            }
        }
    }
}
.experience {
    background: url('/wp-content/uploads/lady-justice-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
    overflow: hidden;
    padding-bottom: 175px;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);
    padding-top: 175px;
    position: relative;
    z-index: 2;

    &:before {
        background: var(--SecondaryColor);
        content: "";
        position: absolute;
        top: -766px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
        z-index: 3;
    }
    &:after {
        background: var(--SecondaryColor);
        content: "";
        position: absolute;
        bottom: -766px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
        z-index: 3;
    }
    h2 {
        color: var(--SecondaryColor);
        letter-spacing: 10px;
        margin-bottom: 60px;
        text-align: center;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 27px;

        &:after {
            background: var(--SecondaryColor);
            content: "";
            display: block;
            height: 1px;
            margin: 15px auto 0 auto;
            width: 350px;
        }
    }
    & > div {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        gap: 4%;
        margin: 0 auto;
        max-width: 1400px;
        width: 100%;

        & > div {
            width: 48%;

            a {
                border: 2px solid var(--SecondaryColor);
                border-radius: 15px;
                color: var(--SecondaryColor);
                font-size: 18px;
                font-weight: 500;
                line-height: 1em;
                padding: 10px 30px;
                text-transform: uppercase;

                &:hover {
                    background: var(--SecondaryColor);
                    color: #fff;
                    transition: 0.2s;
                }
            }
            h3 {
                color: #fff;
                font-size: 55px;
                font-weight: 500;
                line-height: 1em;
                margin-bottom: 25px;
            }
            img {
                border-radius: 20px;
            }
            p {
                color: #fff;
                font-size: 20px;
                line-height: 1.5em;
                margin-bottom: 50px;
            }
            .button {
                text-align: center;
                width: 100%;

                a {
                    border: 1px solid var(--SecondaryColor);
                    border-radius: 15px;
                    color: var(--SecondaryColor);
                    display: inline-block;
                    font-size: 18px;
                    font-weight: bold;
                    line-height: 1em;
                    padding: 10px 35px;
                    text-align: center;
                    text-transform: uppercase;
                }
            }
        }
    }
}

@media screen and (max-width: 1250px) {
    .experience {

        &:before {
            top: -1256px;
        }
        &:after {
            bottom: -1256px;
        }
        & > div {
            flex-flow: column;

            & > div {
                width: 100%;

                img {
                    margin-bottom: 25px;
                }
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .experience {
        clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
        padding-top: 130px;

        &:before {
            clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
            top: -94%;
        }
        &:after {
            clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
            bottom: -94%;
        }
        & > div {
            & > div {
                h3 {
                    font-size: 40px;
                }
                p {
                    font-size: 18px;
                }
            }
        }
    }
}
@media screen and (max-width: 450px) {
    .experience {
        h2 {
            font-size: 20px;

            &:after {
                width: 250px;
            }
        }
        & > div {
            & > div {
                h3 {
                    font-size: 30px;
                    font-weight: 600;
                }
                p {
                    font-size: 17px;
                }
            }
        }
    }
}

.testimonials {
    background: url('/wp-content/uploads/wave-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-top: -150px;
    overflow: hidden;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);
    padding-top: 180px;
    position: relative;
    z-index: 1;

    h2 {
        color: #000;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: 10px;
        margin-bottom: 60px;
        text-align: center;
        text-transform: uppercase;

        &:after {
            background: var(--SecondaryColor);
            content: "";
            display: block;
            height: 1px;
            margin: 15px auto 0 auto;
            width: 460px;
        }
    }
    .button {
        margin: 50px 0;
        padding: 0px;
        text-align: center;
        width: 100%;

        a {
            background: var(--SecondaryColor);
            border-radius: 15px;
            color: #fff;
            display: inline-block;
            font-size: 18px;
            font-weight: bold;
            line-height: 1em;
            padding: 15px 35px;
            text-align: center;
            text-transform: uppercase;
        }
    }
    .swiper-pagination {
        margin-top: 60px;
        position: relative !important;

        .swiper-pagination-bullet {
            background: #fff;
            border: 1px solid #000;
            height: 20px;
            opacity: 1;
            width: 20px;

            &.swiper-pagination-bullet-active {
                background: var(--SecondaryColor);
            }
        }
    }
    .testimonial-content {
        display: flex;
        flex-flow: row nowrap;
        gap: 30px;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
        max-width: 1200px;

        p {
            font-size: 29px;
            font-weight: 500;
            font-style: italic;
            line-height: 1.5em;
        }
        .quote-icon {
            color: var(--SecondaryColor);
            font-size: 50px;
            font-weight: bold;
        }
    }
    .writer {
        display: block;
        font-size: 28px;
        font-weight: bold;
        text-align: right;
        width: 100%;
    }
}

.testimonials {
    h2 {
        @media screen and (max-width: 600px) {
            font-size: 30px;
            margin-bottom: 40px;

            &:after {
                width: 250px;
            }
        }
    }
    .button {
        a {
            @media screen and (max-width: 600px) {
                font-size: 15px;
            }
            @media screen and (max-width: 450px) {
                font-size: 13px;
            }
        }
    }
    .testimonial-content {
        @media screen and (max-width: 767px) {
            flex-flow: column nowrap;
            align-items: center;
            gap: 0px;
        }
        p {
            @media screen and (max-width: 600px) {
                font-size: 21px;
            }
            @media screen and (max-width: 450px) {
                font-size: 16px;
            }
        }
    }
}
/*============================================================================
                    404
=============================================================================*/
.page-not-found-content {
	margin-bottom: 100px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;

    h1 {
        color: var(--PrimaryColor);
        font-size: 200px;
        font-weight: bold;
        letter-spacing: 20px;
        line-height: 1em;
    }
    h4 {
        font-size: 40px;
        line-height: 1em;
    }
    h6 {
        font-size: 50px;
        line-height: 1em;
        margin: 0px;
    }
    p {
        font-size: 25px;
        line-height: 1.5em;
    }
}
/*============================================================================
                    Blog/Content Pages
=============================================================================*/
.blog-banner {
    background: url('/wp-content/uploads/FAQs-Header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    height: 600px;
    margin: 0px;
    overflow: hidden;
    position: relative;
    z-index: 3;

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        bottom: -500px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    }
    & > div {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        height: 85%;
        padding-left: 200px;
    }
    h1 {
        color: #fff;
        font-size: 100px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 1em;
        margin: 0px;
    }
}
.blog-bar {
	background: var(--SecondaryColor);
	clip-path: polygon(0 0, 100% 0%, 100% 71%, 0% 100%);
	margin-top: -180px;
	padding-bottom: 430px;
	padding-left: 40px;
	padding-top: 160px;
	position: relative;
	width: 100%;
	z-index: 1;
	margin-bottom: -440px;
}
.content-with-sidebar {
	display: flex;
	flex-flow: row wrap;
    justify-content: flex-end;
	gap: 100px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 2;

    .blog-post {
        padding-top: 45px;
        padding-top: 45px;
        width: 70%;
        margin-left: calc((100% - 1400px)/2);
        flex: 1;

        .featured-image {
            margin: 0px;
            
            img {
                border: 2px solid #fff;
                border-radius: 15px;
                margin-bottom: 25px;
                width: 100%;
            }
        }
        .entry-title {
            color: #000;
            font-size: 40px;
            font-weight: 600;
            line-height: 1.1em;
            margin-bottom: 15px;
        }
        .entry-meta {
            margin-bottom: 30px;

           .author {
                color: #000;
                display: block;
                font-size: 18px;
                font-weight: 600;
                text-transform: uppercase;
           }
           .author-title {
                color: #000;
                display: block;
                font-size: 18px;
                font-weight: 400;
                text-transform: uppercase;
           }
        }
        .entry-content {
            & > p {
                color: #000;
                font-size: 20px;
                line-height: 1.4em;
                margin-bottom: 25px;
            }
            .blog-cta {
                h3 {
                    color: #000;
                    font-size: 30px;
                    font-weight: 600;
                    line-height: 1.2em;
                    margin-bottom: 20px;
                }
                p {
                    color: #000;
                    font-size: 19px;
                    line-height: 1.4em;
                    margin-bottom: 15px;
                }
                ul {
                    list-style: disc;
                    margin-left: 20px;

                    li {
                        color: #000;
                        font-size: 19px;
                        line-height: 1.4em;
                        margin-bottom: 10px;
                    }
                }
            }
            .related-posts {
                margin-bottom: 30px;

                h5 {
                    color: #000;
                    font-size: 20px;
                    font-weight: 600;
                    line-height: 1.2em;
                    margin-bottom: 20px;
                }
                ul {
                    list-style: none;
                    margin: 0px;

                    li {
                        margin-bottom: 8px;

                        a {
                            color: var(--SecondaryColor);
                            font-size: 19px;
                            font-weight: 500;
                            text-decoration: underline;

                            &:before {
                                content: "• ";
                                font-weight: bold;
                            }
                            &:hover {
                                color: var(--PrimaryColor);
                                transition: 0.2s;
                            }
                        }
                    }
                }
            }
        }
    }
    .main-content {
        margin-top: 50px;
        margin-left: calc((100% - 1400px)/2);
        flex: 1;
        width: 70%;
        
        h2 {
            color: #000;
            font-size: 40px;
            font-weight: 600;
            line-height: 1.1em;
            margin-bottom: 15px;
        }
        h3 {
            color: #000;
            font-size: 30px;
            font-weight: 600;
            line-height: 1.2em;
            margin-bottom: 20px;
            margin-top: 30px;
        }
        p {
            font-size: 18px;
        }
    }
    .posts {
        padding-top: 45px;
        width: 55%;

        h2 {
            color: #000;
            font-size: 50px;
            font-weight: 600;
            line-height: 1.1em;
            margin-bottom: 100px;
        }
        .category {
            color: var(--SecondaryColor);
            font-size: 23px;
            font-weight: 600;
            letter-spacing: 1px;
            margin: 0 0 5px 0;
        }
        & > div {
            display: flex;
            flex-flow: row wrap;
            gap: 50px;

            & > div {
                width: calc(50% - 25px);

                img {
                    aspect-ratio: 4.5/3;
                    border-radius: 15px;
                    margin-bottom: 15px;
                    object-fit: cover;
                    width: 100%;
                }
                h5 {
                    color: #000;
                    font-size: 32px;
                    font-weight: 600;
                    line-height: 1.2em;
                    margin-bottom: 10px;
                }
                p {
                    color: #000;
                    font-size: 18px;
                    line-height: 1.3em;
                    margin-bottom: 20px;
                }
                .read-more {
                    border: 2px solid #000;
                    border-radius: 15px;
                    color: #000;
                    display: inline-block;
                    padding: 5px 20px;
                    font-size: 20px;
                    font-weight: 600;
                    text-transform: uppercase;

                    &:hover {
                        background: var(--SecondaryColor);
                        border: 2px solid #fff;
                        color: #fff;
                        transition: 0.2s;
                    }
                }
            }
        }
    }
    .sidebar {
        width: 30%;

        .call {
            background: var(--SecondaryColor);
            clip-path: polygon(0 0, 100% 0%, 100% 89%, 0% 100%);
            margin-top: -120px;
            padding-bottom: 60px;
            padding-left: 20px;
            padding-top: 160px;
            position: relative;
            width: 100%;
            z-index: 1;

            h3 {
                color: #fff;
                font-size: 26px;
                font-weight: bold;
                line-height: 1.4em;
                margin-bottom: 25px;
                text-transform: uppercase;
            }
            a:first-of-type {
                color: var(--PrimaryColor);
                display: block;
                font-size: 40px;
                font-weight: bold;
                line-height: 1em;
                margin-bottom: 25px;
            }
            a:last-of-type {
                border: 2px solid #fff;
                border-radius: 15px;
                color: #fff;
                display: inline-block;
                padding: 5px 20px;
                font-size: 23px;
                font-weight: 500;
                text-transform: uppercase;

                &:hover {
                    background: var(--PrimaryColor);
                    border: 2px solid var(--PrimaryColor);
                    color: #fff;
                    transition: 0.2s;
                }
            }

        }
        .menu {
            margin-left: 20px;
            max-width: 400px;
            padding-bottom: 20px;
            padding-top: 40px;

            &:not(:last-of-type) {
                border-bottom: 2px solid var(--SecondaryColor);
            }
            a {
                color: #000;
                display: flex;
                flex-flow: row nowrap;
                gap: 5px;
                font-size: 22x;
                font-weight: 600;
                margin-bottom: 20px;
                text-transform: uppercase;
                transition: 0.2s;

                &:hover {
                    color: var(--SecondaryColor);
                }
                &.active {
                    color: var(--SecondaryColor);
                }
            }
            h3 {
                color: #000;
                font-size: 26px;
                font-weight: bold;
                margin-bottom: 20px;
                text-transform: uppercase;
            }
            ul {
                list-style: none;
                margin: 0px;

                li {
                    margin-bottom: 5px;

                    &.category-parent {
                        margin-bottom: 20px;
                    }
                    a {
                        color: #000;
                        display: flex;
                        flex-flow: row nowrap;
                        gap: 5px;
                        font-size: 22x;
                        font-weight: 600;
                        text-transform: uppercase;
                        
                        &.open {
                            color: var(--SecondaryColor);

                            span {
                                transform: rotate(90deg);
                            }
                        }
                        span {
                            display: block;
                            transition: 0.2s;
                        }
                    }
                    .category-submenu {
                        display: none;
                        margin-left: 15px;
                        margin-top: 10px;

                        li {
                            a {
                                font-weight: 500;
                                margin-bottom: 10px;
                            }
                        }
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1250px) {
    .blog-banner {
        & > div {
            padding-left: var(--pd-content-padding);
            padding-right: var(--pd-content-padding);
        }
    }
    .content-with-sidebar {
        .blog-post, .main-content, .posts {
            margin: 0px;
            padding-left: var(--pd-content-padding);
            padding-right: var(--pd-content-padding);
            padding-top: 20px;
            width: 100%;
        }
        .sidebar {
            display: none;
        }
    }
}
@media screen and (max-width: 767px) {
    .content-with-sidebar {
        .blog-post {
            .title {
                font-size: 35px;
            }
            .content {
                p {
                    font-size: 18px;
                }
                .related-posts {
                    ul {
                        li {
                            font-size: 16px;

                            a {
                                font-size: 18px;
                            }
                        }
                    }
                }
                .blog-cta {
                    ul {
                        li {
                            font-size: 18px;

                            a {
                                font-size: 18px;
                            }
                        }
                    }
                }
                
            }
        }
        .posts {
            h2 {
                font-size: 45px;
                margin-bottom: 50px;
            }
            & > div {
                & > div {
                    width: 100%;

                    a {
                        font-size: 18px;
                    }
                    h5 {
                        font-size: 30px;
                    }
                    p {
                        font-size: 18px;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .blog-banner {
        background: url('/wp-content/uploads/FAQs_mobile.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 580px;
        clip-path: unset;

        &:after {
            display: none;
        }
        & > div {
            height: 95%;
        }
        h1 {
            font-size: 80px;
        }
    }
    .blog-bar {
        display: none;
    }
    .content-with-sidebar {
        &.post-content {
            margin-top: -135px;
            z-index: 2;
            position: relative;
        }
        .posts {
            h2 {
                font-size: 35px;
            }
        }
    }
}
@media screen and (max-width: 450px) {
    .content-with-sidebar {
        .blog-post {
            .title {
                font-size: 28px;
            }
        }
    }
}
/*============================================================================
                    Attorney Page
=============================================================================*/
.team {  
    .main-content {
        h4 {
            color: #000;
            font-size: 45px;
            font-weight: 600;
            line-height: 1.2em;
            margin-bottom: 50px;
            margin-top: 0px;
            text-align: center;
        }
        .team-member {
            border-bottom: 2px solid #000;
            margin-bottom: 50px;
            padding-bottom: 50px;

            &:last-of-type {
                border: none;
                margin: 0px;
                padding: 0px;
            }
            & > div {
                &:first-of-type {
                    display: flex;
                    flex-flow: row wrap;
                    justify-content: flex-start;
                    align-items: center;
                    gap: 25px;
                    margin-bottom: 40px;
                }
            }
            h3 {
                color: #000;
                font-size: 30px;
                font-weight: 600;
                line-height: 1.2em;
                margin-bottom: 0px;
                margin-top: 0px;
            }
            h6 {
                color: var(--SecondaryColor);
                font-size: 17px;
                font-weight: 600;
                text-transform: uppercase;
            }
            img {
                aspect-ratio: 1/1;
                border: 2px solid var(--SecondaryColor);
                object-fit: cover;
                width: 300px;
            }
            p {
                &:last-of-type {
                    margin: 0px;
                }
            }
        }
    }
}
/*============================================================================
                    Category Pages
=============================================================================*/
.category-banner {
    background: var(--bg-desktop);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    height: 600px;
    margin: 0px;
    overflow: hidden;
    position: relative;
    z-index: 3;

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        bottom: -500px;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    }
    & > div {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        height: 80%;
        max-width: 1400px;
        margin: 0 auto;
    }
    h1 {
        color: #fff;
        font-size: 100px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 1em;
    }
}
@media screen and (max-width: 1250px) {
    .category-banner {
        & > div {
            padding-left: var(--pd-content-padding);
            padding-right: var(--pd-content-padding);
        }
    }
}
@media screen and (max-width: 600px) {
    .category-banner {
        background: var(--bg-mobile);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center right;
        height: 620px;
        clip-path: unset;
        height: 620px;

        &:after {
            display: none;
        }
        & > div {
            height: 95%;
        }
        h1 {
            font-size: 11.4vw;
        }
    }
}
/*============================================================================
                    Page Content CTA
=============================================================================*/
.content-end-cta {
    h3 {
        color: #000;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.2em;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    p {
        color: #000;
        font-size: 19px;
        line-height: 1.4em;
        margin-bottom: 15px;
    }
    ul {
        list-style: none;
        margin: 10px 0 20px 0;

        li {
            margin-bottom: 8px;

            a {
                color: var(--SecondaryColor);
                font-size: 19px;
                font-weight: 500;
                text-decoration: underline;

                &:before {
                    content: "• ";
                    font-weight: bold;
                }
                &:hover {
                    color: var(--PrimaryColor);
                    transition: 0.2s;
                }
            }
        }
    }
    .credits {
        display: block;
        font-size: 17px;
        margin-top: 50px;
    }
}
/*============================================================================
                    Page Banner
=============================================================================*/
.page-banner {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    height: 600px;
    margin: 0px;
    overflow: hidden;
    position: relative;
    z-index: 3;

    &.attorneys-banner {
        background: url('/wp-content/uploads/FAQs-Header.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 400px;
    }
    &.contact-banner {
        background: url('/wp-content/uploads/FAQs-Header.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 400px;
    }
    &:after {
        content: '';
        position: absolute;
        bottom: calc(-100% + 70px);
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--SecondaryColor);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    }
    & > div {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        height: 85%;
        padding-left: 200px;
    }
    h1 {
        color: #fff;
        font-size: 100px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 1em;
        margin: 0px;
    }
}
@media screen and (max-width: 1250px) {
    .page-banner {
        & > div {
            padding-left: var(--pd-content-padding);
            padding-right: var(--pd-content-padding);
        }
    }
}
@media screen and (max-width: 600px) {
    .page-banner {
        background: url('/wp-content/uploads/FAQs_mobile.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 580px;
        clip-path: unset;

        &.contact-banner {
            background: url('/wp-content/uploads/FAQs_mobile.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center center;
            height: 500px;
            border-bottom: 10px solid var(--SecondaryColor);
        }
        &:after {
            display: none;
        }
        & > div {
            height: 95%;
        }
        h1 {
            font-size: 50px;
        }
    }
}
/*============================================================================
                    Contact Page
=============================================================================*/
.contact-section {
    background: url('/wp-content/uploads/wave-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    margin-bottom: -150px;
    margin-top: -150px;
    padding-bottom: 170px;
    overflow: hidden;
    padding-left: var(--pd-content-padding);
    padding-right: var(--pd-content-padding);
    padding-top: 180px;
    position: relative;
    z-index: 1;
	
    & > div {
        display: flex;
        flex-flow: row nowrap;
        gap: 100px;
        padding-top: 50px;
        max-width: 1400px;
        margin: 0 auto;

        & > div:first-of-type {
            width: 70%;

            & > h2 {
                font-size: 50px;
                font-weight: 600;
                margin-bottom: 5px;
                
            }
            & > p {
                font-size: 18px;
                font-weight: 500;
                margin-bottom: 50px;
            }
            .gform_wrapper {
                .gform_fields {
                    row-gap: 20px;

                    input {
                        box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.3);
                    }
                    textarea {
                        box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.3);
                        resize: none;
                    }
                }
                .gform_footer {
                    justify-content: flex-end;
                    
                    .gform_button {
                        background: transparent !important;
                        border: 1px solid #000 !important;
                        color: #000 !important;
                        border-radius: 10px !important;
                        padding: 10px 40px !important;
                        font-size: 20px !important;
                        text-transform: uppercase !important;
                        font-weight: bold !important;
                        transition: 0.2s;

                        &:hover {
                            background: var(--SecondaryColor) !important;
                            color: #fff !important;
                        }
                    }
                }
            }
        }
        .sidebar {
            width: 30%;

            & > a {
                color: var(--PrimaryColor);
                display: block;
                font-size: 40px;
                font-weight: 600;
                line-height: 1em;
                margin-bottom: 50px;
            }
            h3 {
                color: var(--SecondaryColor);
                font-size: 26px;
                font-weight: bold;
                line-height: 1.4em;
                margin-bottom: 25px;
                text-transform: uppercase;
            }
            ul {
                margin-left: 20px;

                li {
                    font-weight: 600;
                    font-size: 22px;
                    line-height: 1.1em;
                    margin-bottom: 20px;
                    text-transform: uppercase;
                }
            }
        }
    }
}
@media screen and (max-width: 1250px) {
    .contact-section {
       & > div {
            & > div:first-of-type {
                width: 100%;
            }
            .sidebar {
                display: none;
            }
       }
    }
}
@media screen and (max-width: 600px) {
    .contact-section {
        margin-bottom: -110px;
        margin-top: -20px;
        padding-top: 20px;

        & > div {
            & > div:first-of-type {
                h2 {
                    font-size: 35px;
                }
            }
        }
    }
}
/*============================================================================
                    Faq Testimonials
=============================================================================*/
.faq-testimonials {
    background: url('/wp-content/uploads/lady-justice-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0% 100%);
    margin-bottom: 0px;
    overflow: hidden;
    position: relative;
    z-index: 2;

    &:before {
        background: var(--PrimaryColor);
        content: "";
        position: absolute;
        top: calc(-100% + 178px);
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
        z-index: 3;
    }
    & > div {
        background: #ba972eab;
        padding: 160px 0 20px 0;
        position: relative;
        z-index: 1;

        & > div {
            max-width: 980px;
            overflow-x: hidden;
            margin: 0 auto 0 20vw;
        }
    }
    h2 {
        color: #000;
        font-weight: 700;
        letter-spacing: 15px;
        margin-bottom: 60px;
        text-align: center;
        text-transform: uppercase;
        font-size: 40px;

        &:after {
            background: #000;
            content: "";
            display: block;
            height: 1px;
            margin: 15px auto 0 auto;
            width: 350px;
        }
    }
    .button {
        margin: 50px 0;
        padding: 0px;
        text-align: center;
        width: 100%;

        a {
            background: #fff;
            border-radius: 15px;
            color: #000;
            display: inline-block;
            font-size: 18px;
            font-weight: bold;
            line-height: 1em;
            padding: 15px 35px;
            text-align: center;
            text-transform: uppercase;

            &:hover {
                color: #fff;
                background: var(--PrimaryColor);
                transition: 0.2s;
            }
        }
    }
    .swiper-pagination {
        margin-top: 40px;
        position: relative !important;

        .swiper-pagination-bullet {
            background: #fff;
            border: 1px solid #000;
            height: 20px;
            opacity: 1;
            width: 20px;

            &.swiper-pagination-bullet-active {
                background: #000;
            }
        }
    }
    .testimonial-content {
        display: flex;
        flex-flow: row nowrap;
        gap: 30px;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
        max-width: 950px;

        p {
            color: #fff;
            font-size: 24px;
            font-weight: 600;
            font-style: italic;
            line-height: 1.5em;
        }
    }
    .writer {
        color: #fff;
        display: block;
        font-size: 28px;
        font-weight: bold;
        text-align: right;
        width: 100%;
    }
}
@media screen and (max-width: 1400px) {
    .faq-testimonials {
        & > div {
            padding-left: var(--pd-content-padding);
            padding-right: var(--pd-content-padding);

            & > div {
                margin: 0 auto;
            }
        }
    }
}
.faq-testimonials {
    & > div {
        & > div {
            h2 {
                @media screen and (max-width: 600px) {
                    font-size: 30px;
                    margin-bottom: 40px;
                }
                @media screen and (max-width: 450px) {
                    font-size: 22px;
                }
            }
        }
    }
    .button {
        a {
            @media screen and (max-width: 600px) {
                font-size: 15px;
            }
            @media screen and (max-width: 450px) {
                font-size: 13px;
            }
        }
    }
    .testimonial-content {
        @media screen and (max-width: 767px) {
            flex-flow: column nowrap;
            align-items: center;
            gap: 0px;
        }
        p {
            @media screen and (max-width: 600px) {
                font-size: 21px;
            }
            @media screen and (max-width: 450px) {
                font-size: 16px;
            }
        }
    }
}

@media screen and (max-width: 1250px) {
    .faq-testimonials {

    }
}
@media screen and (max-width: 600px) {
    .faq-testimonials {
        clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0% 100%);

        &:before {
            clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
            top: -94%;
        }
    }
}
