/*
Theme Name:   Unfold 2025 Theme
Description:  Custom WordPress theme built for CallJustice law firm, integrating ACF fields and flexible templates.
Author:       Unfold Agency
Author URI:   https://unfoldagency.com/
Version:      1.0.40
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  unfold2025
Tags:         custom-background, custom-logo, custom-menu, flexible-header, featured-images, full-width-template, translation-ready, accessibility-ready
*/
/* ========================================================================== */
/*  UNFOLD 2025 THEME – GLOBAL STYLESHEET                                     */
/*  Author: Unfold Agency                                                     */
/* ========================================================================== */


/* ========================================================================== */
/* 00. IMPORTS & ROOT VARIABLES                                               */
/* ========================================================================== */
@import url("https://use.typekit.net/drb0bia.css");
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
:root {
  --transition-fast: all 0.15s ease-in-out;
  --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s ease;
}

/* ========================================================================== */
/* 01. GLOBAL RESETS & BASE ELEMENTS                                          */
/*    - html, body                                                            */
/*    - typography base rules                                                 */
/*    - links, lists, images                                                  */
/* ========================================================================== */
html {
    font-size: 15px;
    font-family: var(--wp--preset--font-family--gibson);
    scroll-padding-top: 61px;
    scroll-behavior: smooth;
}
:where(.is-layout-flex) {
    gap: 1em;
}
input, textarea {
    font-family: var(--wp--preset--font-family--gibson);
}
.wp-block-template-part {
    display: flex;
    flex-direction: column;
}
.wp-block-template-part:has(.site-header) {
    display: contents;
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--wp--preset--color--new-blue);
  outline-offset: 2px;
}
/* ========================================================================== */
/* 02. GLOBAL UTILITIES                                                       */
/*    - helper classes                                                        */
/*    - responsive visibility                                                 */
/*    - animation helpers                                                     */
/* ========================================================================== */
.is-hidden {
    display: none !important;
}
.content-cap {
    background-color: var(--wp--preset--color--white);
    position: relative;
    box-shadow: 4px 4px 40px 2px #08487640;
    border-radius: 56px;
    margin: -56px auto;
}
.content-cap.hide-overflow {
    overflow: hidden;
}
.hide-top-cap {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.block-overlap {
    margin-top: -20px;
}
.block-overlap-large {
    transform: translateY(-100px);
    margin-bottom: -100px;
}

.about .has-gradient-background:before {
    height: 155%;
    left: -15px;
    top: -25%;
}

@media (min-width: 768px) {
    .about .has-gradient-background:before {
        height: 200%;
        left: -50px;
        top: -50%;
    }
}

.about .wp-block-image {
    position: relative;
}

.has-gradient-background {
    position: relative;
}
.has-gradient-background:before {
    content: "";
    width: 100%;
    height: 200%;
    position: absolute;
    z-index: 0;
    left: 0;
    top: -50%;
    background-image: url(/wp-content/themes/unfold2025/assets/images/Ellipse%2001.png);
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
}
.has-gradient-background.background-anchor-right:before {
    background-size: 50%;
    background-position: 100% 65%;
    background-image: url(/wp-content/themes/unfold2025/assets/images/Ellipse%2001_right.png);
}
.has-blue-gradient-background {
    overflow: hidden;
}
.has-blue-gradient-background > * {
    position: relative;
    z-index: 1;
}
.has-blue-gradient-background:before {
    content: "";
    width: 100%;
    height: 1631px;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    background-image: url(/wp-content/themes/unfold2025/assets/images/blue_Ellipse%2001.png);
    background-size: 954px 1631px;
    background-position: 0% 65%;
    background-repeat: no-repeat;
}
.has-blue-gradient-background:after {
    content: "";
    width: 100%;
    height: 1943px;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    background-image: url(/wp-content/themes/unfold2025/assets/images/blue_Ellipse%202.png);
    background-size: 1041px 1943px;
    background-position: 100% 65%;
    background-repeat: no-repeat;
}
.underline-animate {
    position: relative;
    display: inline-block;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item {
    padding: .5em 1em;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    padding: 0;
    position: relative;
}
.underline-animate::after,
.wp-block-navigation .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0%;
    background-color: rgba(255,255,255,.8);
    bottom: -4px;
    height: 2px;
    transition: width 0.6s ease-out;
}
.underline-animate::after {
    background-color: var(--wp--preset--color--primary-red);
    height: 8px;
    bottom: -10px;
}
.has-white-color .underline-animate::after {
    background-color: var(--wp--preset--color--white);
}
.wp-block-navigation .wp-block-navigation-item__content {
    position: relative;
}

.underline-animate.is-visible::after,
.wp-block-navigation .wp-block-navigation-item:hover::after,
.wp-block-navigation .wp-block-navigation-item__content:hover::after {
    width: 100%;
}
@media (max-width: 767px) {
    .underline-animate::after {
        bottom: -3px;
        height: 3px;
    }
}

/* Base animation triggers only when .is-visible is present */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
}

.is-visible.animate-in {
    animation: fadeSlideUp 0.8s ease-out forwards;
}

/* Delay modifiers applied on .is-visible */
.is-visible.animate-in.delay-1 {
    animation-delay: 0.15s;
}

.is-visible.animate-in.delay-2 {
    animation-delay: 0.3s;
}

.is-visible.animate-in.delay-3 {
    animation-delay: 0.45s;
}

/* Keyframes */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-words {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
}
h6 .animate-words,
h6.animate-words,
.eyebrow .animate-words,
.eyebrow.animate-words {
    column-gap: 5px;
}
.animate-words.has-text-align-center {
    justify-content: center;
}

.animate-words span {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
    white-space: nowrap;
    transition: opacity .8s ease, transform .8s ease;
}

.animate-words.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

.animate-words.is-visible span:nth-child(1) { transition-delay: 0.1s; }
.animate-words.is-visible span:nth-child(2) { transition-delay: 0.2s; }
.animate-words.is-visible span:nth-child(3) { transition-delay: 0.3s; }
.animate-words.is-visible span:nth-child(4) { transition-delay: 0.4s; }
.animate-words.is-visible span:nth-child(5) { transition-delay: 0.5s; }
.animate-words.is-visible span:nth-child(6) { transition-delay: 0.6s; }
.animate-words.is-visible span:nth-child(7) { transition-delay: 0.7s; }
.animate-words.is-visible span:nth-child(8) { transition-delay: 0.8s; }
.animate-words.is-visible span:nth-child(9) { transition-delay: 0.9s; }
.animate-words.is-visible span:nth-child(10) { transition-delay: 1s; }

/* ========================================================================== */
/* 03. TYPOGRAPHY                                                             */
/*    - heading styles                                                        */
/*    - paragraph defaults                                                    */
/*    - responsive typography overrides                                       */
/* ========================================================================== */
.eyebrow {
    font: 500 20px/22px var(--wp--preset--font-family--gibson);
    text-transform: uppercase;
}
.eyebrow.section-subtitle a {
    color: #989898;
}
.eyebrow.section-subtitle a.animate-words {
    flex-wrap: nowrap;
}
.eyebrow.section-subtitle a:hover {
    color: var(--wp--preset--color--black);
}
.eyebrow.section-subtitle a.is-active {
    color: var(--wp--preset--color--primary-red);
}
h1 {
    line-height: 1.1;
}
.entry-content,
.page-content {
    font-size: 22px;
    color: var(--wp--preset--color--black-40);
}
.page-content ul,
.page-content ol {
    font-size: inherit;
    color: inherit;
}
@media (max-width: 1024px) {
    h1,
    .wp-block-heading.has-h-1-font-size {
        line-height: 1;
    }

    h2,
    .wp-block-heading.has-h-2-font-size {
        line-height: 95%;
    }

    h3,
    .wp-block-heading.has-h-3-font-size {
        line-height: 1.1;
    }

    h4,
    .wp-block-heading.has-h-4-font-size {
        font-size: 24px;
    }

    h6,
    .wp-block-heading.has-h-6-font-size,
    .eyebrow {
        font-size: 14px;
        line-height: 1;
    }

    :root :where(p),
    .page-content ul,
    .page-content ol {
        font-size: 16px;
    }
}

