:root {
    --main-green: #00aa4f;
    --accent-green: #084;
    --light-green: #aadb1e;
    --main-red: #da1a32;
    --accent-blue:#CDDCDC;
    --shadow-light: hsla(var(--hue), var(--saturation), calc(var(--lightness) * .2), .03);
}

@media(min-width:calc(100ch + 2em)) {
    #occ-patch>div {
        display: flex;
        flex-direction: row-reverse;
        gap: 3em;
        align-items:center;
    }
    
    :where(#occ-patch>div>*) {
        flex: 1 1 50%;
        flex-grow: 1;
        flex-shrink: 1;
    }
    
    #occ-patch figure {
        flex-basis: 38%;
    }
    
    #occ-patch div div {
        flex-basis: 62%;
    }
    
    #occ-patch figure img {
        border-radius: 0.618em;
        box-shadow: 0 0 1ch var(--shadow-light), 0 .146ch .236ch var(--shadow-light), .146ch .236ch .382ch var(--shadow-light), .236ch .382ch .618ch var(--shadow-light);
    }  
}

.occ-logo {
    margin: 0 auto;
}

.logos {
    display:flex;
    flex-direction:column;
    gap:1em;
}

@media(min-width:48em) {

.logos {
    flex-direction: row;
}

}

#ncw {
    padding-bottom: 4.236em !important;
}

.ncw {
    text-align: center;
}

.ncw span {
    display: block;
    font-weight: 300;
    text-align: center;
    width: 100%;
}

[hidden],
[type="hidden"] {
    display: inline-block !important;
}

#cc-logo {
    display:block;
    width:auto;
    height: 4.436em;
    margin-bottom: 1ch;
}

.card p {
    margin-top: 1em;
}

.card footer img {
    border-radius: 0 !important;
}

.social-media-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 1em;
    margin-top: 1em;
}

.social-media-icon {
    padding: 10px;
    width: 3em;
}

header h3 {
    font-weight: 400;
}

blockquote footer {
    display: flex;
    justify-content: end;
    flex-direction: row;
    flex-wrap: nowrap;
}

:not(header)>blockquote {
    border-left: .618em solid #084;
}

#toys {
    width: 3em;
    margin-left: 1em;
}






#overview header h2 span {
  display: block;
}

/* #community-challenge {background-image:linear-gradient(90deg,rgb(244, 244, 244, 1) 0%, rgba(244, 244, 244, 0) 50%),url('/Delivery/img/2591US-B-184.jpg');background-position:right;background-size:50%;background-repeat:no-repeat;background-color:#f4f4f4;} */



/* .fade-container {    position: relative;
    background-color: rgb(244, 244, 244, 1);
    min-height: 20em;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;}
.fade-container > * {position:relative;z-index:2;margin:0 12vw;}
.fade-container figure {position: absolute;top: 0;right: 0;z-index: 1;height: 100%;width: 60%;margin: 0;padding: 0;}
.fade-container figure img {aspect-ratio:auto;height:100%;width:100%;overflow: hidden;}
.fade-container figure::after { content: "";position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: linear-gradient(90deg,rgb(244, 244, 244, 1) 0%, rgba(244, 244, 244, 0) 80%);}

.left.fade-container figure {right:auto;left:0;}
.left.fade-container figure:after{background: linear-gradient(270deg,rgb(244, 244, 244, 1) 0%, rgba(244, 244, 244, 0) 80%);}
.left.fade-container header, .left.fade-container article {display:flex;justify-content:flex-end;text-align:right;} */

#communities {position:relative;}
#communities .card {height:30em;display: grid;grid-template-rows: 1fr 1fr;cursor:default}

#communities .grid.four {
    grid-template-columns: 1fr;
}

@media(min-width:47.9em) {
    #communities .grid.four {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 5%;
}
    #communities .card {height:25em;}
}

@media(min-width:63.9em) {
    #communities .grid.four {
    grid-template-columns:repeat(4, 1fr);
    margin: 0 5%;
    }

    #communities .card {height:35em;}
}

@media(min-width:80em) {

    #communities .card {grid-template-rows: 2fr 1fr;}
}


#communities .grid.four

#communities .card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    aspect-ratio:1/1.618;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#communities .card figure {height:100%;}

#communities .card img {height:100%;width:100%}
    
/* #communities .card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height:34%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 48%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 48%);
} */

#communities .card article {
    padding: 1em;
    color: #fff;
    text-align:center;
    justify-content:center;
    border-radius: 0 0 0.618em 0.618em;
}

#communities header {
    text-align: center;
    margin: 1em auto;
    justify-content:center;
}

#communities .card p {
   margin-top: 0.2em;
    line-height: 1.2;
}

#foundations article {
    background-color: #83C1C0;
}

#challenge article {
    background-color: #C26E60;
}

#parents article {
    background-color: #5CAA7F;
}

#community article {
    background-color: #DB7B51;
}


    @media(hover:hover){
    #communities .card:has(img) img{transition: none ;}
    #communities .card:has(img,h3 a):hover :is(a,img){filter:none;}

    #commmunities .card:has(a):focus-within,.card:has(a):hover{border-color: none;}
}

#communities .card, #communities .card:has(a):focus-within,#communities .card:has(a):hover{border-color: rgba(0,0,0,0);border:none;}






.flex-container {display:flex;flex-direction:column-reverse;gap:1em;}
.left{width:100%;}
.right{width:100%;}
.right figure {height:100%;width:100%;overflow:hidden;border-radius:0.618em;}
.right figure img {height:100%;width:100%;}

@media(min-width:48em) {
    .flex-container{flex-direction:row;}
    .left{width:60%}
    .right{width:40%;}
}



#gform_submit_button_377 {margin: 0 auto !important;}

#free-shoeboxes h2 span {color: #008747;}