/*
 Theme Name:   LeadGenera
 Description:  LeadGenera
 Author:       Keiran Martin
*/

:root {
    --dark-blue: #333A50;
    --medium-blue: #3B4259;
    --purple: #D89CFF;
    --light-green: #D5F7B2;
    --dark-green: #466435;
    --orange: #FFCF66;
    --black: #0B0C0C;
    --light-grey: #F9F9F9;
    --placeholder: #505A5F;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}
 
html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px !important;
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.wp-video, video{
    max-width: 100% !important; 
    display: block;
    margin: 50px auto;
}

.skip-link {
    background: #3B4259;
    color: #fff;
    font-weight: 700;
    left: 50%;
    padding: 4px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.skip-link:focus {
    transform: translateY(0%);
}

hr{
    border-top: 1px solid #fff;
    opacity: 1;
    width: 200px;
    margin: 30px auto;
}

picture{
    width: 100%
}
.adminLabel{
    display: none !important;
}
/*----------------------------
BODY / FONTS
----------------------------*/
body{
    position: relative;
    font-family: "Lexend", sans-serif;
    color: var(--black);
}
h1,
h2,
h3,
h4,
h5,
h6{
    font-family: "Lexend", sans-serif;
    margin-top: 2rem;
    font-style: normal;
    font-weight: 700;
}
h1{
    font-size: 40px;
    line-height: 43px;
    font-weight: 700;
}
h2 {
    font-size: 27px;
    line-height:36px;
}
h3 {
    font-size: 24px;
    line-height: 33px;
}
h4 {
    font-size: 22px;
    line-height: 33px;
}
h5 {
    font-size: 20px;
    line-height: 30px;
}
small{
    font-size: 14px;
}

/*----------------------------
CONTENT
----------------------------*/
#app {
    margin-top: 106px;
}

/*----------------------------
BUTTONS
----------------------------*/
.btn{
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    border-radius: 0;
    height: 44px;
    line-height: 28px;
    transition: .3s all ease;
}
.btn-primary{
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
}
.btn-primary:hover{
    background: #fff;
    color: #000;
    border-color: var(--orange);
    transition: .3s all ease;
}
.btn-secondary{
    background: #FCFEF1;
    border-color: #FCFEF1;
    color: #000;
}
.btn-secondary:hover{
    background: var(--medium-blue);
    color: #fff;
    border-color: #fff;
    transition: .3s all ease;
}
.btn-alt{
    background: #D89CFF;
    border-color: #D89CFF;
    transition: .3s all ease;
}
.btn-alt:hover{
    background: #fff;
    transition: .3s all ease;
}
.wp-block-button__link {
    border-radius: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
@media(max-width: 576px){
    .btn{
        max-width: 100%;
    }
}

/*----------------------------
PAGINATION
----------------------------*/

#pagination ul{
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

#pagination li{
    margin: 0 5px;
}

#pagination li a{
    font-size: 18px;
    font-weight: 700;
}
/* =======================================================
Custom select
=======================================================*/
.select-wrap select{
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border-radius: 0;
    border: none;
}
.select-wrap{
    position: relative;
}
.select-wrap::after{
    content: '';
    width: 40px;
    height: 40px;
    background: var(--purple);
    position: absolute;
    z-index: 2;
    right: 0;
    pointer-events: none;
    background-image: url('/wp-content/uploads/2025/08/angle-down-1.svg');
    background-repeat: no-repeat;
    background-position: center;
}
/* =======================================================
Footer
=======================================================*/
footer .top {
    background: var(--purple);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .top a {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}
footer .middle {
    background: var(--medium-blue);
    padding: 40px;
}
footer .middle .row {
    display: flex;
}
footer .middle .left {
    width: 70%;
}
footer .middle .right {
    display: flex;
    width: 30%;
}
footer .middle .left .one {
    width: 100%;
    margin-bottom: 30px;
}
footer .middle .left .three {
    display: flex;
}
footer .middle .left .three .funded,
footer .middle .left .three .delivered {
    display: flex;
    flex-wrap: wrap;
    width: 207px;
}
footer .middle .left .three .partnership {
    display: flex;
    flex-wrap: wrap;
}
footer .middle .left .three .funded div {
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
}
footer .middle .left .three .delivered div {
    color: #fff;
    margin-bottom: 20px;
    width: 100%;
}
footer .middle .left .three .partnership div {
    color: #fff;
    margin: 0 0 20px 20px;
    width: 100%;
}
footer .middle .left .three .funded img {
    height: 122px;
    width: 206px;
}
footer .middle .left .three .delivered img {
    height: 29px;
    width: 206px;
}
footer .middle .left .three .partnership1 {
    margin-left: 15px;
    width: 200px;
    height: 54px;
    margin-top: 10px;
}
footer .middle .left .three .partnership2 {
    margin-left: 40px;
    width: 162px;
    height: 80px;
}

footer .middle .right ul {
    padding: 0;
    list-style: none;
    margin-right: 50px;
}
footer .middle .right ul a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
footer .middle .right ul li {
    padding: 5px 0;
}
footer .bottom {
    background: var(--dark-blue);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
footer .bottom a {
    margin: 0 5px;
    color: #fff;
}
footer .banner img{
    width: 100%;
}
@media(max-width: 1400px) {
    footer .middle .row {
        display: flex;
        flex-direction: column-reverse;
    }
    footer .middle .left {
        width: 100%;
    }
    footer .middle .right {
        margin-bottom: 50px;
        width: 100%;
    }
}
@media(max-width: 790px) {
    footer .middle .left .three {
        flex-direction: column;
    }
    footer .middle .left .three .funded,
    footer .middle .left .three .delivered {
        width: 100%;
    }
    footer .middle .left .three .delivered {
        margin: 30px 0;
    }
    footer .middle .left .three .partnership div {
        margin: 0 0 20px;
        width: 100%;
    }
    footer .middle .left .three .partnership1 {
        margin-left: 0;
    }
}
@media(max-width: 500px) {
    footer .middle .right {
        flex-direction: column;
    }
    footer .middle .left .three .partnership1 {
        margin-bottom: 20px;
    }
    footer .middle .left .three .partnership2 {
        margin-left: 0;
    }
    footer .middle .left .three .partnership {
        flex-direction: column;
    }
    footer .middle {
        padding: 40px 10px;
    }
}

/* =======================================================
OVERIDES
=======================================================*/
.wp-block-group ul,ol{
   margin: 15px 0 !important; 
}
.block .post .right{
    display: flex;
    gap: 0 10px;
}
.block .post .tile{
    height: 32px;
    padding: 9px 30px;
    overflow: hidden;
    color: #000;
    text-align: center;
    text-overflow: ellipsis;
    font-family: Lexend;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}
.block .post .tile.featured_tile{
   background: var(--purple);
}
.wp-block-group__inner-container h2:first-of-type {
  margin-top: 0 !important;
}
.toast-container{
    position: fixed;
    top: 130px !important;
    right: 0;
    z-index: 99999999;
}
.fav_true{
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
    border: none;
    background: #466435;
    background-image: url('/wp-content/uploads/2025/09/fav.svg');
    background-size: cover;
}
.fav_false{
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
    border: none;
    background: #D2D2D2;
    background-image: url('/wp-content/uploads/2025/09/no_fav.svg');
    background-size: cover;
}
.wp-block-group__inner-container{
    width: 100%;
    padding: 40px 10px;
    margin-right: auto;
    margin-left: auto;
}
.lg-default-intro .wp-block-group__inner-container{
    max-width: 100% !important;
    padding: 0 !important;
}
.wp-block-group.mainContent h2 {
    color: #000;
    font-family: Lexend;
    font-style: normal;
    font-weight: 700;
    font-size: 27px;
    line-height:36px;
}
.wp-block-group.mainContent h3 {
    color: #000;
    font-family: Lexend;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
}
.wp-block-group.mainContent h4 {
    color: #000;
    font-family: Lexend;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 33px;
}
.wp-block-group.mainContent h5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    align-self: stretch;
    font-size: 20px;
    line-height: 30px;
}
.wp-block-column h3 {
    color: #466435;
    font-family: Lexend;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.wp-block-column p {
    color: #0B0C0C;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
@media(min-width: 576px){
   .wp-block-group__inner-container{
        max-width: 540px;
    }
}
@media(min-width: 768px){
   .wp-block-group__inner-container{
        max-width: 720px;
    }
}
@media(min-width: 992px){
   .wp-block-group__inner-container{
        max-width: 960px;
    }
}
@media(min-width: 1200px){
   .wp-block-group__inner-container{
        max-width: 1140px;
    }
}
@media(min-width: 1400px){
   .wp-block-group__inner-container{
        max-width: 1320px;
    }
}


.related-themes{
    padding: 50px 0;
    background: var(--light-green);
}
.related-themes h2{
    margin: 0 0 20px;
}
.related-themes .theme {
    padding: 7.5px;
}
.related-themes .theme .inner {
    background: #fff;
    padding: 15px;
    height: 100%;
}
.related-themes .theme .inner h4 {
    color: #000;
    font-family: Lexend;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    padding-left: 18px;
    display: flex;
    align-items: center;
    margin-top: 0;
}
.related-themes h4::before{
    content: '';
    background-image: url('/wp-content/uploads/2025/08/Vector.svg');
    position: absolute;
    left: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 9px;
    height: 17px;
}
.related-themes .theme .inner .content {
    color: var(--black);
    margin-bottom: 20px;
}
.block.knowledge-hub-posts input,
.block.knowledge-hub-posts select,
.block.knowledge-hub-posts button,
.block.knowledge-hub-posts .select-wrap::after,
.block.news input,
.block.news select,
.block.news button,
.block.news .select-wrap::after
{
    border: 1px solid #000 !important;
}
#posts .post.event .date{
    display: block !important;
}
#posts .post.event.event_passed{
    display: none !important;
}