/* =========================================================
   LAWAGENZ SERVICE PAGE
========================================================= */

.lawagenz-service-page {
    --service-navy: #173765;
    --service-blue: #5B89DD;
    --service-light-blue: #d5e6f8;
    --service-text: #404b5e;
    --service-muted: #747d8b;
    --service-border: #d8dde5;
    --service-white: #ffffff;

    background: var(--service-white);
    color: var(--service-text);
}
pre.wp-block-code {
    margin: 0 0 18px;
}
tr:first-child {
    background: #6188D0;
}
table.has-fixed-layout {
    margin: 0!important;
}
tr:first-child td strong {
    color: #fff;
}
.wp-block-table .has-fixed-layout {
   background: #E5EFFB;
}
.get-a-custom-audit img {
    max-width: 100%;
}
.get-a-custom-audit {
    background: #192F58;
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* =========================================
   SIDEBAR FORM CARD
========================================= */

.lawagenz-single-sidebar__form-card {
    overflow: hidden;
}

.lawagenz-single-sidebar__image {
    overflow: hidden;

    aspect-ratio: 1.4 / 1;
}

.lawagenz-single-sidebar__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius:10px;
}

.lawagenz-single-sidebar__form-content {
    padding: 16px 0;
}

.lawagenz-single-sidebar__form-content h2 {
        margin: 0 0 7px;
    color: #192F58;
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 650;
    line-height: 1.25;
}

.lawagenz-single-sidebar__form-content > p {
    margin: 0 0 13px;
    color: #333333;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.4;
}

/* Plugin form normalization */

