/*
=======================================================================
 LG Attorney Landing Premium 11A
 Scoped to the normal resources/views/attorney.blade.php experience.

 Does not alter:
 - product loops, values, prices or conditions
 - Start Now / Learn More URLs
 - tenant logos, content or attorney colors
 - questionnaire, profile, payment, admin or marketing-page bodies
 - estateplansforlife-theme Elementor branch
=======================================================================
*/

body:has(.lg-attorney-landing-page) {
    --lg-al-brand: var(--attorney-color, #087f9b);
    --lg-al-brand-dark: color-mix(
        in srgb,
        var(--lg-al-brand) 72%,
        #08283a
    );
    --lg-al-ink: #102b3f;
    --lg-al-muted: #5c7182;
    --lg-al-border: #d8e5ec;
    --lg-al-surface: #ffffff;
    --lg-al-soft: #edf6f9;

    background:
        radial-gradient(
            760px 390px at 7% 2%,
            color-mix(in srgb, var(--lg-al-brand) 10%, transparent),
            transparent 68%
        ),
        radial-gradient(
            720px 360px at 96% 17%,
            rgba(81, 185, 207, 0.09),
            transparent 69%
        ),
        linear-gradient(
            180deg,
            #f7fbfd 0%,
            #edf4f8 100%
        ) !important;

    color: var(--lg-al-ink) !important;
    font-family: "Inter", Arial, sans-serif !important;
}

/* Main page workspace */

.lg-attorney-landing-page {
    position: relative !important;

    width: calc(100% - 32px) !important;
    max-width: 1280px !important;

    margin: 0 auto !important;
    padding: 30px 0 58px !important;
}

.lg-attorney-landing-page.box-container {
    max-width: 1280px !important;
}

.lg-attorney-landing-page > .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Premium hero */

.lg-attorney-landing-page .lg-attorney-hero {
    position: relative !important;
    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 280px !important;
    margin: 0 0 38px !important;
    padding: 58px 64px 48px !important;

    text-align: center !important;

    background:
        radial-gradient(
            560px 280px at 8% 0%,
            color-mix(in srgb, var(--lg-al-brand) 15%, transparent),
            transparent 70%
        ),
        radial-gradient(
            500px 260px at 100% 100%,
            rgba(85, 190, 211, 0.12),
            transparent 72%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.99) 0%,
            #f0f8fa 100%
        ) !important;

    border: 1px solid var(--lg-al-border) !important;
    border-radius: 24px !important;

    box-shadow:
        0 22px 54px rgba(23, 57, 77, 0.10),
        inset 0 1px 0 #ffffff !important;
}

.lg-attorney-landing-page .lg-attorney-hero::before {
    content: "Secure Online Legal Services" !important;

    position: absolute !important;
    top: 22px !important;
    left: 50% !important;

    display: inline-flex !important;
    align-items: center !important;

    padding: 6px 12px !important;

    color: var(--lg-al-brand-dark) !important;
    background: color-mix(
        in srgb,
        var(--lg-al-brand) 9%,
        #ffffff
    ) !important;

    border: 1px solid color-mix(
        in srgb,
        var(--lg-al-brand) 24%,
        #d8e5ec
    ) !important;
    border-radius: 999px !important;

    font-size: 10.5px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;

    transform: translateX(-50%) !important;
}

