/*@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');*/

:root {
    --bg-main: #f4f3ed;
    --primary-color: #AC2B2E;
    --primary-color-light: rgba(172,43,46,0.25);
    --primary-color-xlight: rgba(172,43,46,0.1);
    --secondary-color: #0468b2;
    --secondary-color-light: #0093ff;
    --secondary-color-xlight: rgba(0,147,255,0.1);
    --secondary-color-dark: #033D72;
    --tertiary-color: #f7ce26;
    --light-color: #ffffff;
    --text-color: #333333;

    --golden-ratio: 1.618;
    --font-size-base: 1rem;
}
* {
    box-sizing:border-box;
    font-family: "Work Sans", sans-serif;
}
body{
    background-color: var(--bg-main);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0; 
    padding: 0;
}
a, a:link, a:visited, a:hover, a:active{
    color: var(--text-color);
}
a{
    text-decoration:none;
}
a:hover{
    text-decoration: none;
    cursor: pointer;
}

h1, .h1{
    font-size: clamp(2.28rem, 5vw, 3.136rem);
    line-height: 1.2;
}

h2, .h2 {
    font-size: clamp(1.6rem, 3.5vw, 1.618rem);
    line-height: 1.3;
}

h3, .h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.618rem);
    line-height: 1.4;
}

p, .p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
}

small, .small {
    font-size: clamp(0.8rem, 1vw, 1rem);
    line-height: 1.4;
    font-family: "Montserrat", sans-serif;
}

button{
    background-color:var(--secondary-color);
    border-radius:10px;
    border-width:0;
    color:var(--light-color);
    font-size:1.5rem;
    height:55px;
    margin-top:1.5rem;
    width:255px;
    cursor: pointer;
}
button a, button a:link, button a:visited, button a:hover, button a:active{
    color:var(--light-color);
}
#main-content{
    margin:0 auto;
    max-width: 1380px;
    padding: 2rem 0;
}
.dialog-off-canvas-main-canvas{
    position:relative;
    padding:0;
    min-height:100vh;
}
/* WIDGET */
#jlg-form-container {
    padding: 0.5rem 0 0.5rem 8rem;
    flex-grow: 1;
    width: 100%;
    min-height: 616px;
}
@media (max-width: 1023px) {
    #jlg-form-container {
        padding: 1rem 0;
    }
}
.sr-only {display: none;}
.spinner-container {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* END WIDGET */

.start-claim-section-blue,
.start-claim-section-white{
    padding:2rem;
    border-radius:15px;
}
.start-claim-section-white{
    background-color:var(--light-color);
    margin-top:2rem;
}
.start-claim-section-no-bg {
    padding: 0 2rem;
}
.start-claim-section-no-bg #get-started h1 {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}
.start-claim-section-no-bg #get-started p {
    font-weight: 400;
    margin: 0;
}
.start-claim-section-no-bg #get-started ul {
    list-style:none;
    padding:0;
}
.start-claim-section-no-bg #get-started ul li {
    white-space: wrap;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
}
.start-claim-section-no-bg #get-started ul span {
    font-weight: 600;
}
.start-claim-section-no-bg #get-started ul .check-icon {
    color:var(--primary-color);
}
.start-claim-section-no-bg h2,
.start-claim-section-white h2,
.start-claim-section-white span{
    color:var(--primary-color);
}
.start-claim-section-no-bg h2 {
    color:var(--primary-color);
    font-weight: 700;
    letter-spacing: 0;
    margin: 1rem 0 2rem;
}
.start-claim-section-blue{
    background-color:var(--secondary-color);
    color:var(--light-color);
    margin-top:2rem;
}
.start-claim-section-blue .description{
    color:var(--light-color) !important;
}
.start-claim-section-blue .contact-message-start-your-claim-form-form .form-text,
.start-claim-section-blue .contact-message-start-your-claim-form-form .form-email,
.start-claim-section-blue .contact-message-start-your-claim-form-form .form-tel,
.start-claim-section-blue .contact-message-start-your-claim-form-form select,
.start-claim-section-blue .contact-message-start-your-claim-form-form textarea{
    border: 1px solid #000000;
}
.start-claim-section-blue .contact-message-start-your-claim-form-form input.form-submit{
    background-color: #F7CE26 !important;
    color:#033D72 !important;
}
#contact-message-start-your-claim-form-form select option[value="_none"] {
  display: none;
}

.layout--twocol-section {
    flex-wrap: inherit;
}

/* ======================================================================== */
/* ========================= Google Reviews Wrapper ======================= */
/* ======================================================================== */

.googlereviews-ratings-container {
    padding-top: 1.5rem;
}
.googlereviews-ratings-container .reviews-link {
    display:flex;
    align-items:center;
    flex-direction: column;
    justify-content: center;
    width: max-content;
    gap: .25rem;
}
.googlereviews-ratings-container .reviews-link .rating-source-logo {
    display: flex;
    gap: .5rem;
    align-items: center;
}
.googlereviews-ratings-container .reviews-link .rating-source-logo svg {
    max-width: 64px;
    height: auto;
}
.googlereviews-ratings-container .reviews-link .rating-source-logo span {
    font-weight: 600;
    font-size: 1.2rem;
}
.googlereviews-ratings-container .rating-container {
    display: flex;
    gap: 1rem;
}
.googlereviews-ratings-container .rating-container .rating-value {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0;
    font-family: 'Montserrat', sans-serif;
}
.googlereviews-ratings-container .stars-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}
.googlereviews-ratings-container .stars-wrapper .stars-background,
.googlereviews-ratings-container .stars-wrapper .stars-foreground {
    width: auto;
    height: 30px;
}
.googlereviews-ratings-container .stars-wrapper .stars-foreground {
    top: auto;
    position: absolute;
}
.googlereviews-ratings-container .stars-wrapper .stars-foreground .stars {
    fill: #ffc31d !important;
}
.googlereviews-ratings-container .total-reviews {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    text-decoration: underline;

}

/* CARD */
.card {
    display: flex;
    gap: 2rem;
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 0 2rem;
}

.card .card-content {
    flex: 1;
}

.card .card-content h1 {
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.card .card-image {
    flex: 1;
    display: flex;
    align-items: center;
}

.card .card-image div,
.card .card-image img {
    width: 100%;
    height: 376px;
    object-fit: cover;
}


/* ======================================================================== */
/* ========================= Main Navigation Wrapper ====================== */
/* ======================================================================== */
.site-header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    box-sizing: border-box;
    font-weight: bold;
    color: var(--primary-color);
    margin:0 auto;
    max-width:1380px;
}
.site-header a{
    color: var(--primary-color);
}
.site-header>div{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    z-index:100;
    gap: 3rem;
}
.site-branding{
    display: flex;
    align-items: center;
}
.site-branding img{
    max-width: 298px;
    width: 100%;
    height: auto;
    display: block;
}
#block-jlg-theme-mainnavigation{
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}
#block-jlg-theme-mainnavigation ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4rem;
    position: relative;
}
#block-jlg-theme-mainnavigation li{
    position: relative;
}
#block-jlg-theme-mainnavigation li ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
}
#block-jlg-theme-mainnavigation li ul li{
    width: 100%;
}

