/*-- A. Global -------------------------------------------------------------*/
:root{
    --dark-blue: rgb(21, 66, 88);
    --wa-pink: rgb(237, 50, 141);
    --nt-orange: rgb(244, 119, 33);
    --sa-red: rgb(235, 48, 86);
    --vic-green: rgb(176, 202, 54);
    --tas-teal: rgb(0, 153, 174);
    --qld-yellow: rgb(245, 168, 28);
    --nsw-purple: rgb(162, 36, 134);



    --opacity: 0.15; /* Adjust this value to change the opacity */
    
    --dark-blue-opacity: rgba(21, 66, 88, var(--opacity));
    --wa-pink-opacity: rgba(237, 50, 141, var(--opacity));
    --nt-orange-opacity: rgba(244, 119, 33, var(--opacity));
    --sa-red-opacity: rgba(235, 48, 86, var(--opacity));
    --vic-green-opacity: rgba(176, 202, 54, var(--opacity));
    --tas-teal-opacity: rgba(0, 153, 174, var(--opacity));
    --qld-yellow-opacity: rgba(245, 168, 28, var(--opacity));
    --nsw-purple-opacity: rgba(162, 36, 134, var(--opacity));

    --white: #fff;
    --light-grey: #f1f6f7;
    --light-blue: #d1e1e7;
}


/* Reset and ensure no extra padding or margin */
*{
    box-sizing: border-box;
}

/* Ensure body and html take full height and have no overflow */
html, body{
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html{
    font-family: 'Poppins', sans-serif;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-blue);
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Poppins', sans-serif;
    color: var(--dark-blue);
    line-height: 120%;
}

p, a, ul, li{
    line-height: 140%;
}

h1{
    font-size: 30px;
}

h2{
    font-size: 24px;
    font-weight: bold;
}

a{
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: var(--dark-blue);
}

.max-width{
    max-width: 1500px;
    margin: 0 auto;
}

.panel{
    padding: 30px;
}


.fui-i{
    font-family: 'Poppins', sans-serif !important;
}



@media(min-width:768px){
    .panel{
        padding: 50px;
    }

}


@media(min-width:1200px){
    .panel{
        padding: 7rem;
    }

    h1{
        font-size: 40px;
    }

    h2{
        font-size: 32px;
    }

}




/*-- 1. Home Page -------------------------------------------------------------*/

.home_feature{
    background-color: var(--dark-blue);
    color: #fff;
    min-height: 90vh;
    position:relative;
}

