/*
Theme Name: Lawfirm Elegance · 이제한 통합
Theme URI: https://example.com/lawfirm-elegance
Author: OpenAI
Description: 프리미엄 법률사무소를 위한 네이비·골드 블록 테마. 모든 문구와 이미지를 사이트 편집기에서 수정할 수 있습니다.
Version: 2.0.4
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: lawfirm-elegance-lee
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@400;500;600&display=swap');
:root{--law-navy:#0c1722;--law-paper:#f5f4f0;--law-gold:#c3a575;--law-ink:#182631;--law-muted:#646b70;--law-serif:'Noto Serif KR','Nanum Myeongjo','Batang',serif;--law-sans:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--law-paper);color:var(--law-ink);font-family:var(--law-sans);-webkit-font-smoothing:antialiased}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.law-header{height:106px;padding:0 6%;display:flex;align-items:center;justify-content:space-between;background:var(--law-navy);color:#f3f1eb;border-bottom:1px solid #ffffff1c}.law-brand-name{font-family:var(--law-serif);font-size:23px!important;font-weight:600;letter-spacing:1px;margin:0}.law-brand-name a{text-decoration:none}.law-brand-en{font-size:9px!important;letter-spacing:2.5px;color:var(--law-gold);margin:5px 0 0}.law-brand{border-left:3px double var(--law-gold);padding-left:16px}.law-nav{font-size:14px;letter-spacing:.03em}.law-nav a{padding:13px 0!important}.law-nav a:hover{color:var(--law-gold)}.law-hero{min-height:740px!important;color:#f5f4ee}.law-hero .wp-block-cover__image-background{object-position:61% 46%}.law-hero .wp-block-cover__background{background:linear-gradient(90deg,#0c1722 0%,#0c1722ed 22%,#0c1722a6 48%,#0c17220a 85%),linear-gradient(0deg,#0c1722c9 0%,transparent 35%)!important;opacity:1!important}.law-hero .wp-block-cover__inner-container{width:100%;height:100%;align-self:stretch;display:flex}.law-hero-inner{width:100%;padding:78px 8% 108px;max-width:1600px;margin:auto!important;display:flex;flex-direction:column;justify-content:center}.law-eyebrow{font-size:12px!important;font-weight:500;letter-spacing:2.2px;color:var(--law-gold);line-height:1.8;margin:0}.law-hero h1{font-family:var(--law-serif);font-weight:400;font-size:clamp(39px,4.2vw,64px);line-height:1.55;letter-spacing:-.055em;margin:31px 0 25px}.law-gold{color:var(--law-gold)}.law-hero-copy{color:#e1e0db;font-size:17px!important;line-height:1.9}.law-text-link{display:inline-flex;width:max-content;font-size:14px;padding:15px 0;border-bottom:1px solid var(--law-gold);margin-top:13px;text-decoration:none}.law-section{padding-left:8%;padding-right:8%;max-width:1600px;margin:0 auto!important}.law-philosophy{padding-top:118px;padding-bottom:118px}.law-section-label{font-size:11px!important;letter-spacing:2px;color:#837152;margin-bottom:18px}.law-section-sub{font-size:16px!important}.law-philosophy h2{font-family:var(--law-serif);font-size:clamp(28px,3.1vw,43px);font-weight:500;letter-spacing:-.045em;line-height:1.7;margin:0 0 27px}.law-philosophy-copy{color:var(--law-muted);font-size:16px!important;line-height:1.95}.law-principles{padding-top:25px;padding-bottom:110px}.law-principles-heading{padding-bottom:35px;border-bottom:1px solid #34404a}.law-principles-heading h2{font-family:var(--law-serif);font-size:30px;font-weight:500;letter-spacing:-.05em;margin:0}.law-principle{padding:48px 0;border-bottom:1px solid #d4d4ce;display:grid;grid-template-columns:18% 39% 43%;align-items:start}.law-number{font-family:Georgia,serif;font-size:51px!important;color:#a98d60;line-height:1.05;margin:0}.law-number small{display:block;font-family:var(--law-sans);font-size:10px;letter-spacing:1.6px;color:#6c716f;margin-top:19px}.law-principle h3{font-family:var(--law-serif);font-size:clamp(23px,2.3vw,31px);line-height:1.6;font-weight:500;letter-spacing:-.04em;margin:0}.law-principle h4{font-size:17px;font-weight:500;line-height:1.8;margin:0 0 16px;letter-spacing:-.025em}.law-principle-copy{font-size:15px!important;line-height:1.95;color:var(--law-muted);margin:0 0 11px;word-break:keep-all}.law-together{background:var(--law-navy);color:#eeeae0;padding:92px 24px 81px;text-align:center}.law-together .law-eyebrow{font-size:11px!important;letter-spacing:2.8px}.law-together h2{font-family:var(--law-serif);font-size:clamp(30px,3.4vw,46px);line-height:1.65;font-weight:400;letter-spacing:-.04em;margin:24px 0}.law-together-copy{font-size:16px!important;line-height:1.9;color:#bfc5ca}.law-signature{font-size:13px!important;letter-spacing:3px;margin-top:43px;color:#c7b89f}.law-footer{background:var(--law-navy);color:#e0e2e3;border-top:1px solid #ffffff20;padding:32px 6%}.law-footer-brand{font-family:var(--law-serif);font-size:18px!important;letter-spacing:1px}.law-footer-brand a{text-decoration:none}.law-footer p{font-size:12px;color:#a7aeb4}.law-footer a{text-decoration:none}.law-top{margin-left:auto;white-space:nowrap}@media(max-width:900px){.law-header{height:90px}.law-philosophy{padding-top:85px;padding-bottom:85px}}@media(max-width:700px){.law-header{height:auto;min-height:83px;padding:18px 7%}.law-brand-name{font-size:19px!important}.law-header .wp-block-navigation-item:first-child{display:none}.law-hero{min-height:700px!important}.law-hero .wp-block-cover__background{background:linear-gradient(90deg,#0c1722e8,#0c1722a6 55%,#0c172252),linear-gradient(0deg,#0c1722f5,transparent 80%)!important}.law-hero-inner{padding:66px 7% 100px}.law-eyebrow{font-size:10px!important;letter-spacing:1.1px}.law-hero h1{font-size:clamp(31px,8.5vw,45px);line-height:1.65}.law-section{padding-left:7%;padding-right:7%}.law-philosophy{padding-top:68px;padding-bottom:65px}.law-philosophy>.wp-block-columns{display:block}.law-philosophy h2{margin-top:35px;font-size:29px}.law-principles{padding-top:0;padding-bottom:65px}.law-principles-heading{display:block!important}.law-principles-heading h2{font-size:27px;margin-top:27px}.law-principle{grid-template-columns:60px 1fr!important;padding:33px 0;gap:24px!important}.law-principle .law-detail{grid-column:2}.law-number{font-size:38px!important}.law-number small{display:none}.law-principle h3{font-size:25px}.law-principle-copy{font-size:16px!important}.law-together{padding:74px 7% 61px}.law-together h2{font-size:28px}.law-footer{padding:28px 7%;gap:15px!important}.law-footer>p{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Assistance page only: existing homepage styles are unchanged. */
.law-assistance{width:100%;max-width:none!important;margin:0!important}
.law-assistance .law-hero{padding:0}
.law-assistance .law-hero-inner{max-width:1600px!important;box-sizing:border-box}
.law-assistance .law-hero-inner>*{max-width:none!important;margin-left:0!important}
.law-assistance .law-section>*,.law-assistance .law-detail>*{max-width:none!important}
.law-assistance .law-principle{column-gap:26px;grid-template-columns:14% 35% minmax(0,1fr)}
.law-assistance .law-principle>*{min-width:0;margin:0}
.law-assistance .law-section-sub{line-height:1.9;max-width:270px!important;word-break:keep-all}
.law-assistance .law-philosophy .law-gold{color:#8d744a}
.law-assistance .law-principle-copy{font-size:16px!important}
.law-assistance .law-hero h1{font-size:clamp(32px,4vw,58px);word-break:keep-all}
.law-assistance h2,.law-assistance h3{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:700px){.law-assistance .law-hero-inner{padding:65px 7% 80px}.law-assistance .law-hero h1{font-size:clamp(30px,7.6vw,42px)}.law-assistance .law-principle{grid-template-columns:48px minmax(0,1fr)!important;gap:20px!important}.law-assistance .law-section-sub{max-width:none!important}}

/* Supplied footer logo, with original image proportions preserved. */
.law-footer{gap:26px;flex-wrap:wrap!important}
.law-footer .law-footer-logo{display:block;margin:0;flex:0 0 110px;width:110px;max-width:110px}
.law-footer .law-footer-logo img{display:block;width:100%;height:auto;border:1px solid rgba(195,165,117,.45)}
.law-footer .law-footer-brand{display:block!important;color:#e0e2e3}
@media(max-width:700px){.law-footer .law-footer-logo{flex-basis:80px;width:80px;max-width:80px}.law-footer .law-footer-brand{font-size:15px!important;max-width:calc(100% - 110px);word-break:keep-all}.law-footer .law-top{display:block!important;margin-left:auto}.law-footer{gap:18px!important}}

/* Keep the logo immediately before the office name as one unit. */
.law-footer .law-footer-identity{display:flex;flex-wrap:nowrap!important;align-items:center;gap:14px;min-width:0;max-width:100%;margin:0}
.law-footer .law-footer-identity .law-footer-logo{flex:0 0 62px;width:62px;max-width:62px;margin:0}
.law-footer .law-footer-identity .law-footer-brand{display:block!important;max-width:none;min-width:0;margin:0;color:#e0e2e3;font-size:18px!important;line-height:1.65;word-break:keep-all}
@media(max-width:700px){.law-footer .law-footer-identity{gap:10px}.law-footer .law-footer-identity .law-footer-logo{flex-basis:46px;width:46px;max-width:46px}.law-footer .law-footer-identity .law-footer-brand{font-size:15px!important}}

/* Header logo immediately before the office name. */
.law-header{gap:24px}
.law-header .law-header-identity{display:flex;align-items:center;flex-wrap:nowrap!important;gap:14px;min-width:0;margin:0}
.law-header .law-header-logo{flex:0 0 58px;width:58px;max-width:58px;margin:0}
.law-header .law-header-logo img{display:block;width:100%;height:auto;border:1px solid rgba(195,165,117,.45)}
.law-header .law-header-identity .law-brand{border:0;padding:0;min-width:0}
.law-header .law-brand-name{word-break:keep-all}
@media(max-width:1000px){.law-header{height:auto;min-height:106px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap!important}.law-header .law-nav{margin-left:auto}}
@media(max-width:700px){.law-header{gap:16px}.law-header .law-header-identity{gap:10px;max-width:100%}.law-header .law-header-logo{flex-basis:44px;width:44px;max-width:44px}.law-header .law-brand-name{font-size:17px!important;line-height:1.6}.law-header .law-brand-en{font-size:9px!important;letter-spacing:1px}}

/* Direct Lawtalk consultation link in the shared footer. */
.law-footer .law-footer-booking{margin-left:auto;flex-shrink:0}
.law-footer .law-booking-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border-radius:0;border:1px solid #c3a575;background:#c3a575;color:#0c1722;font-family:var(--law-sans);font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;transition:background-color .2s,color .2s}
.law-footer .law-booking-button .wp-block-button__link:hover{background:#dfc498;border-color:#dfc498}
.law-footer .law-booking-button .wp-block-button__link:focus-visible{outline:2px solid #fff;outline-offset:4px}
.law-footer .law-top{margin-left:0}
@media(max-width:700px){.law-footer .law-footer-booking{width:100%;margin-left:0;justify-content:flex-start}.law-footer .law-booking-button{width:100%}.law-footer .law-booking-button .wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:reduce){.law-footer .law-booking-button .wp-block-button__link{transition:none}}

/* Renewed assistance page: compact hero, statement, three editorial panels. */
.law-assistance-renewed{background:#f5f4f0}
.law-assistance-renewed .law-hero{min-height:640px!important}
.law-assistance-renewed .law-hero-inner{padding:74px 8% 78px}
.law-assistance-renewed .law-hero .wp-block-cover__image-background{object-position:85% 48%}
.law-assistance-renewed .law-hero .wp-block-cover__background{background:linear-gradient(90deg,#0c1722 0%,#0c1722f2 30%,#0c17228c 66%,#0c17222b)!important}
.law-assistance-renewed .law-hero h1{font-size:clamp(34px,3.8vw,57px);line-height:1.6;letter-spacing:-.045em;max-width:900px!important;margin-top:28px;margin-bottom:22px}
.law-assistance-renewed .law-eyebrow{font-size:14px!important;letter-spacing:1.5px}
.law-assistance-renewed .law-text-link a{color:inherit;text-decoration:none}
.law-assistance-renewed .law-philosophy{padding-top:90px;padding-bottom:90px}
.law-assistance-renewed .law-philosophy .wp-block-columns{gap:60px}
.law-assistance-renewed .law-philosophy h2{font-size:clamp(28px,2.8vw,40px);line-height:1.7}
.law-assistance-renewed .law-philosophy-copy{max-width:680px!important;word-break:keep-all;line-height:2}
.law-assistance-renewed .law-section-label{font-size:12px!important}
.law-assistance-renewed .law-principles{padding-bottom:95px}
.law-assistance-renewed .law-principles-heading{padding-bottom:30px;border-bottom:0}
.law-assistance-renewed .law-principles-heading .law-section-sub{max-width:none!important}
.law-assistance-renewed .law-competency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:none!important;border-top:1px solid #b5a27e;border-bottom:1px solid #d4d4ce}
.law-assistance-renewed .law-competency-grid .law-principle{display:flex!important;flex-direction:column;align-items:stretch;padding:40px 30px 35px;border:0;gap:0!important;min-width:0;margin:0}
.law-assistance-renewed .law-principle+.law-principle{border-left:1px solid #d4d4ce}
.law-assistance-renewed .law-number{font-size:54px!important;color:#a08557;display:flex;justify-content:space-between;align-items:center;gap:10px}
.law-assistance-renewed .law-number small{display:block;margin:0;font-size:10px;letter-spacing:1px}
.law-assistance-renewed .law-principle h3{font-size:clamp(25px,2.1vw,31px);line-height:1.6;margin:28px 0!important;min-height:100px}
.law-assistance-renewed .law-principle .law-gold{color:#8d744a}
.law-assistance-renewed .law-principle h4{font-size:16px;line-height:1.8;margin-bottom:16px}
.law-assistance-renewed .law-detail{border-top:1px solid #d4d4ce;padding-top:24px}
.law-assistance-renewed .law-principle-copy{font-size:16px!important;line-height:1.95;margin-bottom:15px}
.law-assistance-renewed .law-together{padding:77px 7% 70px}
.law-assistance-renewed .law-together h2{font-size:clamp(30px,3.4vw,46px)}
@media(max-width:1100px){.law-assistance-renewed .law-competency-grid .law-principle{padding-left:20px;padding-right:20px}.law-assistance-renewed .law-number{display:block}.law-assistance-renewed .law-number small{margin-top:10px}}
@media(max-width:850px){.law-assistance-renewed .law-competency-grid{grid-template-columns:1fr}.law-assistance-renewed .law-principle+.law-principle{border-left:0;border-top:1px solid #d4d4ce}.law-assistance-renewed .law-competency-grid .law-principle{padding:30px 0}.law-assistance-renewed .law-number{display:flex}.law-assistance-renewed .law-number small{margin-top:0}.law-assistance-renewed .law-principle h3{min-height:0;margin:22px 0!important}.law-assistance-renewed .law-philosophy .wp-block-columns{gap:30px}.law-assistance-renewed .law-principles-heading{gap:20px}}
@media(max-width:700px){.law-assistance-renewed .law-hero{min-height:600px!important}.law-assistance-renewed .law-hero-inner{padding:58px 7% 68px}.law-assistance-renewed .law-hero h1{font-size:clamp(28px,7.4vw,43px)}.law-assistance-renewed .law-eyebrow{font-size:12px!important;letter-spacing:.8px}.law-assistance-renewed .law-philosophy{padding-top:60px;padding-bottom:55px}.law-assistance-renewed .law-principles{padding-bottom:60px}.law-assistance-renewed .law-together{padding:60px 7%}}

.law-header .law-header-logo,.law-footer .law-footer-logo{background:#e5e7e9}

/* Unified header: keep the Lawfirm Elegance header and place the 이제한 menu inside it. */
.law-header{gap:24px}
.law-header .law-header-identity{flex:0 0 auto;min-width:0}
.law-header .law-nav{flex:1 1 auto;min-width:0;margin-left:auto}
.law-header .law-nav .wp-block-navigation__container{gap:clamp(12px,1.65vw,27px);flex-wrap:nowrap}
.law-header .law-nav .wp-block-navigation-item__content{color:#f3f1eb;font-size:14px;font-weight:500;white-space:nowrap}
.law-header .law-nav .wp-block-navigation-item__content:hover{color:var(--law-gold)}
.law-header-actions{flex:0 0 auto;margin:0 0 0 2px}
.law-consult-button .wp-block-button__link{min-height:48px;padding:11px 16px;border:1px solid var(--law-gold);border-radius:0;background:transparent;color:#f3f1eb;font-size:14px;font-weight:600;white-space:nowrap}
.law-consult-button .wp-block-button__link:hover{background:var(--law-gold);color:var(--law-navy)}
.law-header .wp-block-navigation__responsive-container.is-menu-open{padding:28px;background:var(--law-navy);color:#f3f1eb}
.law-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#f3f1eb}
.ljh-blog-page{background:#eef1f1}
.journal-query{width:100%;max-width:none!important;margin:0!important;padding:64px max(24px,5vw) 100px;background:linear-gradient(145deg,#e9eeee,#f7f8f6)}
.journal-query .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;width:100%;max-width:1240px;margin:0 auto!important}
.journal-query .wp-block-post{height:100%}
.journal-query .post-card{height:100%;min-width:0;overflow:hidden;background:#fff;border:0;border-top:3px solid #ad895b;border-radius:10px;box-shadow:0 16px 40px rgba(16,37,51,.11);display:flex;flex-direction:column;padding:0;transition:transform .22s ease,box-shadow .22s ease}
.journal-query .post-card:hover{transform:translateY(-3px);box-shadow:0 21px 48px rgba(16,37,51,.15)}
.journal-query .post-card-body{padding:28px;min-width:0}
.journal-query .post-card .wp-block-post-title{width:100%;margin:0 0 17px;font-family:var(--law-serif);font-size:21px;line-height:1.62;word-break:keep-all;overflow-wrap:break-word}
.journal-query .post-card .wp-block-post-title a{display:block;text-decoration:none}
.journal-query .post-card .wp-block-post-excerpt{width:100%;margin:0;color:#52636b;font-size:15px;line-height:1.85;word-break:keep-all}
.journal-query .post-card .wp-block-post-date{margin:0 0 17px;color:#806b50;font-size:12px;letter-spacing:.025em;line-height:1.6}
.journal-query .post-image{display:block;margin:0;background:#fff;overflow:hidden}
.journal-query .post-image img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
.journal-query .wp-block-query-pagination{max-width:1240px;margin:42px auto 0!important}
.consultation-hero{background:var(--law-navy);color:#f5f4ee}
.consultation-hero .eyebrow{color:var(--law-gold)}
.consultation-hero .lead{font-family:var(--law-serif);font-size:clamp(24px,3vw,40px);line-height:1.7}
.consultation-info{background:var(--law-paper)}
.consultation-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.consultation-copy h2{font-family:var(--law-serif);font-size:clamp(30px,3.4vw,46px);line-height:1.6;font-weight:400}
.consultation-card{border-top:2px solid var(--law-gold);padding:28px;background:#fff}
.consultation-list{padding-left:20px;color:var(--law-muted);line-height:2}
@media(max-width:1100px){.law-header{flex-wrap:wrap!important;height:auto;min-height:106px;padding-top:18px;padding-bottom:18px}.law-header .law-nav{margin-left:auto}.law-header-actions{margin-left:0}.law-header .law-nav .wp-block-navigation__container{gap:15px}}
@media(max-width:782px){.law-header{gap:16px}.law-header .law-nav{order:3;flex-basis:100%;margin-left:0}.law-header .law-nav .wp-block-navigation__container{gap:0;align-items:flex-start}.law-header-actions{margin-left:auto}.law-consult-button .wp-block-button__link{padding:10px 12px;font-size:13px}.journal-query{padding:0 20px 65px}.journal-query .wp-block-post-template{grid-template-columns:1fr;gap:20px}.consultation-grid{grid-template-columns:1fr;gap:35px}}

/* 2.0.2: requested footer information. */
.law-footer .law-footer-contact{flex:1 1 360px;min-width:280px;margin:0!important}
.law-footer .law-footer-contact p{margin:0;color:#bcc2c6;font-size:13px;line-height:1.75;word-break:keep-all}
.law-footer .law-footer-contact p+p{margin-top:4px}
.law-footer .law-footer-contact .law-footer-lawyer{color:#f0ece4;font-size:15px!important;font-weight:600}
.law-footer .law-footer-contact .law-footer-address{color:#d9dcdd}
.law-footer .law-footer-contact .law-footer-address-detail{color:#989fa4;font-size:12px}
.law-footer .law-footer-contact a{color:inherit;text-decoration:none}
.law-footer .law-footer-contact a:hover{color:var(--law-gold);text-decoration:underline;text-underline-offset:3px}
.law-footer .law-footer-tagline{flex:1 1 230px}

/* PC homepage: enlarge supporting copy only; primary headings stay unchanged. */
@media(min-width:901px){
  body.home .law-hero-copy{font-size:21px!important;line-height:1.9}
  body.home .law-text-link{font-size:16px}
  body.home .law-section-sub{font-size:18px!important}
  body.home .law-philosophy-copy{font-size:18px!important;line-height:2}
  body.home .law-principle h4{font-size:19px;line-height:1.85}
  body.home .law-principle-copy{font-size:17px!important;line-height:2}
  body.home .law-together-copy{font-size:18px!important;line-height:1.95}
  .assistance-intro .lead{font-size:20px;line-height:1.9}
  .assistance-promise .commitment-stage p:last-child{font-size:18px;line-height:1.9}
  .assistance-promise .commitment-note{font-size:18px;line-height:2}
  .assistance-statement .statement-copy h3{font-size:28px;line-height:1.75}
  .assistance-statement .statement-copy p{font-size:19px;line-height:2}
  .assistance-principles .principle-body p{font-size:18px;line-height:2}
  .assistance-principles .principle-body p.principle-lead{font-size:20px;line-height:1.9}
}

/* Mobile Light Edition: the same content and images, with a brighter presentation. */
@media(max-width:782px){
  :root{--law-mobile-paper:#fbfaf7;--law-mobile-surface:#fff;--law-mobile-soft:#f1ece3;--law-mobile-line:#e1d8ca;--law-mobile-ink:#172936;--law-mobile-gold:#9a7445}
  body{background:var(--law-mobile-paper);color:var(--law-mobile-ink)}

  .law-header{background:rgba(251,250,247,.98);color:var(--law-mobile-ink);border-bottom:1px solid var(--law-mobile-line);box-shadow:0 7px 24px rgba(23,41,54,.07)}
  .law-header .law-brand-name a,.law-header .law-nav .wp-block-navigation-item__content{color:var(--law-mobile-ink)!important}
  .law-header .law-brand-en{color:#866641}
  .law-header .wp-block-navigation__responsive-container-open,.law-header .wp-block-navigation__responsive-container-close{color:var(--law-mobile-ink)}
  .law-header .wp-block-navigation__responsive-container.is-menu-open{background:#fbfaf7;color:var(--law-mobile-ink);padding:26px}
  .law-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:var(--law-mobile-ink)!important}
  .law-consult-button .wp-block-button__link{background:#fff;color:var(--law-mobile-ink);border-color:#b59366;border-radius:6px}
  .law-consult-button .wp-block-button__link:hover{background:#eee5d7;color:var(--law-mobile-ink)}

  .law-hero{color:var(--law-mobile-ink)}
  .law-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(251,249,244,.98) 0%,rgba(248,244,236,.91) 62%,rgba(239,231,218,.62) 100%),linear-gradient(0deg,#f8f5ee 0%,rgba(248,245,238,.2) 68%)!important;opacity:1!important}
  .law-hero .law-eyebrow{color:#87643b}
  .law-hero h1{color:var(--law-mobile-ink)}
  .law-hero .law-gold{color:var(--law-mobile-gold)}
  .law-hero-copy{color:#465861}
  .law-text-link,.law-text-link a{color:var(--law-mobile-ink);border-bottom-color:#b28d5e}

  body.home .law-philosophy{max-width:calc(100% - 28px)!important;margin:18px auto!important;background:var(--law-mobile-surface);border:1px solid var(--law-mobile-line);border-radius:12px;box-shadow:0 10px 30px rgba(30,43,51,.05)}
  body.home .law-principles-heading{border-bottom-color:#cfc5b7}
  body.home .law-principle{margin:0 0 14px;padding:26px 20px;background:var(--law-mobile-surface);border:1px solid var(--law-mobile-line);border-top:2px solid #b08a59;border-radius:12px;box-shadow:0 9px 26px rgba(30,43,51,.05)}
  body.home .law-principle:last-child{margin-bottom:0}
  body.home .law-number{color:#987344}
  body.home .law-principle h3{color:var(--law-mobile-ink)}
  body.home .law-principle h4{color:#2d414b}
  body.home .law-principle-copy{color:#5a686e}
  .law-together{background:linear-gradient(145deg,#eee8de,#faf7f1);color:var(--law-mobile-ink);border-top:1px solid #ded2c1;border-bottom:1px solid #ded2c1}
  .law-together .law-eyebrow,.law-together .law-gold,.law-signature{color:var(--law-mobile-gold)}
  .law-together-copy{color:#56666e}

  .assistance-hero,.profile-hero,.reviews-hero,.journal-hero,.consultation-hero{background:linear-gradient(145deg,#fcfbf7,#eee8dd);color:var(--law-mobile-ink);border-bottom:1px solid var(--law-mobile-line)}
  .assistance-hero:before,.profile-hero:before,.reviews-hero:before,.journal-hero:before{opacity:.09;filter:sepia(1) saturate(.4)}
  .assistance-hero:after,.profile-hero:after,.reviews-hero:after,.journal-hero:after{background:linear-gradient(90deg,rgba(252,251,247,.99) 0%,rgba(248,244,237,.94) 66%,rgba(238,229,216,.72) 100%)!important}
  .assistance-hero .eyebrow,.profile-hero .eyebrow,.reviews-hero .eyebrow,.journal-hero .eyebrow,.consultation-hero .eyebrow{color:#87643b!important}
  .assistance-hero h1,.profile-hero h1,.reviews-hero h1,.journal-hero h1,.consultation-hero h1{color:var(--law-mobile-ink)!important}
  .assistance-intro{border-top-color:#c7b394}
  .assistance-intro .large-copy,.assistance-intro .lead,.assistance-intro .text-link{color:#344750}
  .profile-page-title,.profile-summary,.profile-hero .large-copy{color:#4f6068}
  .profile-display-name{color:var(--law-mobile-ink)}
  .profile-display-name span,.journal-hero .gold-dot{color:var(--law-mobile-gold)}
  .profile-hero .qualification-tags li{color:#685139;background:rgba(255,255,255,.68);border-color:#b99970}
  .reviews-hero .lead,.journal-hero .lead,.journal-hero .subtle{color:#56666e}
  .qualification-card{background:#fff;color:var(--law-mobile-ink);border:1px solid var(--law-mobile-line);border-top:2px solid #ad8655}
  .qualification-card .eyebrow{color:#87643b}

  .law-footer .law-footer-contact{flex-basis:100%;width:100%;min-width:0}
  .law-footer .law-footer-contact p{font-size:13px;line-height:1.8;white-space:normal}
  .law-footer .law-footer-contact .law-footer-lawyer{font-size:15px!important}
  .law-footer .law-footer-contact .law-footer-address-detail{font-size:12px}
}

/* The contact panel is injected into the rendered footer so saved footer edits cannot hide it. */
.law-footer-contact-panel{padding:28px 6% 34px;background:#0c1722;color:#dce1e2;border-top:1px solid rgba(255,255,255,.14)}
.law-footer-contact-panel-inner{max-width:1400px;margin:0 auto;padding-left:22px;border-left:2px solid #b89462}
.law-footer-contact-panel p{margin:0;font-family:var(--law-sans);word-break:keep-all}
.law-footer-contact-panel p+p{margin-top:5px}
.law-footer-contact-panel a{color:inherit;text-decoration:none}
.law-footer-contact-panel a:hover{color:#dfc498;text-decoration:underline;text-underline-offset:3px}
.law-footer-panel-lawyer{color:#fff;font-family:var(--law-serif)!important;font-size:17px;font-weight:600;letter-spacing:.02em;line-height:1.7}
.law-footer-panel-contact{color:#e0e3e3;font-size:14px;line-height:1.8}
.law-footer-panel-address{color:#c9cfd1;font-size:13px;line-height:1.8}
.law-footer-panel-detail{color:#969fa4;font-size:12px;line-height:1.8}

/* Reviews: existing page-content screenshots become image-only cards. */
.reviews-page{background:#252946}
.reviews-content{width:100%;max-width:none!important;margin:0!important;padding:64px max(24px,5vw) 100px;background:#252946}
.reviews-content .review-grid{width:100%;max-width:1240px;margin:0 auto!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}
.reviews-content .post-card{min-width:0;overflow:hidden;background:#fff;border:0;border-radius:10px;box-shadow:0 18px 46px rgba(5,10,28,.22)}
.reviews-content .post-card-body{padding:27px}
.reviews-page.has-review-captures .reviews-content{display:none}
.review-capture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:38px;width:min(1240px,90%);max-width:none!important;margin:0 auto!important;padding:64px 0 100px}
.review-capture-card{align-self:start;width:100%!important;max-width:none!important;margin:0!important;padding:12px;background:#fff;border:0;border-radius:10px;box-shadow:0 18px 46px rgba(5,10,28,.22);overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
.review-capture-card:hover{transform:translateY(-3px);box-shadow:0 23px 54px rgba(5,10,28,.28)}
.review-capture-card>a{display:block}
.review-capture-card img{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0}
.review-capture-card figcaption{margin:10px 4px 2px;color:#5b6469;font-size:13px;line-height:1.7;text-align:left}
@media(max-width:1000px) and (min-width:783px){.reviews-content .review-grid,.review-capture-grid,.journal-query .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}

/* 2.0.4 Mobile Editorial Edition: brighter, layered and more architectural. */
@media(max-width:782px){
  :root{--law-mobile-paper:#f7f8f6;--law-mobile-surface:#fff;--law-mobile-soft:#edf1f1;--law-mobile-line:#d9dfe0;--law-mobile-ink:#102533;--law-mobile-muted:#52646d;--law-mobile-gold:#9a7445}
  html{scroll-padding-top:86px}
  body{overflow-x:hidden;background:var(--law-mobile-paper);color:var(--law-mobile-ink)}

  .law-header{position:sticky;top:0;z-index:1000;min-height:76px;height:auto;padding:12px 18px;gap:10px;flex-wrap:nowrap!important;background:rgba(250,251,249,.94);color:var(--law-mobile-ink);border-bottom:1px solid rgba(154,116,69,.24);box-shadow:0 10px 34px rgba(16,37,51,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  body.admin-bar .law-header{top:46px}
  .law-header .law-header-identity{gap:9px;max-width:calc(100% - 126px)}
  .law-header .law-header-logo{flex-basis:38px;width:38px;max-width:38px}
  .law-header .law-brand-name{font-size:15px!important;line-height:1.45;letter-spacing:-.04em}
  .law-header .law-brand-name a,.law-header .law-nav .wp-block-navigation-item__content{color:var(--law-mobile-ink)!important}
  .law-header .law-brand-en{display:none}
  .law-header .law-nav{order:initial;flex:0 0 auto!important;flex-basis:auto!important;margin-left:auto!important}
  .law-header .wp-block-navigation__responsive-container-open,.law-header .wp-block-navigation__responsive-container-close{color:var(--law-mobile-ink)}
  .law-header .wp-block-navigation__responsive-container-open{padding:8px;border:1px solid var(--law-mobile-line);border-radius:50%}
  .law-header .wp-block-navigation__responsive-container.is-menu-open{background:rgba(250,251,249,.99);color:var(--law-mobile-ink);padding:28px 24px}
  .law-header .wp-block-navigation__responsive-container.is-menu-open:before{content:"MENU";display:block;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--law-mobile-line);color:var(--law-mobile-gold);font-size:12px;font-weight:600;letter-spacing:.18em}
  .law-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:5px}
  .law-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{padding:9px 0;color:var(--law-mobile-ink)!important;font-family:var(--law-serif);font-size:22px;font-weight:500}
  .law-header-actions{margin-left:0}
  .law-consult-button .wp-block-button__link{min-height:40px;padding:8px 11px;background:var(--law-mobile-ink);color:#fff;border-color:var(--law-mobile-ink);border-radius:0;font-size:13px}
  .law-consult-button .wp-block-button__link:hover{background:#243e4d;color:#fff}

  .law-hero{position:relative;min-height:760px!important;overflow:hidden;color:var(--law-mobile-ink);background:#e8eceb}
  .law-hero .wp-block-cover__image-background{object-position:67% 72%;filter:saturate(.72) contrast(.94) brightness(1.04)}
  .law-hero .wp-block-cover__background{background:linear-gradient(180deg,#fbfcfa 0%,rgba(251,252,250,.99) 44%,rgba(251,252,250,.91) 56%,rgba(247,248,246,.28) 76%,rgba(16,37,51,.16) 100%)!important;opacity:1!important}
  .law-hero .wp-block-cover__inner-container{position:relative;z-index:2}
  .law-hero-inner{position:relative;justify-content:flex-start;padding:56px 22px 310px}
  .law-hero-inner:before{content:"";display:block;width:52px;height:2px;margin-bottom:25px;background:var(--law-mobile-gold)}
  .law-hero .law-eyebrow{max-width:260px;color:#755934;font-size:12px!important;line-height:1.65;letter-spacing:.13em}
  .law-hero h1{max-width:470px;color:var(--law-mobile-ink);font-size:clamp(31px,8.6vw,42px);line-height:1.56;letter-spacing:-.055em;margin:22px 0 20px}
  .law-hero .law-gold{color:var(--law-mobile-gold)}
  .law-hero-copy{color:#3f5661;font-size:17px!important;line-height:1.85}
  .law-text-link,.law-text-link a{color:var(--law-mobile-ink);border-bottom-color:var(--law-mobile-gold)}
  .law-text-link{font-size:14px;padding:11px 0;margin-top:12px}

  body.home .law-philosophy{position:relative;z-index:3;width:calc(100% - 32px);max-width:560px!important;margin:-76px auto 24px!important;padding:34px 24px 38px;background:var(--law-mobile-surface);border:0;border-top:3px solid var(--law-mobile-gold);border-radius:2px;box-shadow:0 24px 56px rgba(16,37,51,.14)}
  body.home .law-philosophy>.wp-block-columns{display:block}
  body.home .law-philosophy h2{margin-top:27px;margin-bottom:22px;color:var(--law-mobile-ink);font-size:28px;line-height:1.68}
  body.home .law-philosophy-copy{color:var(--law-mobile-muted);font-size:16px!important;line-height:1.95}
  .law-section-label{color:#7c613f;font-size:12px!important;letter-spacing:.15em}
  .law-section-sub{color:#394f5a;font-size:15px!important}

  body.home .law-principles{width:100%;max-width:none!important;margin:0!important;padding:55px 18px 66px;background:linear-gradient(145deg,#eef2f2 0%,#f8f9f7 58%,#edf0ef 100%)}
  body.home .law-principles-heading{display:block!important;padding:0 4px 31px;border:0}
  body.home .law-principles-heading h2{margin-top:22px;color:var(--law-mobile-ink);font-size:28px;line-height:1.55}
  body.home .law-principle{position:relative;grid-template-columns:48px minmax(0,1fr)!important;gap:12px 18px!important;margin:0 0 16px;padding:28px 21px 27px;background:var(--law-mobile-surface);border:0;border-left:2px solid #b08a59;border-radius:2px;box-shadow:0 14px 34px rgba(16,37,51,.085)}
  body.home .law-principle:after{content:"";position:absolute;top:0;right:0;width:36px;height:1px;background:#b08a59}
  body.home .law-principle:last-child{margin-bottom:0}
  body.home .law-number{color:#987344;font-size:32px!important}
  body.home .law-principle h3{color:var(--law-mobile-ink);font-size:23px;line-height:1.58}
  body.home .law-principle .law-detail{grid-column:2;padding-top:19px;border-top:1px solid var(--law-mobile-line)}
  body.home .law-principle h4{color:#2d4652;font-size:16px;line-height:1.75;margin-bottom:13px}
  body.home .law-principle-copy{color:#596a72;font-size:15px!important;line-height:1.9}

  .law-together{position:relative;padding:76px 23px 72px;background:linear-gradient(140deg,#fff 0%,#edf2f2 54%,#e5eae9 100%);color:var(--law-mobile-ink);border:0;text-align:left}
  .law-together:before{content:"";display:block;width:54px;height:2px;margin:0 0 27px;background:var(--law-mobile-gold)}
  .law-together .law-eyebrow,.law-together .law-gold,.law-signature{color:var(--law-mobile-gold)}
  .law-together h2{color:var(--law-mobile-ink);font-size:29px;line-height:1.65;margin:20px 0}
  .law-together-copy{color:var(--law-mobile-muted);font-size:16px!important;line-height:1.9}
  .law-signature{margin-top:35px;font-size:12px!important;letter-spacing:.2em}

  .assistance-hero,.reviews-hero,.journal-hero,.consultation-hero{position:relative;overflow:hidden;padding:74px 0 80px;background:linear-gradient(145deg,#fbfcfa,#e9eeee);color:var(--law-mobile-ink);border-bottom:1px solid var(--law-mobile-line)}
  .assistance-hero:before,.reviews-hero:before,.journal-hero:before{opacity:.18;filter:saturate(.5);background-position:70% center}
  .assistance-hero:after,.reviews-hero:after,.journal-hero:after{background:linear-gradient(90deg,rgba(249,251,249,.99) 0%,rgba(245,248,247,.94) 58%,rgba(231,237,236,.62) 100%)!important}
  .assistance-hero>.container,.reviews-hero>.container,.journal-hero>.container{position:relative;z-index:2}
  .assistance-hero .eyebrow,.profile-hero .eyebrow,.reviews-hero .eyebrow,.journal-hero .eyebrow,.consultation-hero .eyebrow{color:#7c5e39!important;font-size:12px}
  .assistance-hero h1,.profile-hero h1,.reviews-hero h1,.journal-hero h1,.consultation-hero h1{color:var(--law-mobile-ink)!important}
  .assistance-heading h1{font-size:clamp(38px,10.5vw,52px);line-height:1.43}
  .assistance-intro{margin-top:3px;padding:27px 22px 3px;border-top:2px solid #b08a59;background:rgba(255,255,255,.72);box-shadow:0 14px 34px rgba(16,37,51,.07)}
  .assistance-intro .large-copy,.assistance-intro .lead,.assistance-intro .text-link{color:#344b56}
  .assistance-intro .lead{font-size:17px;line-height:1.9;font-weight:500}
  .assistance-promise{background:#f7f8f6}
  .commitment-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:34px}
  .commitment-stage,.commitment-stage:first-child,.commitment-stage:nth-child(even){margin:0;padding:20px 15px;background:#fff;border:1px solid var(--law-mobile-line);border-top:2px solid #b08a59}
  .commitment-stage p:last-child,.commitment-note{color:#3e555f;font-size:15px;line-height:1.9;font-weight:500}
  .assistance-statement .statement-copy{padding-left:18px;border-left:2px solid #ad8655}
  .assistance-statement .statement-copy h3{color:#102f3e;font-size:21px;line-height:1.7}
  .assistance-statement .statement-copy p{color:#3d5662;font-size:16px;line-height:2;font-weight:500}
  .assistance-principles .principle-body{padding:17px 18px;background:#fff;border-left:2px solid #ad8655;box-shadow:0 10px 26px rgba(16,37,51,.06)}
  .assistance-principles .principle-body p{color:#405965;font-size:16px;line-height:2;font-weight:500}
  .assistance-principles .principle-body p.principle-lead{color:#173847;font-size:17px;line-height:1.9;font-weight:600}

  .profile-hero{position:relative;overflow:hidden;padding:32px 0 72px;background:linear-gradient(145deg,#eef2f2,#fafbf9);color:var(--law-mobile-ink);border-bottom:1px solid var(--law-mobile-line)}
  .profile-hero:before{opacity:.1;filter:saturate(.45)}
  .profile-hero:after{background:linear-gradient(180deg,rgba(248,250,248,.52),rgba(239,243,242,.94))!important}
  .profile-hero>.container{position:relative;z-index:2}
  .profile-portrait-panel{border-bottom:3px solid #b08a59;border-radius:2px;box-shadow:0 20px 50px rgba(16,37,51,.15)}
  .profile-page-title,.profile-summary,.profile-hero .large-copy{color:#4d626b}
  .profile-display-name{color:var(--law-mobile-ink);font-size:43px}
  .profile-display-name span,.journal-hero .gold-dot{color:var(--law-mobile-gold)}
  .profile-hero .qualification-tags li{color:#624c32;background:rgba(255,255,255,.75);border-color:#b99970}
  .resume-section{margin:0 -2px;padding:43px 3px;border-bottom-color:var(--law-mobile-line)}
  .qualification-cards{grid-template-columns:1fr;gap:12px}
  .qualification-card{min-height:0;padding:24px;background:#fff;color:var(--law-mobile-ink);border:0;border-left:2px solid #ad8655;box-shadow:0 12px 28px rgba(16,37,51,.07)}
  .qualification-card .eyebrow{min-height:0;color:#7c5e39;font-size:12px;letter-spacing:.08em}

  .reviews-hero .lead,.journal-hero .lead,.journal-hero .subtle{color:#50646e}
  .reviews-page{background:#eef2f2}
  .reviews-content{padding:34px 14px 68px;background:linear-gradient(145deg,#e9eeee,#f7f8f6)}
  .reviews-content .review-grid{grid-template-columns:1fr;gap:19px}
  .reviews-content .post-card{border-radius:7px;box-shadow:0 13px 32px rgba(16,37,51,.11)}
  .review-capture-grid{grid-template-columns:1fr;gap:19px;width:calc(100% - 28px);margin:0 auto!important;padding:34px 0 68px}
  .review-capture-card{padding:8px;border-radius:7px;box-shadow:0 13px 32px rgba(16,37,51,.11)}
  .journal-hero h1{font-size:clamp(58px,17vw,82px)}
  .topic-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .topic-tabs::-webkit-scrollbar{display:none}
  .topic-tabs a{flex:0 0 auto;border-color:#cabda9;background:#fff}
  .journal-query{padding:34px 14px 68px}
  .journal-query .wp-block-post-template{grid-template-columns:1fr;gap:19px}
  .journal-query .post-card,.post-card{overflow:hidden;background:#fff;border:0;border-top:2px solid #ad8655;border-radius:7px;box-shadow:0 13px 32px rgba(16,37,51,.08)}
  .journal-query .post-card-body,.post-card-body{padding:24px}
  .journal-query .post-card .wp-block-post-title{font-size:20px;line-height:1.65}
  .consultation-info{background:#f4f6f4}
  .consultation-card{padding:25px;background:#fff;border:0;border-left:2px solid #ad8655;box-shadow:0 14px 34px rgba(16,37,51,.08)}

  .law-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:38px 22px 34px;gap:21px 16px!important;background:#102330;border-top:3px solid #a88456}
  .law-footer .law-footer-identity{grid-column:1;gap:10px}
  .law-footer .law-footer-identity .law-footer-logo{flex-basis:42px;width:42px;max-width:42px}
  .law-footer .law-footer-identity .law-footer-brand{font-size:15px!important;line-height:1.5}
  .law-footer .law-footer-tagline{display:block!important;grid-column:1/-1;margin:0;color:#b7c2c6;font-family:var(--law-serif);font-size:14px;line-height:1.8}
  .law-footer .law-footer-booking{grid-column:1/-1;width:100%;margin:0;justify-content:stretch}
  .law-footer .law-booking-button,.law-footer .law-booking-button .wp-block-button__link{width:100%}
  .law-footer .law-booking-button .wp-block-button__link{min-height:52px;background:#c6a574;border-color:#c6a574;color:#102330}
  .law-footer .law-top{grid-column:2;grid-row:1;display:block!important;margin:0;font-size:12px}
  .law-footer-contact-panel{padding:29px 20px 34px;background:#102330}
  .law-footer-contact-panel-inner{padding-left:16px}
  .law-footer-panel-lawyer{font-size:16px}
  .law-footer-panel-contact{font-size:13px;overflow-wrap:anywhere}
  .law-footer-panel-address{font-size:13px}
  .law-footer-panel-detail{font-size:12px;word-break:normal!important}

  .law-assistance-renewed .law-hero{min-height:660px!important}
  .law-assistance-renewed .law-hero-inner{padding:54px 22px 270px}
  .law-assistance-renewed .law-hero .wp-block-cover__background{background:linear-gradient(180deg,#fbfcfa 0%,rgba(251,252,250,.98) 52%,rgba(247,248,246,.28) 82%,rgba(16,37,51,.15) 100%)!important}
}

@media(max-width:420px){
  .law-header{padding-left:14px;padding-right:14px;gap:8px}
  .law-header .law-header-identity{max-width:calc(100% - 119px)}
  .law-header .law-header-logo{flex-basis:35px;width:35px;max-width:35px}
  .law-header .law-brand-name{font-size:14px!important}
  .law-consult-button .wp-block-button__link{padding:8px 9px;font-size:12px}
  .law-hero{min-height:725px!important}
  .law-hero-inner{padding-left:19px;padding-right:19px;padding-bottom:285px}
  .law-hero h1{font-size:clamp(29px,8.2vw,35px)}
  body.home .law-philosophy{width:calc(100% - 24px);padding-left:21px;padding-right:21px}
  body.home .law-principles{padding-left:12px;padding-right:12px}
  body.home .law-principle{grid-template-columns:42px minmax(0,1fr)!important;padding-left:17px;padding-right:17px}
  .law-footer{padding-left:18px;padding-right:18px}
}
