/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

a {
    text-decoration: none;
}

.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
    color: #00a2df;
}


/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
.entry-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: inherit;
    padding: 5em 1em;
    text-align: center;
}

h2, .entry-header p {
    font-weight: 300;
}


/*--------------------------------------------------------------
# NEW Content Styles
--------------------------------------------------------------*/
header.industries {
    overflow: hidden;
    position: relative;
}

#industries {
    padding-bottom: 5em;
}

.industries__featured,
.industries__other {
    gap: 2em;
    padding: 2em;
    position: relative;
}

.industries__featured {
    background-color: #fff;
    margin-bottom: -2em;
    padding-top: 5em;
    transform: translateY(-2em);
    z-index: 0;
}

.industries__featured::before {
    box-shadow: 0 -5px 10px -5px rgba(0,0,0,.25);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 50%;
    top: 0;
    z-index: -1;
}

:is(.industries__featured, .industries__other) .card {
    align-items: start;
    display: grid;
    gap: 1rem;
    background-color: #fff;
    box-shadow: 0 0 10px -3px rgba(0,0,0,.25);
    margin: 0;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

:is(.industries__featured, .industries__other) .card > * {
    margin: 0;
}

:is(.industries__featured, .industries__other) .learn-more {
    margin-bottom: 1em;
}

:is(.industries__featured, .industries__other) .card ul {
    list-style: disc;
    line-height: 2;
    padding-left: 1rem;
    text-align: left;
}

#why-us {
    text-align: center;
    padding: 5em 1em;
}

#why-us hr {
    margin-bottom: 2rem;
    margin-top: 0;
    max-width: 300px;
}

#why-us hr + p {
    color: #00a2df;
    font-size: 1.15rem;
}

#why-us :is(figure, figcaption, .wp-block-image) {
    margin-bottom: 0;
    margin-top: 0;
}

#why-us :is(figure, figcaption) {
    background-color:  #00a2df;
}

#why-us figcaption {
    color: #fff;
    padding: 1rem 2rem 3rem;
}

#why-us .wp-block-button {
    transform: translateY(-2em);
    z-index: 10;
}

#why-us .wp-block-button__link {
    border: 1px solid #00a2df;
    color: #00a2df;
    background-color: #fff; 
}



/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
#section-1 {
    padding-bottom: 5%;
    text-align: center;
}

#section-1 .industry-items {
    margin: auto;
    padding: 0;
}

#section-1 .idustry-item {
    box-shadow: 1px 1px 10px -.5px rgba(0,0,0,.1);
    background-color: #fff;
    display: inline-block;
    margin: 5px;
    min-width: calc(100%/4 - 30px);
    overflow: hidden;
    padding: 15px;
    position: relative;
    text-align: center;
    transition: background-color .5s ease-in-out 0s;
}

.idustry-item > * {
    transition: all 0.5s ease-in-out 0s;
}

#section-1 .idustry-item > img,
#section-1 .idustry-item > span {
    display: block;
    margin: auto;
}

#section-1 .idustry-item > span:not(.caption) {
    color: #019DDB;
    font-weight: 600;
    font-style: normal;
    margin-top: 15px;
}

#section-1 .idustry-item:not(:hover) > img,
#section-1 .idustry-item:not(:hover) > span:not(.caption) {
    transform: translateY(0);
}

#section-1 .idustry-item:hover > img,
#section-1 .idustry-item:hover > span:not(.caption) {
    transform: translateY(160%);
}

#section-1 .idustry-item > .caption {
    color: #fff;
    font-weight: 300;
    margin-left: -15px;
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#section-1 .idustry-item:not(:hover) .caption {
    opacity: 0;
}

#section-1 .idustry-item:hover {
    background-color: #00a2df;
}

#section-1 .featured-industry-items {
    text-align: center;
}

#section-1 .featured-idustry-item {
    box-shadow: 1px 1px 10px -.5px rgba(0,0,0,.1);
    display: inline-block;
    padding: 25px;
    margin: 15px;
}

#section-1 .featured-idustry-item > div > span:first-child {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

#section-1 .featured-idustry-item img {
    max-width: unset;
}

#section-1 .featured-idustry-item .caption {
    display: block;
    font-size: 14px;
}

#section-1 .featured-idustry-item .learn-more {
    border: 2px solid #00a2df;
    display: inline-block;
    margin-top: 15px;
    padding: 5px 35px;
    text-transform: uppercase;
    white-space: nowrap;
}

#section-1 .featured-idustry-item .learn-more:hover {
    background-color: #00a2df;
    color: #fff;
}



/*--------------------------------------------------------------
# @Media Styles
--------------------------------------------------------------*/
@media screen and ( max-width: 767px ) {
    :is(.industries__featured, .industries__other) .card ul {
        justify-self: center;
    }
}

@media screen and ( min-width: 768px ) {
    .entry-header:not(.industries) {
        min-height: 700px;
        padding-top: 100px;
    }

    header.entry-header.industries {
        padding-bottom: 15em !important;
    }

    .industries__featured {
        margin-bottom: -15em;
        transform: translateY(-15em);
    }

    :is(.industries__featured, .industries__other) .card {
        grid-auto-flow: dense;
        grid-auto-rows: min-content;
        grid-template-columns: auto auto;
        justify-items: start;
        text-align: left;
    }

    :is(.industries__featured, .industries__other) .card > :not(.wp-block-image) {
        grid-column: 2;
    }

    :is(.industries__featured, .industries__other) .card > .learn-more  ~ * {
        grid-column: 1 / span 2;
    }

    :is(.industries__featured, .industries__other) .card .wp-block-image {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    :is(.industries__featured, .industries__other) .card ul {
        column-count: 2;
        column-gap: 5em;
    }

    #why-us figcaption {
        padding-left: 10em;
        padding-right: 10em;
    }

    #why-us hr + p {
        font-size: 1.25rem;
    }




    #section-1 .section-content {
        background-color: #fff;
        box-shadow: 0 -5px 5px -2px rgba(0,0,0,.25);
        margin-bottom: 600px;
        max-height: 300px;
        padding: 50px;
        transform: translateY(-150px);
    }
    
    #section-1 .idustry-item {
        margin: 15px;
    }

    #section-1 .idustry-item > span:not(.caption) {
        font-size: 1.5em;
    }

    #section-1 .idustry-item > .caption {
        font-size: 14px;
    }

    #section-1 .idustry-item {
        max-width: calc(100%/3 - 30px);
    }

    #section-1 .featured-industry-items {
        text-align: left;
    }

    #section-1 .featured-idustry-item > div {
        display: inline-block;
        vertical-align: top;
    }

    #section-1 .featured-idustry-item > .desc {
        padding-left: 35px;
        max-width: calc(100% - 170px);
    }

    #section-1 .featured-idustry-item {
        max-width: calc( 50% - 30px);
    }
}


@media screen and ( min-width: 1024px ) {
    #section-1 .featured-industry-items {
        /*align-items: stretch;
        display: flex;
        justify-content: space-between;*/
        position: relative;
    }    
}