.home_feature .bg{
    overflow: hidden;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.home_feature .bg .iframe_wrap{
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    aspect-ratio: 1920/1080;
}

.home_feature .bg .home_feature_bg_video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


.home_feature .fg{
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.home_feature .fg .headline{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 40px;
    flex-direction: column;
}

.home_feature .fg .headline h1{
    width: 90%;
    max-width: 90%;
    text-align: center;
    color: #fff;
}

.home_feature .fg .headline br{
    display: none;
}

@media(min-width:768px){
    .home_feature .fg .headline h1{
        max-width: 1000px;
    }
}

@media(min-width:768px){
    .home_feature .fg .headline br{
        display: block;
    }
}




/*--- Statistics ---*/

.statistics-panel{
    background-color: var(--tas-teal);
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.statistics-panel .title h2{
    color: var(--white);
    max-width: 700px;
    text-align: center;
    margin: 0 auto 30px;
}

.statistics-panel .stats{
    display: flex;
    justify-content: space-around;
    max-width: 70%;
    margin: 0 auto;
}

.statistics-panel .stats > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.statistics-panel .source{
    margin-top: 50px;
}

.statistics-panel .source p{
    display: block;
    text-align: center;
    justify-content: center;
    font-size: 0.75em;
    color: var(--light-blue);
}


.statistics-panel .stats-outer-container{

}

.stat{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
}

.stat h2{
    font-size: 4em;
    margin: 0;
    color: var(--white);
}

.stat p{
    margin-top: 0.5rem;
    font-size: 1.2em;
    color: var(--white);
    font-weight: bold;
    text-align: center;
}


.about-panel{
    background-color: var(--light-grey);
    display: flex;
}

.why-panel{
    background-color: var(--dark-blue);
    color: white;
}

.why-panel > div{
    padding: 30px 0;
}

.why-panel h2{
    color: #fff;
    font-size: 1.8em;
    margin-top: 0;
}

.why-panel p{

    font-size: 1.15em;
}

.why-panel .btn{
    display: block;
    margin-top: 30px;
}

 @media(min-width:768px){
    .why-panel > div{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    .why-panel h2{
        margin-right: 50px;
        margin-bottom: 0;
    }

    .why-panel p {
        margin-right: 50px;
        max-width: 600px;
    }

    .why-panel .btn{
        margin-top: 0;
    }

 }



/*--- Mentoring & Membership Panel ---*/

.panel-container{
    flex: 1;
    padding: 60px 50px;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    display: flex;
    justify-content: center;
}

.panel-container.image{
    flex: 1;
    padding: 0;
    align-items: center;
    display: flex;
}

.panel-container.image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.panel-container-inner{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

.panel-container .left{
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 0 0 100%;
}

.panel-container .left .fa{
    background: #0000001c;
    padding: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.panel-container .right{
    color: #fff;
}

.panel-container .right h2{
    color: #fff;
    margin: 0 0 15px;
}

.panel-container .right p{
    color: #fff;
    max-width: 500px;
}

.panel-container .right .btn{
    color: #fff;
    border-color: #fff;
    display: block;
    margin-top: 30px;
}   

.panel-container .right .btn:hover{
    background: #0000001c;
}

.mentoring-membership-panel{
    display: flex;
    background-color: var(--light-background);
    flex-direction: column;

}

@media(min-width:768px){
    .panel-container-inner{
        flex-wrap: nowrap;
    }

    .panel-container .left{
        flex: auto;
        padding: 100px 50px 100px 0;
    }

    .panel-container .left .fa{
        margin-bottom: 30px;
        height: 100px;
        width: 100px;
    }
}


/*--- Panel Generic ---*/
.panel-container-inner.generic{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.panel-container .left.generic{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.panel-container .left.generic  h2{
    color: #fff;
}

.panel-container .right.generic{
    flex: 2;
    padding: 0;
}

.panel-container-inner.generic .btn.generic{
    margin-top: 30px;
    color: #fff;
    border-color: #fff;
}

.panel-container-inner.generic .btn.generic:hover{
    background: #0000001c;
}

.mentoring,
.panel-container#mentoring-panel{
    background-color: var(--qld-yellow);
    background: linear-gradient(45deg, var(--qld-yellow), #f5931c);
}

.membership,
.panel-container#membership-panel{
    background-color: var(--vic-green);
    background: linear-gradient(45deg, var(--vic-green), #a1bb21);
}

.icon img{
    width: 40px;
    height: 40px;
}
.panel-container h2{
    color: var(--dark-blue);
}

.panel-container p{
    font-size: 1.15rem;
    color: var(--dark-blue);
    margin: 0;
    max-width: 80%;
}

.btn{
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    width:fit-content;
}

.btn:hover{
    background-color: var(--dark-blue);
    color: white;
}

.btn.white{
    border: 2px solid var(--white);
    color: var(--white);
}

.btn.white:hover{
    background-color: var(--white);
    color: var(--dark-blue);
}

.featured-text-panel{
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
}

.featured-text-panel .inner{
    padding: 200px;
    max-width: 1300px;
}

.featured-text-panel .inner h1{
    margin-bottom: 60px;
    color: #fff;
}

.flex-container{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px){
    .flex-container{
        flex-direction: row;
    }


    .panel-container{
        padding: 50px;
        flex-direction: row;
    }


    .panel-container-inner.generic{

        padding: 50px;
        margin-left: 50px;
    }
}




/*--- Header -----*/
.header{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    border-bottom: 1px solid white;
    align-items: stretch;
    padding: 20px;
    background-color: var(--dark-blue);

}

body[data-entry-id='3'] .header{
    background-color: transparent;
    position: absolute;
}

@media(min-width: 768px){
    body .header{
        justify-content: end;
    }

    body .header .logo-container{
        flex: 1;
    }
}

/*----- Page Heading -------*/

.page-heading-container{
    background-color: var(--dark-blue);
    height: 180px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.page-heading-container h1{
    color: #fff;
    margin: 0 auto;
    text-align: center;

}

@media(min-width:768px){
    .page-heading-container{
        padding: 0 6em;
    }
    .page-heading-container h1{
        text-align: left;
    }
}





/* Logo Styling */
.logo-container{
    display: flex;
    align-items: center;
}

.logo-container img{
    width: 200px;
}

.nav{
    display:flex;
    height: 125px;
}

/* Navigation Styling */
.nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch; /* Ensure the items stretch to match the height of the header */

}

.nav a{
    text-decoration: none;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.nav a:hover{
    opacity: 0.8;
}

/* National Button */
.national-button{
    display: flex;
    align-items: center;
}

.national-button.main-site-button{
    display: none;
}

.national-button .btn-national{
    color: white;
    padding: 0.75em 1em;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
    border: 1px solid white;
}

.national-button .btn-national:hover{
    opacity: 0.9;
}


/* Menu Item Styling */
.menu-item{
    position: relative;
    display: flex;
    align-items: center; /* Center the content vertically */
    justify-content: center;
}

/* Ensure the anchor tag spans the full height of the menu item */
.menu-item > a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    color: white;
    margin-right: 15px;
}

.menu-item > a .fa{
    font-size: 15px !important;
}

@media(min-width: 1400px){
    .header{
        padding: 0 6em;
    }

    .menu-item > a{
        margin-right: 30px;
    }

    .menu-item > a .fa{
        font-size: 20px !important;
    }
}

.menu-dialog{
    visibility: hidden;
    position: absolute;
    top: 100%; /* Position it directly below the menu item */
    left: 0;
    width: 450px;
    max-width: calc(100vw - 20px);
    background-color: rgba(255, 255, 255, 1);
    padding: 2em;
    border-top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--dark-blue);
    z-index: 50;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
}

body[data-entry-id='3'] .menu-dialog{
    border-top: 1px solid #ccc;
}




.menu-item:hover > .menu-dialog{
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s;

}

.menu-dialog h3{
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.menu-dialog p{
    font-size: 0.8em;
}

/* Show state for dialogs */
.menu-dialog.show{
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.sub-menu-nav{
    margin-top: 30px;
    list-style: none;
    padding: 0;
}


.sub-menu-nav li{
    margin: 1em 0;
    display: flex;
    justify-content: space-between;
}

.sub-menu-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.sub-menu-nav a{
    text-decoration: none;
    gap: 0.8em;
    color: var(--dark-blue);
}

.sub-menu-item{
    opacity: 0.7;
}

.sub-menu-item:hover{
    opacity: 1;
}


/* Hamburger Menu Styling */
.nav-toggle{
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.nav-toggle span{
    display: block;
    width: 25px;
    height: 2px;
    background: white;
}

/* Mobile Navigation Styling */
.mobile-nav{
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: rgb(7 40 56 / 95%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
    z-index: 99;
    visibility: hidden;
}

.mobile-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.mobile-nav a{
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 1.5em;
}

/* Mobile Navigation Show State */
.mobile-nav.show{
    transform: translateX(-100%);
    visibility: visible;
}

/* Media Query: Switch to Mobile View */
@media (max-width: 1200px){
    .nav.desktop{
        display: none;
    }

    .nav-toggle{
        display: flex;
    }

    .mobile-nav{
        visibility: visible;
    }
}

@media (min-width: 768px){
    .logo-container img{
        margin-top: 10px;
    }

}

@media (min-width: 1200px){

    .page-heading-container{
        height: 250px;
    }
    
    .page-heading-container h1{
        font-size: 45px;
        text-align: left;
        margin: 0;
    }
}





/*---- About Panel ----*/
.about-panel{
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: white;
    position: relative;
    height: auto;
}

.about-content{
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 40px 0;
}

.about-title{
    max-width: 850px;
    color: var(--sa-red);
    margin: 0;
}

.about-text{
    display: flex;
    gap: 2rem;
    max-width: 90%;
}

.about-text p{
    font-size: 1.1rem;
    color: var(--dark-blue);
    flex: 1;
    margin-bottom: 0;
}

.signature{
    width: 150px;
    margin-top: 0.5rem;
}

.about-image{
    flex: 1;
}

.about-image img{
    max-width: 320px;
    display: block;
    bottom: 0;
}

.about-image.alt img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    max-width:none;
    position:unset;
    bottom:unset;
}

.about-panel{
    flex-direction: column;
}

.about-text{
    flex-direction: column;
    gap: 0;
}

@media (min-width: 768px){
    .about-panel{
        flex-direction: row;
        padding-top: 0;
        padding-bottom: 0;

    }

    body[data-entry-id="3"] .about-panel{
        align-items: flex-end;
    }
  
    body[data-entry-id="3"] .about-panel .about-content{
        padding: 60px 0;
    }

    .about-image{
        flex: 0 0 40%;
    }

    .about-image img{
        width: 100%;
        min-width: 100%;
    }
}






/** Footer **/

.footer{
    background-color: var(--light-grey);
    padding: 6em 3em;
}

.footer-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img{
    width: 80px;
}

.footer-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.footer-column{
    flex: 0 0 100%;
    min-width: 150px;
}

.footer-column h3{
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-blue);
}

.footer-column ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li{
    margin-bottom: 0.5rem;
}

.footer-column a{
    text-decoration: none;
    color: var(--dark-blue);
}

.footer-column a:hover{
    opacity: 0.8;
}

.footer-bottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5em;
    padding-top: 1rem;
    margin-top: 3em;
}

.social-icons{
    display: flex;
    gap: 2.5em;
}


.footer-bottom p{
    font-size: 0.75em;
    color: var(--dark-blue);
}


.footer-heading{
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-blue);
}

.arrow{
    transition: transform 0.3s ease;
}

.footer-list{
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
    padding: 0;
    margin: 0;
}

.footer-list.open{
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px){
    .footer{
        gap: 5em 5em;
    }

    .footer-content{
        flex-direction: row;
        align-items: flex-start;
        font-size: 0.9em;
        gap: 7em;
    }

    .footer-column{
        flex: none;
    }

    .footer-links{
        justify-content: flex-start;
        gap: 2rem;
    }

    .footer-bottom{
        flex-direction: column;
        text-align: left;
        width: 100%;
    }

    .footer-list{
        height: auto !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .footer-heading{
        cursor: default;
    }

    .arrow{
        display: none; /* Hide arrow on desktop */
    }

    .mentoring-membership-panel{
        flex-direction: row;
    }
}



.fa{
    font-size: 28px !important;
    text-decoration: none;
    color: var(--dark-blue);
}

.fa.white{
    font-size: 20px !important;
    text-decoration: none;
    color: var(--whtie);
}

.fa.user{
    font-size: 60px !important;
    text-decoration: none;
    color: var(--dark-blue);
}


.fa-sub-menu{
    font-size: 18px !important;
    text-decoration: none;
    color: var(--dark-blue);
}

  
.fa:hover{
    opacity: 0.9;
}



/*---- Team Section ----*/


/* Team Section Common Styles */
.team-section{
    margin-bottom: 40px;
    margin: 50px 30px;
}
  
  .team-section h2{
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .team-section p{
    margin-bottom: 20px;
    color: var(--dark-blue);
  }
  
  .team-section .card-container{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }



  /* Card Styles */
.card{
    flex: 0 0 100%;
    margin: 10px 0;
    height: 450px;
    perspective: 1000px;
    position: relative;
    background-color: var(--dark-blue);
    max-width: 300px;
    margin: 10px auto;
}

@media(min-width:600px){
    .card{
        flex: 0 0 49%;
        margin: .5%;
    }
}
@media(min-width:1100px){
    .card{
        max-width: 350px;
        flex: 0 0 32.33%;
        margin: .5%;
    }
}
@media(min-width:1300px){
    .card{
        flex: 0 0 24%;
        margin: .5%;
    }
}
  
  .card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
  
  .card.flipped .card-inner{
    transform: rotateY(180deg);
  }
  
  .card-front{
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    flex-direction: column;
    color: #fff;
    overflow: hiddn;
  }

  .card-back{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 15px;
    overflow-wrap: anywhere;
  }
  
  .card-front{
    background-color: var(--dark-blue);
    height: 400px;
  }
  
  .card-back{
    background-color: var(--light-blue);
    transform: rotateY(180deg);
  }

  .card-back p{
    margin: 0;
    color: var(--dark-blue);
  }
  
  .team-section .card .placeholder{
    background-color: var(--light-grey);
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .team-section .card .placeholder img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
  }

  .team-section .card .names{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 150px;
    position: relative;
    justify-content: center;
  }

  .team-section .card .names .contact-details{
    margin-top: 10px;
    border-top: 1px solid #ffffff45;
    padding-top: 10px;
  }

  .team-section .card .names .contact-details p{
    color: #fff;
    text-align: center;
    font-size: 14px;
    margin: 0;
  }

  .team-section .card .names .contact-details p a{
    display: block;
    color: #fff;
    transition-duration: .2s;
  }

  .team-section .card .names .contact-details p a:hover{
    color: #09c7e0;
  }

  .team-section .card .names .contact-details p strong{
    display: block;
  }
  
  .team-section .card .title{
    font-weight: bold;
    margin: 0;
    color: #fafafa;
  }
  
  .team-section .card .name{
    margin: 0;
    color: #fafafa;
  }
  
  /* Specific Styles for Board Section Badges */
  .team-section.board .badge{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
  }



  /*--- News Items - Temp ----*/

  body[data-entry-id="18"]{
    background: #f7f7f7;
  }

  .news-item-container{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 30px;
  }

  .news-item-container .news-items-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
  }

  .news-item-container .news-items-heading h2{
    margin: 0;
    font-weight: 600;
    color: #164258;
  }
  
  .news-item-container .news-items-heading a{
    color: #164258;
    font-size: 14px;
  }

  .news-and-media-items{
    margin: 0 0 50px;
  }


  
  /* News Item Styles */
  .news-item{
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
  }

  .news-item .news-item-image{
    flex: 0 0 100%;
  }

  .news-item:first-of-type{
    margin-top: 0;
  }

  .news-item:last-of-type{
    margin-bottom: 0;
  }
  
  .news-item-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .news-item-content{
    display: flex;
    align-items: center;
    padding: 40px 5%;

  }
  
  .news-item-content .news-item-title{
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px;
  }
  
  .news-item-content .news-item-date{
    font-size: 14px;
    color: #777;
    margin: 0;
  }
  
  .news-item-content .news-item-snippet{
    font-size: 16px;
    margin: 20px 0;
    color: #333;
  }
  
  .news-item-content .news-item-link{
    display: block;
    font-size: 14px;

    text-decoration: none;

    align-self: flex-start;
    color: #164258;
    font-size: 14px;
  }
  
  .news-item-content .news-item-link:hover{
    text-decoration: underline;
  }


  .dot-point-list{
    list-style-type: disc; /* Adds bullet points */
    margin: 50px; /* Removes default margin */
    padding: 0; /* Removes default padding */
}

.dot-point-list li{
    margin: 5px 0; /* Adds space between items */
}


@media (min-width:768px){

    .news-item-container{
        padding: 0 30px;
    }

    .news-and-media-items{
        margin: 0 0 100px;
    }

    .news-item{
        min-height: 300px;
    }

    .news-item .news-item-image{
        flex: 0 0 30%;
    }

    .news-item .news-item-content{
        flex: 0 0 70%;
    }

    /**/

    .team-section{
        margin: 100px;
    }


}

/*----- News and Media Page Individual ----------*/
body[data-section-id="4"] .page-heading-container{
    display: none;
}

.page-individual-news-and-media{
    background: #f7f7f7;
}

.page-individual-news-and-media > div{
    max-width: 1500px;
    margin: 0 auto;
}

.page-individual-news-and-media .nn-content h1.n-title{
    color: #164258;
    margin: 0 0 10px;
}

.page-individual-news-and-media .nn-content p.n-date{
    color: #b6b6b6;
    margin: 0;
}

.page-individual-news-and-media .nn-content .n-content{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #b6b6b6;
}

.page-individual-news-and-media .nn-content .n-content a{
    text-decoration: underline;
}

.page-individual-news-and-media .nn-content .n-content a:hover{
    color: #009aae;
}

/**/

.page-individual-news-and-media .sidebar{
    background: #fff;
    padding: 50px;
    box-shadow: 2px 2px 10px rgb(0, 0, 0, .1);
    border-radius: 5px;
}

.page-individual-news-and-media .sidebar h3.sidebar-heading{
    margin: 0 0 30px;
    font-weight: 500;
}

.page-individual-news-and-media .sidebar .sidebar-item{
    position: relative;
    display: block;
    margin: 30px 0;
    padding-right: 30px;
}

.page-individual-news-and-media .sidebar .sidebar-item:first-of-type{
    margin-top: 0;
}

.page-individual-news-and-media .sidebar .sidebar-item:last-of-type{
    margin-bottom: 0;
}

.page-individual-news-and-media .sidebar .sidebar-item h3{
    color: #164258;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 2px;
}

.page-individual-news-and-media .sidebar .sidebar-item::after{
    display: block;
    position: absolute;
    content: "";
    background-image: url(http://43.250.140.20/~algwanet/images/icons/arrow-right-grey.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: auto;
    width: 10px;
    height: 10px;
    right: 0;
    top: 15px;
    transition: transform .2s ease;
}

.page-individual-news-and-media .sidebar .sidebar-item:hover::after{
    transform: translateX(5px);
}
    

.page-individual-news-and-media .sidebar .sidebar-item p.date{
    font-size: 14px;
    margin: 0;
    color: #b6b6b6;
}

@media (min-width:768px){
    .page-individual-news-and-media > div{
        display: flex;
    }

    .page-individual-news-and-media .nn-content{
        flex: 0 0 65%;
        margin-right: 5%;
    }
    
    .page-individual-news-and-media .nn-content h1.n-title{
        font-size: 35px;
        font-weight: 600;
        max-width: 700px;
        margin: 20px 0 10px;
    }

    .page-individual-news-and-media .nn-sidebar{
        flex: 0 0 30%;
    }

}


/*----- Membership Temp Content ----------*/

.membership-content-container{
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px;
    background-color: #fff;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
  }
  
  /* Section Styles */
  .membership-content-intro,
  .membership-content-join,
  .membership-content-support,
  .membership-content-contact{
    margin-bottom: 40px;
  }
  
  .membership-content-intro h1,
  .membership-content-join h2,
  .membership-content-support h2,
  .membership-content-contact h2{
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
  }
  
  .membership-content-intro p{
    margin-bottom: 10px;
  }
  
  .membership-content-intro ul{
    margin-left: 20px;
    margin-bottom: 10px;
  }
  
  .membership-content-intro ul li{
    list-style: disc;
    margin-bottom: 5px;
  }
  
  .poster-graphic img{
    width: 100%;
    height: 300px;
    margin: 20px 0;
  }
  
  /* State List */
  .state-list{
    list-style: none;
    padding: 0;
    margin-top: 10px;
  }
  
  .state-list li{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .state-list a{
    text-decoration: none;
    color: #1a73e8;
    margin-right: 10px;
    font-weight: bold;
  }
  
  .state-list img{
    width: 30px;
    height: 30px;
  }
  
  /* Call-to-Action List */
  .cta-list{
    list-style: none;
    padding: 0;
  }
  
  .cta-list li{
    margin-bottom: 10px;
  }
  
  .cta-list a{
    text-decoration: none;
    font-size: 16px;
    color: #1a73e8;
    font-weight: bold;
  }
  
  .cta-list a:hover{
    text-decoration: underline;
  }
  
  /* Contact Section */
  .membership-content-contact a{
    color: #1a73e8;
    text-decoration: none;
  }
  
  .membership-content-contact a:hover{
    text-decoration: underline;
  }



  /*--- Backpage Generic Template -----*/

  /* Back Page Template Container */
.back-page-template-container{
    margin: 0 auto;
  }
  
  /* Hero Section */
  .back-page-template-hero{
    background-color: var(--tas-teal);
    color: white;
    text-align: center;
    padding: 50px 20px;
  }
  
  .back-page-template-hero h1{
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
    margin-top: 0;
  }
  
  .back-page-template-hero p{
    font-size: 18px;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Content Section */
  .back-page-template-content{
    display: flex;
    margin: 0 auto;
    /* height: 60vh; */
    background: rgb(241,241,241);
    background: linear-gradient(90deg, rgba(241,241,241,1) 17%, rgba(228,228,228,1) 91%); 
    justify-content: center;
    text-align: center;
  }

  .back-page-template-content .back-page-template-text{
    padding: 100px;
    max-width: 1000px;
  }

  .back-page-template-content.reverse{
    flex-direction: row-reverse;
  }
  
  .back-page-template-text{
    flex: 1;
    font-size: 18px;
  }

  .back-page-template-text span{
    color: var(--dark-blue) !important;
  }
  
  .back-page-template-text p{
    margin-bottom: 20px;
  }
  
  .back-page-template-placeholder{
    flex: 1;
    width: 100%;
    overflow: hidden;
  }

  .back-page-template-placeholder img{
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }


  /* Back Page - Text Image Blocks */

    .back-page-ti-content{
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .back-page-ti-text .text{
        padding: 0 30px;
    }

    .back-page-ti-content.reverse{
        flex-direction: row-reverse;
    }

    .back-page-ti-text{
        flex: 0 0 100%;
        font-size: 18px;
        color: var(--dark-blue) !important;
        display: flex;
        align-items: center;
    }

    .back-page-ti-text span{
        color: var(--dark-blue) !important;
    }

    .back-page-ti-text p{
        margin-bottom: 20px;
    }

    .back-page-ti-img{
        flex: 0 0 100%;
        width: 100%;
        overflow: hidden;
    }

    .back-page-ti-img img{
        display: block;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }


    @media(min-width:768px){
        .back-page-template-hero{
            padding: 80px 20px;
        }

        .back-page-ti-text,
        .back-page-ti-img{
            flex: 1;
        }

        .back-page-ti-text .text{
            padding: 50px;
        }
    
    }

    @media(min-width:1200px){
        .back-page-template-hero{
            padding: 150px 20px;
        }


        .back-page-ti-text .text{
            padding: 100px;
        }
    }



  
  /* Footer Section */
  .back-page-template-footer{
    padding: 50px 30px;
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
  }

  .back-page-template-footer .button{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
    gap: 20px;
  }

  .back-page-template-footer .button a{
    display: block;
  }
  
  .back-page-template-footer h1{
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
  }
  
  .back-page-template-footer p{
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
  }






  /*------ Team Block --------*/

body[data-entry-id="175"]{
    background-color: #f7f7f7;
}

.team-block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.team-block-container{
    background-color: #fff;
    padding: 60px;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1%;
}



body[data-attr-state="ACT"] .team-block-container[data-attr-state="ACT"],
body[data-attr-state="NSW"] .team-block-container[data-attr-state="NSW"],
body[data-attr-state="NT"] .team-block-container[data-attr-state="NT"],
body[data-attr-state="QLD"] .team-block-container[data-attr-state="QLD"],
body[data-attr-state="SA"] .team-block-container[data-attr-state="SA"],
body[data-attr-state="TAS"] .team-block-container[data-attr-state="TAS"],
body[data-attr-state="VIC"] .team-block-container[data-attr-state="VIC"],
body[data-attr-state="WA"] .team-block-container[data-attr-state="WA"]{
    order: -1;
    border: 8px solid var(--dark-blue);
}


body[data-attr-state="ACT"] .team-block-container[data-attr-state="ACT"]   { border-color:  }
body[data-attr-state="NSW"] .team-block-container[data-attr-state="NSW"]   { border-color: var(--nsw-purple-opacity); }
body[data-attr-state="NT"] .team-block-container[data-attr-state="NT"]     { border-color: var(--nt-orange-opacity); }
body[data-attr-state="QLD"] .team-block-container[data-attr-state="QLD"]   { border-color: var(--qld-yellow-opacity); }
body[data-attr-state="SA"] .team-block-container[data-attr-state="SA"]     { border-color: var(--sa-red-opacity); }
body[data-attr-state="TAS"] .team-block-container[data-attr-state="TAS"]   { border-color: var(--tas-teal-opacity); }
body[data-attr-state="VIC"] .team-block-container[data-attr-state="VIC"]   { border-color: var(--vic-green-opacity); }
body[data-attr-state="WA"] .team-block-container[data-attr-state="WA"]     { border-color: var(--wa-pink-opacity); }


body[data-attr-state="ACT"] .team-block-container[data-attr-state="ACT"] .team-block-title.my-state,
body[data-attr-state="NSW"] .team-block-container[data-attr-state="NSW"] .team-block-title.my-state,
body[data-attr-state="NT"] .team-block-container[data-attr-state="NT"] .team-block-title.my-state,
body[data-attr-state="QLD"] .team-block-container[data-attr-state="QLD"] .team-block-title.my-state,
body[data-attr-state="SA"] .team-block-container[data-attr-state="SA"] .team-block-title.my-state,
body[data-attr-state="TAS"] .team-block-container[data-attr-state="TAS"] .team-block-title.my-state,
body[data-attr-state="VIC"] .team-block-container[data-attr-state="VIC"] .team-block-title.my-state,
body[data-attr-state="WA"] .team-block-container[data-attr-state="WA"] .team-block-title.my-state{
    display: block !important;
}

body[data-attr-state="ACT"] .team-block-container[data-attr-state="ACT"] .team-block-title.state,
body[data-attr-state="NSW"] .team-block-container[data-attr-state="NSW"] .team-block-title.state,
body[data-attr-state="NT"] .team-block-container[data-attr-state="NT"] .team-block-title.state,
body[data-attr-state="QLD"] .team-block-container[data-attr-state="QLD"] .team-block-title.state,
body[data-attr-state="SA"] .team-block-container[data-attr-state="SA"] .team-block-title.state,
body[data-attr-state="TAS"] .team-block-container[data-attr-state="TAS"] .team-block-title.state,
body[data-attr-state="VIC"] .team-block-container[data-attr-state="VIC"] .team-block-title.state,
body[data-attr-state="WA"] .team-block-container[data-attr-state="WA"] .team-block-title.state{
    display: none;
}




body[data-attr-state="ACT"] .back-page-template-footer[data-attr-state="ACT"],
body[data-attr-state="NSW"] .back-page-template-footer[data-attr-state="NSW"],
body[data-attr-state="NT"] .back-page-template-footer[data-attr-state="NT"],
body[data-attr-state="QLD"] .back-page-template-footer[data-attr-state="QLD"],
body[data-attr-state="SA"] .back-page-template-footer[data-attr-state="SA"],
body[data-attr-state="TAS"] .back-page-template-footer[data-attr-state="TAS"],
body[data-attr-state="VIC"] .back-page-template-footer[data-attr-state="VIC"],
body[data-attr-state="WA"] .back-page-template-footer[data-attr-state="WA"]{
    display: block !important;
}






.team-block-title{
    font-size: 30px;
    font-weight: bold;
    color: var(--dark-blue);
}

.team-block-description{
    font-size: 14px;
    color: var(--dark-blue);
}

.team-block-contact{
    display: flex;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    gap: 10px;
}

.team-block-website, .team-block-email{
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition-duration: .2s;
}

.team-block-website:hover, 
.team-block-email:hover{
    filter: brightness(1.1);
}

.team-block-website a, .team-block-email a{
    color: #fff;
    text-decoration: none;
}

.team-block-card{
    color: var(--dark-blue);
    padding: 15px;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    border-bottom: 0.5px solid;
}

.team-block-role{
    font-weight: bold;
    font-size: 16px;
}

.team-block-name{
    font-size: 14px;
    margin-top: 0px;
}

@media(min-width:768px){
    .team-block-cards{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .team-block-cards .team-block-card{
        flex: 0 0 48%;
    }

    .back-page-template-footer{
        padding: 150px 20px;
    }

}



/*-- CSS Notes: -------------------------------------------------------------*/
/*-- Each chunk of CSS is grouped with a suffix of "J" for "Joel", eg. "J1" followed by a page name, eg. "J1. Join Today" ------------------*/
/*-- Each chunk has its own mobile respomsivesness --*/
/*-- Each chunk does not share codes with other chunks --*/


/*-- J1. Mentoring Page ------------------------------------*/

body[data-entry-id="20"] .page-heading-container{
    display: none;
}

body[data-entry-id="20"] .back-page-template-hero{
    background-color: rgb(22 66 88);
}

body[data-entry-id="20"] .back-page-template-container{
    background-color: rgb(22 66 88);
    padding-bottom: 80px;
}

body[data-entry-id="20"] .container-peer,
body[data-entry-id="20"] .container-one-on-one{
    width: 90%;
    max-width: 1300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 2px 10px #00000031;
}

body[data-entry-id="20"] .container-peer{
    margin: 0 auto;
    background: #fff;
}

body[data-entry-id="20"] .container-one-on-one{
    margin: 0 auto;
    background: #fff;
}

body[data-entry-id="20"] .container-one-on-one .cooo-heading{
    margin: 40px 30px 40px;
}

body[data-entry-id="20"] .container-one-on-one .cooo-heading h2{
    margin: 0 auto 15px;
    text-align: center;
}

body[data-entry-id="20"] .container-one-on-one .cooo-heading p{
    margin: 0 auto;
    text-align: center;
    max-width: 560px;
    font-size: 18px;
}

body[data-entry-id="20"] .container-one-on-one #contact-text{
    max-width: 550px;
}

body[data-entry-id="20"] .container-one-on-one .states{
    display: flex;
    flex-wrap: wrap;
    margin: 0 30px 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 2px 2px 10px #0000001c;
}

body[data-entry-id="20"] .container-one-on-one .states section{
    flex: 0 0 50%;
    padding: 50px 10px;
    word-break: break-word;
}

body[data-entry-id="20"] .container-one-on-one .states section img.icon{
    display: block;
    width: 60px;
    margin: 0 auto 10px;
    height: auto;
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
}

body[data-entry-id="20"] .container-one-on-one .states section.back-page-template-footer h1{
    margin: 0 0 10px;
    font-size: 25px;
}

body[data-entry-id="20"] .container-one-on-one .states section.back-page-template-footer .button{
    margin: 0;
}

/**/

body[data-entry-id="20"] .container-peer .back-page-template-content{
    background: #fff;
}

body[data-entry-id="20"] .container-peer .back-page-template-content .back-page-template-text{
    padding: 0;
    margin: 40px 30px 15px;
}

body[data-entry-id="20"] .container-peer .back-page-template-content .back-page-template-text h1{
    margin: 0 auto 15px;
}

body[data-entry-id="20"] .container-peer .back-page-template-content .back-page-template-text p{
    margin: 0 auto 15px;
    max-width: 900px;
}

body[data-entry-id="20"] .container-peer .back-page-ti-content .back-page-ti-img img{
    width: 90%;
    height: 90%;
    margin: auto;
    border-radius: 15px;
}

body[data-entry-id="20"] .container-peer .back-page-ti-text h2{
    margin-top: 0;
}



@media(min-width:768px){
    body[data-entry-id="20"] .container-one-on-one .cooo-heading{
        margin: 60px auto;
    }
    body[data-entry-id="20"] .container-one-on-one .cooo-heading h2{
        font-size: 32px;
    }

    body[data-entry-id="20"] .container-peer .back-page-template-content .back-page-template-text{
        margin: 60px auto;
    }

    body[data-entry-id="20"] .container-peer .back-page-template-content .back-page-template-text h1{
        font-size: 32px;
    }

    body[data-entry-id="20"] .container-one-on-one .states section{
        flex: 0 0 33.3333%;
    }

    
}


/*-- J2. Committees Page ------------------------------------*/

body[data-entry-id="177"]{
    background: #f7f7f7;
}

body[data-entry-id="177"] .team-block-title{
    margin: 0;
}

body[data-entry-id="177"] .team-block-container {
    position: relative;
}

body[data-entry-id="177"] .team-block-container .team-block-cards {
    padding-bottom: 80px;
}

body[data-entry-id="177"] .team-block-container .team-block-cards .btn{
    position: absolute;
    bottom: 40px;
    text-transform: none;
    font-weight: 500;
    border: none;
    background: var(--dark-blue);
    color: #fff;
    transition-duration: .2s;
}

body[data-entry-id="177"] .team-block-container .team-block-cards .btn:hover{
    background: #009aae;
}

@media(min-width:768px){


    body[data-entry-id="177"] .team-block-cards .team-block-card{
        flex: 0 0 100%;
    }


}

/*-- J3. About Page ------------------------------------*/
body[data-entry-id="9"] .about-panel{
    padding-top: 50px;
    padding-bottom: 50px;
}



/*-- JZ. Backpage template footer  ------------------------------------*/
/*

    Membership > Support Now Page = 191
    About > Constitution = 169
    About > Strategic Plan = 167
    About > History = 165

*/

body[data-attr-state][data-entry-id="191"] .back-page-template-footer,
body[data-attr-state][data-entry-id="169"] .back-page-template-footer,
body[data-attr-state][data-entry-id="167"] .back-page-template-footer,
body[data-attr-state][data-entry-id="165"] .back-page-template-footer{
    display: none !important;
}

body[data-attr-state][data-entry-id="191"] .back-page-template-footer.solo,
body[data-attr-state][data-entry-id="169"] .back-page-template-footer.solo,
body[data-attr-state][data-entry-id="167"] .back-page-template-footer.solo,
body[data-attr-state][data-entry-id="165"] .back-page-template-footer.solo{
    display: block !important;
}


/*-- CSS Notes: -------------------------------------------------------------*/
/*-- Each chunk of CSS is grouped with a suffix of "J" for "Joel", eg. "J1" followed by a page name, eg. "J1. Join Today" ------------------*/
/*-- Each chunk has its own mobile respomsivesness --*/
/*-- Each chunk does not share codes with other chunks --*/

/*-- J0: Global  -------------------------------------------------------------*/

/* J0: Geolocation */
.side-square-buttons{
    display: none;
    align-items: center;
    margin-left: 10px;
}

.side-square-buttons .arrow-right{
    position: relative;
    padding-right: 35px;
}

.side-square-buttons .arrow-right::after{
    display: block;
    position: absolute;
    content: "";
    background-image: url(https://staging.algwa.net.au/images/icons/arrow-right-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: auto;
    width: 8px;
    height: 8px;
    right: 15px;
    top: 0;
    bottom: 0;
    transition: transform .2s ease;
}



/* J0: Nav */

.side-square-buttons #nav-select-states{
    display: none;
    position: relative;
    align-items: center;
}

.side-square-buttons #nav-select-states::after{
    content: "";
    background-image: url(https://staging.algwa.net.au/images/icons/arrow-down-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
}


.side-square-buttons #nav-select-states select{
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #fff;
    width: 90px;
    height: 50px;
    text-align: center;
    outline: none;
    margin-left: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 15px;
}

@media(min-width:768px){
    .side-square-buttons #nav-select-states{
        display: flex;
    }

    .side-square-buttons{
        display: flex;
    }
}

@media(min-width:1200px){
    .side-square-buttons{
        margin-left: 0;
    }
}






/*-- J1: Page Join Today -------------------------------------------------------------*/
body[data-entry-slug="join-today"] .page-heading-container{
    display: none;
}

#backpage-join-today.backpage{
    background-color: #f7f7f7;
}

#backpage-join-today .jt-form .content > div{

}

#backpage-join-today .jt-form .content h2{
    margin: 0;

}

#backpage-join-today .jt-form .content ul.benefits{
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
}

#backpage-join-today .jt-form .content ul.benefits li{
    margin: 10px 0;
    display: flex;
    align-items: center;
}

#backpage-join-today .jt-form .content ul.benefits li::before{
    content: "✓";
    color: #afcb37;
    margin-right: 10px;
    font-size: 20px;
}

#backpage-join-today .jt-form .content .btn{
    display: block;
    margin: 0 0 30px;
}

#backpage-join-today.backpage .jt-form .freeform-form{
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 800px;
    max-width: 100%;
}

#backpage-join-today.backpage .jt-form .freeform-form > div{
    padding: 30px;
}

#backpage-join-today.backpage .jt-form .freeform-form .join-today-heading{
    margin: 0 0 30px;
}