.section-title,
.about-content h2,
.marquee-content h2 {
    font: 700 clamp(52px, 5vw, 72px)/88% var(--wp--preset--font-family--gibson);
    margin: 0;
    text-transform: uppercase;
    color: var(--wp--preset--color--black);
}
.has-white-color .section-title {
    color: var(--wp--preset--color--white);
}
.card-heading {
    font: 700 clamp(24px, 5vw, 38px)/46px var(--wp--preset--font-family--gibson);
    letter-spacing: -0.19px;
}
.list-heading {
    font: 700 clamp(24px, 5vw, 26px)/1 var(--wp--preset--font-family--gibson);
    letter-spacing: 0;
    text-transform: none;
}
.article-title,
.attorney-credentials h3 {
    font: 400 clamp(18px, 5vw, 24px)/30px var(--wp--preset--font-family--gibson);
    text-transform: none;
    letter-spacing: -0.24px;
}
.content-split .list-heading {
    text-transform: uppercase;
}
.about-content p:not(.list-heading) {
    font-weight: 300;
}
@media (max-width: 1024px) {
    .section-title,
    .about-content h2,
    .marquee-content h2 {
        font-size: 40px;
    }
}

/* ========================================================================== */
/* 04. BUTTONS                                                                */
/*    - block editor button styles                                            */
/*    - variations (primary, secondary, round, outline)                       */
/*    - hover & interaction states                                            */
/* ========================================================================== */

a {
    color: var(--wp--preset--color--primary-red);
    text-decoration: none;
    transition: var(--transition-medium);
}
a:hover {
    color: var(--wp--preset--color--primary-red);
}
.wp-block-button.is-style-outline .wp-block-button__link {
    border: 1px solid #ffffff;
}
.wp-block-button.is-style-round,
.wp-block-button.is-style-round-red {
    width: 50px;
    height: 50px;
}
.wp-block-button.is-style-round a,
.wp-block-button.is-style-round-red a {
    padding: 0;
}
.wp-block-button.is-style-round a i,
.wp-block-button.is-style-round-red a i,
.wp-block-button.is-style-round svg,
.wp-block-button.is-style-round-red svg {
    margin: 0;
}
.wp-block-button__link {
    transition: var(--transition-medium);
    display: flex;
    justify-content: center;
    align-items: center;
}
.wp-block-button__link i {
    margin-left: 15px;
}
.wp-block-button__link svg {
    margin-right: 0.5em;
}
.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-red);
    scale: 105%;
}
.is-style-secondary .wp-block-button__link:hover,
.form-box .gform_footer .gform_button:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--new-blue) 70%, black) !important;
    color: var(--wp--preset--color--white);
    scale: 105%;
}
.is-style-round .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--new-blue) !important;
    color: var(--wp--preset--color--white) !important;
    scale: none;
}
.slider-controls button {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider-controls button i {
    margin: 0;
}
.is-style-round-large .wp-block-button__link {
    padding: 0;
    height: 80px;
    width: 80px;
}
.is-style-round-large .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--primary-red) !important;
    scale: none;
}
.accordion li {
    font-size: 16px;
    font-weight: 300;
}
.floating-cta {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 2;
}
@media (max-width: 600px) {
	.floating-cta {
		display: block !important;
		width: 100%;
		right: 0;
		text-align: center;
	}
}
.page-not-found .wp-block-navigation__container {
    align-items: stretch;
}
.page-not-found .wp-block-navigation-item {
    flex: 1 1 auto;
}
.page-not-found .wp-block-navigation-item__content {
    background-color: var(--wp--preset--color--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--wp--preset--font-family--gibson);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 0.667em;
    padding-right: 1.33em;
    padding-bottom: 0.667em;
    padding-left: 1.33em;
    border-radius: 9999px;
    flex: 1 1 auto;
}
.page-not-found .wp-block-navigation-item__content:hover,
#cookie-notice .cn-button:hover  {
    scale: 105%;
}
#cookie-notice .cn-button {
    border-radius: 9999px;
    box-shadow: none;
    border-width: 0;
    padding-top: calc(0.667em + 2px);
    padding-right: calc(1.333em + 2px);
    padding-bottom: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);
    font-family: var(--wp--preset--font-family--gibson);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--wp--preset--color--new-blue);
    color: #ffffff;
    transition: var(--transition-medium);
    flex: 0 0 auto;
}
/* ========================================================================== */
/* 05. ICONS                                                                  */
/*    - icon-size overrides                                                   */
/*    - icon badges                                                           */
/* ========================================================================== */

.icon-frame.round {
    flex-shrink: 0;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    padding: 0;
    justify-content: center;
    align-content: center;
}
.icon-star {
  fill: #e10600;
  width: 30px;
  height: 29px;
}
.icon-phone {
    fill: inherit;
    width: 22px;
    height: 22px;
}
.icon-plus {
    font-size: 32px;
    color: var(--wp--preset--color--primary-red);
}
.icon-facebook {
    width: 11px;
    height: 22px;
}
.icon-linkedin {
    width: 41px;
    height: 41px;
}
.icon-instagram {
    width: 41px;
    height: 41px;
}
.icon-youtube {
    width: 41px;
    height: 41px;
}
.icon-tiktok {
    width: 41px;
    height: 41px;
}
.icon-badge {
    position: relative;
    color: var(--wp--preset--color--primary-red);
}
.icon-badge .icon {
    width: 101px;
    height: 101px;
}
.icon-badge i {
    position: absolute;
    inset: 0;
    color: var(--wp--preset--color--white);
    margin: auto;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    .icon-badge .icon {
        width: 50px;
        height: 50px;
    }
    .icon-badge i {
        font-size: 20px;
    }
}

/* ========================================================================== */
/* 06. FORMS                                                                  */
/*    - inputs, labels                                                        */
/*    - Gravity Forms overrides                                               */
/*    - validation, layout                                                    */
/* ========================================================================== */
.gform-field-label.gfield_label,
.gform-field-label.gform-field-label--type-inline {
    text-transform: uppercase;
    font: 500 16px/22px var(--wp--preset--font-family--gibson);
    letter-spacing: 10%;
}
.form-box.has-primary-red-color .gform-field-label.gfield_label {
    color: var(--wp--preset--color--primary-red);
}
.gform-theme--foundation .gform_fields {
    gap: 20px 0;
}
.form-box.has-new-blue-background-color .gfield_consent_label.gform-field-label {
    font-size: 18px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
}
.form-box.has-new-blue-background-color .gfield_consent_label.gform-field-label,
.form-box.has-new-blue-background-color .gform-field-label.gfield_label,
.form-box.has-new-blue-background-color .gform-field-label.gform-field-label--type-inline {
    color: var(--wp--preset--color--white);
}
.gform_heading, .gfield_required {
    display: none;
}
@media (min-width: 640px) {
    .gfield--width-half+.gfield--width-half {
        margin-left: 16px;
    }
}

