@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-rounded/css/uicons-solid-rounded.css');

.attorney-category-hero {
    padding-bottom: 30px;
    position: relative;
}

.attorney-category-hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(17, 18, 22, 0) 0%, rgba(17, 18, 22, 1) 100%);
    z-index: 1;
    bottom: 0;
    left: 0;
}

.blg-highlights-wrapper {
    background: #111216;
    padding: 0 0 26px 0;
    overflow: hidden;
}


.blg-highlights {
    padding: 30px 0;
    background: #9B857A;
    position: relative;
    z-index: 100;
}

@media (max-width: 1367px) {
    .blg-highlights {
        padding: 30px 60px;
    }
}

@media (max-width: 475px) {
    .blg-highlights {
        padding: 30px 20px;
    }

    .blg-highlights__title {
        text-align: center;
    }
}

.blg-highlights:before {
    content: '';
    position: absolute;
    width: 24%;
    left: -22%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background: #9B857A;
    height: 100%;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.blg-highlights:after {
    content: '';
    position: absolute;
    width: 100%;
    right: -100%;
    background: #9B857A;
    height: 100%;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.blg-highlights__title {
    margin: 0 0 10px;
    font-size: 28px;
    color: #121317;
}

.blg-highlights__list {
    margin: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blg-highlights__item {
    display: block;
    margin: 6px 0;
}

.blg-highlights__item a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 18px;
    color: #121317;
}

.blg-highlights__item a i {
    margin-top: 6px;
}

.blg-highlights__item a span {
    text-decoration: underline;
}

.blg-highlights__item a:hover span {
    text-decoration: none;
}

.blg-highlights__item {
    margin: 0 !important;
}

.blg-highlights__item:before {
    display: none;
}

.blg-highlights__item i {
    font-size: 16px;
    line-height: 1;
}

.blg-highlights__quick {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.blg-quick {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.blg-quick__link {
    align-items: center;
    gap: 8px;
    padding: 15px 14px;
    background: rgba(78, 66, 60, 0.70);
    color: #fff;
    text-decoration: none;
    flex-grow: 1;
    justify-content: center;
    gap: 10px;
    text-align: center;
    display: flex;
    font-size: 15px;
    font-weight: 400;
}

@media (min-width: 641px) {
    .blg-quick__link:first-child {
        border-bottom-left-radius: 10px;
    }
    
    .blg-quick__link:last-child {
        border-bottom-right-radius: 10px;
    }
}

.blg-quick__link i {
    font-size: 16px;
}

.blg-quick__link i:before {
    top: 2px;
    position: relative;
}

@media (max-width: 640px) {
    .blg-quick {
        flex-direction: column;
        margin-top: 4px;
    }

    .blg-quick__link {
        width: calc(100% + 3px);
        margin-left: -16px;
    }
}

/* custom CSS */
.custom-highlight h2,
.custom-highlight h3 {
    text-align: center;
}

.custom-highlight--section {
    background: rgba(111, 94, 87, 0.3);
    backdrop-filter: blur(2px);
    position: relative;
    padding: 50px 0 70px 0;
    margin-top: 40px;
}

.category_landing_page_section {
    overflow-x: hidden;
}

.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p) .custom-highlight--section,
.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p) .custom-highlight--section *, 
.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p) .custom-highlight--section p {
    color: #F9F4DB !important;
}

.custom-highlight--section:before,
.custom-highlight--section:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(111, 94, 87, 0.3);
    backdrop-filter: blur(12px);
    top: 0;
    bottom: 0;
}

.category_landing_page_section:not(.dark) .custom-highlight--section {
    background: rgba(155, 133, 122, 0.7);
}

.category_landing_page_section:not(.dark) .custom-highlight--section:before,
.category_landing_page_section:not(.dark) .custom-highlight--section:after {
    width: 120px;
    background: rgba(155, 133, 122, 0.7);
}