#backpage-join-today.backpage .jt-form .freeform-form .join-today-heading h2{
    margin: 0 0 5px;
}

#backpage-join-today.backpage .jt-form .freeform-form .join-today-heading p{
    margin: 0;
}

#backpage-join-today.backpage .jt-form .freeform-form [data-field-type="phone"] .iti{
    width: 100%;
}

#backpage-join-today.backpage .jt-form .freeform-form button[type="submit"]{
    background-color: #154258;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 15px 25px;
    transition-duration: .2s;
}

#backpage-join-today.backpage .jt-form .freeform-form button[type="submit"]:hover{
    background-color: #2f6d8b;
}

@media(min-width:768px){
    #backpage-join-today.backpage .jt-form .freeform-form > div{
        padding: 30px;
    }


    #backpage-join-today .jt-form .content > div{
        padding: 20px;
    }


    #backpage-join-today .jt-form{
        display: flex;
        flex-wrap: wrap;
    }

    #backpage-join-today .jt-form .content{
        flex: 0 0 45%;
        margin-right: 5%;
    }

    #backpage-join-today .jt-form .freeform-form{
        flex: 0 0 50%;
    }

}

@media(min-width:1200px){
    #backpage-join-today .jt-form .content > div{
        padding: 70px;
    }

    #backpage-join-today.backpage .jt-form .freeform-form > div{
        padding: 70px;
    }

}