#block-jlg-theme-mainnavigation li ul li a{
    display: block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}
#block-jlg-theme-mainnavigation li ul li a:hover{
    background-color: var(--bg-main);
    color: #0077cc;
}
#block-jlg-theme-mainnavigation li:hover>ul{
    display: block;
}
#block-jlg-theme-phonenumber{
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
}
#block-jlg-theme-phonenumber p {
    margin: 0;
    line-height: 0.8;
}
#block-jlg-theme-phonenumber a{
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

/* ======================================================================== */
/* ========================= Footer Wrapper =============================== */
/* ======================================================================== */
.site-footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    box-sizing: border-box;
    font-weight: bold;
    background-color:var(--primary-color);
    margin-top: 3rem;
}
.site-footer>div{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    z-index:100;
    justify-content: center;
}
.site-footer #block-jlg-theme-footersocial .block__content > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.site-footer .footer-logo {
    width: 20%;
    height: auto;
    margin-bottom: 2rem;
}
#block-jlg-theme-footer{
    padding-right:4rem;
    display: flex;
    flex-grow: 1;
    justify-content: right;
    align-items: center;
}


/* Main footer menu */
#block-jlg-theme-footer > ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6rem; /* space between columns */
}

/* Each column */
#block-jlg-theme-footer > ul > li {
    flex: 0 0 auto;
}

/* Section headings (span) */
#block-jlg-theme-footer > ul > li > span {
    display: block;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--light-color);
}

/* Submenu (links under each heading) */
#block-jlg-theme-footer ul ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#block-jlg-theme-footer ul ul li {
  
}

#block-jlg-theme-footer ul ul li a {
    font-weight: normal;
    font-size: 0.95rem;
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

#block-jlg-theme-footer ul ul li a:hover {
    color: var(--bg-main); /* lighter hover */
}
#block-jlg-theme-footercopywrite{
    color:var(--light-color);
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9em;
    flex: 1 1 100%;
    font-weight:normal;
    line-height:1.25rem;
}
#block-jlg-theme-footercopywrite p{
    margin-bottom:0;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;

}

/* ======================================================================== */
/* ========================= Contact Form Wrapper ========================= */
/* ======================================================================== */
#contact-message-start-your-claim-form-form{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content:center;
    align-content:flex-start;
    padding:0.5rem 4rem;
}
#contact-message-start-your-claim-form-form .form-actions{
    flex:0 0 100%;
}
#contact-message-start-your-claim-form-form .form-text,
#contact-message-start-your-claim-form-form .form-email,
#contact-message-start-your-claim-form-form .form-tel,
#contact-message-start-your-claim-form-form select,
#contact-message-start-your-claim-form-form textarea{
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
#contact-message-start-your-claim-form-form .field--name-field-first-name,
#contact-message-start-your-claim-form-form .field--name-field-last-name,
#contact-message-start-your-claim-form-form .field--name-field-zip-code,
#contact-message-start-your-claim-form-form .field--name-field-phone-number{
    flex: 0 0 calc(50% - 0.5rem);
}
#contact-message-start-your-claim-form-form .field--name-field-email-address,
#contact-message-start-your-claim-form-form .field--name-field-case-type-reference,
#contact-message-start-your-claim-form-form .field--name-field-tell-us-what-happened{
    flex: 0 0 100%;
}
#contact-message-start-your-claim-form-form  .field--name-langcode{
    display:none;
}
#contact-message-start-your-claim-form-form input.form-submit{
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-size: 1.35rem;
    width:100%;
    height: 54px;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact-message-start-your-claim-form-form textarea {
    min-height: 120px;
    resize: vertical;
}
#contact-message-start-your-claim-form-form .field--name-field-consent .form-item{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
#contact-message-start-your-claim-form-form .field--name-field-consent .form-item input[type="checkbox"]{
    margin-right: 10px;
    width: auto;
    height: auto;
    transform: scale(1.5)
}
#contact-message-start-your-claim-form-form .field--name-field-consent .form-item label{
    display: none;
    width: auto;
    height: auto;
}
#contact-message-start-your-claim-form-form .field--name-field-consent .form-item .description{
    font-size: 0.85rem;
    color: var(--text-color);
    margin-left: 0.5em;
}



/* ======================================================================== */
/* ========================= Meet Our Team Wrapper ======================== */
/* ======================================================================== */
.section-title{
    margin: 3rem 0;
    text-align:center;
}
.section-title h2 {
    color:#a51c1c;
    margin:0;
    font-weight: 700;
    letter-spacing: 0;
}
.section-title p {
    margin:0;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: 0;
}
.widget_pager{
    padding:0;
}

.views-element-container .skin-default{
    position:relative;
}
.views_slideshow_cycle_slide{
	width: 100% !important;
}
.meet-our-team{
    background-color:var(--primary-color);
    margin-bottom:5.5rem;
    padding: 2rem 2rem 5.5rem;
}
.meet-our-team .views-slideshow-controls-bottom{
    position:absolute;
    margin:2rem auto 0;
    width:100%;
}
.meet-our-team .team-card{
    display: flex;
    flex-wrap: nowrap;
    gap:0;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin:0;
    position:relative;
}
.meet-our-team .attorney-bio,
.meet-our-team .attorney-results,
.meet-our-team .client-success{
    display:none;
}
.meet-our-team .team-card .basic-text{
    position:absolute;
    bottom:-6.5rem;
    text-align:center;
    width:100%;
}
.meet-our-team .team-card .first-col{
    flex: 0 0 385px;
    border-radius:15px;
    margin:2rem;
    overflow:hidden;
    height:400px;
}
.meet-our-team .team-card .first-col img{
    width:100%;
    height:auto;
    display:block;
}
.meet-our-team .team-card .second-col{
    flex: 1;
    padding:2rem 4rem 2rem 2rem;
    overflow:hidden;
    color: var(--light-color);
}
.meet-our-team .team-card .second-col div:first-child{
    font-size:2rem;
    line-height:2.5rem;
    font-weight:bold;
}
.meet-our-team .team-card .second-col div:first-child a{
    color: var(--light-color);
}
.meet-our-team .team-card .second-col div:nth-child(2){
    font-size:1.25rem;
    line-height:1.5rem;
}
.meet-our-team .team-card .second-col div:nth-child(3){
    padding-top:0.75rem;
    font-size:1.25rem;
    line-height:1.5rem;
    display:none;
}
.meet-our-team .team-card .second-col div:nth-child(4){
    padding-top:1.25rem;
}

.meet-our-team .team-card .third-col{
    flex: 0 0 20%;
    border-left:1px #fff solid;
    padding:2rem 3.5rem;
    color: var(--light-color);
}