.form-box {
    box-shadow: 11px 8px 36px rgba(0, 0, 0,.28);
    background-color: var(--wp--preset--color--new-blue);
    padding: 2em;
    border-radius: 24px;
    position: relative;
}
.form-box form {
    display: flex;
    flex-direction: column;
}
.gform_body input[type]:not(input[type=checkbox]),
.gform_body textarea,
.gform_body .gfield_select {
    width: 100%;
    border: 0;
    border-radius: 5.62px;
    margin: 0 0 1em;
    font-size: 16px;
    padding: 0 15px;
    color: var(--wp--preset--color--black-40);
}
.gform_body input[type].gfield-choice-input:is(input[type="radio"]) {
    padding: 0;
}
.form-box.has-white-background-color .gform_body input[type]:not(input[type=checkbox]),
.form-box.has-white-background-color .gform_body textarea {
    border: 1px solid #C5C5C5;
}
.form-box .gform_validation_errors .gform_submission_error,
.form-box .gform_validation_errors .gform-icon,
.form-box .gfield_validation_message,
.form-box .gfield_description,
.form-box .gform-field-label > .gfield_required {
    font-size: 16px;
}
.form-box.has-new-blue-background-color .gform_validation_errors .gform_submission_error,
.form-box.has-new-blue-background-color .gform_validation_errors .gform-icon,
.form-box.has-new-blue-background-color .gfield_validation_message,
.form-box.has-new-blue-background-color .gfield_description,
.form-box.has-new-blue-background-color .gform-field-label > .gfield_required {
    color: var(--wp--preset--color--white);
}
.form-box .gform_validation_errors {
    border-color: var(--wp--preset--color--white);
}
.input-group {
    display: flex;
    flex-direction: row;
    margin: 0 0 1em;
}
.input-group input {
    margin: 0;
}
.form-box .input-group {
    gap: 1em;
}
.form-box label {
    display: flex;
    flex: 1 1 50%;
}
.form-box .form-actions {
    margin: 1em 0 0;
}
.form-box .form-actions a {
    width: 100%;
}
.form-box .gform_footer .gform_button {
    border: 1px solid var(--wp--preset--color--white) !important;
    text-transform: uppercase !important;
    border-radius: 24px !important;
    background-color: var(--wp--preset--color--new-blue) !important;
}
.form-box p {
    line-height: 0;
    margin: 0;
}
.form-box .form-tag {
    position: absolute;
    top: -8em;
    right: 2em;
}
.form-box textarea {
    resize: vertical;
    min-height: 16em;
}
.floating-form {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 3;
    max-height: 80vh;
    max-width: 650px;
    width: calc(100% - 100px);
    overflow: auto;
}
.form-modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 32px;
	color: white;
	background: none;
	border: 0;
	cursor: pointer;
    z-index: 1;
}
.form-modal .modal__content {
    display: flex;
    border-radius: 32px;
    flex-direction: row;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .form-modal .modal__content {
        max-width: 1280px;
    }
}

.form-modal .modal__close {
    font-size: 0;
    padding: 16px;
    right: 12px;
    top: 12px;
}

@media (min-width: 1024px) {
    .form-modal .modal__close {
        right: 24px;
        top: 24px;
    }
}

.form-modal .form-modal__image {
    display: none;
}

@media (min-width: 1024px) {
    .form-modal .form-modal__image {
        align-items: flex-end;
        background-image: url(/wp-content/themes/unfold2025/assets/images/gradient.webp);
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        padding: 0 35px 24px;
    }
}

.form-modal .form-modal__frame {
    overflow-y: auto;
    padding: 50px 16px 20px;
}

@media (min-width: 1024px) {
    .form-modal .form-modal__frame {
        padding: 140px 64px;
        width: 100%;
    }
}

.form-modal .gf_progressbar_title {
    display: none;
}

.form-modal .gf_progressbar_wrapper {
    margin-block-end: 32px;
}

.form-modal .gf_progressbar {
    background-color: #fce0dd;
}

.form-modal .gform-theme--framework .gf_progressbar .percentbar_blue {
    background-color: var(--wp--preset--color--primary-red);
}

.form-modal form {
    opacity: 1 !important;
}

.form-modal .gform_fields {
    display: block;
    gap: 32px;
}

.form-modal .h3 {
    font-size: 38px;
    font-weight: 500;
}

.form-modal p {
    font-weight: 300;
    margin: 8px 0 0;
}

.form-modal .gfield {
    margin-top: 32px;
}

.form-modal .gform-theme--framework .gfield--type-choice .gfield_checkbox {
    flex-flow: wrap;
    flex-direction: row;
    gap: 16px;
}

.form-modal .gchoice {
    align-items: center;
    border: 1px solid #c5c5c5;
    border-radius: 16px;
    cursor: pointer;
    padding: 16px;
    position: relative;
    transition: all .3s ease-out;
}

.form-modal .gchoice:hover {
    border-color: var(--wp--preset--color--new-blue);

    .gfield-choice-input {
        border-color: var(--wp--preset--color--new-blue);
    }

    .gform-field-label {
        color: var(--wp--preset--color--new-blue);
    }
}

.form-modal .gchoice:has(.gfield-choice-input:checked) {
    border-color: var(--wp--preset--color--new-blue);
}

.form-modal .gchoice .gfield-choice-input {
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    height: 25px;
    width: 25px;
}

.form-modal .gchoice .gfield-choice-input:checked {
    border-color: var(--wp--preset--color--new-blue);
}

.form-modal .gform_body input[type]:not(input[type=checkbox]),
.form-modal .gform_body textarea,
.form-modal .gform_body select {
    border: 1px solid #c5c5c5;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 300;
    height: 60px;
}

.form-modal .gform_body select {
    align-items: center;
}

.form-modal .gform_body input[type="radio"] {
    border-radius: 50% !important;
    height: 25px !important;
    margin: 0 !important;
    padding: 6px !important;
    width: 25px !important;
}

.form-modal .gchoice .gform-field-label {
    font-size: 22px;
    font-weight: 300;
}

.form-modal .gchoice .gfield-choice-input:checked ~ .gform-field-label {
    color: var(--wp--preset--color--new-blue);
}

.form-modal .gfield_label {
    color: #000000;
}

.form-modal .gform-page-footer {
    margin-top: 32px;
}

.form-modal .gform_next_button,
.form-modal .gform_previous_button,
.form-modal .gform_button {
    align-items: center !important;
    border-radius: 24px !important;
    display: flex !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    text-transform: uppercase !important;
    transition: var(--transition-medium) !important;
}

.form-modal .gform_next_button,
.form-modal .gform_button {
    background-color: var(--wp--preset--color--new-blue) !important;
}

.form-modal .gform_previous_button {
    background-color: var(--wp--preset--color--primary-red) !important;
    border: 0 !important;
    color: var(--wp--preset--color--white) !important;
}
.gform_confirmation_message {
    font: 400 18px/24px var(--wp--preset--font-family--gibson);
    text-align: center;
    color: var(--wp--preset--color--black);
}
/* ========================================================================== */
/* 07. LAYOUT: GLOBAL STRUCTURE                                               */
/*    - container                                                             */
/*    - spacing helpers                                                       */
/* ========================================================================== */

.container {
    max-width: var(--wp--style--global--content-size);
    width: 100%;
    margin: auto;
}
.section-content {
    padding: 55px;
    margin: 0;
    column-gap: 50px;
}
section .container {
    gap: 50px;
}
section .section-heading {
    margin: 0;
}
section .section-content {
    padding-top: 0;
    padding-bottom: 0;
}
.banner .section-content {
    padding-top: 110px;
    padding-bottom: 110px;
}
@media (max-width: 1024px) {
    .section-content {
        gap: 25px;
        padding: 30px;
    }
}
@media (max-width: 768px) {
    .section-content,
    .banner .section-content {
        padding: 30px 15px;
    }
    section .container {
        gap: 25px;
    }
}

/* ========================================================================== */
/* 08. HEADER & NAVIGATION                                                    */
/*    - FSE navigation                                                        */
/*    - legacy header integration                                             */
/*    - mobile header                                                         */
/* ========================================================================== */
#cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom) {
    background-color: var(--wp--preset--color--white) !important;
    font: 400 24px/30px var(--wp--preset--font-family--gibson);
    box-shadow: 4px 4px 40px 2px #08487640;
    max-width: 800px;
    min-width: 0;
    left: auto;
    right: 0;
}
#cookie-notice .cookie-notice-container, #cookie-notice .cookie-revoke-container {
    color: var(--wp--preset--color--black) !important;
    display: flex;
    text-align: left;
}
#cookie-notice .cn-buttons-container {
    display: flex;
    align-items: center;
}
#cookie-notice #cn-close-notice {
    display: none;
}