/*-- J2: Page Events -------------------------------------------------------------*/
body[data-entry-id="185"] .page-heading-container{
    display: none;
}

#backpage-events{
    background-color: #f7f7f7;
}

#backpage-events h1.page-title{
    color: #164258;
}

#backpage-events .event-items{
    display: flex;
    flex-wrap: wrap;
}

#backpage-events .event-items .event-item{
    position: relative;
    flex: 0 0 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

#backpage-events .event-items .event-item .photo{
    height: 250px;
}

#backpage-events .event-items .event-item .photo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#backpage-events .event-items .event-item .content{
    padding-bottom: 80px;
    height: auto;
}

#backpage-events .event-items .event-item .content h2{
    color: #164258;
    margin: 0;
}

#backpage-events .event-items .event-item .content > div{
    padding: 30px;
}

#backpage-events .event-items .event-item .content a{
    position: absolute;
    background-color: #154258;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 15px 25px;
    transition-duration: .2s;  
    color: #fff;
    bottom: 25px;
    width: 80%;
}

#backpage-events .event-items .event-item .content a.date{
    background: #164258;
    font-size: 14px;
    font-weight: 600;
    padding: 20px;
    color: #fff;
    border-radius: 5px;
    margin: 0 0 20px;
}

#backpage-events .event-items .event-item .content a.date::after{
    display: block;
    position: absolute;
    content: "";
    background-image: url(https://staging.algwa.net.au/images/icons/arrow-right-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: auto;
    width: 10px;
    height: 10px;
    right: 30px;
    top: 0;
    bottom: 0;
    transition: transform .2s ease;
}

