.wrap, header .wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Search results layout */
.search .search-loop-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.search .search-loop-item__media {
    flex: 0 0 400px;
}

.search .search-loop-item__media img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.search .search-loop-item__content {
    flex: 1 1 auto;
}

.loop-wrapper {
    max-width: 1200px;
    margin: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.search-results-header {
    width: 100%;
    margin: 150px 0 50px;
}

form.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

@media (max-width: 850px) {
    .search .search-loop-item {
        flex-direction: column;
        gap: 16px;
    }

    .search .search-loop-item__media {
        flex: 0 0 auto;
        width: 100%;
    }
}

header .wrap {
    max-width: 1200px
}

#footer {
    background-blend-mode: normal;
}

.section-resources-intro {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
}

.site-inner .content {
    padding-top: 0;
}

/*SECTION MAIN*/
.page-section-main {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    background-attachment: fixed;
    width: 100%;
    min-height: 450px;
    padding-top: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-section-main:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 99%,rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.home-main:after,
.custom-entry-header:after,
.page-section-main:after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(images/tear-top.svg);
    background-repeat: repeat-x;
    background-position: center bottom;
    bottom: -1px;
    z-index: 10;
    width: 100%;
    height: 18px;
    background-size: auto 18px;
    left: 0;
}

.home .custom-entry-header {
    margin-top: 0;
    height: 100vh;
}