/* ========================================================================== */
/* 09. HERO / BANNER                                                          */
/*    - video background                                                      */
/*    - gradients & overlays                                                  */
/*    - banner content                                                        */
/* ========================================================================== */
.banner {
    position: relative;
    overflow: hidden;
    padding: 0 0 55px;
}
.banner .wp-block-column > figure {
    margin: 0;
    transform: translateY(110px);
    align-self: flex-end;
}
.banner.has-background {
    background-color: black;
}
.banner h6,
.banner .eyebrow {
    color: var(--wp--preset--color--primary-red);
}
.banner.has-background p {
    color: var(--wp--preset--color--white);
    font-weight: 500;
}
.banner .banner-content {
    row-gap: 25px;
}
.banner .align-center .banner-content.is-vertical {
    max-width: 628px;
    z-index: 1;
}
.banner .align-left .banner-content.is-vertical {
    max-width: 1040px;
    z-index: 1;
}
.banner .wp-block-post-date {
    font: 300 18px/1 var(--wp--preset--font-family--gibson);
}
.banner .breadcrumbs {
    padding: 0 50px;
    margin-top: 50px;
    text-transform: uppercase;
    opacity: 0.8;
    font: 600 16px/1 var(--wp--preset--font-family--gibson);
}
.banner .breadcrumbs > * {
    color: inherit;
    padding: 0 10px;
}
.banner .breadcrumbs a {
    text-decoration: underline;
}
.banner .banner-bg-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.banner .banner-bg-slider video {
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: top center;
}
.banner-bg-slider {
    position: relative;
}
.hp-banner {
    position: relative;
    z-index: 1;
    color: #ffffff;
    min-height: 480px;
    max-width: 729px;
    align-content: center;
    gap: 30px;
    margin: 0;
    box-sizing: content-box;
}
.hp-banner p:not(.eyebrow) {
    font-size: 22px;
    line-height: 28px;
    font-weight: 300;
}
.hp-banner > div {
    display: flex;
}
.hp-banner > div:first-child {
    align-items: flex-start;
    justify-content: center;
}
.hp-banner .form-box {
    background-color: rgba(6, 22, 40, .8);
    padding: 2em;
    border-radius: 18px;
    max-width: 600px;
    box-sizing: border-box;
    margin-bottom: 4em;
}
.hp-banner textarea {
    min-height: 4em;
}
.banner-bottom {
    display: flex;
    justify-content: center;
    padding: 55px 0;
}
.banner-bottom h2 {
    /* display: flex; */
    /* flex-direction: column; */
    /* flex-wrap: wrap; */
    justify-content: center;
    margin: 0;
    text-align: center;
    font-size: 63px;
    line-height: 88%;
}
.banner-bottom .container {
    justify-content: center;
}
.bg-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.bg-cover::before {
  content: '';
  position: absolute;
  inset: 0;
    background:
    linear-gradient(to bottom, black 0%, transparent 20%),   /* top fade */
    linear-gradient(to right, black 0%, transparent 25%),    /* left fade */
    linear-gradient(to left, black 0%, transparent 25%);     /* right fade */
  z-index: 2;
  pointer-events: none;
}
.bg-cover iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 1024px) {
    .banner .breadcrumbs {
        padding: 0 30px;
    }
}
@media (max-width: 768px) {
    .banner .breadcrumbs {
        padding: 0 15px;
    }
    .wp-block-post-content iframe {
        width: 100%;
    }
    .hp-banner {
        padding-bottom: 155px;
        min-height: 0;
        gap: 20px;
    }
    .banner p {
        font-size: 16px;
        line-height: 1;
    }
    .banner-bottom {
        padding: 30px 0;
    }
    .banner-bottom h2 {
        font-size: 24px;
        line-height: 95%;
        padding: 35px;
    }
    .banner .wp-block-column > figure {
        transform: translateY(30px);
    }
    .banner .form-box {
        margin-top: 8em;
    }
}

/* ========================================================================== */
/* 10. HOME SECTIONS                                                          */
/*    10.1 Stats Section                                                      */
/*    10.2 Practice Areas                                                     */
/*    10.3 Attorneys                                                          */
/*    10.4 Testimonials                                                       */
/*    10.5 Locations                                                          */
/*    10.6 Newsletter                                                         */
/*    10.7 About Section                                                      */
/* ========================================================================== */


/* ========================================================================== */
/* 11. MARQUEE                                                                */
/*    - marquee wrappers                                                      */
/*    - marquee row / animation                                               */
/* ========================================================================== */


/* ========================================================================== */
/* 12. MEDIA BLOCKS                                                           */
/*    - video blocks                                                          */
/*    - image blocks                                                          */
/* ========================================================================== */
.video-carousel {
    display: flex;
    gap: 0;
    width: 100%;
}
.video-block {
    border-radius: 24px;
    position: relative;
    width: 424px;
    height: 402px;
    box-shadow: 11px 8px 36px rgba(0, 0, 0, .28);
    overflow: hidden;
}
.video-block figure:before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.video-block figure {
    position: relative;
    z-index: 0;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    margin: 0;
    transition: var(--transition-medium);
}
.video-block figure img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.video-block figure:hover {
    scale: 105%;
}
.video-block .video-data {
    position: absolute;
    left: 25px;
    bottom: 25px;
    z-index: 2;
}
.video-block .video-controls .icon {
    width: 50%;
    height: 50%;
}
.video-block p {
    font-size: 24px;
    line-height: 31px;
    letter-spacing: -0.24px;
    color: var(--wp--preset--color--white);
}

.data-card {
    z-index: 3;
    background-color: var(--wp--preset--color--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 2px 4px 7px 0px #08487640;
    align-self: stretch;
    height: 100%;
}
.data-card.video-card {
    padding: 0;
    position: relative;
    overflow: hidden;
}
a.data-card {
    transition: var(--transition-medium);
}
a.data-card:hover {
    scale: 105%;
}
.data-card .list-heading {
    color: var(--wp--preset--color--black);
    margin: 0;
}
.data-card p:not(.list-heading) {
    font-size: 22px;
    line-height: 28px;
    font-weight: 300;
    margin: 10px 0 0;
}

.data-card > .icon-quote {
    font-size: 68px;
    color: var(--wp--preset--color--primary-red);
    margin: 0 0 20px;
}
.data-card.video-card > .icon-quote {
    position: absolute;
    top: 30px;
    left: 30px;
}
.data-card.video-card > figure {
    margin: 0;
    height: 100%;
}
.data-card.video-card > figure img {
    object-fit: cover;
    height: 100%;
}
.data-card.video-card .video-controls {
    position: absolute;
    inset: 0;
    justify-content: center;
}
.data-card.video-card .video-controls .wp-block-button {
    width: 80px;
    height: 80px;
}
.data-card.video-card .video-controls .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--primary-red) !important;
}
.data-card.video-card .video-controls .icon {
    width: 30px;
}
.data-card .icon-arrow {
    font-size: 33px;
    color: var(--wp--preset--color--primary-red);
}
@media (max-width: 768px) {
    .data-card {
        padding: 15px;
    }
    .data-card p {
        font-size: 16px;
        line-height: 1;
    }
}
/* .image-card figure {
    border-radius: 56px 56px 16px 16px;
    overflow: hidden;
    height: 320px;
}
.image-card figure img {
    object-fit: cover;
    object-position: 100% 60%;
} */
.sticky-track {
    position: relative;
}
.evaluation-cta {
    position: sticky;
	bottom: 0;
	z-index: 99;
    padding: 50px;
    gap: 24px;
    border-radius: 24px;
}
.evaluation-cta .tag {
    position: absolute;
    top: -40%;
    left: -15px;
    width: 108px;
    height: auto;
}
.evaluation-cta h2 {
    margin: 0 auto;
}