.category_landing_page_section:not(.dark) .custom-highlight--section:before {
    left: -120px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.category_landing_page_section:not(.dark) .custom-highlight--section:after {
    right: -120px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.category_landing_page_section:not(.dark) .custom-highlight--section * {
    color: #121317;
}
 
.custom-highlight--section:before {
    left: -100%;
}

.custom-highlight--section:after {
    right: -100%;
}

.custom-highlight--section ul {
    list-style: decimal;
    font-family: Droid Serif, sans-serif;
}

.custom-highlight--section ul ul {
    margin-left: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
}

.custom-highlight--section .grid-column-block {
    margin-top: 60px;
}

@media (min-width: 641px) {
    .custom-highlight--section ul {
        margin: 40px 60px 0 !important;
    }

    .custom-highlight--section ul li:not(:last-child) {
        margin-bottom: 20px;
    }

    .custom-highlight--section .grid-column-block {
        margin: 40px 60px 0 30px;
        padding-left: 30px;
        border-left: 1px solid rgba(139, 119, 107, 0.50);
    }
}

.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p) .custom-highlight--section ul li, 
.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p) .custom-highlight--section .grid-column-block strong {
    color: #D1A38B !important;
}

.custom-highlight--section ul li span {
    font-family: Droid Serif, sans-serif;
}

.custom-highlight--section ul li:before {
    display: none;
}

/* Global styles for layout */
.category_landing_page_section:not(.recent-settlements-section) h3,
.category_landing_page_section:not(.recent-settlements-section) h3 + p:first-of-type {
    text-align: center;
}

.category_landing_page_section:not(.recent-settlements-section) h3 + p:first-of-type {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 60px;
}

.category-landing-page-section-subtitle {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
}

.category_landing_page_section.dark *:not(a):not(.custom-accordion--handler *):not(.custom-accordion--handler):not(.custom-accordion--content p):not(ul li) {
    color: #F9F4DB !important;
}

ul.regular-style {
    list-style: disc;
}

ul.badge-style {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}

.category_landing_page_section .container_inner ul.badge-style li {
    background-color: #9B857A;
    color: #121317;
    padding: 0 16px;
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.dark-bg-no-pattern {
    background-color: #121317;
}

.dark-bg-no-pattern * {
    color: #F9F4DB !important;
}

/* Grid columns layout */
.category_landing_page_section .grid-column-wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.category_landing_page_section .grid-column-wrapper .grid-column-block strong {
    font-family: Droid Serif, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #121317;
    font-size: 20px;
    line-height: 30px;
}

.category_landing_page_section .grid-column-wrapper .grid-column-block ul {
    list-style: disc;
    font-size: 16px;
}

.category_landing_page_section .grid-column-wrapper .grid-column-block ul li:before {
    display: none;
}

@media (max-width: 991px) {
    .category_landing_page_section .grid-column-wrapper {
        flex-wrap: wrap;
    }   
}

/* Card layout */
.card-layout-item {
    background-color: rgba(155, 133, 122, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 30px;
}

.dark .card-layout-item {
    background-color: rgba(111, 94, 87, 0.3);
}

.card-layout-item strong,
.card-layout-item h3 {
    font-family: Droid Serif, sans-serif;
    font-size: 20px;
    line-height: 30px;
    color: #121317;
    text-align: left !important;
    /* font-weight: 500; */
}

.card-layout-item p {
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-bottom: unset !important;
}

.card-layout-item:first-of-type {
    margin-top: 30px;
}

.card-layout-item:not(:last-of-type) {
    margin-bottom: 20px;
}

.card-layout-item a strong {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.card-layout-item a {
    color: inherit;
    text-decoration: underline;
}



#attorneys_team .attorneys_team_thumbs {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    margin-top: 2rem !important;
    gap: 20px;
    height: 100%;
}

#attorneys_team .attorneys_team_thumbs a {
    margin: 0;
}

.page-template-criminal-defense #attorneys_team .attorneys_team_thumbs div {
    height: 100%;
    text-align: center;
}

.book-free-consultation-button--wrapper small {
    color: #E4C1AF !important;
    font-weight: 600;
}

.book-free-consultation-button--wrapper {
    width: fit-content;
    text-align: center;
}