/*
Theme Name: Segal, Berk, Gaines & Liss
Author: Inverse Paradox (Brittany)
Author URI: http://inverseparadox.com
Version: 1.0
*/


.header-mobile {
    display: none;
}

.header-mobile:before {
    background: none !important;
}

.header-mobile {
    padding: 0px;
    padding-bottom: 10px;
    position: fixed;
    top: 0px;
    width: 100%;
}

.header-mobile .nav {
    margin: 0px;
    position: static;
}

.header-mobile .nav a.menu-toggle {
    margin: 0px !important;
}

.header-mobile .nav>ul {
    width: 100%;
    top: 60px;
    right: 0px !important;
    margin: 0px !important;
    max-height: 70vh;
    overflow-y: scroll;
}

.header-mobile .nav a.menu-toggle {
    right: 20px;
}

.header-mobile .container {
    display: flex;
    gap: 0px;
    box-sizing: border-box;
    padding: 0px 10px;
    align-items: center;
    position: relative;
}

.header-mobile .header-right {
    flex: 0 0 40%;
    box-sizing: border-box;
    margin: 0px;
    float: none;
    text-align: right;
}

.mm-top-bar {
    background: #408191;
    padding: 10px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

.mm-top-bar a {
    color: #fff;
}

.logo-mobile {
    flex: 0 0 60%;
    box-sizing: border-box;
}

.logo-mobile img {
    text-align: left;
    max-width: 200px !important;
    height: auto;
}

.header-mobile .nav a.menu-toggle span.icon {
    margin: 0px !important;
}

.header-mobile .phone-wrap {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.icon-phone {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.21c1.21.49 2.53.76 3.88.76a1 1 0 011 1V20a1 1 0 01-1 1C10.07 21 3 13.93 3 5a1 1 0 011-1h3.5a1 1 0 011 1c0 1.35.27 2.67.76 3.88a1 1 0 01-.21 1.11l-2.43 2.43z"/></svg>') no-repeat center;
    background-size: contain;
    display: block;
}

@media(max-width:990px) {
    body {
        padding-top: 120px;
    }

    .header {
        display: none;
    }

    .header-mobile {
        display: block;
    }
}

/* Homepage Hero */
.ct-homepage-hero-banner-wrapper {
    background-image: url(https://www.sbgllaw.com/wp-content/uploads/2025/08/sbg-law-hero-scaled.webp);
    background-size: cover;
    background-position: 50% 50%;
    padding-top: 118px;
    padding-bottom: 168px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.ct-homepage-hero-banner-inner {
    max-width: 1150px;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 2;
}

.ct-homepage-hero-banner-wrapper h1 {
    max-width: 726px;
    color: #FFF;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 70px;
    /* 109.375% */
}

.ct-homepage-hero-banner-wrapper .ct-homepage-hero-paragraph {
    max-width: 628px;
    color: white;

    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    padding-left: 28px;
    padding-top: 22px;
    padding-bottom: 22px;
    position: relative;
    margin-bottom: 30px;
}

.ct-homepage-hero-banner-wrapper .ct-homepage-hero-paragraph::after {
    background: #4B8494;
    width: 6px;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    content: '';

}

.ct-homepage-hero-banner-wrapper .btn-cta {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
}

.ct-homepage-hero-below-wrapper {
    max-width: 1150px;
    margin: auto;
    padding-top: 43px;
    padding-bottom: 43px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 6px solid #4B8494;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.10);
    margin-top: -110px;
    z-index: 2;
    position: relative;
}

.ct-homepage-hero-below-wrapper .ct-homepage-hero-below-row {
    max-width: 980px;
    margin: auto;
    justify-content: space-between;
}

.ct-homepage-hero-below-wrapper p {
    margin-bottom: 0px;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.ct-homepage-hero-below-wrapper .ct-homepage-hero-below-col {
    display: flex;
    align-items: center;
}

@media(max-width:1220px) {
    .ct-homepage-hero-banner-wrapper {
        margin-left: -20px;
        margin-right: -20px;
    }
}

@media(max-width:1024px) {
    .ct-homepage-hero-banner-wrapper {

        padding-left: 38px;
        padding-right: 38px;
        background-position: 80% center;
        padding-top: 126px;
        padding-bottom: 100px;
    }

    .ct-homepage-hero-banner-wrapper::after {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        background: linear-gradient(156deg, rgba(0, 0, 0, 0.00) -0.65%, rgba(0, 0, 0, 0.80) 80.51%);
    }

    .ct-homepage-hero-banner-wrapper h1 {
        font-size: 43.521px;
        line-height: 47.601px;
    }

    .ct-homepage-hero-below-row {
        flex-wrap: wrap !important;
        gap: 30px;
    }

    .ct-homepage-hero-below-row .ct-homepage-hero-below-col {
        width: calc(50% - 30px);
    }

    .ct-homepage-hero-below-wrapper {
        margin-top: -83px;
    }

    .ct-homepage-hero-below-wrapper p {
        font-size: 18px;
    }
}

.header .logo {
    max-width: 220px;
    margin-top: 15px
}

.nav ul li+li {
    margin-left: 35px;
}

.ct-header-cta-wrapper {
    display: flex;
}

.ct-header-cta {
    margin-left: 20px;
}

.header-right nav {
    display: flex;
    gap: 0px;
}

.nav>ul>li.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:after {
    position: absolute;
    right: -20px;
    top: 50%;
    content: '' !important;
    background: url(/wp-content/themes/sbgl/images/icons/select-arrow.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px !important;
    transform: translate(0%, -50%);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1025px) {
    .nav a.menu-toggle:after {
        content: none !important;
    }

    .nav a.menu-toggle {
        background: transparent;
        color: #4B8494;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav a.menu-toggle span.icon span {
        background: #4B8494;
    }
}

.ct-header-bottom-bar {
    margin-left: 10px;
    margin-top: 20px;
    max-width: 550px;
    display: flex;
}

.ct-header-bottom-bar .ct-header-phone-num,
.ct-header-bottom-bar .ct-header-mobile-cta {
    background: #4B8494;
    color: white;
    width: 40%;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.ct-header-bottom-bar .ct-header-mobile-cta {
    background: #3A6976;
}

@media (max-width: 768px) {
    .ct-homepage-hero-banner-wrapper{
        background-image:url(https://www.sbgllaw.com/wp-content/uploads/2025/10/mobile-home-ban.jpg);
        padding-top:50px;
        background-repeat: no-repeat;
        background-position: center -70px;
    }
    .ct-homepage-hero-banner-wrapper h1{
        font-size: 40px;
        line-height: 1.2;
    }
    .ct-header-bottom-bar .ct-header-phone-num,
    .ct-header-bottom-bar .ct-header-mobile-cta {
        width: 50%;
    }

    .ct-header-bottom-bar {
        margin-left: 0px;
        margin-bottom: -1px;
    }

    .header-mobile {
        padding-bottom: 0px !important;
    }

    .header-mobile .nav a.menu-toggle {
        right: revert !important;
    }

    .header .logo {
        float: left;
    }

    .nav a.menu-toggle {
        padding-right: 0px;
    }

    .header-mobile .container {
        padding-left: 15px !important;
        padding-right: 20px !important;
    }

    .header .logo {
        width: 170px !important;
        max-width: 170px !important;
        margin-top: 5px;
    }

    .nav a.menu-toggle {
        font-size: 18px;
    }
}

/*Rewamp Footer*/
.footer{background:#fff; padding:30px 0px 40px; font-size: 16px;}    
.footer-sec-1{padding-top:60px;}
.footer-sec-1 .container {display: flex; gap: 120px; border-bottom: 1px solid #ccc; padding-bottom: 60px;}
.footer-sec-1 .container .col-1 {flex: 0 0 calc(40% - 60px); min-width: 0;}
.footer-sec-1 .container .col-2 {flex: 0 0 calc(60% - 60px); min-width: 0;}

.footer-sec-2{padding-top:60px;}
.footer-sec-2 .container {display: flex; gap: 40px; border-bottom: 1px solid #ccc; padding-bottom: 60px;}
.footer-sec-2 .container .col-1 {flex: 0 0 calc(60% - 20px); min-width: 0; display: flex; gap:40px;}
.footer-sec-2 .container .col-2 {flex: 0 0 calc(40% - 20px); min-width: 0;}
.footer-sec-2 .container .col-1 h4{margin-bottom: 16px;}
.footer-sec-2 .container .col-1 div{width:33%;}
.footer-sec-2 .container .col-1 ul li{margin-bottom: 8px; font-size: 16px; line-height: normal;}
.footer-sec-2 .container .col-1 ul li a{color:#2c2c2c;}
.footer-sec-2 .container .col-1 ul li a:hover{text-decoration: underline;}
.footer-sec-2 .container .col-1 p{margin-bottom: 8px; font-size: 16px; line-height: normal;}
.footer-sec-2 .container h4{font-size: 20px; margin-bottom: 16px;}
.footer-sec-2 .container .col-2 h4{margin-bottom: 16px;}
.footer-sec-2 ul li{padding:0px !important; background: none;}
.footer-sec-2 ul li a{text-decoration: none;}

.footer .copyright{display: flex; justify-content: space-between; float:none;}
.footer .copyright p{font-size: 16px; color:#737373;}
.footer-nav{font-size: 16px;}
.footer-nav ul{display: flex !important; gap:12px; margin:0px; }
.footer-nav ul li{list-style: none; background:none; margin:0px; padding:0px;}
.footer-nav ul li a{color: #737373; text-decoration: underline; font-size: 16px;}
.social-icons {list-style: none; display: flex; gap: 0.65rem; padding: 0; margin: 0; margin:0px !important; margin-top:1rem !important;}
.social-icons a {display: inline-flex; width: 30px; height: 30px; background: #4b8494; border-radius: 3px; align-items: center; justify-content: center; text-decoration: none; color: #fff !important;}
.social-icons a:hover{text-decoration: none !important;}
.social-icons i {font-size: 1rem; line-height: 1;}
.social-icons a:hover {opacity: 0.85;}

.footer-sec-2 .form-field-wrapper{margin-bottom: 12px;}
.footer-sec-2 .form-field-wrapper p{margin-bottom: 0px;}
.footer-sec-2 .submit-wrap{float:none !important; margin-top:10px !important;} 
.footer-sec-2 .form-footer-wrapper p.note{margin-top:5px !important; margin-bottom: 5px !important;}

.footer-logo{margin-bottom: 16px;}

@media (max-width:768px){
    .footer-sec-1 .container{
        flex-direction: column;
        gap:30px;
        padding-bottom: 10px;
    }
    .footer-logo{
        max-width: 360px;
    }
    .footer-sec-2 .container{
        flex-direction: column;
    }
    .footer-sec-2{
        padding-top: 40px;
    }
    .footer .copyright p{
        text-align: left;
    }
    .footer-nav ul{
        gap:4px;
    }
}
@media (max-width:480px){
    .footer-sec-2 .container .col-1{
        flex-direction: column;
        gap:30px;
    }
    .footer .copyright{
        flex-direction: column;
    }
    .footer-sec-2 .container .col-1 div{
        width:100%;
    }
}



/* Post Page */
.ct-post-grid {
    display: flex;
    margin-bottom: 50px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
}
.ct-post-grid article{
    width: calc(33% - 23px);
}
@media(max-width: 1024px){
        .ct-post-grid article{
        width: calc(50% - 23px);
    }
}
@media(max-width: 780px){
    .ct-post-grid article img{
        max-width: 400px;
    }
        .ct-post-grid article{
        width: 100%;
    }
}
.ct-post-grid article img{
    width: 100%;
    min-height: 270px;
    max-height: 270px;
    object-fit: cover;
    object-position: center;
}
.ct-post-grid article{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ct-post-grid article h3{
    margin-bottom: 0px !important;
    font-size: 22px;
}
.ct-post-grid article h3 a{
    color: #000000 !important;
}
.ct-post-grid article p{
    margin-top: 0px !important;
}
.ct-post-grid .ct-with-thumb>img{
    margin-left: auto;
    margin-right: auto;
}
.ct-post-grid .ct-read-more-btn{
    color: #2c505b;
}
.ct-post-grid .ct-topmeta a{
    color: #181818 !important;
    text-decoration: underline;
}
.ct-post-grid .ct-topmeta {
    color: #181818;
    font-size: 14px !important;
    letter-spacing: 1.1px;
}

/*404 page*/
.main-404{
    text-align: center;
}
.main-404 .top-section{
	padding:40px 0px;
}
.main-404 .top-section h1{
	color:#457e8f;
	font-size:60px;
}
.main-404 .sep{
	border-bottom:1px solid #82220d;
	max-width:300px;
	margin:0 auto;
}
.main-404 .btn-cta{
	margin-bottom:30px;
}
.main-404 .bottom-section{
	padding:30px 0px 60px;
}
.main-404 .bottom-section h2{
	text-align:center;
	color:#457e8f;
	font-size:26px;
	font-weight:bold;
	margin-bottom:30px;
}
.main-404 .practice-areas .practice-area{
	max-width:150px;
}
.main-404 .practice-areas .practice-area p{
	display:none;
}
.main-404 .practice-areas .practice-area h4{
	font-size:16px;
	line-height:1.3em;
	font-weight:bold;
}
.main-404 .practice-areas .practice-area img{
	width:100px;
	margin-bottom:12px;
}