.page-section-main h1 {
    color: var(--global-color-light-1);
    position: relative;
    z-index: 2;
    font-size: 42px;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-section-main h1 .slogan {
    display: block;
    font-size: 22px;
    font-weight: normal;
    margin-top: 20px;
}

.page-section-main h1 .slogan p {
    color: #fff;
    font-size: 22px;
    font-weight: normal;
}

.custom-entry-header .sub-title {
    color: #fff;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.6;
    margin-top: 2rem;
    margin-bottom: 0;
    font-family: 'Fjalla One', sans-serif;
    letter-spacing: 0.5px;
}

.home-section h2 {
    font-size: 33px;
    text-align: center;
}

.home-section .sub-title {
    text-align: center;
    color: var(--global-color-text);
    font-size: 22px;
    font-family: 'Fjalla One', sans-serif;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 36px;
    text-align: center;
    color: var(--global-color-primary);
}


.button-cta {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%) !important;
    border: unset;
    background: var(--global-color-primary);
    padding: 15px 20px 12px 20px;
    color: var(--global-color-light-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4em;
    height: 56px;
    width: 250px;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

.button-cta:hover {
    background: var(--global-color-text);
    color: var(--global-color-light-1);
    text-decoration: none;
}

/*END SECTION MAIN*/

/*HOME*/
.single-cpt_projects,
.single-cpt_events {
    background: url("images/wood-bg.png") repeat top left;
    background-size: contain;
}

.single-cpt_projects .section-main,
.single-cpt_events .section-main {
    padding: 80px 0;
    background-image: url("../images/wood-bg-texture.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #75a237;
}

.single-cpt_projects .section-main .description,
.single-cpt_events .section-main .description {
    padding: 20px;
    background-image: url("../images/wood-bg-texture.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #fff;
}

.single-cpt_projects .section-main .description p,
.single-cpt_events .section-main .description p {
    margin-bottom: 0;
}

.custom-entry-header video {
    aspect-ratio: 3.5;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-home .what-we-do {
    margin: 120px 0;
}

.page-home .resources {
    margin: 120px;
}

.page-home .get-involved {
    margin: 120px 0;
}

/*END HOME*/


/*PAGE OUR TEAM*/

.page-our-team {

}

.page-our-team .committee-of-management {
    text-align: center;
    padding: 40px 0px;
}

.page-our-team .committee-of-management h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.page-our-team .committee-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.page-our-team .committee-member {
    text-align: center;
    transition: transform 0.3s;
}

.page-our-team .committee-member:hover {
    transform: translateY(-5px);
}

.page-our-team .member-image img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-our-team .member-info h3 {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    color: var(--global-color-primary);
}

.page-our-team .member-info .job_title {
    font-size: 18px;
}

.page-our-team .email_address {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.page-our-team .email_address a {
    display: block;
    width: 30px;
}

.page-our-team .email_address a img {
    margin: 0;
    filter: invert(1);
    border-radius: 0;
}

.page-our-team .outer-banner {
    margin-top: 50px;
}

.page-our-team .outer-banner img {
    width: 100%;
}

.page-our-team .committee-heading {
    width: 100%;
    color: var(--global-color-primary);
    margin-top: 50px;
}

.page-our-team .committee-about img {
    width: 100%;
}

.page-our-team .committee-member-popup {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.page-our-team .committee-member-popup.open {
    display: block;
}

.page-our-team .committee-member-popup-box {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    border-radius: 20px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 40% 60%;
}
.events-not-found .footer-social a {
    background-color: rgb(117 162 55 / 70%);
}
.page-our-team .committee-member-popup .member-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.page-our-team .committee-member-popup .member-image h3 {
    color: var(--global-color-primary);
    font-size: 26px;
    margin-bottom: 0px;
}

.page-our-team .committee-member-popup .member-info {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    padding-right: 30px;
}

.page-our-team .committee-member-popup .member-info p {
    font-size: 100%;
    line-height: inherit;
}

.page-our-team .committee-member-popup .job_title {
    font-size: 18px;
    margin-bottom: 10px;
}

.page-our-team .committee-member-popup .btn-close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
}

/*END PAGE OUR TEAM*/

/*PAGE OUR WORK*/
.page-our-work .section-introduction {
    padding: 100px 0;
}

.page-our-work .work-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-our-work .work-items .work-item {
    width: calc(50% - 10px);
}

.page-our-work .work-items .work-item .work-item-image a {
    display: block;
    overflow: hidden;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%) !important;
    line-height: 0;
    margin-bottom: 20px;
}

.page-our-work .work-items .work-item .work-item-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    width: 100%;
    transition: transform 0.8s;
}

.page-our-work .work-items .work-item .work-item-image a:hover img {
    transform: scale(1.1);
}

.page-our-work .work-items .work-item .work-item-name {
    text-align: center;
}

.page-our-work .work-items .work-item .work-item-name a {
    font-weight: 600;
    font-size: 22px;
    color: var(--global-color-text);
}

.page-our-work .work-items .work-item .work-item-name a:hover {
    color: var(--global-color-primary);
    text-decoration: none;
}

.page-our-work .section-cta {
    margin: 60px 0;
}

/*END OUR WORK*/


/*PAGE WHAT WE DO*/
.section-what-we-do {
    padding: 35px 0;
}

.section-what-we-do .items .item-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    width: 100%;
    transition: transform 0.8s;
}

.section-what-we-do .items .item-name {
    margin-bottom: 10px;
    margin-top: 10px;
}

.section-what-we-do .items .item-link a {
    display: inline-block;
    text-decoration: none;
}

.section-what-we-do .items .item {
    margin-bottom: 35px;
}

/*END WHAT WE DO*!*/


/*CONTACT US*/
#gform_submit_button_2 {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%) !important;
    border: unset;
    background-color: var(--global-color-primary);
    padding: 12px 20px 12px 20px;
    margin-top: 0;
    margin-left: 0;
    font-size: 15px;
    color: var(--global-color-light-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4em;
    height: 46px;
    width: 149px;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    border-radius: 0;
}

#gform_submit_button_2:hover {
    text-decoration: none;
    background-color: var(--global-color-primary-dark);
}

#gform_2 label {
    font-weight: 600;
    margin-bottom: 0;
}

#gform_2 .gform-field-label--type-sub {
    font-weight: 400;
}

#gform_2 input:not([type="submit"]):not([type="checkbox"]),
#gform_2 textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background-color: #f8f8f8;
    color: rgba(0, 0, 0, .7);
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
    padding: 9px 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 3px;
}

.gform_legacy_markup_wrapper .description_above .gfield_description {
    font-size: 12px;
}

.gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding: 10px;
}

.page-contact .kt-row-column-wrap {
    padding: 100px 30px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.025);
    border: 1px solid rgba(0, 0, 0, .06);
    margin-top: 50px;
    column-gap: 2rem;
    display: flex;
}

.page-contact .kt-row-column-wrap .inner-column-1 {
    width: 100%;
}

/*END CONTACT US*/


/*ABOUT US*/
.page-about-us .section-caring {
    margin-top: 70px;
}

.page-about-us .section-caring .box {
    display: flex;
    gap: 30px;
}
.section-link {
    text-align: center;
    margin-top: 50px;
}
.page-about-us .section-caring .box .photo {
    flex: 1 0 0;
    margin-top: 7px;
}

