: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: var(--gutter);
    text-align: center;
    margin-bottom: 3rem;

    &.primary {
        background-color: var(--primary-color);

        h2,
        h3,
        h4,
        h5,
        h6,
        p,
        a:not(.button),
        ul li,
        ul li::marker {
            color: var(--white);
        }
    }

    &.secondary {
        background-color: var(--secondary-color);

        h2,
        h3,
        h4,
        h5,
        h6,
        p,
        a:not(.button),
        ul li,
        ul li::marker {
            color: var(--white);
        }
    }

    p {
        margin-top: 1rem;
    }
}

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

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

        h2 {
            margin-top: 0;
        }
    }

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

        img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            border-bottom: 10px solid var(--primary-color);
        }
    }

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

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

.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: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.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: 0 8px 16px rgba(0,0,0,.15);
        flex: 1 1 min(100%, 250px);

        img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }

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

        .content-block-image-callout-title,
        .content-block-image-callout-text {
            margin-inline: .5rem;
        }

        .content-block-image-callout-text {
            margin-bottom: 1rem;
        }
    }
}

.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;
}

.homepage-hero {
    position: relative;
    height: 600px;

    @media screen and (min-width: 768px) {
        height: 900px;
        background-attachment: fixed;
    } 
    
    .homepage-hero-img {
        position: fixed;
        z-index: -1;
        height: 100%;
        top: 0;
        object-fit: cover;
    }

    .homepage-hero-text {
        position: absolute;
        bottom: 0;
        background-color: rgba(255,255,255, .85);
        padding: 3rem 2rem 0.5rem 4rem;
        max-width: 1100px;
        border-top-left-radius: 100px;
    }
}

.homepage-lightblue-background {
    background-color: #E5F0F7;
    border-bottom-right-radius: 50px;
    @media screen and (min-width: 768px) {
        border-bottom-right-radius: 100px;
    }
}

.homepage-blue-overlay-outter-container {
    bottom: 0;
    padding-top: 10rem;
    margin-left: var(--gutter);
    margin-right: var(--gutter);

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

.homepage-blue-overlay-outter {
    background-color: var(--secondary-color);
    opacity: .91;
    color: white!important;
    width: 100%;
    border-radius: 100px 100px 0 0;
    padding: 2rem;
    padding-bottom: 0;
}

.homepage-blue-overlay-radius-top-left {
    bottom: 0;
    background-color: var(--secondary-color);
    opacity: .91;
    color: white!important;
    width: 100%;
    border-radius: 75px 0 0 0;
    padding-block: 2rem;
    padding-inline: var(--gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    @media screen and (min-width: 768px) {
        padding: 3rem var(--gutter);
        border-radius: 100px 0 0 0;
    }
}

.homepage-blue-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid white;
    border-radius: 80px 80px 0 0;
    border-bottom: 0;
    padding-top: 2rem
}

.media_embed {
    aspect-ratio: 16/9;

    iframe{
        height: 100%;
    }
}

ul.white-check-list,
ul.blue-check-list 
{
    padding-left: 0;
    list-style-position: outside;
    column-gap: 40px;
    list-style-type: none;
    li {
        font-size: 26px;
        padding-left: 0;
        break-inside: avoid-column;
        @media (max-width: 768px) {
            font-size: 22px;
        }
        padding-bottom: 1rem;
    }
    li::before{
        position: relative;
        top: 10px;
        padding-right: 1rem;
    }
}

ul.white-check-list li::before{
    content: url('/uploads/userfiles/files/images/White%20Check.png');
}

ul.blue-check-list li::before{
    content: url('/uploads/userfiles/files/images/Blue%20Check.png');
}

ul.two-columns {
    column-count: 2;
    column-fill: balance;

    @media (max-width: 768px) {
        column-count: 1;
    }
}

ul.three-columns {
    column-fill: balance;
    margin: 0;

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

    @media screen and (min-width: 1024px) {
        column-count: 3;
    }
}

.homepage-testimonial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.column-checklist-container {
    background-color: #eeeeee;
    display: flex;
    flex-wrap: wrap;
    
    .column-checklist-container-content {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
        padding-block: 4rem;

        @media (min-width: 768px) {
            width: 66.6666666667%;
            padding-right: 2rem;
        }
    }

    .column-checklist-container-image {
        background-color: var(--white);

        @media (min-width: 768px) {
            width: 33.333333333%;
            align-self: stretch;
        }
    }
}
.homepage-image-background-overlay {
    @media (max-width: 768px) {
        position:relative;
        max-width: unset;
        min-height: 750px;
        max-height: unset;
    } 
}

.three-checkmark-image {
    width:100%;
    max-height: 900px;
    object-fit:cover;
    object-position: top;
    height: 900px;


    @media (max-width: 480px) {
        max-height: 1000px;
        height: 1000px;
    }
}

/* V2 Updates

- CSS Variables
- Remove breakpoints

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