#backpage-events .event-items .event-item .content a.date:hover{
    background-color: #2f6d8b;
}


@media(min-width:768px){
    #backpage-events .event-items{
        display: flex;
        flex-wrap: wrap;
        margin: 0 -.5%;
    }

    #backpage-events .event-items .event-item{
        flex: 0 0 49%;
        margin: .5%;
    }

    #backpage-events .event-items .event-item .photo{
        height: 350px;
    }

    #backpage-events .event-items .event-item .content > div{
        padding: 40px 10%;
    }

}


@media(min-width:1300px){
    #backpage-events .event-items{
        margin: 0 -.5%;
    }

    #backpage-events .event-items .event-item{
        flex: 0 0 32.33%;
        margin: .5%;
    }


}



/*-- J3: Page Membership Benefits -------------------------------------------------------------*/

.grey-gradient {
    background: rgb(241,241,241);
  background: linear-gradient(90deg, rgba(241,241,241,1) 17%, rgba(228,228,228,1) 91%);
}


body[data-entry-id="187"] .member-benefits{
    display: flex;
    flex-wrap: wrap;
    margin: 30px -1% 0;
}

body[data-entry-id="187"] .member-benefits .member-benefit{
    flex: 0 0 48%;
    margin: 20px 1%;
}

body[data-entry-id="187"] .member-benefits .member-benefit .photo{
    background: #164258;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    padding: 20px;
    border-radius: 50%;
}


body[data-entry-id="187"] .member-benefits .member-benefit .photo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body[data-entry-id="187"] .member-benefits .member-benefit p{
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

@media(min-width:768px){
    body[data-entry-id="187"] .member-benefits{

    }
    
    body[data-entry-id="187"] .member-benefits .member-benefit{
        flex: 0 0 31.33%;

    }
}

@media(min-width:1200px){
    body[data-entry-id="187"] .member-benefits{

    }
    
    body[data-entry-id="187"] .member-benefits .member-benefit{
        flex: 0 0 23%;

    }
}



/*-- J4: Global - Header Mobile Menu -------------------------------------------------------------*/
nav.mobile-nav ul.ul-p1{
    
}

nav.mobile-nav li.li-p1 ul{
    height: 0;
    opacity: 0;
    gap: 0;;
    pointer-events: none;
}

nav.mobile-nav li.li-p1 ul li{

}


nav.mobile-nav li.li-p1 ul li a{
    padding: 10px;
}

nav.mobile-nav li.li-p1.active ul{
    height: auto;
    opacity: 1;
    pointer-events: all;
    margin: 20px;
}   