.page-about-us .section-caring .box .photo img {
    -webkit-clip-path: polygon(0 0, 100% 0, 120% 70%, 90% 100%, 0 100%) !important;
}

.page-about-us .section-caring .section-content {
    flex: 1 0 0;
}

.page-about-us .section-column {
    margin: 80px 0;
    padding: 70px;
    background-color: #75A237;
}

.page-about-us .section-column .columns {
    display: flex;
    align-items: center;
}

.page-about-us .section-column .columns .column-item {
    width: 48%;
    text-align: left;
    color: var(--global-color-light-1);
}

.page-about-us .section-column .columns .column-item .section-title {
    color: var(--global-color-light-1);
    text-align: left;
    position: relative;
    margin-bottom: 0;

}

.page-about-us .section-column .columns .column-item .section-title:before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 65px;
    height: 3px;
    background-color: var(--global-color-primary);
}

.page-about-us .section-column p {
    color: var(--global-color-light-1);
}

.page-about-us .section-column p:last-child {
    margin-bottom: 0;
}

.page-about-us .section-our-values {
    margin: 70px 0;
}

.page-about-us .section-our-values .columns {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 160px;
}

.page-about-us .section-our-values .columns li {
    width: 25%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #75a23785;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 24px;
    color: #000;
    letter-spacing: 1px;
    margin-top: -80px;
    text-align: center;
    padding: 30px;
}

.page-about-us .section-our-values .columns li:first-child {
    background-color: var(--global-color-primary-dark);
}

.page-about-us .section-our-values .columns li {
    margin-left: -50px;
}

.page-about-us .section-who-we-help {
    padding: 30px 0;
}
.page-about-us .section-who-we-help .box {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
    align-items: center;
    margin: 30px 0;
}

.page-about-us .section-who-we-help .photo {
    flex: 1 0 0;
}

.page-about-us .section-who-we-help .photo img {
    -webkit-clip-path: polygon(0 0, 100% 0, 120% 70%, 90% 100%, 0 100%) !important;
}

.page-about-us .section-who-we-help .section-content {
    flex: 1 0 0;
    text-align: center;
}

.page-about-us .section-who-we-help .section-content p {
    color: inherit;
}

.page-about-us .section-about {
    padding: 60px 0 40px;
    background: var(--global-dark-2);
    color: #fff;
}

.page-about-us .section-about .section-title,
.page-about-us .section-about p{
    color: #fff;
}

.page-about-us .section-about .section-content ol {
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.page-template-about-us .site-footer {
    padding-top: 0;
}
/*END ABOUT US*/


/*PROJECT*/
.projects-box {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
    gap: 30px;
}

.projects-box .loop-item {
    margin: 0;
}

.projects-box .loop-item img {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/*END PROJECT*/

.resources-archive h3 {
    text-align: center;
    margin-top: 30px;
}

.resources-archive .description {
    margin: 50px auto;
    max-width: 1200px;

}

.resources-archive .description p {
    margin-bottom: 0;
    text-align: center;
}

.resources-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 50px -5px 0;
}

.resources-grid .resources-type-item {
    width: 33.33%;
    padding: 5px;
    position: relative;
    cursor: pointer;
}

.resources-grid .resources-type-item > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
}

