/* Specialty centers: editorial imagery, a clear remit, and one deliberate action. */
#expertise{background:#f6f3ed}
#expertise .practice-stage{display:block;background:transparent;border:0}
#expertise .practice-stage .practice-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;background:transparent;border:0}
#expertise .practice-stage .practice-navigation button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;align-content:initial;gap:0;min-width:0;width:100%;padding:0!important;min-height:0;border:1px solid #dbd3c5;background:#fffdf9;color:#142e40;text-align:left;overflow:hidden;box-shadow:0 8px 28px #1d304009;transition:transform .5s ease,box-shadow .5s ease,border-color .5s ease}
#expertise .practice-stage .practice-navigation button:hover{transform:translateY(-5px);border-color:#b49a6a;box-shadow:0 18px 38px #1d304014}
#expertise .practice-stage .practice-navigation button:focus-visible{outline:3px solid #947141;outline-offset:4px}
#expertise .practice-stage .practice-navigation button[aria-expanded=true]{border-color:#a1804e;box-shadow:0 0 0 1px #a1804e}
#expertise .center-visual{position:relative;display:block;height:180px;width:100%;overflow:hidden;background:#183346}
#expertise .center-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#091c3266,transparent 70%)}
#expertise .center-visual img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.6,.3,1)}
#expertise button:hover .center-visual img{transform:scale(1.045)}
#expertise .center-label{position:absolute;z-index:1;top:16px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;font-family:'Noto Sans KR',sans-serif;color:#fff;font-size:12px;font-weight:500;letter-spacing:.12em}
#expertise .center-label em{font:italic 25px Georgia,serif;color:#f4dfb7}
#expertise .center-content{display:flex;flex:1;flex-direction:column;padding:18px 20px 14px}
#expertise .practice-stage .practice-navigation button strong{display:block;flex-basis:auto;font-family:'Noto Serif KR',serif;font-size:23px;font-weight:500;line-height:1.55;letter-spacing:-.055em;word-break:keep-all;text-wrap:balance;min-height:0;color:#142e40}
#expertise .center-scope{display:block;font-family:'Noto Sans KR',sans-serif;font-size:14px;line-height:1.8;font-weight:500;color:#806137;min-height:0;word-break:keep-all;margin-top:12px}
#expertise .center-description{display:block;font-size:13px;font-family:'Noto Sans KR',sans-serif;color:#63717a;line-height:1.8;word-break:keep-all;min-height:48px;margin:0 0 22px}
#expertise .center-action{margin-top:auto;padding-top:16px;border-top:1px solid #dfd6c6;display:flex;justify-content:space-between;align-items:center;color:#344a59;font-family:'Noto Sans KR',sans-serif;font-size:13px}
#expertise .center-action b{font-size:22px;font-weight:400;color:#947141}
#expertise #practice-panel:not([hidden]){display:grid;grid-template-columns:1fr 1fr;margin-top:28px;border:1px solid #d8c9af;background:#fffdf9}
#expertise #practice-panel .practice-image{min-height:360px;height:auto}
#expertise #practice-panel .practice-image img{width:100%;height:100%;object-fit:cover}
@media(max-width:1100px){#expertise .practice-stage .practice-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}#expertise .center-visual{height:170px}#expertise .practice-stage .practice-navigation button strong{min-height:0}#expertise .center-scope{min-height:0}}
@media(max-width:600px){#expertise .practice-stage .practice-navigation{gap:12px}#expertise .center-visual{height:135px}#expertise .center-content{padding:12px 12px 10px}#expertise .center-label{top:12px;left:12px;right:12px;font-size:10px;letter-spacing:.04em}#expertise .center-label em{font-size:21px}#expertise .practice-stage .practice-navigation button strong{font-size:18px;min-height:0}#expertise .center-scope{font-size:12px;min-height:0;margin-top:7px}#expertise .center-description{display:none}#expertise .center-action{font-size:12px;padding-top:12px}#expertise #practice-panel:not([hidden]){grid-template-columns:1fr}#expertise #practice-panel .practice-image{min-height:0;height:210px}}
@media(prefers-reduced-motion:reduce){#expertise .practice-navigation button,#expertise .center-visual img{transition:none!important;transform:none!important}}

#expertise .center-scope{min-height:0;margin-bottom:12px}#expertise .center-visual{height:170px}#expertise .practice-stage .practice-navigation button strong{min-height:0}
@media(max-width:600px){#expertise .center-visual{height:108px}#expertise .center-scope{min-height:0}#expertise .practice-stage .practice-navigation button strong{font-size:18px;min-height:0}}

#expertise .center-adviser{display:block;align-self:flex-start;margin:0 0 10px;padding:5px 10px;border:1px solid #cbb68f;background:#f4eddf;color:#745527;font-family:"Noto Sans KR",sans-serif;font-size:12px;line-height:1.6;font-weight:500}

/* Natural text heights keep both short and long center names compact. */
#expertise .practice-stage .practice-navigation button strong{min-height:0;flex-basis:auto;line-height:1.45}
#expertise .center-content{gap:0}
#expertise .center-scope{min-height:0;line-height:1.65;margin-top:9px;margin-bottom:13px}
#expertise .center-action{padding-top:10px;line-height:1.5}
#expertise .center-content .center-adviser{margin:8px 0 0;padding:3px 8px}
@media(max-width:600px){#expertise .practice-stage .practice-navigation button strong{min-height:0;flex-basis:auto;font-size:17px;line-height:1.5}#expertise .center-scope{min-height:0;margin:8px 0 12px;line-height:1.65}#expertise .center-action{padding-top:8px}#expertise .center-action b{font-size:18px}#expertise .center-visual{height:108px;flex-shrink:0}#expertise .center-content .center-adviser{font-size:11px}}

#expertise .center-content .center-scope{margin-bottom:0}

/* Preserve the wider field of view in the liability center photograph. */
#expertise #practice-tab-4 .center-visual{background:#e6eae9}
#expertise #practice-tab-4 .center-visual img{object-fit:contain;object-position:center;transform:none}
#expertise #practice-panel[data-active="4"] .practice-image{background:#e6eae9}
#expertise #practice-panel[data-active="4"] .practice-image img{object-fit:contain;object-position:center;animation:none;transform:none}
/* Show each source composition without cropping or hover magnification. */
#expertise .practice-navigation .center-visual{height:auto;aspect-ratio:3/2;background:#edf0ee}
#expertise .practice-navigation .center-visual img{object-fit:contain;object-position:center;transform:none;animation:none}
#expertise .practice-navigation button:hover .center-visual img{transform:none}
#expertise #practice-tab-4 .center-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;background:#d5d9d5}
#expertise .center-half{position:relative;display:flex;align-items:center;min-width:0;height:100%;background:#edf0ee;overflow:hidden}
#expertise .center-half>img{display:block;width:100%;height:100%}
#expertise .center-half>span{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:12px;color:#3e535c}
#expertise .center-split .center-label{color:#234350;text-shadow:none}
#expertise .center-split:after{display:none}
@media(max-width:600px){#expertise .center-half>span{font-size:10px;bottom:5px}}
/* Keep foreground photos at their existing size; use their own scenery behind them. */
#expertise #practice-tab-4 .center-half{background:transparent;isolation:isolate}
#expertise #practice-tab-4 .center-half::before{content:"";position:absolute;inset:-12px;background-position:center;background-size:cover;filter:blur(7px);z-index:-1}
#expertise #practice-tab-4 .center-half:first-child::before{background-image:url('assets/practice-scene-liability.webp')}
#expertise #practice-tab-4 .center-half:nth-child(2)::before{background-image:url('assets/industrial-accident-scene.png')}
#expertise #practice-tab-4 .center-half>span{color:#fff;text-shadow:0 1px 5px #102432;padding:5px 0;background:#10243266;bottom:0}
#expertise #practice-tab-4 .center-label{color:#fff;text-shadow:0 1px 5px #102432}
