:root {
    --gutter: max(30px, ((100vw - 17px - 1340px) / 2));

    /* Uncomment if site doesnt have variables */
    /* --primary-color: #000000;
    --secondary-color: #EFEFEF; */

    --border-radius: 0;
}

.design-block-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 2rem;

    >*+* { 
        margin-block: 0;
    }

    img {
        width: 100%;
        object-fit: cover;
        border-radius: var(--border-radius);
    }

    :is(h1, h2, p) {
        text-align: center;
    }

    .design-block-hero-content {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
    }

    .design-block-hero-text {
        max-width: 768px;
        
        :is(h1, h2, p) {
            text-align: left;
        }
    }
}

.content-block-page-title-section {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex-direction: column;

    @media screen and (min-width: 768px) {
        flex-direction: row;
    }

    .pt-image {
        flex: 1 1 calc(50% - 1rem);
        order: 1;

        @media screen and (min-width: 768px) {
            order: 2;
        }

        img {
            height: 100%;
            object-fit: cover;
            border-radius: var(--border-radius);
        }
    }

    .pt-text {
        flex: 1 1 calc(50% - 1rem);
        order: 2;

        @media screen and (min-width: 768px) {
            order: 1;
        }

        h2, h3 {
            margin-top: 0;
        }

        hr {
            max-width: 200px;
            margin-left: 0;
            background-color: var(--primary-color);
        }
    }
}


.design-block-fw-paragraph {
    padding-block: 5rem;
    padding-inline: calc(var(--gutter) + 3rem);
    text-align: center;
    background-color: var(--primary-color);
    h1, h2, p, a:not(.button) {
        color: var(--white);
    }
   
    &.secondary {
        background-color: var(--black);

        h2, p, a:not(.button) {
            color: white;
        }
    }

    p {
        margin-top: 1rem;
    }

     &.blue {
        background-color: #e5ecf4;

        h2, p, a:not(.button) {
            color: black;
        }
    }

    p {
        margin-top: 1rem;
    }

    &.left {
        text-align: left;
    }
}

.design-block-image-content,
.design-block-video-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    
    @media screen and (min-width: 768px) {
        flex-direction: row;
        align-items: center;
    }

    .content-block {
        flex-basis: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        
        > * {
            margin-block: 0;
        } 
    
        > * + * {
        margin-block-start: var(--space, 1.5rem);
    }

        h2 {
            margin-top: 0;
        }
    }

    .image-block {
        flex-basis: 50%;

        img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            border-radius: 0px 0px 60px 0px;
            box-shadow: 5px 5px 5px #00000029;
        }
    }

    .video-block {
        flex-basis: 50%;

        iframe {
            aspect-ratio: 16/9;
            width: 100%;
        }
    }
}

.image-breakout-left-homepage {
    justify-content: flex-start;
    margin-top: 2rem;
    padding-bottom: 10rem;
    margin-bottom: 0;
    background-repeat: no-repeat;
    /* background-size: contain; */
    background-size: 50%;
    background-position: bottom right;

    @media screen and (min-width: 768px) {
        gap: 5%;
        background-size: auto 75%;
        background-position: bottom right;
    }

    .image-breakout-left-homepage-content {
        flex-basis: 45%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 30px;

        margin-right: var(--gutter);
        padding: 0 30px;
        max-width: 650px;

        p {
            font-size: var(--step-2);
            line-height: 1.2;
        }
    }

    .image-breakout-left-homepage-image {
        img {
            aspect-ratio: 1.1;
            border-bottom-right-radius: 60px;
            max-height: 890px;
            box-shadow: 5px 5px 5px #00000029;
        }
    }

}

