/*
Theme Name:     Genesis Block Child
Theme URI:      https://springfieldregionaljusticecenter.com
Description:    A child theme for Genesis Block
Author:         Greystone - Ernest Schmitt
Author URI:     https://greystone.com
Template:       genesis-block-theme
Version:        1.0.0
*/

.container {
    max-width: 1600px;
    padding: 0;
}
#primary {
    width: 100%;
    max-width: 1600px; 
}

.site-header {
    margin-bottom:4rem;
}
.site-content {
    padding-bottom: 3%;
}

.custom-logo-link img {
    max-width: 225px;
}
.site-identity {
    padding: 15px 0;
}

.top-navigation {
    background-color: #14558f;
}

/* ------- customize primary buttons -------- */   
.btn-outline-primary{ border: 2px solid #a1c6ed !important;}
.btn-outline-primary:hover { background-color: #0b2f4c !important;}

.btn-outline-primary .wp-block-navigation-item__content {
    padding: 0.5rem 1rem;
}
.btn-outline-primary a:hover,.btn-outline-primary a:focus {
	text-decoration: none !important;
}
.main-navigation ul li a {
    display: inline-block;
    margin: 0;
    padding:5px 15px;
    line-height: 2;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
.main-navigation ul li a:hover {
    color: #fff;
}
.main-navigation ul li {
    padding: 5px 15px;
}
.main-navigation a:hover, .main-navigation ul li.current-menu-item a, .main-navigation ul li.current-page-item a {
    color: #fff !important;
}

.menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.greag-banner {
    color: #1c1e23;
    background-color: #f2f3f5;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.greag-footer {
    color: #1c1e23;
    background-color: #f2f3f5;
}

.greag-banner.container, .greag-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This vertically centers both items */
    padding: 1rem;
    position: relative;
}

.greag-banner-left, .greag-footer-left {
    text-align: left;
    flex: 1; /* Optional if you want it to naturally take up space */
}

.greag-banner-right, .greag-footer-right {
    text-align: right;
}
.greag-footer-right img {
    width: 150px
}

.greag-banner-left p, .greag-footer-left p {
    margin: 0;
}

.greag-banner.container::after, .greag-footer .container::after {
    content: "";
    position: absolute;
    left: calc(-50vw + 50%);
    bottom: 0;
    width: 100vw; /* Full viewport width */
    height: 1px;
    background-color: #e9eaed;
}
.home #page {
    padding-top: 0;
}
.home #page .entry-header {
    display:none;
}
.container p {
    padding: 0 1rem;
}
.entry-content li {
    margin-bottom: 0.4%;
}

.site-info {
    display:none;
}

.site-footer {
    background-color: #071d2e;
    color: #ffffff;
    padding: 0 1rem 2.5% 1rem;
}

.site-footer a:hover {
    color: #ffffff;
}

.page-id-8 #page, .page-id-43 #page {
    padding-top:1%;
}
body.page-id-8 .gform_wrapper {
    margin: 0 auto;
    max-width: 980px;
}


.drawer .drawer-navigation ul li
 {
    border-bottom: none;
    padding: 0 .4rem;
    width: auto;
 }

.drawer .drawer-navigation ul li a {
    font-size: 1.6rem;
    padding: 1rem 1.4rem;
    margin: 0;
}
.t-consent {
    font-size: 16px;
}
.t-consent a {
    color:#000;
}
.t-consent a:hover {
    color:#0072e5;
    text-decoration: underline;
}

@media only screen and (width: 1000px) {
	
    .mobile-navigation.toggle-active ~ .drawer-wrap .drawer {
        display: block !important;
    }
}

/* Mobile — stack vertically AND center both */
@media (max-width: 768px) {
    .greag-banner.container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .greag-banner-left,
    .greag-banner-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .greag-banner-left p {
        max-width: 90%;
    }

    .greag-banner-right img {
        max-width: 80%;
    }
}