.meet-our-team .team-card .third-col .results-top-3 header h2{
    font-size:1.25rem;
    line-height:2rem;
    font-weight:bold;
    margin-top:0;
}
.meet-our-team .team-card .third-col .results-top-3 .views-row .results div:nth-child(1){
    font-size:2.0rem;
    line-height:2.5rem;
    font-weight:bold;
}
.meet-our-team .team-card .third-col .results-top-3 .views-row .results div:nth-child(2){
    font-size:1.0rem;
    padding-bottom:2rem;
}
/*
.meet-our-team .team-card .third-col div:nth-child(odd){
    font-size:2.0rem;
    line-height:2.5rem;
    font-weight:bold;
}
.meet-our-team .team-card .third-col div:nth-child(even){
    font-size:1.0rem;
    padding-bottom:2rem;
}
.meet-our-team .team-card .third-col::before{
    content:"Results";
    font-size:1.25rem;
    line-height:4rem;
    font-weight:bold;
}
*/

.attorneys-list-page{
    display:flex;
    flex-wrap:wrap;
    gap:2rem;
}
.attorneys-list-page form{
    flex:0 0 100%;
    display:flex;
    gap:1rem;
}
.attorneys-list-page form div:nth-child(1){
    flex:0 0 35%;
    display:flex;
    gap:1rem;
}
.attorneys-list-page form div:nth-child(1) label{
    font-size:1.25rem;
    font-weight:bold;
    flex:0 0 35%;
}
.attorneys-list-page form div:nth-child(1) select{
    flex:1;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.attorneys-list-page form div:nth-child(2){
    flex:1;
    display:flex;
}
.attorneys-list-page form div:nth-child(2) input{
    width:5rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.attorneys-list-page .views-row{
    flex:0 0 calc(50% - 1rem);
}
.attorneys-list-page .views-row .headshots a{
    display:flex;
    gap:2rem;
    padding:1rem;
    box-sizing:border-box;
    background-color:var(--light-color);
    border:2px solid var(--primary-color);
    border-radius:10px;
}
.attorneys-list-page .views-row .headshots a:hover{
    background-color:var(--bg-main);
}
.attorneys-list-page .views-row .headshots a>div:nth-child(1){
    flex:0 0 35%;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(1) img{
    border-radius:10px;
    width:100%;
    height:auto;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2){
    flex:1;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(1){
    color:var(--primary-color);
    font-size:2rem;
    line-height:2.5rem;
    font-weight:bold;
    margin-bottom:0.25rem;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(2){
    color:var(--primary-color);
    font-size:1.5rem;
    line-height:1.75rem;
    margin-bottom:0.25rem;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(3){
    font-size:1.25rem;
    line-height:1.75rem;
    margin-bottom:1.25rem;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4),
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5),
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6){
    font-size:1.25rem;
    line-height:1.75rem;
    display:flex;
    align-items:center;
    justify-items:center;
}
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4) img,
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5) img,
.attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6) img{
    margin-right:0.5rem;
    width:1.5rem;
}

/* ======================================================================== */
/* ========================= About Us ======================== */
/* ======================================================================== */
.about-us{
    margin-top:2rem;
}
.about-us__container {
    background-color:#fff;
    border-radius:15px;
    padding: 2.5rem 4rem;
    display:flex;
    flex-direction:column;
    gap: 2rem;
}
.about-us__container h2 {
    color: #a51c1c;
    margin:0;
}
.about-us__top {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
}
.about-us__top_left,
.about-us__top_right {
    flex:1;
}
.about-us__top_left p {
    margin-top: 0;
}
.about-us__top_right div {
    padding-left: 35%;
    margin-bottom: 1rem;
}
.about-us__top_right h2 {
    color:#a51c1c;
    margin: 0;
}
.about-us__top_right p {
    color:#000;
    margin: 0;
}
.about-us__bottom {
    display:flex;
    flex-direction: row;
    gap: 2.5rem;
}
.about-us__card {
    background-color:#eaf6ff;
    border-radius:8px;
    flex:1;
    padding:1.2rem 1rem;
    display:flex;
    flex-direction:row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}
.about-us__card h3, .about-us__card p {
    margin:0;
    letter-spacing: 0;
}
.about-us__card h3 {
    font-weight: 600;
}
.about-us__card p {
    font-weight: 400;
}
.about-us__card img {
    max-width: 69px;
    height: auto;
    width: 100%;
}

/* houston-team-card */
.houston-team-card {
    width:100%;
    color: #fff;
    padding:1.5rem;
}
.houston-team-card .houston-team-card__photo {
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.houston-team-card .houston-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.houston-team-card .houston-team-card__member {
    margin: 1.5rem 0;
}
.houston-team-card .houston-team-card__member h3,
.houston-team-card .houston-team-card__member p {
    margin:0;
}
.houston-team-card .houston-team-card__member h3 {
    font-weight: 600;
    letter-spacing: 0;
}
.houston-team-card .houston-team-card__member p {
    font-weight: 400;
    letter-spacing: 0;
}


.houston-team-card .houston-team-card__results div p {
    margin: 0;
}
.houston-team-card .houston-team-card__results .houston-team-card__title {
    font-weight: 600;
    letter-spacing: 0;
    margin: 0  0 1rem;
}
.houston-team-card .houston-team-card__results .houston-team-card__value {
    display: flex;
    flex-direction: column;

}
.houston-team-card .houston-team-card__results .houston-team-card__value strong {
    font-weight: 800;
    letter-spacing: 0;
}
.houston-team-card .houston-team-card__results .houston-team-card__value span {
    font-weight: 400;
    letter-spacing: 0;
}
.desktop-only.meet-our-team .views_slideshow_cycle_slide,
.tablet-only.meet-our-team .views_slideshow_cycle_slide {
    display: flex !important;
    flex-direction: row;
    gap: 32px;
}
.desktop-only.meet-our-team {
    border-radius: 15px;
}
.desktop-only.meet-our-team .views_slideshow_cycle_slide .views-row,
.tablet-only.meet-our-team .views_slideshow_cycle_slide .views-row {
    flex-grow: 1;
    flex-basis: 33.33%;
    max-width: calc(33.33% - 16px);
    overflow: hidden;
}
.desktop-only.meet-our-team .views_slideshow_cycle_slide .views-row {
    flex-basis: 25%;
    max-width: calc(25% - 16px);
}
.houston-team-card-1\/4,
.houston-team-card-1\/3 {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color:#fff;
}
.houston-team-card-1\/4 .houston-team-card__content,
.houston-team-card-1\/3 .houston-team-card__content {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    width: 100%;
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__photo,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/4;
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__photo img,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__photo img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__results,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__results {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,.45);
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__results p,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__results p {
    margin: 0;
}
.houston-team-card-1\/4 .houston-team-card__content:hover .houston-team-card__results,
.houston-team-card-1\/3 .houston-team-card__content:hover .houston-team-card__results {
    display: flex;
    justify-content: flex-end;
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__results .houston-team-card__title,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__results .houston-team-card__title {
    font-weight: 600;
    letter-spacing: 0;
    margin: 0  0 1.5rem;
}
.houston-team-card-1\/4 .houston-team-card__content .houston-team-card__results .houston-team-card__result,
.houston-team-card-1\/3 .houston-team-card__content .houston-team-card__results .houston-team-card__result {
    display: flex;
    flex-direction: column;
}
.houston-team-card-1\/4 .houston-team-card__results .houston-team-card__result strong,
.houston-team-card-1\/3 .houston-team-card__results .houston-team-card__result strong {
    font-weight: 800;
    letter-spacing: 0;
}
.houston-team-card-1\/4 .houston-team-card__results .houston-team-card__result span,
.houston-team-card-1\/3 .houston-team-card__results .houston-team-card__result span {
    font-weight: 400;
    letter-spacing: 0;
}
.houston-team-card-1\/4 .houston-team-card__member,
.houston-team-card-1\/3 .houston-team-card__member {
    margin-top: 2rem;
}
.houston-team-card-1\/4 .houston-team-card__member h3,
.houston-team-card-1\/4 .houston-team-card__member p,
.houston-team-card-1\/3 .houston-team-card__member h3,
.houston-team-card-1\/3 .houston-team-card__member p {
    margin:0;
}
.houston-team-card-1\/4 .houston-team-card__member h3,
.houston-team-card-1\/3 .houston-team-card__member h3 {
    font-weight: 600;
    letter-spacing: 0;
}
.houston-team-card-1\/4 .houston-team-card__member p,
.houston-team-card-1\/3 .houston-team-card__member p {
    font-weight: 400;
    letter-spacing: 0;
}

/* ======================================================================== */
/* ========================= Client Reviews Wrapper ======================= */
/* ======================================================================== */
.client-reviews,
.client-success{
    border-radius:15px;
    margin-bottom:3rem;
    padding:0;
    text-align:center;
}
.client-reviews .views-slideshow-controls-bottom,
.client-success .views-slideshow-controls-bottom{
    position:absolute;
    margin:0 auto;
    width:100%;
}
.client-reviews .views_slideshow_slide,
.client-success .views_slideshow_slide{
    display:flex !important;
    gap:2rem;
}
.client-reviews .views_slideshow_slide .views-row{
    min-height:640px;
}
.client-success .views_slideshow_slide .views-row{
    min-height:450px;
}
.client-reviews .views_slideshow_slide .views-row,
.client-success .views_slideshow_slide .views-row{
    flex:0 0 calc(50% - 1rem);
    border-radius:15px;
    background-color:var(--light-color);
    margin:0;
    padding:2rem 3rem 3rem;
    align-items: stretch;
    justify-items: center;
    position:relative;
    display: flex;
    flex-direction: column;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(1){
    grid-column: 1 / -1;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(2),
.client-success .views_slideshow_slide .views-row .views-field-field-client-success-body{
    font-size:1.5rem;
    align-self: center;
    grid-column: 1 / -1;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(2) p{
    margin-top:0;
}
.client-success .views_slideshow_slide .views-row .views-field-field-client-success-body .field-content{
    padding-top:6rem;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(3),
.client-success .views_slideshow_slide .views-row .views-field-field-client-success-name{
    font-size:1.5rem;
    font-weight:bold;
    color:var(--primary-color);
    margin-top: auto;
    grid-column: 1 / -1;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(4),
.client-success .views_slideshow_slide .views-row .views-field-field-client-success-location{
    font-size:1.15rem;
    grid-column: 1 / -1;
}
.client-reviews .views_slideshow_slide .views-row .google-rating div:nth-child(5){
    font-size:0.75rem;
    line-height:1rem;
    color:#cccccc;
    margin:0;
}

.client-reviews .google-rating{
    min-height:640px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.rating{
    font-size:0;
    line-height:4rem;
    color:gold;
}
.rating-1::before{font-size:4rem;visibility:visible;content:"★☆☆☆☆";}
.rating-2::before{font-size:4rem;visibility:visible;content:"★★☆☆☆";}
.rating-3::before{font-size:4rem;visibility:visible;content:"★★★☆☆";}
.rating-4::before{font-size:4rem;visibility:visible;content:"★★★★☆";}
.rating-5::before{font-size:4rem;visibility:visible;content:"★★★★★";}

.client-success .views_slideshow_slide .views-row .views-field-field-client-success-body::before{
    content: "“"; /* Or use '”' depending on style */
    font-size: 10rem;
    font-weight:bold;
    color: var(--secondary-color);
    line-height: 14rem;
    position:absolute;
    top:0;
    left:0;
    width:100%;
}


/* ======================================================================== */
/* ========================= Attorney Bio Wrapper ========================= */
/* ======================================================================== */
.attorney-main{
    display: flex;
    flex-wrap: nowrap;
    gap:0;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin:0;
}
.attorney-main .layout__region--first{
    flex: 0 0 450px !important;
    border-radius:15px;
    margin:2rem;
    overflow:hidden;
    height:480px;
}
.attorney-main .layout__region--first img{
    width:100%;
    height:auto;
    display:block;
}
.attorney-main .layout__region--second{
    flex: 1 !important;
    padding:2rem;
    overflow:hidden;
}
.attorney-main .layout__region--second .block:first-child,
.attorney-main .layout__region--second .block:nth-child(2){
    display:inline-block;
    font-size:3rem;
    line-height:3.5rem;
    font-weight:bold;
    color:var(--primary-color);
}
.attorney-main .layout__region--second .block:nth-child(2){
    margin-left:1rem;
}
.attorney-main .layout__region--second .block:nth-child(3){
    font-size:1.5rem;
    line-height:1.75rem;
    font-weight:bold;
    color:var(--primary-color);
}
.attorney-main .layout__region--second .block:nth-child(4){
    font-size:1.25rem;
    line-height:2rem;
}
.attorney-main .layout__region--second .block:nth-child(4) .block__content>div::before{
    content:"Licensed In: ";
}
.attorney-main .layout__region--second .block:nth-child(5){
    font-size:1.75rem;
    line-height:2.35rem;
    padding:2rem 0;
}
.attorney-main .layout__region--second .block:nth-child(6) .block__content{
    display:flex;
}
.attorney-main .layout__region--second .block:nth-child(6) .block__content>div{
    display:flex;
    justify-content:center;
    text-align:center;
    gap:1rem;
}
.attorney-main .layout__region--second .block:nth-child(6) .block__content>div>div{
    border-radius:10px;
    border:1px var(--primary-color) solid;
    padding:1rem;
}


.attorney-bio{
    display: flex;
    flex-wrap: nowrap;
    gap:0;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin:0;
    margin-bottom:2rem;
    border-radius:15px;
    background-color:var(--light-color);
}
.attorney-bio .layout__region--first{
    flex:0 0 50%;
    padding:4rem;
    overflow:hidden;
}
.attorney-bio .layout__region--first>.block:nth-child(1){
    font-size:2.5rem;
    line-height:3rem;
    font-weight:bold;
    color:var(--primary-color);
}
.attorney-bio .layout__region--first>.block:nth-child(1)>div>div::before{
    content:"About ";
}
.attorney-bio .layout__region--first>.block:nth-child(2){
    padding-top:2rem;
    font-size:1.5rem;
    line-height:2rem;
}
.attorney-bio .layout__region--second{
    flex:1;
    padding:4rem;
    overflow:hidden;
}
.attorney-bio .layout__region--second .block:nth-child(3) .block__content div a,
.attorney-bio .layout__region--second .block:nth-child(3) .block__content div a:link,
.attorney-bio .layout__region--second .block:nth-child(3) .block__content div a:visited,
.attorney-bio .layout__region--second .block:nth-child(3) .block__content div a:hover,
.attorney-bio .layout__region--second .block:nth-child(3) .block__content div a:active{
    color:var(--primary-color) !important;
}
.attorney-bio .layout__region--second>.block:nth-child(1),
.attorney-bio .layout__region--second>.block:nth-child(2),
.attorney-bio .layout__region--second>.block:nth-child(3){
    font-size:1.35rem;
    line-height:2rem;
    font-weight:bold;
    margin-bottom:1rem;
    color:var(--primary-color);
}
.attorney-bio .layout__region--second>.block:nth-child(1)>div>div,
.attorney-bio .layout__region--second>.block:nth-child(2)>div>div,
.attorney-bio .layout__region--second>.block:nth-child(3)>div>div{
    position: relative;
    display: inline-flex;
    align-items: center;   
}
.attorney-bio .layout__region--second>.block:nth-child(1)>div>div::before{
    content: url('/themes/custom/jlg_theme/images/pin.png');
    display: inline-block;
    width: 1.75rem;
    height: 1.5rem;
}
.attorney-bio .layout__region--second>.block:nth-child(2)>div>div::before{
    content: url('/themes/custom/jlg_theme/images/phone-call.png');
    display: inline-block;
    width: 1.75rem;
    height: 1.5rem;
}
.attorney-bio .layout__region--second>.block:nth-child(3)>div>div::before{
    content: url('/themes/custom/jlg_theme/images/email.png');
    display: inline-block;
    width: 1.75rem;
    height: 1.5rem;
}
.attorney-bio .layout__region--second>.block:nth-child(4) h2,
.attorney-bio .layout__region--second>.block:nth-child(5) h2{
    padding-top:2rem;
    margin:0;
    font-size:1.5rem;
    line-height:2rem;
    font-weight:bold;
    color:var(--primary-color);
}
.attorney-bio .layout__region--second>.block:nth-child(4) .block__content,
.attorney-bio .layout__region--second>.block:nth-child(5) .block__content{
    font-size:1rem;
    line-height:1.75rem;
}


/* ======================================================================== */
/* ========================= Results Box Wrapper ========================== */
/* ======================================================================== */
.attorney-results{
    background-color:var(--primary-color);
    color:var(--light-color);
}
.location-results{
    background-color:var(--secondary-color);
    color:var(--light-color);
    margin-top:2rem !important;
}


.our-results,
.recent-wins{
    display: flex;
    flex-wrap: nowrap;
    gap:0;
    align-items: stretch;
    justify-content: space-between;
    margin:0;
    padding:2rem;
    border-radius:15px;
}
.our-results .results-top-3{
    display:flex;
    flex-wrap:wrap;
    justify-items: center;
    position: relative;
}
.our-results .results-top-3 header,
.our-results .results-top-3 footer,
.recent-wins .recent-wins-table header{
    flex:0 0 100%;
    text-align:center;
    align-items: center;
    justify-content: center;
}
.our-results .results-top-3 footer{
    margin-top:1.5rem;
}
.our-results .results-top-3 footer a{
    color:#fff;
    font-size:1.35rem;
    line-height:2.15rem;
    margin:0;
}
.our-results .results-top-3 footer button{
    background-color:var(--tertiary-color);
    color:#000;
    font-size: 1rem;
    height: 1.5rem;
    width: 150px;
    border-radius: 5px;
    margin-top:0;
}
.our-results .results-top-3 header h2,
.recent-wins .recent-wins-table header h2{
    font-size:2.5rem;
    line-height:3rem;
    margin:0;
}
.our-results .results-top-3 header p{
    font-size:1.35rem;
    line-height:2.15rem;
    margin:0;
    padding-bottom:2rem;
}
.our-results .results-top-3 .views-row{
    flex:1;
    text-align:center;
}
.our-results .results-top-3 .views-row .results div:nth-child(1){
    font-size:3rem;
    line-height:4rem;
    font-weight:bold;
}
.our-results .results-top-3 .views-row .results div:nth-child(2){
    font-size:1.35rem;
    line-height:2.15rem;
    margin:0;
}
.our-results .results-top-3::before,
.our-results .results-top-3::after {
  content: "";
  position: absolute;
  top: 35%;
  bottom: 2rem;
  width: 2px;
  background: #ccc;
}
.our-results .results-top-3::before {
  left: 33.333%;  /* line between col 1 & 2 */
}
.our-results .results-top-3::after {
  left: 66.666%;  /* line between col 2 & 3 */
}






.recent-wins{
    background-color:var(--light-color);
}
.recent-wins .recent-wins-table{
}
.recent-wins .recent-wins-table header{
    margin-bottom:1rem;
    color:var(--primary-color);
}
.recent-wins .recent-wins-table footer{
    font-size:0.9rem;
    margin-top:2rem;
}

.recent-wins .recent-wins-table table{
    width: 100%;
    font-size: 1.25rem;
    text-align: center;
    overflow: hidden;
    border-radius:15px;
}
.recent-wins .recent-wins-table table thead{
    background-color: var(--primary-color);
    color: var(--light-color);
}
.recent-wins .recent-wins-table table tbody tr:nth-child(odd){
    background-color: var(--primary-color-xlight);
}
.recent-wins .recent-wins-table table tbody tr:nth-child(even){
    background-color: var(--primary-color-light);
}








/* ======================================================================== */
/* ========================= Location Page Wrapper ======================== */
/* ======================================================================== */
.location-main,
.location-headshots,
.how-we-can-help{
    display: flex;
    flex-wrap: nowrap;
    gap:0;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin:0;
}
.location-main .layout__region--first,
.location-main .layout__region--second{
    display:flex;
    flex:0 0 50%;
    flex-wrap:wrap;
    justify-content:center;
    align-content:flex-start;
    
}
.location-main .layout__region--first .block:nth-child(1){
    flex:0 0 100%;
    min-height:10rem;
}
.location-main .layout__region--first .block:nth-child(2),
.location-main .layout__region--first .block:nth-child(3){
    flex:0 0 50%;
    text-align:center;
    display:flex;
    align-items:center;
    justify-content:center;
}
.location-main .layout__region--first .block:nth-child(2) button{
    margin:0;
}

.location-main .layout__region--second .block:nth-child(1){
    flex:0 0 100%;
    overflow:hidden;
    border-radius:20px;
    align-items:center;
}
.location-main .layout__region--second .block:nth-child(1) img{
    width:100%;
    height:auto;
}
.location-main .layout__region--second .block:nth-child(2){
    width:100%;
}
.location-main .layout__region--second .block:nth-child(2) .address-info{
    display:flex;
    flex-wrap:nowrap;
    background-color:var(--light-color);
    border-radius:10px;
    padding:1.5rem;
    margin-top:1rem;
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(odd){
    flex:0 0 6%;
    display: inline-block;
    width: 1.75rem;
    height: 1.5rem;
    text-align:center;
    padding-top:0.25rem;
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(even){
    font-weight:bold;
    font-size:1.25rem;
    line-height:1.5rem;
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(2){
    flex:0 0 55%;
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(2) span{
    font-style:italic;
    font-weight:normal;
    font-size:1rem;
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(4){
    flex:0 0 33%;
}

.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(1)::before{
    content: url('/themes/custom/jlg_theme/images/pin.png');
}
.location-main .layout__region--second .block:nth-child(2) .address-info div:nth-child(3)::before{
    content: url('/themes/custom/jlg_theme/images/phone-call.png');
}


.location-headshots{
    margin-top:2rem;
    background:var(--primary-color);
    border-radius:15px;
    color:var(--light-color);
}
.location-headshots .block:first-child{
    padding:2rem;
}
.location-headshots header{
    text-align:center;
}
.location-headshots header h2{
    font-size:2.5rem;
    line-height:3rem;
    margin:0;
    
}
.location-headshots header p,
.faq-block header p{
    margin:0;
}
.location-headshots .views_slideshow_cycle_teaser_section{
    display: flex;
    flex-wrap: nowrap;
    gap:2rem;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin-top:2rem;
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide{
    display:flex;
    flex:0 0 calc(25% - 1rem);
    box-sizing: border-box;
    flex-wrap:wrap;
    justify-content:center;
    align-content:flex-start;
    
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row{
    margin: 0;
    align-items: stretch;
    justify-items: center;
    position: relative;
    display: flex;
    flex-direction: column;
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row .headshots{
    font-size:1.75rem;
    line-height:2.5rem;
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row .headshots a{
    color: var(--light-color);
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row .headshots img{
    border-radius:15px;
    width:100%;
    height:auto;
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row .headshots div:nth-child(2){
    font-weight:bold;
    margin-top:1rem;
}
.location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide .views-row .headshots div:nth-child(3){
    margin-bottom:1rem;
}


.how-we-can-help{
    margin-top:2rem;
    background:var(--light-color);
    border-radius:15px;
}
.how-we-can-help .layout__region .block:nth-child(1){
    width:70%;
}
.how-we-can-help .layout__region .block:nth-child(2){
    padding:2rem;
}
.how-we-can-help .layout__region .block:nth-child(2)>div>div>div{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-content:flex-start;
    gap:1rem;
}
.how-we-can-help .layout__region .block:nth-child(2) .views-row{
    flex:0 0 calc(33.3% - 0.5rem);
    background-color:var(--secondary-color-xlight);
    border-radius:10px;
}
.how-we-can-help .layout__region .block:nth-child(2) .views-row .case-type-mini{
    padding:1rem;
    display:flex;
    gap:0.5rem;
}
.how-we-can-help .layout__region .block:nth-child(2) .views-row .case-type-mini div:nth-child(1){
    flex:0 0 20%;
    display:flex;
    justify-items:center;
    align-items:center;
}
.how-we-can-help .layout__region .block:nth-child(2) .views-row .case-type-mini div:nth-child(2){
    flex:1;
    font-size:1.75rem;
    font-weight:bold;
    line-height:1.75rem;
}
.how-we-can-help .layout__region .block:nth-child(2) .views-row .case-type-mini div:nth-child(2) span{
    font-size:1.15rem;
    font-weight:normal;
    line-height:1.25rem;
}



.faq-section{
    margin-top:2rem;
    background:var(--light-color);
    border-radius:15px;
    color:var(--text-color);
}
.faq-section .faq-block{
    display:grid;
    grid-template-columns:calc(50% - 1rem) 50%;
    grid-template-rows:auto;
    grid-auto-rows: auto;
    gap:1rem;
    padding:2rem 4rem;
}
.faq-section .faq-block header h2{
    font-size:3rem;
    line-height:3.5rem;
    margin:0;
    color:var(--primary-color);
}
.faq-section .faq-block header p{
    font-size:1.5rem;
    line-height:2rem;
}
.faq-section .faq-block header{
    grid-column:1;
    grid-row:1 / 3
}
.faq-section .faq-block .views-row{
    grid-column:2;
}
.faq-section .faq-block .views-row .faq-question{
    padding:1rem 2rem;
    background-color:var(--secondary-color-xlight);
    border-radius:15px;
}
.faq-section .faq-block .views-row .faq-question div:first-child{
    font-size:1.5rem;
    line-height:2rem;
    padding:1rem 0;
    position:relative;
}
.faq-section .faq-block .views-row .faq-question div:first-child span{
    position: absolute;
    display: block;
    right: 1rem;
    top: 1rem;
    font-weight: bold;
    font-size: 2rem;
}
.faq-section .faq-block .views-row .faq-question div:nth-child(2){
    display:none;
    font-size:1.25rem;
    line-height:1.65rem;
}



.learn-more{
    margin-top:2rem;
    background:var(--secondary-color-dark);
    border-radius:15px;
    color:var(--light-color);
}
.learn-more .learn-more-block{
    display:flex;
    padding:2rem 4rem;
    flex-wrap:wrap;
}
.learn-more .learn-more-block header{
    flex:0 0 100%;
}
.learn-more .learn-more-block header h2{
    font-size:3rem;
    line-height:3.5rem;
    margin:0;
}
.learn-more .learn-more-block header p{
    font-size:1.5rem;
    line-height:2rem;
    margin:0;
    margin-bottom:3rem;
}
.learn-more .learn-more-block .views-row{
    flex:0 0 50%;
    font-size:1.5rem;
    font-weight:bold;
}
.learn-more .learn-more-block .views-row a{
    color:var(--light-color);
}


/* SLIDESHOW */
.views-slideshow-controls-bottom .views-slideshow-pager-bullets li:hover,
.views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    background: #D9D9D9;
}
.views-slideshow-controls-bottom .views-slideshow-pager-bullets li.active {
    background: #fff;
}

.result-info {
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-align: center;
}

.mobile-only:not(.layout-builder__layout), .tablet-only:not(.layout-builder__layout) {
    display: none;
}

/* ADDITIONS FOR TABLET FRIENDLINESS */
/* ---------------------------------- */

@media (min-width: 1024px) and (max-width: 1412px){
    #main-content {
        padding-left:16px;
        padding-right:16px;
    }
    .site-header {
        padding-left:calc(2rem + 16px);
        padding-right:calc(2rem + 16px);
    }
}
@media (min-width: 768px) and (max-width: 1023px){
    #main-content {
        padding-right: 0;
        padding-left: 0;
        padding-top: 1rem;
    }
    .tablet-only:not(.layout-builder__layout) {
        display: block;
    }
    .desktop-only:not(.layout-builder__layout) {
        display: none;
    }
    .card {
        flex-direction: column-reverse;
        gap: 1rem;
        margin: 0 1rem 2rem;
    }
    .site-header {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .start-claim-section-no-bg {
        flex-direction: column;
        padding: 0 1rem;
    }

    .start-claim-section-no-bg #get-started h1 {
        margin-top: 0.5rem;
        text-align: center;
    }
    .start-claim-section-no-bg #get-started ul {
        margin: 3rem auto 0;
        width: max-content;
        max-width: 100%;
    }

    .start-claim-section-no-bg .block--googlereviews {
        display:flex;
        justify-content: center;
    }

    .about-us {
        padding: 0 1rem;
        margin-top: 0;
    }

    .about-us__container {
        padding: 2rem;
    }
    .about-us__container h2 {
        margin-bottom: 0;
    }
    .about-us__top {
        align-items: flex-start;
    }
    .about-us__top_right {
        padding-left: 0;
    }
    .about-us__bottom {
        gap: 1rem;
    }
    .about-us__card {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer .footer-logo {
        width: 50%;
    }
    .googlereviews-ratings-container .reviews-link {
        margin: 0 auto 1rem;
    }
}

/* ADDITIONS FOR MOBILE FRIENDLINESS */
/* ---------------------------------- */
@media (min-width: 401px) and (max-width: 767px) {
    .desktop-only:not(.layout-builder__layout) {
        display: none;
    }
    .mobile-only:not(.layout-builder__layout) {
        display: block;
    }
    .card {
        flex-direction: column-reverse;
        border-radius: 0;
        margin-right: 0;
        margin-left: 0;
        gap: 1rem;
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    .card .card-image div,
    .card .card-image img {
        height: 438px;
    }
    .dialog-off-canvas-main-canvas {
        width: 100%; /* Make the container fluid */
        min-width: unset;
        overflow: hidden;
    }
    .site-header {
        padding: 1rem;
    }
    .site-header,
    .site-footer {
        flex-wrap: wrap; /* Allow header and footer items to stack */
        justify-content: center;
    }
    .site-footer>div{
        justify-content: center;
    }
    .start-claim-section-no-bg {
        flex-direction: column;
        padding: 0 1rem;
    }
    .start-claim-section-no-bg #get-started h1 {
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 3rem;
        max-width: 100%;
    }
    .googlereviews-ratings-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .start-claim-section-no-bg #get-started p {
         max-width: 100%;
    }
    .start-claim-section-no-bg #get-started ul {
        max-width: 100%;
    }

    .start-claim-section-no-bg #get-started ul {
        margin: 0 auto;
        width: max-content;
        max-width: 100%;
    }
    .start-claim-section-no-bg .block--googlereviews {
        display:flex;
        justify-content: center;
    }
    #block-jlg-theme-phonenumber a{
        font-size: 4.5vw;
        max-width: 318px;
    }
    #block-jlg-theme-mainnavigation {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
        margin-top:4rem;
    }
    #block-jlg-theme-mainnavigation ul {
        /*flex-direction: column; /* Stack main nav links vertically */
        gap: 1rem;
        align-items: center;
    }
    #block-jlg-theme-footer{
        padding-right: 0;
    }
    #block-jlg-theme-footer > ul {
        flex-direction: column; /* Stack footer columns vertically */
        gap: 2rem;
        width: 100%;
    }
    #block-jlg-theme-footer > ul > li {
        text-align: center;
    }

    #main-content{
        padding:0;
    }
    
    #contact-message-start-your-claim-form-form {
        padding:0.5rem;
    }

    .meet-our-team{
        padding:0.5rem 0.5rem 5.5rem;
        margin-bottom: 3rem;
    }

    .our-results,
    .recent-wins,
    .attorneys-list-page,
    .meet-our-team .team-card,
    .client-reviews .views_slideshow_slide,
    .client-success .views_slideshow_slide,
    .attorney-main,
    .attorney-bio,
    .location-main,
    .location-headshots .views_slideshow_cycle_teaser_section,
    .how-we-can-help .layout__region .block:nth-child(2)>div>div>div,
    .faq-section .faq-block {
        display:flex;
        flex-wrap: wrap; /* Most flex containers will wrap */
    }
    .views-slideshow-controls-bottom,
    .views-slideshow-controls-bottom ul{
        margin-top:0.5rem;
    }
    .our-results .results-top-3::before,
    .our-results .results-top-3::after {
        display: none; /* Hide dividing lines */
    }
    .attorneys-list-page form {
        flex-direction: column;
    }
    .attorneys-list-page form div:nth-child(1),
    .attorneys-list-page form div:nth-child(2) {
    }
    .attorneys-list-page form div:nth-child(1) label {
        font-size:1rem;
    }
    .attorneys-list-page .views-row {
        flex: 0 0 100%; /* Make list items full width */
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(1) {
        flex: 0 0 30%;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(1) {
        font-size:1.25rem;
        line-height:1.5rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(2),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(3) {
        font-size:1rem;
        line-height:1.25rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6) {
        font-size:1rem;
        line-height:1.25rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4) img, 
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5) img, 
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6) img {
        width:0.75rem;
    }
    
    
    .attorney-main .layout__region--second .block:first-child, .attorney-main .layout__region--second .block:nth-child(2) {
        font-size:2rem;
    }
    .attorney-main .layout__region--second .block:nth-child(3) {
        font-size:1.25rem;
    }
    .attorney-main .layout__region--second .block:nth-child(4) {
        font-size:1rem;
    }
    .attorney-main .layout__region--second .block:nth-child(5) {
        font-size:1.5rem;
        line-height: 2rem;
    }
    .attorney-main .layout__region--second .block:nth-child(6) .block__content>div>div {
        padding:0.5rem;
    }
    .attorney-bio .layout__region--first,
    .attorney-bio .layout__region--second{
        padding:2rem;
    }
    .meet-our-team .team-card .first-col,
    .meet-our-team .team-card .second-col,
    .meet-our-team .team-card .third-col,
    .attorney-main .layout__region--first,
    .attorney-main .layout__region--second,
    .attorney-bio .layout__region--first,
    .attorney-bio .layout__region--second,
    .location-main .layout__region--first,
    .location-main .layout__region--second,
    .how-we-can-help .layout__region .block:nth-child(2) .views-row,
    .faq-section .faq-block header,
    .faq-section .faq-block .views-row {
        flex: 0 0 100% !important;
        margin: 0;
        border-radius:10px;
    }
    .client-reviews .views_slideshow_slide .views-row,
    .client-success .views_slideshow_slide .views-row {
      flex: 0 0 100%;
      margin-bottom: 2rem;
    }
    .location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide {
        flex: 0 0 50%;
    }
    .learn-more .learn-more-block{
        padding:2rem;
    }
    .learn-more .learn-more-block .views-row{
        flex:0 0 100%;
        font-size:1.25rem;
    }
    .meet-our-team .team-card .third-col{
        border:0;
    }
    .about-us {
        padding: 0 1rem;
        margin-top: 0;
    }
    .about-us__container {
        padding: 2rem;
        gap: 1rem;
    }
    .about-us__top,
    .about-us__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-us__top {
        align-items: flex-start;
        gap: 0;
    }
    .about-us__bottom {
        gap: 1rem;
    }
    .about-us__top_right,
    .about-us__top_right div {
        padding-left: 0;
    }
    .about-us__card {
        flex-direction: row;
    }

    .houston-team-card {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }
    .houston-team-card .houston-team-card__photo {
        max-width: 40%;
    }
    .houston-team-card .houston-team-card__member,
    .houston-team-card .houston-team-card__member h3 {
        margin-top: 0;
    }
    .result-info {
        max-width: 50%;
        margin: 0 auto;
    }
    .site-footer .footer-logo {
        width: 75%;
    }
    .googlereviews-ratings-container .reviews-link {
        margin: 0 auto 1rem;
    }
}

/* ADDITIONS FOR MOBILE XS */
/* ---------------------------------- */
@media (max-width: 400px) {
    .desktop-only:not(.layout-builder__layout) {
        display: none;
    }
    .mobile-only:not(.layout-builder__layout) {
        display: block;
    }
    .card {
        flex-direction: column-reverse;
        border-radius: 0;
        margin-right: 0;
        margin-left: 0;
        gap: 1rem;
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    .card .card-image div,
    .card .card-image img {
        height: 393px;
    }
    .card .card-content h1 {
        text-align: center;
    }
    .dialog-off-canvas-main-canvas {
        width: 100%; /* Make the container fluid */
        min-width: unset;
        overflow: hidden;
    }
    .site-header {
        padding: 1rem;
    }
    .site-header,
    .site-footer {
        flex-wrap: wrap; /* Allow header and footer items to stack */
        justify-content: center;
    }
    .site-footer>div{
        justify-content: center;
    }
    .start-claim-section-no-bg {
        flex-direction: column;
        padding: 0 1rem;
    }
    .start-claim-section-no-bg #get-started h1 {
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
        max-width: 100%;
    }
    .googlereviews-ratings-container {
        margin-top: 1rem;
    }
    .start-claim-section-no-bg #get-started p {
        max-width: 100%;
    }
    .start-claim-section-no-bg #get-started ul {
        max-width: 100%;
        margin: 0 auto;
        width: max-content;
    }
    .start-claim-section-no-bg .block--googlereviews {
        display:flex;
        justify-content: center;
    }
    #block-jlg-theme-phonenumber a{
        font-size: 4.5vw;
        max-width: 318px;
    }
    #block-jlg-theme-mainnavigation {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
        margin-top:4rem;
    }
    #block-jlg-theme-mainnavigation ul {
        /*flex-direction: column; /* Stack main nav links vertically */
        gap: 1rem;
        align-items: center;
    }
    #block-jlg-theme-footer{
        padding-right: 0;
    }
    #block-jlg-theme-footer > ul {
        flex-direction: column; /* Stack footer columns vertically */
        gap: 2rem;
        width: 100%;
    }
    #block-jlg-theme-footer > ul > li {
        text-align: center;
    }

    #main-content{
        padding:0;
    }

    #contact-message-start-your-claim-form-form {
        padding:0.5rem;
    }

    .meet-our-team{
        padding:0.5rem 0.5rem 5.5rem;
        margin-bottom: 3rem;
    }

    .our-results,
    .recent-wins,
    .attorneys-list-page,
    .meet-our-team .team-card,
    .client-reviews .views_slideshow_slide,
    .client-success .views_slideshow_slide,
    .attorney-main,
    .attorney-bio,
    .location-main,
    .location-headshots .views_slideshow_cycle_teaser_section,
    .how-we-can-help .layout__region .block:nth-child(2)>div>div>div,
    .faq-section .faq-block {
        display:flex;
        flex-wrap: wrap; /* Most flex containers will wrap */
    }
    .views-slideshow-controls-bottom,
    .views-slideshow-controls-bottom ul{
        margin-top:0.5rem;
    }
    .our-results .results-top-3::before,
    .our-results .results-top-3::after {
        display: none; /* Hide dividing lines */
    }
    .attorneys-list-page form {
        flex-direction: column;
    }
    .attorneys-list-page form div:nth-child(1),
    .attorneys-list-page form div:nth-child(2) {
    }
    .attorneys-list-page form div:nth-child(1) label {
        font-size:1rem;
    }
    .attorneys-list-page .views-row {
        flex: 0 0 100%; /* Make list items full width */
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(1) {
        flex: 0 0 30%;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(1) {
        font-size:1.25rem;
        line-height:1.5rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(2),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(3) {
        font-size:1rem;
        line-height:1.25rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5),
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6) {
        font-size:1rem;
        line-height:1.25rem;
    }
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(4) img,
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(5) img,
    .attorneys-list-page .views-row .headshots a>div:nth-child(2) div:nth-child(6) img {
        width:0.75rem;
    }


    .attorney-main .layout__region--second .block:first-child, .attorney-main .layout__region--second .block:nth-child(2) {
        font-size:2rem;
    }
    .attorney-main .layout__region--second .block:nth-child(3) {
        font-size:1.25rem;
    }
    .attorney-main .layout__region--second .block:nth-child(4) {
        font-size:1rem;
    }
    .attorney-main .layout__region--second .block:nth-child(5) {
        font-size:1.5rem;
        line-height: 2rem;
    }
    .attorney-main .layout__region--second .block:nth-child(6) .block__content>div>div {
        padding:0.5rem;
    }
    .attorney-bio .layout__region--first,
    .attorney-bio .layout__region--second{
        padding:2rem;
    }
    .meet-our-team .team-card .first-col,
    .meet-our-team .team-card .second-col,
    .meet-our-team .team-card .third-col,
    .attorney-main .layout__region--first,
    .attorney-main .layout__region--second,
    .attorney-bio .layout__region--first,
    .attorney-bio .layout__region--second,
    .location-main .layout__region--first,
    .location-main .layout__region--second,
    .how-we-can-help .layout__region .block:nth-child(2) .views-row,
    .faq-section .faq-block header,
    .faq-section .faq-block .views-row {
        flex: 0 0 100% !important;
        margin: 0;
        border-radius:10px;
    }
    .client-reviews .views_slideshow_slide .views-row,
    .client-success .views_slideshow_slide .views-row {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    .location-headshots .views_slideshow_cycle_teaser_section .views_slideshow_slide {
        flex: 0 0 50%;
    }
    .learn-more .learn-more-block{
        padding:2rem;
    }
    .learn-more .learn-more-block .views-row{
        flex:0 0 100%;
        font-size:1.25rem;
    }
    .meet-our-team .team-card .third-col{
        border:0;
    }
    .about-us {
        padding: 0;
        margin-top: 0;
    }
    .about-us__container {
        padding: 2rem 1rem;
        border-radius: 0;
        gap: 1rem;
    }
    .result-info,
    .section-title {
        padding: 0 1rem;
    }
    .about-us__top,
    .about-us__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-us__top {
        align-items: flex-start;
        gap: 0;
    }
    .about-us__container > h2 {
        text-align: center;
        margin-bottom: 0;
    }
    .about-us__bottom {
        gap: 1rem;
    }
    .about-us__top_right,
    .about-us__top_right div{
        padding-left: 0;
    }
    .about-us__card {
        flex-direction: row;
        gap: 1rem;
    }

    .houston-team-card {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 0.5rem;
    }
    .site-footer {
        padding: 3rem 1rem;
    }
    .site-footer .footer-logo {
        width: 80%;
    }
    .googlereviews-ratings-container .reviews-link {
        margin: 0 auto 1rem;
    }
}