.resources-grid .resources-type-item > a:before, .resources-grid .resources-type-item > a:after {
    content: '';
    position: absolute;
    background-color: #43532D;
    /*     background-color: #294145; */
    width: 100%;
    height: 100%;
    bottom: 0px;
    /*     mix-blend-mode: multiply; */
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.resources-grid .resources-type-item:hover > a:before {
    opacity: 1;
}

.resources-grid .resources-type-item > a:after {
    background: rgb(0 0 0 / 20%);
    opacity: 1;
    left: 0;
}

.resources-grid .resources-type-item img {
    aspect-ratio: 476/584;
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.resources-grid .resources-type-item .box-type {
    position: absolute;
    top: calc(100% - 100px);
    bottom: auto;
    transition: all 0.5s ease-in-out;
    padding: 0 30px 30px;
}

.resources-type-item.land-management-organisations-environmental-networks .box-type {
    text-shadow: 1px 1px black;
}

.resources-type-item .box-type .item-description,
.resources-type-item .box-type .item-link {
    opacity: 0;
    transition: all 0.5s ease-in-out;
    color: #fff;
}

.resources-grid .resources-type-item:hover .box-type {
    top: 100%;
    transform: translateY(-100%);
}

.resources-grid .resources-type-item:hover .item-description,
.resources-grid .resources-type-item:hover .item-link {
    opacity: 1;
}

.resources-grid .resources-type-item .box-type h2 {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-transform: capitalize;
    line-height: 1.1;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.resources-type-item .box-type p {
    color: #fff;
    text-align: left !important;
    margin: 0;
    line-height: 1.3;
    font-size: 18px;
}

.resources-type-item .item-link a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    transition: all 0.3s ease-in-out;
}
.resources-subcategory-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    column-gap: 1rem;
    text-align: center;
    justify-content: center;
    row-gap: 0.5rem;
}
.resources-grid .resources-type-item .box-type h2:hover,
.resources-type-item .item-link a:hover {
    color: var(--global-color-primary);
}
.resources-grid .resources-type-item:hover > a::before {
  opacity: 0.7;
}
.resources-subcategory-heading {
    border-bottom: 2px solid #e3e3e3;
    padding-bottom: 5px;
    margin-bottom: 0;
}
.resources-subcategory-section .resources-list {
    margin-top: 30px;
}
.resources-subcategory-section:last-child {
    margin-bottom: 0 !important;
}
.resources-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.resource-item-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 0 0 2px #000;
}

.pdf-type .resource-item-content h3,
.video-type .resource-item-content h3 {
    color: #fff;
}

.resource-item-content a:hover {
    text-decoration: none;
    background: var(--global-color-primary-dark);
}

.resource-item .item-background {
    height: 350px;
    width: 100%;
    background: #43532D center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-item.info-type .item-background {
    background: #E7EDDE;
}

.resource-item.external_url-type .item-background {
    background-color: #61872F;
}

.item-link svg {
    display: block;
    width: 65px;
    height: 65px;
    color: #fff;
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}
.item-link.popup-page svg {
    color: #43532e;
}

.has-background .item-link.popup-page svg{
    color: #fff;
}
.item-link:hover svg {
    transform: scale(1.1);
}
.resource-item.pdf-type.has-background .item-link svg {
    opacity: 0;
}
.resource-item.pdf-type.has-background:hover .item-link svg {
    opacity: 1;
}
.resource-info h4 {
    margin-top: 15px;
}