.icon-block {
    height: auto;
    box-sizing: border-box;
    border-radius: 16px;
    position: relative;
    transition: var(--transition-medium);
}
.icon-block:hover {
    scale: 105%;
}
.icon-block .wp-block-group.is-vertical {
    gap: 0;
}
.icon-block .icon {
    display: flex;
    height: 34px;
    width: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.icon-block h3 {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
}
.icon-block p:not(.list-heading) {
    font-size: 18px;
    font-weight: 300;
    color: var(--wp--preset--color--secondary-text);
}
.icon-block .arrow-right {
    position: absolute;
    bottom: 1em;
    right: 1em;
    height: 37px;
    width: 37px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion {
    gap: 0;
    border: 2px solid var(--wp--preset--color--white);
}
a.accordion:hover {
    scale: 100%;
    border: 2px solid var(--wp--preset--color--primary-red);
}
.accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
/* open state */
.accordion.is-open .accordion-content {
  max-height: 1000px; /* big enough to fit content */
}
.accordion-content ul {
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    flex-grow: 1;
}
.accordion-content li {
    flex-shrink: 0;
    flex-basis: calc(33.34% - 20px);
    color: var(--wp--preset--color--black);
}

.about-content .wp-block-image {
    margin: 0;
}

.practice-stats,
.attorney-locations {
    padding-top: 80px;
    padding-bottom: 80px;
}
.attorney-locations .location-areas {
    gap: 20px;
}
.block-overlap-large .practice-stats {
    padding-top: 0;
    padding-bottom: 0;
}
.practice-groups .section-content {
    row-gap: 30px;
}
.practice-carousel .keen-slider {
    padding: 15px 0;
    gap: 0;
}
.practice-carousel .data-card {
    flex-basis: 25%;
    height: auto;
}
.legal-matters .section-heading {
    margin-bottom: 0;
}
.location-list--row {
    padding: 200px 0;
}
.location-list figure {
    margin: 0;
    height: 320px;
    overflow: hidden;
    border-radius: 56px 56px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 4px 4px 40px 2px #08487640;
}
.location-list .section-content {
    gap: 88px 25px;
    align-items: flex-start;
}
.location-list--row .section-content {
    gap: 80px;
}
.location-item {
    flex: 1 0 100%;
}
@media (min-width: 1024px) {
    .location-list--row .location-item {
        flex: 1 1 0;
    }
}
.location-list:not(.location-list--row ) .location-item:nth-child(n+3) {
    flex-basis: calc(50% - 25px);
}
.location-item img {
    object-fit: cover;
    object-position: 100% 80%;
    width: 100%;
    height: 100%;
}
.location-item .list-heading {
    text-transform: uppercase;
}

.stats-row {
    flex-basis: 100%;
    gap: clamp(20px, 4.5vw, 120px);
    flex-wrap: nowrap;
    align-items: flex-start;
}
.stats-row .wp-block-group {
    flex: 1 1 calc(25%);
}
.stats-row h3 {
    font-size: clamp(48px, 4.5vw, 84px);
    margin: 0;
    font-style: italic;
    line-height: 1;
    color: var(--wp--preset--color--primary-red);
}
.stats-row h3 small {
    font-size: 30px;
}
.stats-row h3 span.subtext {
    display: block;
    font-size: 22px;
    font-style: normal;
    text-transform: none;
    line-height: 28px;
    font-weight: 300;
    color: var(--wp--preset--color--secondary-text);
}
.section-content.attorney-grid {
    padding-left: 180px;
    padding-right: 180px;
    justify-content: center;
}
.section-content.attorney-grid .attorney {
    flex-basis: 294px;
}
.attorney-detail {
    gap: 0;
}
.attorney-content h2 {
    text-transform: none;
}
.attorney-detail .wp-block-image.profile-image {
    margin: 0;
}
.attorney-detail .wp-block-image.profile-image,
.attorney-detail .wp-block-image.profile-image img {
    width: 100%;
}
.attorney-detail .wp-block-group.overview {
    gap: 0;
    align-self: stretch;
    align-items: stretch;
    flex: 1 1 33%;
}
.attorney-detail .wp-block-group.overview + .wp-block-group{
    flex: 1 0 67%;
}
.attorney-detail .wp-block-group.overview-content {
    flex-grow: 1;
}
.attorney-detail .attorney-content {
    max-width: 800px;
    font-size: 22px;
    color: var(--wp--preset--color--black-40);
}
.attorney-detail .attorney-credentials h3 {
    border-top: 1px solid var(--wp--preset--color--black-70);
    padding-top: 25px;
    margin: 0;
}
.attorney-detail .attorney-credentials ul {
    margin: 25px 0;
}
.trust-badges {
    gap: 50px;
}
.trust-badges figure {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
}
.highlight-badges p:not(.list-heading) {
    margin: 0;
}
.highlight-badges .item {
    gap: 8px;
}
.highlight-badges figure {
    display: flex;
    max-height: 100%;
    padding-top: 4px;
    width: 32px;
}
.highlight-badges figure img {
    object-fit: contain;
}
.tabbed-module {
    padding-top: 50px;
}
.tabbed-block {
    border: 1px solid var(--wp--preset--color--black-80);
    border-radius: 48px;
    padding: 50px;
    overflow: hidden;
    position: relative;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 672px;
}
.tabbed-block .wp-block-column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.tabbed-block .background-img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 250px;
    left: 50%;
    position: absolute;
    top: 25px;
    transform: translateX(-50%);
    width: 250px;
    z-index: 1;
}
@media (min-width: 768px) {
    .tabbed-block .background-img {
        top: 0;
    }
}
.tabbed-block.tab-style-blue {
    background-image: url(/wp-content/themes/unfold2025/assets/images/carousel-blue-bg.png);
}
.tabbed-block.tab-style-red {
    background-image: url(/wp-content/themes/unfold2025/assets/images/carousel-red-bg.png);
}
.tabbed-block .nav {
    position: relative;
    z-index: 2;
    list-style: none;
    font: 500 20px/22px var(--wp--preset--font-family--gibson);
    padding: 0;
    margin: 0;
}
.tabbed-block .nav li {
    border-top: 2px solid var(--wp--preset--color--new-blue);
    height: 75px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.tabbed-block .nav a {
    color: var(--wp--preset--color--black-40);
}
.tabbed-block .nav a.active {
    color: var(--wp--preset--color--primary-red);
}
.tabbed-block .nav li:first-child {
    border-top: 0;
}
.career-listing .view-listing {
    font: 600 16px/1 var(--wp--preset--font-family--gibson);
    color: var(--wp--preset--color--primary-red);
    text-transform: uppercase;
}
.careers-videos .video-carousel {
    padding: 100px 0 150px;
}
.careers-videos .video-carousel .video-block {
    height: 232px;
    min-width: 196px;
    max-width: 196px;
}
.careers-videos .video-carousel .video-block:nth-child(odd) {
    top: 96px;
}
@media (min-width: 1024px) {
    .careers-videos .video-carousel .video-block {
        height: 503px;
        min-width: 424px;
        max-width: 424px;
    }
}
.careers-videos .section-content {
    padding-top: 0;
}
.careers-videos .wp-block-social-links {
    gap: 24px;
    margin-top: 0;
}
.careers-videos .wp-social-link {
    box-shadow: 4px 4px 40px 2px rgba(8, 72, 118, 0.25);
}
.know-right-rights .video-carousel {
    overflow: hidden;
}
.quote-block {
    padding: 100px 0;
}
.quote-block .section-content {
    max-width: 710px;
    box-sizing: content-box;
}
.logo-card {
    padding: 50px;
}
.logo-card .data-card {
    padding: 50px;
}
.blog-header {
    margin-top: 80px;
}
.blog-header .section-heading {
    align-items: stretch;
}
.posts-featured {
    padding: 100px 0;
}
.posts-featured .section-content {
    position: relative;
    padding: 0 150px;
}
.posts-featured .section-content .wp-block-query {
    z-index: 1;
    position: relative;
}
.posts-featured .slider-controls {
    position: absolute;
    z-index: 0;
    inset: 55px;
    display: flex;
    justify-content: space-between;
}
.posts-featured li {
    display: flex;
    justify-content: stretch;
}
.posts-featured li .wp-block-columns {
    margin: 0;
}
.posts-featured li .wp-block-column {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.posts-featured li figure {
    flex: 1 0 auto;
    margin: 0;
}
.posts-featured li figure img {
    height: 100%;
    object-fit: cover;
}
.posts-featured .wp-block-post-title {
    margin: 0;
    text-transform: none;
    font-weight: 600;
    line-height: 1;
}
.posts-featured .wp-block-post-title a {
    color: var(--wp--preset--color--black);
}
.wp-block-categories .wp-block-categories__label {
    font: 500 14px/22px var(--wp--preset--font-family--gibson);
    text-transform: uppercase;
    letter-spacing: 10%;
    margin-bottom: 15px;
}
.wp-block-categories-dropdown select {
    font: 300 18px/1 var(--wp--preset--font-family--gibson);
    border: 1px solid #EAECF0;
    height: 43px;
    padding: 0 15px;
    border-radius: 16px;
    background: none;
}
.wp-block-search__inside-wrapper .wp-block-search__input {
    border: 1px solid var(--Secondary-Grey, #454545);
    border-radius: 16px;
    padding: 0 15px;
}
.wp-block-search__button {
    border: 2px solid var(--wp--preset--color--blue-30);
    color: var(--wp--preset--color--blue-30);
    background: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    margin-left: 25px;
}
.blog-filter {
    padding-top: 15px;
}
.posts-grid .wp-block-post {
    display: flex;
}
.wp-block-post:not(.has-post-thumbnail) .post-card:before,
.wp-block-post:not(.has-post-thumbnail) .featured-image:before {
    content: "";
    height: 245px;
    display: flex;
    background-image: url(/wp-content/themes/unfold2025/assets/images/post_default.svg);
    background-size: cover;
}
.wp-block-post:not(.has-post-thumbnail) .featured-image:before {
    height: 100%;
}
.post-card {
    border-radius: 24px;
    box-shadow: 0px 4px 40px 0px #08487626;
    overflow: hidden;
    flex: 1 1 auto;
}
.post-card figure {
    margin: 0;
    height: 245px;
}
.post-card figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.post-card .post-content {
    padding: 25px;
}
.post-card h2 {
    font: 600 24px/30px var(--wp--preset--font-family--gibson);
    color: var(--wp--preset--color--black);
    text-transform: none;
    margin: 0;
}
.post-card h2 a {
    color: inherit;
}
.post-card .wp-block-post-excerpt,
.posts-featured .wp-block-post-excerpt {
    padding: 15px 0;
}
.post-card .wp-block-post-excerpt__excerpt,
.post-card .wp-block-post-author-name {
    font: 300 18px/1 var(--wp--preset--font-family--gibson);
}
.post-card .post-meta,
.posts-featured .post-meta {
    gap: 0;
    margin-top: 10px;
}
.post-card .wp-block-post-date,
.post-card .wp-block-post-time-to-read {
    font: 300 14px/1 var(--wp--preset--font-family--gibson);
    color: var(--wp--preset--color--secondary-text);
}
.post-card .wp-block-post-time-to-read::before,
.posts-featured .wp-block-post-time-to-read::before {
	content: "•";
	margin: 0 10px;
}
.wp-block-post-terms {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.wp-block-post-terms span {
    display: none;
}
.wp-block-post-terms a {
    font: 500 14px/22px var(--wp--preset--font-family--gibson);
    text-transform: uppercase;
    border: 1px solid var(--wp--preset--color--primary-red);
    display: flex;
    height: 34px;
    border-radius: 17px;
    padding: 0 10px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.banner .wp-block-post-terms a {
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--primary-red);
}
.wp-block-post-terms a:hover {
    scale: 105%;
}
.block-modal-trigger {
    cursor: pointer;
}
.block-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.block-modal.is-open {
	display: block;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.8);
}

.modal__content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	margin: 5vh auto;
	background: var(--wp--preset--color--white);
}
.video-modal .modal__content {
	background: #000;
}

.video-modal__frame {
	position: relative;
	padding-top: 56.25%; /* 16:9 */
}

.video-modal__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.modal__close {
	position: absolute;
	top: -40px;
	right: 0;
	font-size: 32px;
	color: white;
	background: none;
	border: 0;
	cursor: pointer;
}
@media (max-width: 768px) {
    .attorney-detail .attorney-content {
        font-size: 16px;
    }
    .evaluation-cta {
        padding: 25px;
    }
    .stats-row {
        padding: 35px;
        gap: 20px 0;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .stats-row.data-card {
        padding: 15px;
    }
    .stats-row > .wp-block-group {
        flex-basis: 50%;
    }
    .stats-row h3 {
        font-size: 48px;
    }
    .stats-row h3 span.subtext {
        font-size: 16px;
        line-height: 1;
    }
    .practice-stats,
    .attorney-locations {
        padding: 40px 0;
    }
    .section-content.attorney-grid {
        padding-left: 15px;
        padding-right: 15px;
    }
    .tabbed-block {
        height: auto;
        padding: 300px 25px 25px;
    }
    .tabbed-block .wp-block-column {
        position: static;
    }
    .posts-featured {
        padding: 80px 0;
    }
    .posts-featured .slider-controls {
        position: static;
        justify-content: center;
        margin-top: 15px;
    }
    .posts-featured .section-content {
        padding: 0 15px;
    }
    .logo-card,
    .logo-card .data-card {
        padding: 15px;
    }
	.accordion-content ul {
        padding: 15px 0 0 20px;
        column-gap: 15px;
    }
    .accordion-content li {
        flex-basis: calc(50% - 15px);
    }
}
/* ========================================================================== */
/* 13. FOOTER                                                                 */
/*    - footer columns                                                        */
/*    - navigation                                                            */
/*    - copyright                                                             */
/* ========================================================================== */

.footer {
    background-color: var(--wp--preset--color--primary-red);
    color: #ffffff;
    padding: 4em 50px 90px;
}
.footer-columns {
    gap: 50px;
    border-bottom: 1px solid rgba(255,255,255, .5);
    padding: 50px 0;
}
.footer-columns>div{
	max-width: 424px;
}
.footer-heading {
    padding: 20px 0;
    margin: 0 0 20px;
    position: relative;
    font-weight: 500;
    font-size: 12px;
}
.footer-heading:after {
    content: "";
    width: 60px;
    border-bottom: 1px solid var(--wp--preset--color--white);
    position: absolute;
    bottom: 0;
    left: 0;
}
@media (min-width: 768px) {
    .footer-heading {
        font-size: 16px;
        font-weight: 600;
    }
}
.footer .custom-logo-link {
    text-align: center;
    width: 100%;
}
.footer .wp-block-column {
    flex-grow: 0;
    flex-basis: 25%;
}
.footer-logos {
    justify-content: center;
    margin: 20px 0;
}
.footer-logos .wp-block-image,
.footer-logos .wp-block-image a {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
}
.footer-logos .wp-block-image,
.footer-logos .wp-block-image img {
    height: auto;
    width: auto;
}
.footer .social-btns .wp-block-button__link {
    border: none;
}
.footer .icon {
    color: var(--wp--preset--color--black);
}
.footer .wp-block-navigation__container {
    gap: 16px;
}
.footer .wp-block-navigation__container {
    columns: 2 150px;
    display: block;

    .wp-block-navigation-item__content {
        margin-bottom: 16px;
    }

    .underline-animate::after,
    .wp-block-navigation-item::after {
        content: none;
    }
}
.footer .wp-block-navigation-submenu {
    display: block;
    margin-bottom: 0;
}
.footer .wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    color: var(--wp--preset--color--white);
    padding: 0 0 16px;
}
.footer .wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover {
    color: rgba(255,255,255,.8);
}
.footer .wp-block-navigation__submenu-icon {
    display: none;
}
.footer .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    background-color: transparent;
    border: none;
    height: auto;
    left: 0;
    min-width: 0;
    opacity: 1;
    overflow: initial;
    position: static;
    top: 0;
    visibility: visible;
    width: auto
}
.footer .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    min-width: 0;
}
.footer .location-title {
    font-size: 14px;
    font-weight: 600;
}
.footer .location,
.footer .disclaimer {
    font-size: 14px;
    font-weight: 300;
}
.footer .copyright,
.footer .terms {
    font-size: 16px;
    font-weight: 300;
}
@media (min-width: 768px) {
    .footer .location-title {
        font-size: 16px;
    }
    .footer .location,
    .footer .disclaimer,
    .footer .copyright,
    .footer .terms {
        font-size: 18px;
    }
}
.footer .wp-block-navigation__container {
    flex-direction: column;
    align-items: flex-start;
}
.footer .wp-block-navigation .wp-block-navigation-item {
    align-items: flex-start;
}
@media (max-width: 768px) {
    .footer .wp-block-navigation .wp-block-navigation-item {
        font-size: 14px;
    }
    .footer-copyright {
	    flex-direction: column;
    }
}
.footer h3 {
    font-size: calc(1.5882352941 * var(--wp--preset--font-size--small));
    text-transform: uppercase;
    font-weight: 600;
}
.footer .gform_body input[type]:not(input[type="checkbox"]) {
    margin: 0;
    background-color: transparent;
    color: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--white);
}
.footer .gform_body  input[type]:not(input[type="checkbox"]).gform-button {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--primary-red);
    border: 1px solid var(--wp--preset--color--white);
    border-radius: 8px;
}
.footer .gform_body  input[type]:not(input[type="checkbox"]).gform-button:hover {
    scale: 105%;
}
.footer .gform-footer {
    display: none;
}
.footer-copyright {
    padding: 15px 0;
}
@media (max-width: 1024px) {
    .footer {
        padding: 55px 15px 90px;
    }
    .footer-columns {
        gap: 30px;
        border: 0;
    }
    .footer-heading {
        padding: 5px 0;
    }
    .social-btns {
        justify-content: space-between;
    }
}
.footer-bottom {
    padding: 1em;
    border-top: 1px solid white;
}