.homepage-blue-background {
    background-color: #F2F5F9;
    display: flex;
    flex-direction: column!important;
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
    /* gap: 30px; */

    @media screen and (max-width: 768px) {
        padding: 3rem 0;
    }

    .headings {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 5rem;
        text-transform: uppercase;
        max-width: 750px;
        text-align: center;
    }
}
.image-right-homepage {
    flex-direction: column;

    @media screen and (min-width: 1024px) {
        flex-direction: row;
    }

    /* margin: 0 var(--gutter); */

    .image-block{
        display: flex;
        justify-content: center;
        align-items: center;
        img {
            border-radius: 0px 0px 24px 0px;
            border-bottom: 0;
            aspect-ratio: 1.2;
            max-width: 812px;
            box-shadow: 5px 5px 5px #00000029;
        }
    }

    .icon-cards-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: space-between;
        align-items: flex-start;



        .icon-card-container {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
            .icon {
                max-width: 100px;

                @media screen and (max-width: 1024px) {
                    max-width: 75px;
                }
            }
            .icon-card-content {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                .icon-card-header{
                    color: var(--primary-color);
                }
                .icon-card-text{
                    color: #4F5A66;
                    font-size: 1.5rem;
                    @media screen and (max-width: 425px) {
                        font-size: 1rem;
                    }
                }

                
                .icon-card-link {
                    color: var(--primary-color);
                    text-decoration: none;
                    .svg-inline--fa {
                        transition: all 0.3s ease;
                    }
                }

                .icon-card-link:hover {
                    text-decoration: none;
                    color: var(--black);

                    .svg-inline--fa {
                        transform: translateX(10px);
                    }
                }
            }
        }
    }
}

.homepage-hero {
    align-items: flex-start;
    text-align: start;
    padding-block-start: 4rem;
    gap: 1.5rem;
    h1,h2,h3,h4,h5,h6,p,a{
        color: white;
        margin: 0;
        max-width: 1000px;
    }

    h1 {
        text-transform: uppercase;
    }
    p {
        font-size: 1.5rem;
    }

    @media screen and (max-width: 768px) {
        h1 {
            font-size: 3rem;
        }
        p {
            font-size: 1rem;
        }
    }
}

.design-block-iframe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-block: 3rem;

    h2 {
        margin-bottom: 1rem;
        text-align: center;
    }

    iframe {
        aspect-ratio: 16/9;
        width: 100%;
    }
}

.content-block-icon-callouts,
.content-block-icon-column-callouts,
.content-block-image-callouts { 
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    position: relative;
}

.content-block-icon-callouts {
    .content-block-icon-callout {
        flex: 0 1 32ch;

        img {
            height: 50px;
            width: 50px;
        }

        .content-block-icon-callout-title {
            font-weight: 600;
            color: var(--primary-color);
        }
    }
}

.content-block-icon-column-callouts {
    .content-block-icon-column-callout {
        flex: 1 1 min(100%, 250px);
        display: flex;
        gap: 1rem;

        img {
            height: 50px;
            width: 50px;
        }

        .content-block-icon-column-callout-title {
            font-weight: 600;
            color: var(--primary-color);
        }
    }
}

.content-block-image-callouts {
    .content-block-image-callout {
        box-shadow: 5px 5px 5px #00000029;
        background-color: var(--primary-color);
        flex: 1 1 min(100%, 250px);
        border-bottom-right-radius: 60px;
        align-items: flex-start;
        padding: 2rem 1rem;
        transition: all 0.3s ease;

        img {
            /* height: 200px; */
            aspect-ratio: 1.3;
            border-bottom-right-radius: 60px;
            object-fit: cover;
            width: 100%;
        }

        .content-block-image-callout-content {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            gap: 1rem;
        }

        .content-block-image-callout-title {
            font-weight: 600;
            min-height: 2.2em;
            height: 100%;
            max-height: max-content;
        }

        .content-block-image-callout-title,
        .content-block-image-callout-text {
            color: var(--white);
        }

        .content-block-image-callout-text {
            font-size: var(--step-1);
        }

        .content-block-image-callout-button {
            width: max-content;
        }
    }

    .content-block-image-callout:hover {
        transform: translateY(-20px);
    }
}

.content-block-common-questions {
    padding-block: 1rem;
    margin-block: 2rem;

    h2 {
        margin-bottom: 3rem;
        margin-top: 0;
    }
    
    details {
        border-top: 2px solid var(--secondary-color);
        padding: 2rem 1rem;
        color: var(--primary-color)!important;
  
        label {
            padding-right: 4rem;
        }
  
        span {
            font-size: 18px;
        }
    
        summary {
            justify-content: space-between;
    
            .h3 {
                font-size: 25px;
                font-weight: 500;
            }
        }
    }
}

.content-block-contact-callout {
    padding-inline: var(--gutter);
    padding-block: 4rem;
    margin-block: 4rem;
    background-color: #eeeeee;
}

/* V2 Updates

- CSS Variables
- Remove breakpoints

Questions:
- JS Break Out has to be included (modules scripts??)
*/