.lawagenz-single-sidebar__form input,
.lawagenz-single-sidebar__form select,
.lawagenz-single-sidebar__form textarea {
    width: 100%;
    min-height: 35px;

    padding: 8px 10px;

    color: var(--color-text, #41464d);
    background: var(--color-white, #ffffff);
    border: 1px solid rgba(8, 42, 80, 0.2);
    border-radius: 4px;

    font-family: var(--font-body);
    font-size: 11px;
}

.lawagenz-single-sidebar__form button,
.lawagenz-single-sidebar__form input[type="submit"] {
    width: 100%;
    min-height: 38px;

    padding: 9px 14px;

    color: var(--color-white, #ffffff);
    background: var(--color-navy, #082a50);
    border: 0;
    border-radius: 999px;

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;

    cursor: pointer;
}
.lawagenz-single-sidebar__form input {
    border-width: 0.5px !important;
    border-style: solid !important;
    border-color: rgb(93, 92, 104) !important;
    border-radius: 8px !important;
}
.lawagenz-single-sidebar__form .forminator-row.forminator-row-last {
    position: unset !important;
}
button.forminator-button.forminator-button-submit {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    margin-top:15px!important;
}
.lawagenz-google-ads-form-card__image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 17px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
.lawagenz-google-ads-form-card__title {
    margin: 0 0 10px;
    color: var(--google-ads-navy);
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;
}
.lawagenz-google-ads-form-card__text {
    margin: 0 0 15px;
    color: #555b65;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.3;
}
.lawagenz-page-sidebar-cta
{
    display: none!important;
}
a.lawagenz-page-sidebar-cta__button-bg-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #192F58;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

ul.wp-block-list {
    list-style: disc!important;
}

/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.lawagenz-container {
    width: min(
        calc(100% - 40px),
        var(--container-width, 1280px)
    );
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   DYNAMIC TOP BANNER
========================================================= */

.lawagenz-service-banner {
    position: relative;
    /*isolation: isolate;*/
    overflow: hidden;
    padding: 60px 0;
    background: url(https://lawagenz.com/wp-content/uploads/2026/07/abstract-blue-wave-vector-background-brochure-design-project-website-flyer-1.png);
    background-position: center;
    background-size: cover!important;
    margin-bottom:60px;
}
h3.banner-subheading {
    color: #192F58;
    font-size: 30px;
    font-family: 'Alga';
    font-style: italic;
    margin-bottom: 10px;
}
.lawagenz-service-banner::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.92) 44%,
            rgba(255, 255, 255, 0.6) 100%
        );
}

.lawagenz-service-banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -160px;
    right: -100px;
    width: 850px;
    height: 600px;
    background:
        url("../images/service-banner-lines.svg")
        center / contain no-repeat;
    opacity: 0.6;
    pointer-events: none;
}

.lawagenz-service-banner__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(390px, 0.9fr);
    gap: clamp(55px, 8vw, 120px);
    align-items: center;
}

.lawagenz-service-banner__content {
    max-width: 590px;
}

.lawagenz-service-banner__title {
    margin: 0 0 24px;
    font-weight: 400;
    line-height: 1.04;
    text-wrap: balance;
    color: var(--lawagenz-navy);
    font-family: var(--lawagenz-font-heading);
    font-size: var(--lawagenz-h1-size);
}

.lawagenz-service-banner__description {
    max-width: 560px;
    margin-bottom: 28px;
    color: #29476d;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.45;
}

.lawagenz-service-banner__description p {
    margin: 0 0 12px;
}

.lawagenz-service-banner__description p:last-child {
    margin-bottom: 0;
}

.lawagenz-service-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 28px;
    border: 1px solid var(--lawagenz-navy);
    border-radius: 999px;
    background: var(--lawagenz-navy);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.lawagenz-service-banner__button:hover {
    background: #0d294e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 55, 101, 0.16);
}
div#page div#header {
    display: none;
}
div#page div#footer {
    display: none;
}
/*.lawagenz-single-sidebar__toc {*/
/*    margin-bottom: 34px;*/
/*}*/
.lawagenz-page-content__editor div#ez-toc-container {
    display: none !important;
}
header.lawagenz-page-content__header {
    display: none;
}
.lawagenz-single-sidebar__title {
    margin: 0 0 10px;
    color: #333333;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.3;
    display:none!important;
}
.ez-toc-title-container p.ez-toc-title.ez-toc-toggle.ez-toc-loaded {
    margin: 0 0 10px;
    color: #333333;
    font-family: var(--font-body);
    font-size: 18px !important;
    font-weight: 650 !important;
    line-height: 1.3;
}
.lawagenz-single-sidebar__toc-content {
    color: var(--color-text, #4e535a);

    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.4;
}

.lawagenz-single-sidebar__toc-content ul,
.lawagenz-single-sidebar__toc-content ol {
    display: flex;
    flex-direction: column;
    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.lawagenz-single-sidebar__toc-content a {
    color: inherit;
    text-decoration: none;

    transition:
        color 250ms
        var(--ease-smooth, cubic-bezier(0.16, 1, 0.3, 1));
}

.lawagenz-single-sidebar__toc-content a:hover {
    color: var(--color-navy, #082a50);
}
div#ez-toc-container ul li, div#ez-toc-container ul li a {
    font-size: 15px!important;
    color: #333333!important;
    font-weight: 400 !important;
}
div#ez-toc-container {
    background: none !important;
    border: none !important;
}
h1.lawagenz-single-article__title {
    font-size: 40px;
    font-family: var(--lawagenz-font-heading);
    color: #192F58;
    margin-bottom: 15px;
}
/* =========================================================
   RANKING PANEL
========================================================= */

.lawagenz-service-banner__ranking {
    width: 100%;
    padding: 32px 30px 30px;
    background: #C3D7EE;
    border-radius: 8px;
}

.lawagenz-service-banner__eyebrow {
    margin: 0 0 8px;
    color: var(--lawagenz-navy);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.lawagenz-service-banner__ranking-title {
    margin: 0 0 23px;
    color: var(--lawagenz-navy);
    font-family: var(--font-heading);
    font-size: clamp(29px, 3vw, 39px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-align: center;
    text-transform:capitalize;
}

.lawagenz-service-banner__keywords {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.lawagenz-service-banner__keyword {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 10px 18px;
    border-radius: 7px;
    background: #ffffff;
    color: #3d3f44;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    gap:10px;
    transition: 1s;
}

.lawagenz-service-banner__keyword.is-highlighted {
    background: #5B89DD;
    color: #ffffff;
    box-shadow: 0px 7px 19px 9px #5b89dd78;
        transition: 1s;
}


/* =========================================================
   MAIN PAGE LAYOUT
========================================================= */

.lawagenz-page-layout {
    padding: 0px 0 60px;
    background: #ffffff;
}

.lawagenz-page-layout__grid {
    display: grid;
    grid-template-columns: 282px minmax(0, 1fr);
    gap: clamp(55px, 7vw, 105px);
}


/* =========================================================
   LEFT SIDEBAR
========================================================= */

.lawagenz-page-sidebar {
    min-width: 0;
}

.lawagenz-page-sidebar__sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.lawagenz-page-toc {
    padding-bottom: 18px;
    border-bottom: 1px solid #cfd3da;
}

.lawagenz-page-toc__title {
    margin: 0 0 10px;
    color: #262a30;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.lawagenz-page-toc__list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding-left: 20px;
}

.lawagenz-page-toc__list:empty {
    display: none;
}

.lawagenz-page-toc__item {
    margin: 0;
    color: #60656d;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.35;
}

.lawagenz-page-toc__item--level-3 {
    margin-left: 14px;
    font-size: 13px;
}

.lawagenz-page-toc__link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.lawagenz-page-toc__link:hover,
.lawagenz-page-toc__link.is-active {
    color: var(--lawagenz-navy);
    transform: translateX(3px);
}


/* =========================================================
   SIDEBAR CTA CARD
========================================================= */

.lawagenz-page-sidebar-cta {
    padding: 14px;
    overflow: hidden;
    background: #E5EFFB;
    border-radius: 8px;
}

.lawagenz-page-sidebar-cta__image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 17px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 7px;
}

.lawagenz-page-sidebar-cta__title {
    margin: 0 0 10px;
    color: var(--lawagenz-navy);
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.lawagenz-page-sidebar-cta__text {
    margin: 0 0 12px;
    color: #505d70;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.35;
}

.lawagenz-page-sidebar-cta__highlight {
    margin: 0 0 17px;
    color: var(--lawagenz-navy);
    font-family: var(--font-body);
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.lawagenz-page-sidebar-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--lawagenz-navy);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.lawagenz-page-sidebar-cta__button:hover {
    background: #0d294e;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   RIGHT PAGE CONTENT
========================================================= */

.lawagenz-page-content {
    min-width: 0;
    max-width: 920px;
}

.lawagenz-page-content__editor {
    color: #494d55;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.48;
}

.lawagenz-page-content__editor > *:first-child {
    margin-top: 0;
}

.lawagenz-page-content__editor > *:last-child {
    margin-bottom: 0;
}

.lawagenz-page-content__editor p {
    margin: 0 0 19px;
}

.lawagenz-page-content__editor h1 {
    margin: 0 0 25px;
    color: var(--lawagenz-navy);
    font-family: var(--font-heading);
    font-size: clamp(46px, 5vw, 50px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.lawagenz-page-content__editor h2 {
    scroll-margin-top: 135px;
    margin: 0px 0 14px;
    color: var(--lawagenz-navy);
    font-family: var(--font-body);
    font-size: clamp(27px, 2.5vw, 35px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lawagenz-page-content__editor h3 {
    scroll-margin-top: 135px;
    margin: 32px 0 11px;
    color: #34383f;
    font-family: var(--font-body);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
}

.lawagenz-page-content__editor h4 {
    margin: 27px 0 10px;
    color: #34383f;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.lawagenz-page-content__editor strong {
    color: #30343a;
    font-weight: 700;
}

.lawagenz-page-content__editor em {
    color: #3f434a;
}

.lawagenz-page-content__editor ul,
.lawagenz-page-content__editor ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.lawagenz-page-content__editor li {
    margin-bottom: 4px;
}

.lawagenz-page-content__editor a {
    color: var(--lawagenz-navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lawagenz-page-content__editor blockquote {
    margin: 31px 0;
    padding: 19px 24px;
    border-left: 4px solid var(--lawagenz-navy);
    background: #f2f6fb;
}

.lawagenz-page-content__editor blockquote p {
    margin: 0;
    color: var(--lawagenz-navy);
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
}

.lawagenz-page-content__editor figure {
    margin: 34px 0;
}

.lawagenz-page-content__editor img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.lawagenz-page-content__editor figcaption {
    margin-top: 8px;
    color: #777d86;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.lawagenz-page-content__editor table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.lawagenz-page-content__editor th,
.lawagenz-page-content__editor td {
    padding: 13px 15px;
    border: 1px solid var(--service-border);
    text-align: left;
}

.lawagenz-page-content__editor th {
    background: #eef4fb;
    color: var(--lawagenz-navy);
    font-weight: 700;
}


/* =========================================================
   GUTENBERG OVERRIDES
========================================================= */

.lawagenz-page-content__editor .wp-block-image {
    margin-top: 34px;
    margin-bottom: 34px;
}

.lawagenz-page-content__editor .alignwide,
.lawagenz-page-content__editor .alignfull {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.lawagenz-page-content__editor .wp-block-button__link {
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--lawagenz-navy);
    color: #ffffff;
    text-decoration: none;
}

.lawagenz-page-content__editor .wp-block-separator {
    margin: 38px 0;
    border-color: var(--service-border);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .lawagenz-service-banner__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.85fr);
        gap: 60px;
    }

    .lawagenz-page-layout__grid {
        grid-template-columns: 255px minmax(0, 1fr);
        gap: 55px;
    }

    .lawagenz-page-content__editor {
        font-size: 16px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
aside.lawagenz-page-sidebar {
    order: 2;
}
article#lawagenzPageContent {
    order: 1;
}
    .lawagenz-service-banner {
        padding: var(--section-space-tablet, 80px) 0;
    }

    .lawagenz-service-banner::after {
        top: -80px;
        right: -260px;
        width: 760px;
    }

    .lawagenz-service-banner__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .lawagenz-service-banner__content {
        max-width: 720px;
    }

    .lawagenz-service-banner__ranking {
        max-width: 650px;
    }

    .lawagenz-page-layout {
        padding: var(--section-space-tablet, 80px) 0 0;
    }

    .lawagenz-page-layout__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .lawagenz-page-sidebar__sticky {
        position: static;
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
        gap: 25px;
    }

    .lawagenz-page-toc {
        padding: 24px;
        border: 1px solid var(--service-border);
        border-radius: 8px;
    }

    .lawagenz-page-content {
        max-width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

.lawagenz-service-banner 
{
    margin-bottom:0px!important;
}
    .lawagenz-container {
        width: min(calc(100% - 28px), 1280px);
    }

    .lawagenz-service-banner {
        padding: var(--section-space-mobile, 60px) 0;
    }

    .lawagenz-service-banner::after {
        top: -30px;
        right: -390px;
        width: 690px;
        opacity: 0.45;
    }

    .lawagenz-service-banner__grid {
        gap: 35px;
    }

    .lawagenz-service-banner__title {
        font-size: clamp(35px, 11vw, 35px);
    }

    .lawagenz-service-banner__description {
        font-size: 16px;
    }

    .lawagenz-service-banner__button {
        width: 100%;
        min-height: 49px;
    }

    .lawagenz-service-banner__ranking {
        padding: 27px 20px;
    }

    .lawagenz-service-banner__eyebrow {
        font-size: 15px;
    }

    .lawagenz-service-banner__ranking-title {
        font-size: 30px;
    }

    .lawagenz-service-banner__keyword {
        min-height: 46px;
        padding: 9px 12px;
        font-size: 16px;
    }

    .lawagenz-page-layout {
        padding: var(--section-space-mobile, 60px) 0;
    }

    .lawagenz-page-layout__grid {
        gap: 38px;
    }

    .lawagenz-page-sidebar__sticky {
        grid-template-columns: 1fr;
    }

    .lawagenz-page-toc {
        padding: 20px;
    }

    .lawagenz-page-sidebar-cta {
        padding: 15px;
    }

    .lawagenz-page-content__editor {
        font-size: 16px;
        line-height: 1.55;
    }

    .lawagenz-page-content__editor h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .lawagenz-page-content__editor h2 {
        scroll-margin-top: 105px;
        margin-top: 35px;
        font-size: clamp(26px, 8vw, 33px);
    }

    .lawagenz-page-content__editor h3 {
        scroll-margin-top: 105px;
        margin-top: 28px;
        font-size: 23px;
    }

    .lawagenz-page-content__editor table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .lawagenz-service-banner__title {
        font-size: 35px;
    }

    .lawagenz-service-banner__ranking {
        padding: 23px 15px;
    }

    .lawagenz-service-banner__ranking-title {
        font-size: 27px;
    }

    .lawagenz-page-sidebar-cta__title {
        font-size: 20px;
    }

    .lawagenz-page-content__editor h1 {
        font-size: 38px;
    }

}