.lg-attorney-landing-page .lg-attorney-hero::after {
    content: "" !important;

    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 5px !important;

    background: linear-gradient(
        180deg,
        var(--lg-al-brand) 0%,
        #53c4d7 100%
    ) !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
> [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.display-5 {
    width: 100% !important;
    max-width: 1080px !important;

    margin: 0 auto 16px !important;
    padding: 0 !important;

    color: var(--lg-al-ink) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: clamp(29px, 3.2vw, 45px) !important;
    font-weight: 780 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.display-5 p {
    margin: 0 !important;

    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.display-5 a,
.lg-attorney-landing-page
.lg-attorney-hero
.display-5 span {
    color: var(--lg-al-brand) !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.responsive-scroll-mobile,
.lg-attorney-landing-page
.lg-attorney-hero
> div:not([class*="col-"]) {
    width: 100% !important;
    max-width: 1040px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    color: var(--lg-al-muted) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 450 !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
p {
    margin: 7px 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
a {
    color: var(--lg-al-brand-dark) !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
a:hover {
    color: var(--lg-al-brand) !important;
    text-decoration: underline !important;
}

/* Blue Line resource table and other injected tables */

.lg-attorney-landing-page
.lg-attorney-hero
.responsive-scroll-mobile {
    overflow-x: auto !important;
    scrollbar-width: thin !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
table {
    width: min(100%, 760px) !important;
    min-width: 620px !important;

    margin: 22px auto 0 !important;

    overflow: hidden !important;

    background: rgba(255, 255, 255, 0.96) !important;

    border: 1px solid var(--lg-al-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 13px !important;

    box-shadow:
        0 12px 28px rgba(28, 65, 85, 0.08) !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
table th {
    padding: 12px 15px !important;

    color: #ffffff !important;
    background: var(--lg-al-brand-dark) !important;

    border: 0 !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
table td {
    padding: 11px 15px !important;

    color: #40576a !important;
    background: #ffffff !important;

    border: 0 !important;
    border-top: 1px solid #e4ecf1 !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 450 !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
table tr:hover td {
    background: #f2f8fa !important;
}

/* Products heading */

.lg-attorney-landing-page
.lg-attorney-products-heading {
    margin: 4px 0 21px !important;
    padding: 0 !important;
}

.lg-attorney-landing-page
.lg-attorney-products-heading
.display-5 {
    position: relative !important;

    display: inline-block !important;

    margin: 0 !important;
    padding: 0 0 11px !important;

    color: var(--lg-al-ink) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: clamp(26px, 2.6vw, 36px) !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.035em !important;
}

.lg-attorney-landing-page
.lg-attorney-products-heading
.display-5::after {
    content: "" !important;

    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 54px !important;
    height: 3px !important;

    background: linear-gradient(
        90deg,
        var(--lg-al-brand),
        #66cadb
    ) !important;

    border-radius: 999px !important;
}

/* Product grid */

.lg-attorney-landing-page
.lg-attorney-products-grid {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;

    margin-right: -10px !important;
    margin-left: -10px !important;
}

.lg-attorney-landing-page
.lg-attorney-products-grid
> .col-sm-4 {
    display: flex !important;

    padding-right: 10px !important;
    padding-left: 10px !important;

    margin-bottom: 20px !important;
}

/* Premium product card */

.lg-attorney-landing-page
.box-custom {
    position: relative !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-height: 375px !important;
    margin: 0 !important;

    background: var(--lg-al-surface) !important;

    border: 1px solid var(--lg-al-border) !important;
    border-radius: 18px !important;

    box-shadow:
        0 15px 38px rgba(26, 58, 78, 0.08),
        inset 0 1px 0 #ffffff !important;

    transition:
        transform 0.19s ease,
        border-color 0.19s ease,
        box-shadow 0.19s ease !important;
}

.lg-attorney-landing-page
.box-custom:hover {
    border-color: color-mix(
        in srgb,
        var(--lg-al-brand) 37%,
        #d8e5ec
    ) !important;

    box-shadow:
        0 22px 48px rgba(24, 60, 81, 0.14),
        inset 0 1px 0 #ffffff !important;

    transform: translateY(-4px) !important;
}

.lg-attorney-landing-page
.box-custom
.box-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 82px !important;
    padding: 17px 20px !important;

    color: #ffffff !important;

    background:
        radial-gradient(
            260px 100px at 20% 0%,
            rgba(255, 255, 255, 0.14),
            transparent 75%
        ),
        linear-gradient(
            135deg,
            var(--lg-al-brand-dark) 0%,
            var(--lg-al-brand) 100%
        ) !important;

    border: 0 !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 720 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.025em !important;
    text-align: center !important;
    text-wrap: balance !important;
}

.lg-attorney-landing-page
.box-custom
> .p-3 {
    flex: 1 1 auto !important;

    min-height: 165px !important;
    padding: 26px 24px !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fafc 100%
        ) !important;
}

.lg-attorney-landing-page
.box-custom
.description {
    margin: auto !important;

    color: var(--lg-al-muted) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 430 !important;
    line-height: 1.68 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.lg-attorney-landing-page
.box-custom
.box-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;

    min-height: 86px !important;
    margin-top: auto !important;
    padding: 17px 18px 19px !important;

    background: #f5f9fb !important;

    border: 0 !important;
    border-top: 1px solid #e1eaf0 !important;
}

/* Buttons */

.lg-attorney-landing-page
.box-footer
.btn-healthcare {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 14px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--lg-al-brand-dark) 0%,
            var(--lg-al-brand) 100%
        ) !important;

    border: 1px solid var(--lg-al-brand-dark) !important;
    border-radius: 9px !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 680 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: normal !important;

    box-shadow:
        0 7px 16px color-mix(
            in srgb,
            var(--lg-al-brand) 20%,
            transparent
        ) !important;

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease !important;
}

.lg-attorney-landing-page
.box-footer
.btn-healthcare:hover,
.lg-attorney-landing-page
.box-footer
.btn-healthcare:focus {
    color: #ffffff !important;

    transform: translateY(-1px) !important;

    box-shadow:
        0 10px 21px color-mix(
            in srgb,
            var(--lg-al-brand) 27%,
            transparent
        ) !important;
}

/* Learn More is always the final product action. */

.lg-attorney-landing-page
.box-footer
a.btn-healthcare:last-of-type {
    color: var(--lg-al-brand-dark) !important;
    background: #ffffff !important;

    border-color: color-mix(
        in srgb,
        var(--lg-al-brand) 30%,
        #ccdce5
    ) !important;

    box-shadow: none !important;
}

.lg-attorney-landing-page
.box-footer
a.btn-healthcare:last-of-type:hover,
.lg-attorney-landing-page
.box-footer
a.btn-healthcare:last-of-type:focus {
    color: var(--lg-al-brand-dark) !important;
    background: color-mix(
        in srgb,
        var(--lg-al-brand) 7%,
        #ffffff
    ) !important;
}

.lg-attorney-landing-page
.btn-healthcare
.icon-arrow-right {
    margin: 0 !important;

    font-size: 11px !important;
    line-height: 1 !important;

    transition: transform 0.16s ease !important;
}

.lg-attorney-landing-page
.btn-healthcare:hover
.icon-arrow-right {
    transform: translateX(2px) !important;
}

/* Empty product state */

.lg-attorney-landing-page
.lg-attorney-products-grid
> .col-sm-12 {
    padding: 26px !important;

    background: #ffffff !important;
    border: 1px solid var(--lg-al-border) !important;
    border-radius: 14px !important;

    box-shadow:
        0 10px 25px rgba(24, 57, 76, 0.06) !important;
}

.lg-attorney-landing-page
.lg-attorney-products-grid
> .col-sm-12
h5 {
    margin: 0 !important;

    color: var(--lg-al-muted) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    line-height: 1.55 !important;
}

/* Bottom attorney/contact band */

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band {
    position: relative !important;
    overflow: hidden !important;

    margin: 0 !important;
    padding: 58px 0 !important;

    background:
        radial-gradient(
            650px 320px at 4% 0%,
            rgba(255, 255, 255, 0.12),
            transparent 72%
        ),
        linear-gradient(
            135deg,
            color-mix(
                in srgb,
                var(--attorney-color, #087f9b) 68%,
                #071d2a
            ) 0%,
            #102b3b 100%
        ) !important;

    border: 0 !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
> .container,
body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
> .box-container {
    width: calc(100% - 32px) !important;
    max-width: 1280px !important;

    margin: 0 auto !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
> div
> .row {
    align-items: center !important;

    margin-right: -12px !important;
    margin-left: -12px !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
> div
> .row
> [class*="col-"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail {
    color: #ffffff !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail h1,
body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail h2,
body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail h3 {
    margin: 0 0 8px !important;

    color: #ffffff !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: clamp(27px, 3vw, 40px) !important;
    font-weight: 760 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.04em !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail p {
    max-width: 690px !important;
    margin: 15px 0 0 !important;

    color: rgba(255, 255, 255, 0.79) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 420 !important;
    line-height: 1.7 !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-detail video {
    display: block !important;

    width: 100% !important;
    max-width: 690px !important;
    height: auto !important;

    border: 1px solid rgba(255, 255, 255, 0.17) !important;
    border-radius: 16px !important;

    box-shadow:
        0 22px 46px rgba(3, 17, 26, 0.27) !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-box {
    margin: 0 !important;
    padding: 24px !important;

    color: #203748 !important;
    background: rgba(255, 255, 255, 0.97) !important;

    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 17px !important;

    box-shadow:
        0 22px 48px rgba(3, 18, 28, 0.24) !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-box
> .row {
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-box h4 {
    margin: 0 0 18px !important;

    color: var(--lg-al-ink) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 740 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.025em !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-25 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 90px !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-25 svg {
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;

    fill: var(--lg-al-brand) !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-75 {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-75 p,
body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-75 a {
    margin: 0 !important;

    color: #52697a !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-75 a {
    color: var(--lg-al-brand-dark) !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-75 a:hover {
    color: var(--lg-al-brand) !important;
    text-decoration: underline !important;
}

/* Tablet */

@media (max-width: 991.98px) {
    .lg-attorney-landing-page {
        width: calc(100% - 24px) !important;
        padding-top: 24px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-hero {
        min-height: 250px !important;
        padding: 54px 34px 38px !important;
        border-radius: 20px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-grid
    > .col-sm-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    .attorney-detail {
        margin-bottom: 28px !important;
    }
}

/* Mobile */

@media (max-width: 767.98px) {
    .lg-attorney-landing-page {
        width: calc(100% - 18px) !important;
        padding-top: 18px !important;
        padding-bottom: 38px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-hero {
        min-height: 0 !important;
        margin-bottom: 30px !important;
        padding: 58px 18px 29px !important;

        border-radius: 16px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-hero::before {
        top: 17px !important;
        white-space: nowrap !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-hero
    .display-5 {
        font-size: 27px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-hero
    .responsive-scroll-mobile {
        width: 100% !important;
        max-width: 100% !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-heading
    .display-5 {
        font-size: 27px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-grid {
        display: block !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-grid
    > .col-sm-4 {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .lg-attorney-landing-page
    .box-custom {
        min-height: 0 !important;
    }

    .lg-attorney-landing-page
    .box-custom
    .box-header {
        min-height: 72px !important;
        font-size: 18px !important;
    }

    .lg-attorney-landing-page
    .box-custom
    > .p-3 {
        min-height: 0 !important;
        padding: 23px 19px !important;
    }

    .lg-attorney-landing-page
    .box-custom
    .box-footer {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .lg-attorney-landing-page
    .box-footer
    .btn-healthcare {
        width: 100% !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band {
        padding: 42px 0 !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    > .container,
    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    > .box-container {
        width: calc(100% - 20px) !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    .attorney-detail {
        text-align: left !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    .attorney-box {
        padding: 20px 17px !important;
    }
}

/* ===== LG-ATTORNEY-LANDING-BALANCE-11B START =====
   Corrects hero proportions and product-card visual balance.
   No product data, routes, prices, links or conditions changed.
======================================================================= */

/* Hero should present the introduction only. */

.lg-attorney-landing-page .lg-attorney-hero {
    min-height: 0 !important;
    margin-bottom: 26px !important;
    padding: 50px 56px 40px !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.display-5 {
    max-width: 960px !important;
    margin-bottom: 14px !important;
    font-size: clamp(28px, 3vw, 42px) !important;
}

.lg-attorney-landing-page
.lg-attorney-hero
.responsive-scroll-mobile,
.lg-attorney-landing-page
.lg-attorney-hero
> div:not([class*="col-"]) {
    max-width: 980px !important;
}

/* Separate Products section heading. */

.lg-attorney-landing-page
.lg-attorney-products-heading-row {
    margin: 0 0 20px !important;
}

.lg-attorney-landing-page
.lg-attorney-products-heading {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.lg-attorney-landing-page
.lg-attorney-products-heading
.display-5 {
    position: relative !important;

    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 0 11px !important;

    color: var(--lg-al-ink) !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: clamp(25px, 2.4vw, 34px) !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.035em !important;
    text-align: left !important;
}

.lg-attorney-landing-page
.lg-attorney-products-heading
.display-5::after {
    content: "" !important;

    position: absolute !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 50px !important;
    height: 3px !important;

    background:
        linear-gradient(
            90deg,
            var(--lg-al-brand),
            #65cada
        ) !important;

    border-radius: 999px !important;
}

/* Compact, balanced cards. */

.lg-attorney-landing-page
.lg-attorney-products-grid {
    margin-top: 0 !important;
}

.lg-attorney-landing-page
.box-custom {
    min-height: 330px !important;
}

.lg-attorney-landing-page
.box-custom
.box-header {
    min-height: 72px !important;
    padding: 15px 18px !important;

    font-size: 18px !important;
    line-height: 1.28 !important;
}

.lg-attorney-landing-page
.box-custom
> .p-3 {
    min-height: 138px !important;
    padding: 22px 22px !important;
}

.lg-attorney-landing-page
.box-custom
.description {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.lg-attorney-landing-page
.box-custom
.box-footer {
    min-height: 76px !important;
    padding: 15px 16px 17px !important;
}

/* Avoid oversized blank area below the product grid. */

.lg-attorney-landing-page {
    padding-bottom: 44px !important;
}

/* Blue Line resource table stays readable without stretching the hero. */

.lg-attorney-landing-page
.lg-attorney-hero
table {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

/* Tablet correction. */

@media (max-width: 991.98px) {
    .lg-attorney-landing-page
    .lg-attorney-hero {
        padding: 48px 30px 34px !important;
    }

    .lg-attorney-landing-page
    .box-custom {
        min-height: 320px !important;
    }
}

/* Mobile correction. */

@media (max-width: 767.98px) {
    .lg-attorney-landing-page
    .lg-attorney-hero {
        margin-bottom: 23px !important;
        padding: 55px 18px 27px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-heading-row {
        margin-bottom: 17px !important;
    }

    .lg-attorney-landing-page
    .lg-attorney-products-heading
    .display-5 {
        font-size: 26px !important;
    }

    .lg-attorney-landing-page
    .box-custom {
        min-height: 0 !important;
    }

    .lg-attorney-landing-page
    .box-custom
    > .p-3 {
        min-height: 0 !important;
    }
}

/* ===== LG-ATTORNEY-LANDING-BALANCE-11B END ===== */

/* ===== LG-ATTORNEY-LANDING-MICRO-POLISH-11C START =====
   Attorney landing pages only.
   Refines product-card proportions, contact icon and admin navigation.
   No Blade, routes, products, prices, links or tenant data changed.
======================================================================= */

/* ---- Product cards: reduce unnecessary empty space ---------------- */

.lg-attorney-landing-page
.box-custom {
    min-height: 305px !important;
}

.lg-attorney-landing-page
.box-custom
.box-header {
    min-height: 68px !important;
    padding: 14px 18px !important;

    font-size: 17px !important;
    line-height: 1.3 !important;
}

.lg-attorney-landing-page
.box-custom
> .p-3 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 112px !important;
    padding: 19px 22px !important;
}

.lg-attorney-landing-page
.box-custom
.description {
    width: 100% !important;
    max-width: 340px !important;

    margin: 0 auto !important;

    font-size: 13px !important;
    line-height: 1.58 !important;
}

.lg-attorney-landing-page
.box-custom
.box-footer {
    min-height: 72px !important;
    padding: 13px 16px 15px !important;
}

.lg-attorney-landing-page
.box-footer
.btn-healthcare {
    min-height: 40px !important;
    padding: 8px 14px !important;
}

/*
   The longest description determines the desktop row height.
   Other cards stretch naturally without forcing a large fixed body.
*/
.lg-attorney-landing-page
.lg-attorney-products-grid
> .col-sm-4 {
    align-items: stretch !important;
}

/* ---- Contact card icon --------------------------------------------- */

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-25 {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 92px !important;
}

/*
   Existing SVG is visually unclear on the white card.
   Keep its markup intact but replace only its visible presentation.
*/
body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-25 svg {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
    pointer-events: none !important;
}

body:has(.lg-attorney-landing-page)
.lg-attorney-contact-band
.attorney-25::before {
    content: "\2192" !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 54px !important;
    height: 54px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--lg-al-brand-dark) 0%,
            var(--lg-al-brand) 100%
        ) !important;

    border: 5px solid color-mix(
        in srgb,
        var(--lg-al-brand) 11%,
        #ffffff
    ) !important;
    border-radius: 16px !important;

    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    box-shadow:
        0 10px 23px color-mix(
            in srgb,
            var(--lg-al-brand) 24%,
            transparent
        ) !important;
}

/* ---- Back To Admin navigation link -------------------------------- */

body:has(.lg-attorney-landing-page)
#ftco-navbar
.navbar-nav
> .nav-item
> a.nav-link[href*="/admin"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-height: 42px !important;
    padding: 9px 13px !important;

    color: #354c5f !important;
    background: #ffffff !important;

    border: 1px solid #d9e5eb !important;
    border-radius: 10px !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow:
        0 4px 12px rgba(25, 56, 75, 0.05) !important;

    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease !important;
}

body:has(.lg-attorney-landing-page)
#ftco-navbar
.navbar-nav
> .nav-item
> a.nav-link[href*="/admin"]::before {
    content: "\2190" !important;

    color: var(--lg-al-brand) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body:has(.lg-attorney-landing-page)
#ftco-navbar
.navbar-nav
> .nav-item
> a.nav-link[href*="/admin"]:hover,
body:has(.lg-attorney-landing-page)
#ftco-navbar
.navbar-nav
> .nav-item
> a.nav-link[href*="/admin"]:focus {
    color: var(--lg-al-brand-dark) !important;

    background: color-mix(
        in srgb,
        var(--lg-al-brand) 7%,
        #ffffff
    ) !important;

    border-color: color-mix(
        in srgb,
        var(--lg-al-brand) 28%,
        #d9e5eb
    ) !important;

    box-shadow:
        0 7px 17px rgba(24, 59, 78, 0.09) !important;

    transform: translateY(-1px) !important;
}

/* ---- Tablet -------------------------------------------------------- */

@media (max-width: 991.98px) {
    .lg-attorney-landing-page
    .box-custom {
        min-height: 295px !important;
    }

    body:has(.lg-attorney-landing-page)
    #ftco-navbar
    .navbar-nav
    > .nav-item
    > a.nav-link[href*="/admin"] {
        justify-content: flex-start !important;
        width: 100% !important;
    }
}

/* ---- Mobile -------------------------------------------------------- */

@media (max-width: 767.98px) {
    .lg-attorney-landing-page
    .box-custom {
        min-height: 0 !important;
    }

    .lg-attorney-landing-page
    .box-custom
    > .p-3 {
        min-height: 0 !important;
        padding: 21px 18px !important;
    }

    .lg-attorney-landing-page
    .box-custom
    .box-footer {
        min-height: 0 !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    .attorney-25 {
        min-height: 74px !important;
    }

    body:has(.lg-attorney-landing-page)
    .lg-attorney-contact-band
    .attorney-25::before {
        width: 48px !important;
        height: 48px !important;

        border-radius: 14px !important;
        font-size: 22px !important;
    }
}

/* ===== LG-ATTORNEY-LANDING-MICRO-POLISH-11C END ===== */