/* ========================================================================== */
/* 14. RESPONSIVE BREAKPOINTS                                                 */
/*    - tablet                                                                */
/*    - mobile                                                                */
/* ========================================================================== */


/* Utilities */
/* Hide on mobile */
.hide-mobile {
    display: none !important;
}
/* Hide on desktop */
.hide-desktop {
    display: inherit !important;
}
@media (min-width: 768px) {
    .hide-mobile {
        display: inherit !important;
    }
    .hide-desktop {
        display: none !important;
    }
}

/* .wp-block-button.is-style-secondary .wp-block-button__link {
  background-color: var(--wp--preset--color--secondary-button-bg);
  color: var(--wp--preset--color--secondary-button-text);
} */
.site-header {
    display: flex;
    height: auto;
    padding: 10px 15px;
    color: #ffffff;
    align-content: center;
    justify-content: center;
    box-shadow: 13px 4px 33px rgba(0, 0, 0,.28);
    position: sticky;
    top: 0;
    z-index: 100;
}
.custom-logo-link {
    height: auto;
    width: 143px;
}
@media (min-width: 1024px) {
    .site-header {
        height: 107px;
        padding: 0px 16px;
    }
    html {
	    scroll-padding-top: 107px;
    }
}
@media (min-width: 1280px) {
    .site-header {
        padding: 0px 32px;
    }
    .custom-logo-link {
        height: auto;
        width: 215px;
    }
}
.site-header > .wp-block-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}
.site-header .nav-wrapper {
    padding: 6px 0;
}