#html5lightbox-watermark {
    display: none !important;
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-videos {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.popup-videos .page-content * {
    max-width: 100%;
}

/* Popup container */
.popup-container {
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-videos .page-content {
    background: #fff;
    padding: 30px;
    max-width: 1024px;
    width: 100vw;
    text-align: left;
}

.close-btn:before {
    content: '';
    display: block;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iSWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTAgNTAiPgogIDx0aXRsZT5jbG9zZTwvdGl0bGU+CiAgPGxpbmUgeDE9IjIiIHkxPSIyIiB4Mj0iNDgiIHkyPSI0OCIgc3R5bGU9ImZpbGw6IG5vbmU7c3Ryb2tlOiAjZmZmO3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDJweCIvPgogIDxsaW5lIHgxPSIyIiB5MT0iNDgiIHgyPSI0OCIgeTI9IjIiIHN0eWxlPSJmaWxsOiBub25lO3N0cm9rZTogI2ZmZjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAycHgiLz4KPC9zdmc+Cg==);
    width: 2rem;
    height: 2rem;
}

span.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

.resources-archive .description p {
    text-align: center !important;
}

.resources-archive .description p a {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%) !important;
    border: unset;
    background: var(--global-color-primary);
    padding: 12px 20px 12px 20px;
    margin-top: 0;
    margin-left: 0;
    font-size: 15px;
    color: var(--global-color-light-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 0;
    height: 55px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: max-content;
    margin: 20px auto;
}

.resources-archive .description p a:hover {
    background: var(--global-color-primary-dark);
    text-decoration: none;
}

.section-past-project,
.section-past-event {
    margin-top: 40px;
    margin-bottom: 30px;
}

.section-past-project .section-content,
.section-past-event .section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.section-past-project .section-content .past-img,
.section-past-event .section-content .past-img {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.section-past-project .section-content .past-img img,
.section-past-event .section-content .past-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-past-project .section-content .past-img .icon,
.section-past-event .section-content .past-img .icon {
    position: absolute;
}

.section-past-project .section-content .past-img .icon svg,
.section-past-event .section-content .past-img .icon svg {
    width: 70px;
    height: 70px;
    color: #fff;
}

.section-past-project .past-title svg,
.section-past-event .past-title svg {
    color: #42532e;
    width: 20px;
    height: 20px;
}

.section-past-project .past-title,
.section-past-event .past-title {
    display: flex;
    color: var(--global-color-primary);
    align-items: center;
    column-gap: 10px;
}

.single-cpt_projects .custom-entry-header,
.single-cpt_events .custom-entry-header {
    margin-bottom: 0;
}

.single-cpt_projects .site-inner .content,
.single-cpt_events .site-inner .content {
    padding-bottom: 0;
    display: block;
}

/*PAGE GET INVOICED*/
.page-get-involved .section-caring-invoid {
    margin-top: 90px;
}

.page-get-involved .social-links {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.page-get-involved .social-links a {
    display: block;
    width: 45px;
    height: 45px;
    background: var(--global-color-primary);
    text-align: center;
    padding: 7px;
    border-radius: 50%;
}

.page-get-involved .social-links a:hover {
    background: var(--global-color-primary-dark);
}

.page-get-involved .seciton-invoid {
    margin-top: 80px;
    margin-bottom: 40px;
}

.page-get-involved .seciton-invoid .boxs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-get-involved .seciton-invoid .boxs .box-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
    border: 3px solid #E2EDD8;
    padding: 60px;
    transition: all 0.3s;
}

.page-get-involved .seciton-invoid .boxs .box-item .info-box-icon {
    width: 96px;
    height: 96px;
    border: 5px solid #E2EDD8;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--global-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.page-get-involved .seciton-invoid .boxs .box-item .info-box-title {
    font-weight: 700;
    font-size: 24px;
    margin-top: 15px;
    color: var(--global-color-text);
}

.page-get-involved .seciton-invoid .box-item .info-box {
    flex: 1;
}

.page-get-involved .seciton-invoid .box-item:hover {
    background: var(--global-color-primary);
    border-color: var(--global-color-primary);
    border-bottom-color: var(--global-color-light-1);
    cursor: pointer;
}

.page-get-involved .seciton-invoid .box-item:hover .btn-wraper a {
    background: var(--global-color-light-1);
    color: var(--global-color-primary);
}

.widget-title {
    color: #fff;
}

.page-get-involved .seciton-invoid .boxs .box-item:hover .box-body,
.page-get-involved .seciton-invoid .boxs .box-item:hover .info-box-title {
    color: white;
}

.popup-videos iframe {
    width: 96vw;
    height: 96vh;
}

.event-title {
    font-size: 20px;
    line-height: 1.1;
}

.events-grid.resources-list {
    grid-template-columns: repeat(2, 1fr);
}

.youtube_video_template {
    margin-bottom: 25px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: auto;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.project-section.single_image_template {
    text-align: center;
    margin-bottom: 25px;
}

.headline_template {
    margin-bottom: 15px;
    line-height: 1.3;
}

.single-cpt_projects .site-footer,
.single-cpt_events .site-footer {
    padding-top: 0;
    position: relative;
    z-index: 9999;
}

.single-cpt_projects main,
.single-cpt_events main {
    margin-top: 0;
}


.page-id-38 .gform_wrapper.gravity-theme .ginput_container_address span {
    flex: 0 0 auto;
}

.footer-bar h3,
.footer-bar h2,
.footer-bar p {
    color: #fff
}

.footer-bar p {
    margin-bottom: 30px;
}

#footer, .footer-bar {
    padding: 40px 0;
}
header .menu-mainmenu-container ul li .sub-menu li > a {
    font-size: 14px;
    letter-spacing: 1px;
}


.resources-list .accordion,
.resources-list .accordion-content {
    background-color: #ffffff;
    text-align: center;
}

.resources-list ul,
.resources-list ol {
    list-style: none;
    margin-bottom: 15px;
}

.term-25 .resources-intro {
    text-align: left;
}

.term-25 .resources-list {
    display: none;
}


body, p, select, textarea, input {
    font-size: 17px;
    line-height: 1.6;
}

.search.search-no-results #genesis-content .entry {
    max-width: 1200px;
    margin: auto;
}

.info-box-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.copy-right > * {
    font-size: 14px
}

.page-our-team .committee-member-popup-box {
    gap: 3rem;
    grid-template-columns: 40% 56%;
    align-items: center;
    padding: 40px;
}

.wp-caption {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.btn-default:hover {
    background: var(--global-color-primary-dark);
    color: var(--global-color-light-1);
}

input[type="submit"].gform-button:hover,
.frm-newsletter .btn-default:hover {
    background: var(--global-color-light-1) !important;
    text-decoration: none;
    color: var(--global-color-primary-dark) !important;
    border-color: var(--global-color-light-1);
}

.page-id-112 .gform_wrapper.gravity-theme #field_submit input {
    background: var(--global-color-primary);
}

.page-id-112 .gform_wrapper.gravity-theme #field_submit input:hover {
    background: var(--global-color-primary-dark) !important;
    color: var(--global-color-light-1) !important;
    border-color: var(--global-color-primary-dark) !important;
}
.event-featured-image {
    margin: 50px auto;
}

