/* law4u additions on top of the original Astra/Spectra CSS */
html,body{overflow-x:hidden}
.law-crumbs{font-size:13px;color:#777;margin:0 0 .6em}
.law-crumbs a{color:#2E4057}
.law-meta2{display:block;margin-top:.3em;color:#888}
/* footer boxes – same values as the old inline styles */
.law-ftr-box{text-align:center;padding:28px 14px;background:#F7F7F5;border-radius:8px}
.law-ftr-h{margin:0 0 14px;font-size:15px;letter-spacing:.15em;font-weight:700;color:#2E4057;font-family:inherit;line-height:1.4}
.law-ftr-l{margin:6px 0}.law-ftr-s{font-size:13px;margin-top:12px}
.law-ftr-p{margin:0 0 .4em;line-height:1.7;color:#1a1a1a}
.law-ftr-logo{width:80px;height:auto;display:block;margin:14px auto 0;opacity:.95}
.law-ftr-box a[href*="line.me"]{padding:2px 10px;border-width:1px}
/* home: illustrations instead of stock photos */
.uagb-block-29e0a2b9 img{object-fit:cover}
.uagb-ifb-title a{color:inherit}
/* testimonials without slick js: static 3-column grid */
.uagb-tm__items.is-carousel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:921px){.uagb-tm__items.is-carousel{grid-template-columns:1fr}}
.uagb-counter-block-number{font-variant-numeric:tabular-nums}
/* article additions */
.key-summary{background:#F7F7F5;border-left:4px solid #CBAF74;padding:18px 22px;margin:0 0 1.6em;border-radius:4px}
.key-summary p{margin:0 0 .5em}.key-summary-date{font-size:13px;color:#777;margin:0!important}
.toc{background:#fff;border:1px solid #e5e5e5;border-radius:6px;padding:16px 22px;margin:0 0 1.8em}
.toc-title{font-weight:700;margin:0 0 .4em}.toc ol,.toc ul{margin:0 0 0 1.2em}
.law-cites,.law-related{margin-top:2em}
.law-cites h2,.law-related h2{font-size:26px}
.tags span{display:inline-block;margin:0 8px 6px 0;font-size:13px;color:#2E4057;background:#F7F7F5;padding:2px 10px;border-radius:12px}
.disclaimer{font-size:13px;color:#777;border-top:1px solid #eee;padding-top:1em;margin-top:2em}
.post-cta,.author-bio{background:#F7F7F5;border-radius:8px;padding:20px 24px;margin:1.5em 0}
.post-cta p:last-child,.author-bio p:last-child{margin-bottom:0}
.author-bio-title{font-size:13px;letter-spacing:.1em;color:#777;margin:0}
.author-bio-name{font-weight:700;font-size:18px;margin:.2em 0}
.author-bio-contact{margin:.4em 0 .6em 1.2em}
.entry-content img{max-width:100%;height:auto}
.entry-content table{display:block;overflow-x:auto;max-width:100%}
/* archive */
.law-cat-chips a{display:inline-block;margin:0 10px 8px 0;font-size:14px}
.ast-archive-description .taxonomy-description{max-width:800px}
/* simple pages (404/search) */
.phero .wrap,.sec .wrap{max-width:750px;margin:0 auto;padding:40px 20px 0}
.sec .wrap{padding-bottom:60px}
.uagb-ifb-image-content img{max-width:60px;height:auto}
.uagb-tm__items.is-carousel,.uagb-tm__items .uagb-testimonial__wrap{visibility:visible!important}
/* restore-photos: keep foreign model faces out of the CTA background (crop to hands/table) */
.wp-block-uagb-container.uagb-block-d0290fb1{background-attachment:scroll!important;background-size:cover!important;background-position:50% 62%!important}
@media (max-width:767px){.wp-block-uagb-container.uagb-block-d0290fb1{background-size:auto 1100px!important;background-position:40% 62%!important}}
/* ===== navy + gold colour scheme (colour only) ===== */
:root{--ast-global-color-0:#1B355C!important;--ast-global-color-1:#0F2440!important;--ast-global-color-2:#0F2440!important;--ast-global-color-3:#2A2A2A!important;--ast-global-color-4:#F7F5F0!important;--ast-global-color-6:#E4DCC8!important;--ast-global-color-7:#0F2440!important;--ast-global-color-8:#2A2A2A!important;--law-navy:#0F2440;--law-navy2:#1B355C;--law-gold:#B8913A;--law-gold-h:#A07C2C}
body{color:#2A2A2A}
.ast-plain-container,.ast-page-builder-template,.ast-separate-container{background-color:#F7F5F0}
/* accents: separators, image offset blocks, icons -> gold */
.uagb-ifb-separator,.uagb-separator,.wp-block-uagb-advanced-heading .uagb-separator{border-top-color:#B8913A!important}
.wp-block-uagb-image figure img[class*="uag-image"]{--x:0}
.uagb-block-1906db38.wp-block-uagb-image--layout-default figure img{box-shadow:40px -40px 0 0 #B8913A!important}
.uagb-block-29e0a2b9.wp-block-uagb-image--layout-default figure img{box-shadow:30px 30px 0 0 #B8913A!important}
.wp-block-uagb-counter .wp-block-uagb-counter__icon svg,.uagb-ifb-icon-wrap svg,.uagb-icon-list__source-icon svg{fill:#B8913A!important}
.key-summary{border-left-color:#B8913A}
/* links on light bg */
.entry-content a:not(.wp-block-button__link):not(.uagb-buttons-repeater):not(.uagb-infobox-cta-link),.law-crumbs a,.tags span,.law-ftr-h{color:#1B355C}
.entry-content a:not(.wp-block-button__link):not(.uagb-buttons-repeater):not(.uagb-infobox-cta-link):hover{color:#A07C2C}
/* buttons: navy, white text; hover: deeper navy with gold edge */
.wp-block-button__link,.uagb-buttons-repeater,.uagb-infobox-cta-link,.ast-button,button.menu-toggle,input[type=submit]{background-color:#1B355C!important;border-color:#1B355C!important;color:#fff!important}
.wp-block-button__link *,.uagb-buttons-repeater *,.uagb-infobox-cta-link *{color:#fff!important}
.wp-block-button__link:hover,.uagb-buttons-repeater:hover,.uagb-infobox-cta-link:hover,.ast-button:hover,input[type=submit]:hover{background-color:#0F2440!important;border-color:#B8913A!important;color:#fff!important}
/* on dark sections buttons get gold with navy text */
.uagb-block-d0290fb1 .uagb-infobox-cta-link,.uagb-block-d0290fb1 .wp-block-button__link{background-color:#B8913A!important;border-color:#B8913A!important;color:#0F2440!important}
.uagb-block-d0290fb1 .uagb-infobox-cta-link *{color:#0F2440!important}
.uagb-block-d0290fb1 .uagb-infobox-cta-link:hover{background-color:#A07C2C!important;border-color:#A07C2C!important;color:#fff!important}
/* photo overlays navy-tinted */
.wp-block-uagb-container.uagb-block-fe83ce66::before{background:#0F2440!important}
.wp-block-uagb-container.uagb-block-d0290fb1::before{background:#0F2440!important;opacity:.72!important}
/* header + footer navy */
.ast-primary-header-bar,.main-header-bar,.ast-mobile-header-wrap .ast-primary-header-bar{background-color:#0F2440!important;border-bottom:2px solid #B8913A}
.ast-primary-header-bar .menu-link,.ast-primary-header-bar a,.ast-primary-header-bar .site-title a,.ast-primary-header-bar .site-description,.ast-header-break-point .menu-toggle .ast-mobile-svg{color:#fff!important;fill:#fff!important}
.ast-primary-header-bar .menu-link:hover,.ast-primary-header-bar .current-menu-item>.menu-link{color:#D9B866!important}
.ast-primary-header-bar .sub-menu,.ast-builder-menu-mobile .main-navigation .main-header-menu,.ast-mobile-popup-drawer .ast-mobile-popup-inner{background-color:#0F2440!important}
.site-above-footer-wrap,.site-primary-footer-wrap,.site-below-footer-wrap,.site-footer{background-color:#0F2440!important;border-top-color:#B8913A!important}
.site-footer,.site-footer p,.site-footer .ast-footer-copyright{color:#E8E4DA!important}
.site-footer a{color:#D9B866!important}
.law-ftr-box{background:#1B355C;color:#fff}
.law-ftr-box .law-ftr-h{color:#D9B866}
.law-ftr-box .law-ftr-p,.law-ftr-box p,.law-ftr-box{color:#F2EEE4}
.law-ftr-box a{color:#fff!important}
.law-ftr-box a:hover{color:#D9B866!important}
.law-ftr-box a[href*="line.me"]{border-color:#D9B866!important}
/* navy-gold: beat wp-custom.css generic link rule */
html body a:not(.wp-block-button__link):not(.uagb-buttons-repeater a):not([href*="line.me"]){color:#1B355C!important}
html body a:not(.wp-block-button__link):not(.uagb-buttons-repeater a):not([href*="line.me"]):hover{color:#0F2440!important}
html body a[href*="line.me"]{color:#1B355C}
html body .ast-primary-header-bar a:not(.wp-block-button__link):not(.uagb-buttons-repeater a),html body .site-footer a:not(.wp-block-button__link):not(.uagb-buttons-repeater a),html body .law-ftr-box a:not(.wp-block-button__link):not(.uagb-buttons-repeater a),html body .ast-mobile-popup-drawer a{color:#fff!important}
html body .ast-primary-header-bar a:not(.wp-block-button__link):not(.uagb-buttons-repeater a):hover,html body .site-footer a:not(.wp-block-button__link):not(.uagb-buttons-repeater a):hover,html body .law-ftr-box a:not(.wp-block-button__link):not(.uagb-buttons-repeater a):hover,html body .ast-primary-header-bar .current-menu-item>a.menu-link{color:#D9B866!important}
.law-crumbs,.key-summary-date,.disclaimer,.author-bio-title,.law-meta2,.key-summary time{color:#5E5E5E!important}
html body .ast-header-break-point .menu-toggle,html body button.menu-toggle{background:transparent!important;border-color:transparent!important}
html body .menu-toggle .ast-mobile-svg,html body .menu-toggle .ast-mobile-svg path{fill:#fff!important;color:#fff!important}
html body .ast-mobile-header-content,html body .ast-mobile-header-content .main-header-menu,html body .ast-mobile-header-content .sub-menu{background-color:#0F2440!important}
html body .ast-mobile-header-content a{color:#fff!important}
html body .ast-mobile-header-wrap .menu-link,html body .ast-header-break-point .main-navigation .menu-link{background-color:#0F2440!important;color:#fff!important}
html body .ast-mobile-header-wrap .current-menu-item>.menu-link,html body .ast-mobile-header-wrap .menu-link:hover{background-color:#1B355C!important;color:#D9B866!important}
html body #ast-mobile-header a.menu-link:not(.wp-block-button__link):not(.uagb-buttons-repeater a):not([href*="line.me"]){color:#fff!important}
html body #ast-mobile-header .current-menu-item>a.menu-link:not(.wp-block-button__link):not(.uagb-buttons-repeater a):not([href*="line.me"]),html body #ast-mobile-header a.menu-link:not(.wp-block-button__link):not(.uagb-buttons-repeater a):not([href*="line.me"]):hover{color:#D9B866!important}
html body #ast-mobile-header .ast-menu-toggle{color:#fff!important}
/* ===== inner-page layout fixes (static pages) ===== */
body.page.ast-narrow-container .site-content>.ast-container{max-width:1240px}
body.page.ast-narrow-container .site-content #primary{max-width:1200px;width:100%}
.entry-content .center{text-align:center}
html body .entry-content a.btn,html body .entry-content a.btn-outline{display:inline-block;padding:12px 28px;border-radius:6px;font-weight:700;text-decoration:none!important;transform:none;box-shadow:none;border:2px solid #1B355C!important;line-height:1.4}
html body .entry-content a.btn{background:#1B355C!important;color:#fff!important}
html body .entry-content a.btn:hover{background:#0F2440!important;border-color:#B8913A!important;color:#fff!important}
html body .entry-content a.btn-outline{background:#fff!important;color:#1B355C!important}
html body .entry-content a.btn-outline:hover{background:#1B355C!important;color:#fff!important}
html body .entry-content a.btn-lg{padding:15px 36px;font-size:1.08em}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:1.5em 0 2em}
@media(max-width:767px){.grid3{grid-template-columns:1fr}}
html body .entry-content .tcard{display:block;background:#fff;border:1px solid #E4DCC8!important;border-top:4px solid #B8913A!important;border-radius:8px;padding:26px 22px;text-align:center;color:#2A2A2A!important;text-decoration:none!important;transform:none!important;box-shadow:0 2px 10px rgba(15,36,64,.06)!important;font-weight:400}
html body .entry-content a.tcard:hover{background:#fff!important;color:#2A2A2A!important;box-shadow:0 6px 18px rgba(15,36,64,.14)!important}
.tcard .ic{color:#B8913A;display:block;margin:0 auto 10px}
.tcard .tcard-title,.tcard h3{color:#0F2440;font-weight:700;font-size:1.15em;margin:0 0 .4em}
.tcard p{margin:0 0 .3em}
.fee-table{display:table!important;width:100%!important;border-collapse:collapse;margin:0 0 2em;background:#fff;overflow:visible}
.fee-table th{background:#0F2440;color:#fff;text-align:left;padding:12px 16px;font-weight:700}
.fee-table td{padding:12px 16px;border-bottom:1px solid #E4DCC8}
.fee-table tbody tr:nth-child(even) td{background:#F7F5F0}
.fee-table td:first-child{font-weight:700;color:#0F2440;width:40%}
@media(max-width:767px){.fee-table th,.fee-table td{padding:10px 10px;font-size:15px}}
.entry-content blockquote{border-left:4px solid #B8913A;background:#F7F5F0;padding:14px 20px;margin:1.5em 0;font-style:normal}
ol.flow{list-style:none;counter-reset:f;margin:1.5em 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
ol.flow li{counter-increment:f;background:#fff;border:1px solid #E4DCC8;border-radius:8px;padding:48px 18px 18px;position:relative}
ol.flow li::before{content:counter(f);position:absolute;top:14px;left:18px;width:28px;height:28px;border-radius:50%;background:#0F2440;color:#fff;font-weight:700;text-align:center;line-height:28px}
@media(max-width:921px){ol.flow{grid-template-columns:1fr 1fr}}@media(max-width:544px){ol.flow{grid-template-columns:1fr}}
/* about */
.ab-hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin:2em 0 3em}
.ab-hero-img{margin:0;text-align:center}.ab-hero-img img{width:100%;max-width:400px;box-shadow:24px -24px 0 0 #B8913A}
.ab-quote{border:0!important;background:none!important;padding:0!important;font-size:1.25em;line-height:1.8;margin:0}
.ab-quote::before{content:"\201C";display:block;font-size:3em;line-height:.8;color:#B8913A;font-family:Georgia,serif}
.ab-quote p:last-child{font-size:.75em;margin-top:1em}
.entry-content h2{text-align:center;margin:2em 0 1em}
body.page .entry-content h2{text-align:center}
.ab-feat,.ab-fees{display:grid;grid-template-columns:1fr 1fr;gap:28px 48px;margin-bottom:2em}
.ab-fi{display:flex;gap:14px;align-items:flex-start}
.ab-ic{flex:0 0 36px;height:36px;border-radius:50%;background:#0F2440;color:#B8913A;display:flex;align-items:center;justify-content:center;margin-top:4px}
.ab-fi h3{margin:0 0 .3em;font-size:1.2em}
.ab-faq{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 40px;margin-bottom:2em}
.ab-q h3{font-size:1.3em;margin:0 0 .6em}
.ab-cta{display:grid;grid-template-columns:3fr 2fr;gap:40px;align-items:center;background:#0F2440;color:#F2EEE4;border-radius:10px;padding:44px 48px;margin:3em 0 2em}
.ab-cta h2{color:#fff;text-align:left!important;margin:0 0 .5em}
.ab-cta h3{color:#D9B866;margin:0 0 .8em}
.ab-cta-r{text-align:center}
html body .ab-cta a.btn{background:#B8913A!important;border-color:#B8913A!important;color:#0F2440!important}
html body .ab-cta a.btn:hover{background:#D9B866!important;border-color:#D9B866!important;color:#0F2440!important}
.ab-office{text-align:center;padding:1em 0}
.ab-office h3{margin-bottom:.5em}
@media(max-width:921px){.ab-hero,.ab-feat,.ab-fees,.ab-cta{grid-template-columns:1fr}.ab-faq{grid-template-columns:1fr 1fr}.ab-cta{padding:30px 22px}.ab-hero{gap:40px}}
@media(max-width:544px){.ab-faq{grid-template-columns:1fr}.ab-hero-img img{max-width:300px;box-shadow:14px -14px 0 0 #B8913A}}
/* simple pages (search/404) */
.phero{background:#0F2440;color:#F2EEE4;padding:0 0 36px}
.phero .wrap{padding-top:36px!important}
.phero h1{color:#fff;margin:.2em 0}
html body .phero .crumbs a{color:#D9B866!important}
.phero .crumbs,.phero .sub{color:#E8E4DA;margin:0}
.sec .narrow{max-width:750px}
/* mobile sub-menu: show expand toggle + labels when expanded */
html body #ast-mobile-header .menu-item-has-children{position:relative}
html body #ast-mobile-header .menu-item-has-children>.ast-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;position:absolute;top:0;right:0;width:48px;height:48px;padding:0;background:transparent;border:0;cursor:pointer}
html body #ast-mobile-header .menu-item-has-children>.ast-menu-toggle svg{width:14px;height:14px;fill:#fff}
html body #ast-mobile-header .ast-submenu-expanded>.ast-menu-toggle svg{transform:rotate(180deg)}
html body #ast-mobile-header .ast-submenu-expanded>.sub-menu{display:block!important}
html body #ast-mobile-header .ast-submenu-expanded>.sub-menu,html body #ast-mobile-header .ast-submenu-expanded>.sub-menu li,html body #ast-mobile-header .ast-submenu-expanded>.sub-menu a{visibility:visible!important;opacity:1!important}
html body #ast-mobile-header .sub-menu a.menu-link{color:#fff!important;padding-left:36px}
html body #ast-mobile-header .main-header-menu{display:flex!important;flex-direction:column!important;width:100%}
html body #ast-mobile-header .main-header-menu>li,html body #ast-mobile-header .main-header-menu .sub-menu>li{width:100%;display:block}
html body #ast-mobile-header .main-header-menu>li>a.menu-link{display:block;padding:12px 56px 12px 20px;border-bottom:1px solid rgba(255,255,255,.12)}
html body #ast-mobile-header .main-header-menu .dropdown-menu-toggle{display:none!important}
html body #ast-mobile-header .sub-menu{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;box-shadow:none!important;border:0!important}
html body #ast-mobile-header .sub-menu a.menu-link{display:block;padding:10px 20px 10px 40px}
/* desktop header: keep nav on one line 922-1920 */
@media (min-width:922px){
#ast-desktop-header .ast-builder-grid-row{flex-wrap:nowrap!important;column-gap:12px}
#ast-desktop-header .site-header-section{min-width:0}
#ast-desktop-header .site-header-primary-section-left,#ast-desktop-header .site-header-primary-section-right{flex:1 1 0!important}
#ast-desktop-header .site-header-primary-section-center{flex:0 0 auto!important}
#ast-desktop-header .main-header-menu{flex-wrap:nowrap!important;white-space:nowrap}
#ast-desktop-header .main-header-menu>li>.menu-link{white-space:nowrap;padding-left:10px!important;padding-right:10px!important}
}
@media (min-width:922px) and (max-width:1279px){
#ast-desktop-header .main-header-menu>li>.menu-link{font-size:15px!important;padding-left:6px!important;padding-right:6px!important}
#ast-desktop-header .custom-logo{width:84px!important;height:auto!important}
#ast-desktop-header .site-title,#ast-desktop-header .site-title a{font-size:20px!important;white-space:nowrap}
#ast-desktop-header .ast-container,#ast-desktop-header .site-primary-header-wrap{padding-left:16px!important;padding-right:16px!important}
}
@media (min-width:922px) and (max-width:1023px){
#ast-desktop-header .main-header-menu>li>.menu-link{font-size:14px!important;padding-left:4px!important;padding-right:4px!important}
#ast-desktop-header .custom-logo{width:64px!important}
#ast-desktop-header .site-title,#ast-desktop-header .site-title a{font-size:17px!important}
}
