/* Native post layout; article content and block ownership stay in WordPress. */
.jgw-blog-single{--ast-global-color-0:#02604b;--ast-global-color-1:#021a1a;--ast-global-color-2:#021a1a;--ast-global-color-3:#334155;--ast-global-color-4:#fff;--ast-global-color-5:#fff;--ast-global-color-6:#02604b;--ast-global-color-7:#333;--ast-global-color-8:#333}
.jb-single-hero{background:linear-gradient(284deg,rgba(2,96,75,.26) 3.84%,rgba(2,96,75,.09) 48.19%);padding:64px 40px;color:#021a1a}
.jb-single-hero-inner{max-width:1760px;margin:auto}
.jb-single-hero h1{font:600 64px/1.25 Nohemi,Arial,sans-serif;margin:0 0 20px;overflow-wrap:anywhere;letter-spacing:.05em}
.jb-post-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none;font:400 16px/26px Roboto,Arial,sans-serif;color:#333}
.jb-post-meta li{display:flex;align-items:baseline;gap:8px;min-width:0}
.jb-post-meta svg{width:16px;height:16px;flex:0 0 16px;fill:currentColor;align-self:flex-start;margin-top:5px}
.jb-post-meta a{color:inherit;text-decoration:none}
.jb-post-meta a:hover{color:#02604b}
.jb-post-main{min-width:0}
.jb-entry{color:#021a1a;font:400 16px/30px Roboto,Arial,sans-serif;overflow-wrap:break-word}
.jb-entry p{margin:0 0 16px}
.jb-entry h2,.jb-related>h2{font:600 40px/1.4 Nohemi,Arial,sans-serif;color:#021a1a;margin:60px 0 16px;overflow-wrap:anywhere;letter-spacing:.05em}
.jb-entry h3{font:600 24px/32px Roboto,Arial,sans-serif;color:#021a1a;margin:36px 0 16px;overflow-wrap:anywhere}
.jb-entry h4{font:600 20px/24px Roboto,Arial,sans-serif;margin:30px 0 16px}
.jb-entry h5,.jb-entry h6{font:600 18px/26px Roboto,Arial,sans-serif;margin:20px 0 12px}
.jb-entry a{color:#02604b;font-weight:600;text-decoration:none;text-underline-offset:3px}
.jb-entry a:hover{color:#021a1a}
.jb-entry :is(ul,ol){padding-left:24px;margin:0 0 24px;line-height:1.7}
.jb-entry li{margin:0 0 8px}
.jb-entry li :is(ul,ol){margin-top:8px}
.jb-entry img{max-width:100%;height:auto}
.jb-entry figure{max-width:100%;margin:24px 0}
.jb-entry figcaption{font-size:14px;line-height:22px;color:#555;margin-top:8px}
.jb-entry blockquote{border-left:3px solid #02604b;margin:24px 0;padding:12px 24px}
.jb-entry iframe,.jb-entry video{max-width:100%}
.jb-entry iframe[src*="google.com/maps"]{width:100%}
.jb-entry .wp-block-embed__wrapper{max-width:100%}
.jb-entry .wp-block-table{overflow-x:auto}
.jb-entry table{border-collapse:collapse;max-width:100%;width:100%;margin:24px 0;font-size:16px;line-height:1.6}
.jb-entry th,.jb-entry td{padding:12px;border:1px solid #c5dbd6;vertical-align:top;overflow-wrap:anywhere}
/* Keep header cells transparent so the article's own header-row color shows. */
.jb-entry th{background:transparent;text-align:left}
.jb-entry pre{overflow:auto;max-width:100%}
.jb-entry details{margin:16px 0;padding:16px;border:1px solid #c5dbd6;background:#fff}
.jb-entry summary{cursor:pointer;font-weight:600}
.jb-entry :is(h2,h3,h4,[id]){scroll-margin-top:150px}
.jb-post-cta{display:block;margin:40px 0 48px;padding:24px;background:#02604b;color:#fff!important;text-align:center;text-decoration:none;font-weight:600;line-height:1.6}
.jb-post-cta:hover{background:#021a1a}
.jb-post-cta:focus-visible{outline-offset:4px}
.jb-related>h2{margin:0 0 32px}
.jb-related .jb-card h3{margin:0 0 24px;font:600 24px/32px Nohemi,Arial,sans-serif;letter-spacing:.4px;overflow-wrap:anywhere}
.jb-related .jb-card h3 a{color:#02604b;text-decoration:none}
.jb-related .jb-card h3 a::after{content:"";position:absolute;inset:0}
.jb-related .jb-card:is(:hover,:focus-within) h3 a{color:#fff}
@media(max-width:1199px){.jb-single-hero h1{font-size:48px}.jb-entry h2,.jb-related>h2{font-size:32px}.jb-related .jb-card h3{font-size:20px;line-height:1.4}}
@media(max-width:1023px){.jb-single-hero{padding:50px 40px}.jb-entry :is(h2,h3,h4,[id]){scroll-margin-top:100px}}
@media(max-width:767px){.jb-single-hero{padding:40px 20px}.jb-single-hero h1{font-size:34px;line-height:1.25}.jb-post-meta{font-size:14px;line-height:22px;gap:6px 16px}.jb-entry h2,.jb-related>h2{font-size:28px;line-height:1.4}.jb-entry h2{margin-top:40px}.jb-entry h3{font-size:22px;line-height:30px;margin-top:28px}.jb-entry th,.jb-entry td{padding:8px}.jb-post-cta{padding:20px}.jb-related .jb-card h3{font-size:20px;line-height:28px}}
.jb-inline-cta{padding:28px;margin:32px 0;background:#02604b;color:#fff;text-align:center}.jb-entry .jb-inline-cta-title{font:500 28px/1.4 Nohemi,Arial,sans-serif;color:#fff;margin:0 0 16px}.jb-entry .jb-inline-cta a{display:inline-block;padding:12px 20px;background:#fff;color:#02604b;font-size:20px;font-weight:600;text-decoration:none}.jb-entry .jb-inline-cta a:focus-visible{outline-color:#fff}

/* Keep expanded FAQ answers complete after font loading and viewport changes. */
.jb-entry .gkit-card.active>.collapse{max-height:none!important}

/* Preserve the saved WordPress border preset without Astra layout CSS. */
.jb-entry .has-ast-global-color-0-border-color{border-color:#02604b!important}

/* Restore the saved article list styles under the native content root. */
/* === UNORDERED LIST === */
.jb-entry ul.wp-block-list {
    background-color: #ffffff;
    padding: 24px 32px 24px 24px;
    list-style: none;
    border-radius: 0;
    border-left: 4px solid #02604B;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 2px 12px rgba(2, 96, 75, 0.08);
}

.jb-entry ul.wp-block-list li {
    position: relative;
    padding-left: 36px;
    padding-bottom: 14px;
    padding-top: 14px;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.7;
    border-top: 1px solid rgba(2, 96, 75, 0.1);
}

.jb-entry ul.wp-block-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.jb-entry ul.wp-block-list li:last-child {
    padding-bottom: 0;
}

/* Green circle, gold checkmark */
.jb-entry ul.wp-block-list li:before {
    content: "✓";
    position: absolute;
    left: 0 !important;
    top: 16px;
    width: 22px;
    height: 22px;
    background-color: #02604B;
    color: #E4BD64;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.jb-entry ul.wp-block-list li:first-child:before {
    top: 4px;
}

.jb-entry ul.wp-block-list li:after {
    content: none;
}

.jb-entry ul.wp-block-list li b,
.jb-entry ul.wp-block-list li strong {
    color: #02604B;
    font-weight: 600;
}

.jb-entry ul.wp-block-list li a {
    color: #02604B !important;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 767px) {
    .jb-entry ul.wp-block-list {
        padding: 16px 16px 16px 16px;
    }

    .jb-entry ul.wp-block-list li {
        padding-left: 32px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 15px;
    }

    .jb-entry ul.wp-block-list li:before {
        top: 14px;
    }

    .jb-entry ul.wp-block-list li:first-child:before {
        top: 2px;
    }
}

/* === ORDERED LIST === */
.jb-entry ol.wp-block-list {
    background-color: #ffffff;
    padding: 24px 32px 24px 24px;
    list-style: none;
    border-radius: 0;
    border-left: 4px solid #02604B;
    counter-reset: law-counter;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.jb-entry ol.wp-block-list li {
    position: relative;
    padding-left: 44px;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.7;
    counter-increment: law-counter;
    border-bottom: 1px solid rgba(2, 96, 75, 0.12);
}
.jb-entry ol.wp-block-list li:first-child {
    padding-top: 0;
}
.jb-entry ol.wp-block-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.jb-entry ol.wp-block-list li:before {
    content: counter(law-counter);
    position: absolute;
    left: 0!important;
    top: 18px;
    width: 28px;
    height: 28px;
    background-color: #02604B;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.jb-entry ol.wp-block-list li:first-child:before {
    top: 2px;
}
.jb-entry ol.wp-block-list li b,
.jb-entry ol.wp-block-list li strong {
    color: #02604B;
    font-weight: 500;
}
.jb-entry ol.wp-block-list li a {
    color: #02604B !important;
    font-weight: 500;
}

@media (max-width: 767px) {

    .jb-entry ul.wp-block-list {
        padding: 16px 16px 16px 16px;
    }

    .jb-entry ul.wp-block-list li {
        padding-left: 32px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
    }

    .jb-entry ul.wp-block-list li:before {
        top: 14px;
    }

    .jb-entry ul.wp-block-list li:first-child:before {
        top: 2px;
    }

    .jb-entry ol.wp-block-list {
        padding: 16px 16px 16px 16px;
    }

    .jb-entry ol.wp-block-list li {
        padding-left: 40px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
    }

    .jb-entry ol.wp-block-list li:before {
        top: 14px;
    }

    .jb-entry ol.wp-block-list li:first-child:before {
        top: 0px;
    }
}
.jb-entry ul.wp-block-list,
.jb-entry ol.wp-block-list {
    margin-left: 0 !important;
}


/* Native keyboard control inside the original accordion heading. */
.jb-entry .jb-faq-toggle{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit;cursor:pointer;box-shadow:none}
.jb-entry .jb-faq-toggle:focus-visible{outline:3px solid #02604b;outline-offset:4px}

/* Original responsive table treatment with accessible header associations. */
/* =============================================
   J.G. Winter — RESPONSIVE TABLE STYLES
   Works globally on all blog/page content
   ============================================= */

/* Desktop wrapper */
.jb-entry .wp-block-table {
    margin: 32px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jb-entry .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
    border-left: 4px solid #E4BD64;
}

/* Header row — targets first row regardless of thead or tbody */
.jb-entry .wp-block-table .jb-table-header-row th {
    background-color: #02604B;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    border: none;
}

/* White text on bold/strong inside header row */
.jb-entry .wp-block-table .jb-table-header-row th b,
.jb-entry .wp-block-table .jb-table-header-row th strong,
.jb-entry .wp-block-table thead tr th b,
.jb-entry .wp-block-table thead tr th strong {
    color: #ffffff;
}

/* Alternating body rows */
.jb-entry .wp-block-table tbody tr:nth-child(odd):not(:first-child) {
    background-color: #f4faf8;
}

.jb-entry .wp-block-table tbody tr:nth-child(even):not(:first-child) {
    background-color: #ffffff;
}

/* Body cells */
.jb-entry .wp-block-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(2, 96, 75, 0.1);
    border-right: 1px solid rgba(2, 96, 75, 0.08);
    color: #1a1a1a;
    vertical-align: top;
}

.jb-entry .wp-block-table tbody td:last-child {
    border-right: none;
}

/* Bold and links inside body cells */
.jb-entry .wp-block-table tbody td b,
.jb-entry .wp-block-table tbody td strong {
    color: #02604B;
    font-weight: 600;
}

.jb-entry .wp-block-table tbody td a {
    color: #02604B !important;
    text-decoration: none;
    font-weight: 500;
}

/* =============================================
   MOBILE — STACKED CARD LAYOUT
   No hardcoded column labels.
   Works for any number of columns.
   ============================================= */
@media (max-width: 767px) {

    .jb-entry .wp-block-table table,
    .jb-entry .wp-block-table tbody,
    .jb-entry .wp-block-table thead {
        display: block;
        width: 100%;
    }



    /* Each row becomes a card */
    .jb-entry .wp-block-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border-left: 4px solid #E4BD64;
        border-radius: 2px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(2, 96, 75, 0.08);
    }

    /* Every cell stacks full width */
    .jb-entry .wp-block-table tbody td,
    .jb-entry .wp-block-table thead th {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 14px;
        border-right: none;
        border-bottom: 1px solid rgba(2, 96, 75, 0.1);
        font-size: 14px;
    }

    /* First cell in each row — light green tint with green top border */
    .jb-entry .wp-block-table tbody td:first-child {
        background-color: #e8f5f1;
        border-top: 2px solid #02604B;
    }

    /* Remaining cells — white with subtle separator */
    .jb-entry .wp-block-table tbody td:not(:first-child) {
        background-color: #ffffff;
        border-top: none;
    }

    /* Last cell in a row — no bottom border */
    .jb-entry .wp-block-table tbody td:last-child {
        border-bottom: none;
    }

    /* Remove alternating row backgrounds on mobile — card handles it */
    .jb-entry .wp-block-table tbody tr:nth-child(odd):not(:first-child),
    .jb-entry .wp-block-table tbody tr:nth-child(even):not(:first-child) {
        background-color: transparent;
    }

}


@media(max-width:767px){
  /* Keep column headers available to assistive technology in the original card layout. */
  .jb-entry .jb-a11y-table thead{display:table-header-group!important}
  .jb-entry .jb-a11y-table .jb-table-header-row{display:table-row!important;position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
  .jb-entry .wp-block-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#02604b;margin-bottom:3px}
}

/* Related posts span the full page container after both article and sidebar. */
.jb-related{max-width:1840px;margin:0 auto;padding:0 40px 80px}
.jb-related>.jb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1023px){.jb-related>.jb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.jb-related{padding:0 20px 50px}.jb-related>.jb-grid{grid-template-columns:minmax(0,1fr)}}

/* Native copy of the existing practice-page footer consultation section. */
.jb-footer-consultation{background:#02604b;color:#fff;padding:0 40px}
.jb-footer-consultation-inner{max-width:1440px;margin:auto;padding:144px 0;display:grid;grid-template-columns:minmax(0,1.487fr) minmax(0,1fr);gap:70px;align-items:start}
.jb-footer-intro{min-width:0;display:grid;gap:20px}
.jb-footer-intro h2{font:600 56px/64px Nohemi,Arial,sans-serif;color:#fff;margin:0}
.jb-footer-intro h2 span{color:#e4bd64}
.jb-footer-intro h3{font:600 40px/56px Nohemi,Arial,sans-serif;color:#fff;margin:0}
.jb-footer-intro p{font:400 16px/30px Roboto,Arial,sans-serif;margin:0}
.jb-footer-intro iframe{display:block;border:0;width:100%;height:400px}
.jb-footer-office-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.jb-footer-office-lists ul{list-style:none;padding:0;margin:0}
.jb-footer-office-lists li{display:flex;gap:10px;margin:0 0 12px;font:500 16px/30px Roboto,Arial,sans-serif}
.jb-footer-office-lists svg{width:16px;height:22px;flex:0 0 16px;margin-top:4px;fill:#e4bd64}
.jb-footer-office-lists a{color:#fff}
.jb-footer-intro a:focus-visible{outline-color:#fff}
.jb-footer-form.jb-form{padding:25px 30px;border:0;min-width:0;color:#000;scroll-margin-top:150px}
.jb-footer-form h2{font:600 32px/40px Nohemi,Arial,sans-serif;text-align:center;color:#000;margin:0}
.jb-footer-form h2 span{display:block;font-size:24px}
.jb-footer-form>p{font:400 16px/30px Roboto,Arial,sans-serif;text-align:center;margin:16px 0}
.jb-footer-form .jb-footer-phone{display:flex;justify-content:center;align-items:center;gap:12px;color:#02604b;font:600 27.2px/32px Roboto,Arial,sans-serif;margin:20px 0 12px}
.jb-footer-phone svg{width:27px;height:27px;fill:currentColor;flex-shrink:0}
.jb-footer-form>.jb-footer-form-divider{font-size:18px;line-height:32px;color:#666;border-bottom:1px solid #eee;margin:0 0 15px;padding-bottom:12px}
.jb-footer-form .gform_fields{gap:20px}
.jb-footer-form :is(input[type=text],input[type=tel],input[type=email],textarea){height:50px;padding:20px 24px;color:#112337}
.jb-footer-form textarea{height:130px;min-height:130px;line-height:1.5}
.jb-footer-form #gform_wrapper_5 textarea{border-radius:0}
.jb-footer-form #gform_wrapper_5 .gfield:not(.gfield_error) textarea:not(:focus){border-color:rgba(0,0,0,.2);box-shadow:none}
.jb-footer-form .gfield_checkbox label{font-size:14px;line-height:22px}
.jb-footer-form .gfield_consent_label p{padding-top:0!important}
.jb-footer-form .gform_footer{margin-top:20px}
.jb-footer-form :is(input[type=submit],button[type=submit]){min-height:67px;padding:20px;font-size:20px;line-height:27px;font-weight:500;text-transform:none}
.jb-footer-form #gform_submit_button_5{background:#02604b!important;color:#fff;border:0;border-radius:0;box-shadow:none}
.jb-footer-form #gform_submit_button_5:hover{background:#021a1a!important;color:#fff}
@media(max-width:1023px){.jb-footer-consultation-inner{grid-template-columns:minmax(0,1fr);gap:50px;padding:70px 0}.jb-footer-intro h2{font-size:40px;line-height:1.3}.jb-footer-intro h3{font-size:32px;line-height:1.4}.jb-footer-form.jb-form{scroll-margin-top:100px}}
@media(max-width:767px){.jgw-blog-single .jb-sidebar>.jb-consultation{display:none}.jb-footer-consultation{padding:0 20px}.jb-footer-consultation-inner{padding:56px 0}.jb-footer-intro h2{font-size:32px;line-height:1.3}.jb-footer-intro h3{font-size:28px;line-height:1.4}.jb-footer-intro iframe{height:300px}.jb-footer-office-lists{grid-template-columns:minmax(0,1fr);gap:0}.jb-footer-form.jb-form{padding:40px 20px}.jb-footer-form h2{font-size:24px;line-height:32px}.jb-footer-form h2 span{font-size:20px;line-height:32px}.jb-footer-form .jb-footer-phone{font-size:24px}}