.copy-right {
    padding: 20px 0;
}
.resources-pagination {
    text-align: center;
    /*padding: 30px 0;*/
}

.resources-pagination a,
.resources-pagination span {
    display: inline-block;
    padding: 8px 13px 5px;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #333;
    line-height: 1.3;
}

.resources-pagination span.current,
.resources-pagination a:hover{
    background-color: #76a23d;
    color: #fff;
    border-color: #76a23d;
    text-decoration: none;
}

.page-template-projects .site-footer {
    padding-top: 0;
}

/*END CUSTOM*/
@media screen and (min-width: 1024px) {
    .popup-videos .page-content iframe {
        width: 100%;
        height: 540px;
    }
}

@media screen and (max-width: 1279px) {
    .resources-grid .resources-type-item .box-type h2 {
        font-size: 24px;
    }

    .page-get-involved .seciton-invoid .boxs {
        gap: 15px;
    }

    .page-get-involved .seciton-invoid .boxs .box-item {
        padding: 35px;
    }

    .page-about-us .section-our-values .columns li {
        margin-left: -20px;
        width: 50%;
    }
}


@media screen and (max-width: 900px) {

    ul .sub-menu.tear-bottom-green::after {
        background-image: none;
    }

    .btn-donate-box a {
        margin-bottom: 15px;
    }

}

@media screen and (max-width: 850px) {
    .section-past-project .section-content,
    .section-past-event .section-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-past-project .past-title,
    .section-past-event .past-title {
        font-size: 18px;
        margin-top: 15px;
    }

    .section-past-project .section-content .past-img .icon svg,
    .section-past-event .section-content .past-img .icon svg {
        width: 50px;
        height: 50px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media screen and (max-width: 768px) {
    .page-about-us .section-who-we-help .box {
        flex-direction: column;
    }

    .page-about-us .section-column .columns {
        flex-direction: column;
        row-gap: 50px;
    }

    .page-about-us .section-column .columns .column-item {
        width: 100%;
    }

    .page-about-us .section-column {
        padding-left: 50px;
        padding-right: 50px;
    }

    .page-about-us .section-our-values .columns {
        padding-left: 25px;
    }

    .gallery {
        grid-template-columns: 1fr; /* single column */
    }

    .page-get-involved .seciton-invoid .boxs {
        grid-template-columns: repeat(1, 1fr);
    }

    .events-listing .events-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .page-get-involved .seciton-invoid .boxs .box-item .info-box-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .page-get-involved .seciton-invoid .boxs .box-item .info-box-icon {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    .page-about-us .section-our-values .columns li {
        width: 100%;
    }

    .resources-grid .resources-type-item .box-type {
        padding: 0 15px 15px;
        top: calc(100% - 100px);
    }
}

/* Events Grid Layout (Portrait Posters & Action Buttons) */
.events-type-item img.event-poster {
    aspect-ratio: 2/3 !important;
    object-fit: cover;
}

.events-type-item .event-meta {
    margin-top: 10px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.events-type-item .event-meta .event-meta-item {
    margin-bottom: 4px;
}

.events-type-item .event-meta strong {
    color: #fff;
    font-weight: 600;
}

.events-type-item .event-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.resources-grid .events-type-item:hover .event-meta,
.resources-grid .events-type-item:hover .event-buttons {
    opacity: 1;
    visibility: visible;
}

.events-type-item .event-buttons .btn-default {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 13px;
    padding: 8px 12px;
    height: 38px;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
}

.events-type-item .event-buttons .btn-default:hover {
    background-color: var(--global-color-primary-dark);
}