@media (min-width: 1024px) {
    .site-header .nav-wrapper .wp-block-buttons {
        display: flex;
    }
}
.wp-block-navigation__responsive-container-open:has(+ .is-menu-open) {
    display: none !important;
}
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }
}
@media (min-width: 1024px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }
}
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        bottom: 0;
        display: none;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }
}
@media (min-width: 1024px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        background-color: inherit;
        display: block;
        position: relative;
        width: 100%;
        z-index: auto;
    }
}
.site-header .wp-block-navigation__responsive-container.is-menu-open {
    background-color: transparent !important;
    height: 100%;
    overflow: unset !important;
    top: -5px;
    transform: translateY(25px) !important;
    z-index: 100;

    .wp-block-navigation__responsive-close,
    .wp-block-navigation__responsive-dialog {
        height: 100%;
    }

    .wp-block-navigation__responsive-container-close {
        background-color: var(--wp--preset--color--primary-red);
        right: 16px;
        top: -41px;
    }

    .wp-block-navigation__responsive-container-content {
        background-color: var(--wp--preset--color--primary-red);
        height: 100%;
        margin-top: 40px;
        min-height: calc(100vh - 40px);
        overflow-y: auto;
        padding: 0px 16px !important;
        justify-content: stretch;
        align-items: stretch;
    }

    .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
        padding-left: 0;
        padding-right: 0;
        padding-top: 28px;
    }
    .wp-block-navigation__responsive-container-content .wp-block-button {
        display: flex;
        flex: 1 1 100%;
    }
    .wp-block-navigation__responsive-container-content {
        display: flex;
        flex-direction: column;
    }
    .wp-block-navigation__container {
        gap: 28px;
        padding-top: 40px;
        flex: 1 1 auto;
        display: flex;
    }

.wp-block-navigation__submenu-container {
    gap: 28px;
    padding-left: 0;
    padding-right: 0;
}

.wp-block-navigation-item__content {
    font-size: 24px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    padding: 0;
    }

    .wp-block-buttons {
        margin-bottom: 130px;
    }
}
.site-header .wp-block-navigation-item__content {
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-medium);
}
.site-header .wp-block-navigation-item__content:hover,
.footer .wp-block-navigation-item__content:hover,
.footer .terms a:hover {
    color: rgba(255,255,255,.8);
}
.site-header .site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    color: var(--wp--preset--color--white);
}
.site-header .wp-block-navigation__submenu-container {
    .underline-animate::after,
    .wp-block-navigation-item::after {
        content: none;
    }
}
.site-nav {
    text-transform: uppercase;
}
@media (min-width: 1280px) {
    .site-nav {
        gap: 2em;
    }
}
@media (min-width: 1024px) {
    .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
        background-color: var(--wp--preset--color--primary-red);
    }
}
.wp-block-navigation .wp-block-navigation-item {
    font-size: 16px;
    font-weight: 600;
}

.icon-group {
    display: flex;
}
.icon-group img {
    margin-right: 1em;
}
.practice-areas {
    padding: 80px 50px;
}
.hp-practice-areas {
    padding: 70px 65px;
    border-radius: 48px;
    gap: 30px;
}
.hp-practice-areas > .wp-block-group {
    margin-top: 40px;
    column-gap: 50px;
}
.hp-practice-areas > .wp-block-group .eyebrow {
    font-weight: 600;
    font-size: 22px;
    border: 2px solid var(--wp--preset--color--primary-red);
    border-width: 0 0 2px 0;
    padding: 0 0 10px;
    width: 100%;
}
.hp-practice-areas > .wp-block-group > .wp-block-group {
    flex-basis: calc(50% - 50px);
    gap: 0;
    align-items: stretch;
}
.wp-block-list.checklist {
    padding: 0;
    list-style: none;
    column-gap: 2rem;
}
.practice-groups .wp-block-list.checklist,
.practice-areas .wp-block-list.checklist {
    columns: 2;
    column-gap: 2rem;
}
.wp-block-list.checklist.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}
.wp-block-list.checklist li {
    padding: .5rem 0;
    position: relative;
    font-size: 22px;
    font-weight: 300;
    color: var(--wp--preset--color--black-40);
    line-height: 28px;
    display: flex;
    align-content: center;
    gap: 15px;
}
.wp-block-list.checklist.horizontal li {
    flex-basis: 25%;
    flex-shrink: 0;
    box-sizing: border-box;
}
.wp-block-list.checklist li:before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f00c"; /* gavel */
    color: var(--wp--preset--color--primary-red);
    align-items: center;
    display: flex;
}
.hp-practice-areas-footer {
    display: flex;
    margin: 2.6667em 0 0;
    justify-content: center;
}
.hp-practice-areas-footer a {
    font-size: var(--wp--preset--font-size--medium);
}
.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.94em;
    flex-wrap: wrap;
    padding: 3em;
}
.practice-areas-grid .wp-block-column {
  flex: 1 1 calc(33.33% - 2.94em); /* three columns with spacing */
  /* max-width: calc(33.33% - 2.94em); */
}

@media (max-width: 768px) {
    .hp-practice-areas > .wp-block-group > .wp-block-group {
        flex-basis: auto;
    }
    .practice-areas {
        padding: 80px 15px;
    }
    .hp-practice-areas {
        padding: 50px 15px;
    }
    .hp-practice-areas .wp-block-list {
        display: flex;
        flex-wrap: wrap;
        column-gap: 1rem;
    }
    .hp-practice-areas .wp-block-list li {
        font-size: 16px;
        line-height: 1;
        flex-basis: calc(50% - 1rem);
        box-sizing: border-box;
        padding: 0.667rem 1.334rem;
    }
    .wp-block-list.checklist li {
        font-size: 16px;
        line-height: 1;
        padding: .25rem 0;
        gap: 5px;
    }
    .practice-groups .wp-block-list.checklist,
    .practice-areas .wp-block-list.checklist {
        column-gap: 1rem;
    }
}

.results,
.reviews,
.has-textured-blue-background {
    padding: 88px 0;
    position: relative;
    z-index: 1;
}
.reviews .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.reviews h2 {
    margin: 0;
}
.hp-reviews {
    gap: 2.94em;
    margin: 0;
    padding: 0 50px;
}
.section-heading {
    margin-bottom: 88px;
    padding: 0 50px;
}
.heading-nav {
    margin-bottom: 30px;
}
.logo-section {
    padding: 75px 0 125px;
}
.logo-carousel {
    position: relative;
    z-index: 2;
}
.logo-row.logo-grid {
    margin: 0;
}
.logo-row > .wp-block-image,
.logo-row > a {
    height: 118px;
    display: flex;
    align-content: center;
    justify-content: center;
    min-width: 0;
    flex: 0 0 auto;
}
.logo-row.logo-grid > a {
    flex: 0 0 calc(20% - 50px); /* equal width containers */
}
.logo-row img {
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.logo-carousel .slider-controls {
    margin-top: 20px;
}
.attorneys {
    padding: 7em 0;
}
.hp-attorneys-header {
    gap: 2.94em;
}
.hp-attorneys-header .wp-block-column {
  flex: 1 1 calc(50% - 2.94em); /* three columns with spacing */
  max-width: calc(50%);
}
.hp-attorneys {
    gap: 50px;
    margin: 3em;
    padding: 0 50px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .attorneys {
        padding: 0;
    }
    .hp-attorneys,
    .section-heading,
    .hp-reviews {
        gap: 15px;
        margin: 0;
        padding: 0 15px;
    }
    .reviews .container {
        row-gap: 25px;
    }
    .logo-row.logo-grid > a {
        flex-basis: calc(50% - 15px);
    }
}
.hp-attorneys .slider-wrapper {
    width: 100%;
}
.hp-attorneys .your-attorneys {
    gap: 0;
    flex-basis: 100%;
}
.hp-attorneys .your-attorneys .attorney {
    text-align: left;
}
.hp-attorneys .wp-block-column {
  flex: 1 1 calc(33.33% - 2.94em); /* three columns with spacing */
  max-width: calc(33.33%);
}

.hp-attorneys-header h2 {
    font-size: calc(1.8 * var(--wp--preset--font-size--large));
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.hp-attorneys-header p {
    font-size: calc(1.4705882353 * var(--wp--preset--font-size--small));
}
.hp-attorneys-header h3 {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
}
.media-block {
    color: black;
    text-align: center;
    gap: 15px;
}
.media-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    height: 377px;
    width: 100%;
    padding-top: 30px;
    box-sizing: content-box;
}
.media-image figure {
    display: flex;
    transition: var(--transition-medium);
    height: 100%;
    width: 100%;
}
.media-image figure:hover {
    scale: 115%;
}
.media-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: none;
}
.media-content {
    gap: 5px;
}
.attorneys .media-content p {
    font-size: 18px;
    font-weight: 300;
    color: var(--wp--preset--color--black-40);
    border-left: 5px solid var(--wp--preset--color--new-blue);
    padding-left: 5px;
}
.hp-about {
    gap: 80px;
    padding: 7em 50px;
    margin: 0;
}
@media (max-width: 768px) {
    .hp-about {
        gap: 15px;
        padding: 0 15px;
    }
    .hp-about .wp-block-column:first-child {
        order: 2;
    }
}
.hp-about .wp-block-image img {
    border-radius: 8px;
    box-shadow: 4px 4px 40px 2px #08487640;
}
.newsletter {
    background-color: var(--wp--preset--color--block-bg);
    color: #ffffff;
    justify-content: center;
    padding: 5.3333em 2em;
    text-align: center;
}
.hp-newsletter {
    padding: 0 8em;
}
.newsletter h2 {
    margin: 0;
}
.newsletter p {
    font-size: calc(1.4705882353 * var(--wp--preset--font-size--small));
}
.newsletter input {
    flex-grow: 1;
    border-radius: 34px 0 0 34px;
    font-size: calc(1.3188235294 * var(--wp--preset--font-size--small));
}
.newsletter a {
    background-color: var(--wp--preset--color--primary-red);
    border-radius: 0 34px 34px 0;
    white-space: nowrap;
    font-size: calc(1.5294117647 * var(--wp--preset--font-size--small));
}
.media-list .media-content {
    padding: 0;
    margin: 0 0 0 2em;
}
.media-list .media-content h4 {
    margin: 0 0 10px;
}
.media-list .list-item {
    margin: 2em 0 0;
    display: flex;
    align-items: flex-start;
}
.media-list .list-item .size-medium {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.media-list .list-item .size-medium img {
    flex-grow: 1;
}
.consultation-form > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4em 0;
}
.hp-consultation {
    gap: 2.94em;
    margin: 0 0 4em;
    padding: 0 50px;
}
.hp-consultation h2 {
    margin: 0;
}
.hp-consultation .form-box {
    margin-top: 8em;
}
@media (max-width: 768px) {
    .hp-consultation {
        padding: 0 15px;
    }
    .hp-consultation .form-box {
        margin: 0;
    }
}

.testimonials .section-content > .wp-block-group {
    gap: 30px;
    align-items: stretch;
}
.testimonial-card {
    flex-basis: calc(33.33% - 30px);
    flex-grow: 1;
    height: auto;
}

.testimonial-card .stars {
    margin: 10px 0 0;
}
.testimonial-card .stars .icon {
    color: var(--wp--preset--color--new-blue);
}

.testimonial-card .testimonial {
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 20px;
}

@media (max-width: 1024px) {
    .testimonials .testimonial-card {
        flex-basis: calc(50% - 30px);
    }
}
@media (max-width: 768px) {
    .testimonials .testimonial-card {
        flex-basis: 100%;
    }
}

.marquee-section {
    padding: 40px 0;
}
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.marquee-content {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

/* For TOS page */
ol.nested, .nested ol {
	counter-reset: item;
	list-style: none;
	padding-left: 0;
}
ol.nested li, .nested li {
	position: relative;
	padding-left: 35px;
}
.nested li:before {
	content: counters(item, ".") " ";
	counter-increment: item;
	left: 0;
	position: absolute;
}
.nested ol ol {
	counter-reset: alpha;
}
.nested ol ol li {
	counter-increment: alpha;
}
.nested ol ol li:before {
	content: "(" counter(alpha, lower-alpha) ") ";
}
