/*
Theme Name: Jinwon Kadence Child
Description: Law Office Jinwon responsive presentation layer for Kadence.
Author: Law Office Jinwon
Version: 0.8.0
Template: kadence
Text Domain: jinwon-kadence-child
*/

:root {
  --jw-wine: #55292d;
  --jw-ink: #211f1e;
  --jw-paper: #f8f6f3;
  --jw-muted: #68635f;
  --jw-line: #ddd8d2;
  --jw-serif: 'Noto Serif KR', Georgia, serif;
  --jw-sans: 'Noto Sans KR', sans-serif;
}

/* Article styling is scoped to posts so custom pages, forms and integrations keep their layout. */
body.jw-article { background: var(--jw-paper); color: var(--jw-ink); }
body.jw-article .content-area { max-width: 1120px; margin-inline: auto; }
body.jw-article .site-main { padding-top: clamp(35px, 5vw, 70px); }
body.jw-article article.entry { background: transparent; box-shadow: none; }
body.jw-article .entry-header {
  border-bottom: 1px solid var(--jw-line);
  margin: 0 auto 28px;
  padding: 0 0 28px;
  max-width: 920px;
}
body.jw-article .entry-header .entry-title {
  font: 600 clamp(32px, 3.5vw, 52px)/1.46 var(--jw-serif);
  letter-spacing: -.065em;
  color: var(--jw-ink);
  word-break: keep-all;
  margin: 0 0 15px;
}
body.jw-article .entry-header .entry-meta { color: var(--jw-muted); font: 12px/1.6 var(--jw-sans); }
body.jw-article.jw-embedded-h1 .entry-header { display: none; }
body.jw-article .entry-content.single-content {
  max-width: 920px;
  margin: 0 auto 70px;
  padding: clamp(24px, 4vw, 58px);
  background: #fff;
  border: 1px solid #eee8e2;
  font: 400 16px/1.95 var(--jw-sans);
  color: var(--jw-ink);
  word-break: keep-all;
}
body.jw-article .entry-content > p:empty { display: none; }
body.jw-article .entry-content :where(h1,h2,h3,h4) { color: var(--jw-ink); word-break: keep-all; }
body.jw-article .entry-content h1 { font: 600 clamp(30px, 3.3vw, 48px)/1.48 var(--jw-serif); letter-spacing: -.06em; }
body.jw-article .entry-content h2 { font: 600 clamp(23px, 2vw, 28px)/1.5 var(--jw-serif); letter-spacing: -.05em; margin: 2.1em 0 .7em; }
body.jw-article .entry-content h3 { font: 600 20px/1.55 var(--jw-serif); margin: 1.7em 0 .65em; }
body.jw-article .entry-content p { line-height: 1.95; }
body.jw-article .entry-content a { color: var(--jw-wine); text-underline-offset: 3px; }
body.jw-article .entry-content a:hover { text-decoration: underline; }
body.jw-article .entry-content blockquote { border-left: 2px solid var(--jw-wine); margin: 30px 0; padding: 6px 0 6px 23px; color: #504945; font: 500 18px/1.8 var(--jw-serif); }
body.jw-article .entry-content :where(ul,ol) { padding-left: 1.45em; margin-bottom: 1.5em; }
body.jw-article .entry-content li { margin: .35em 0; }
body.jw-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 28px 0; }
body.jw-article .entry-content :where(th,td) { padding: 13px 15px; border: 1px solid var(--jw-line); text-align: left; vertical-align: top; }
body.jw-article .entry-content th { background: #f3f0eb; color: #3b3430; font-weight: 600; }
body.jw-article .entry-content :where(details,.faq-item) { border-bottom: 1px solid var(--jw-line); }
body.jw-article .entry-content summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
body.jw-article .entry-content :where(button,.wp-block-button__link) { border-radius: 0; }
body.jw-article .entry-content .jw-premium-article { max-width: 100%; }

/* Kadence archive surfaces, including new posts produced by the publisher. */
body.jw-archive .content-area { max-width: 1320px; }
body.jw-archive .entry-title { font-family: var(--jw-serif); letter-spacing: -.05em; }
body.jw-archive article.entry { border-top: 2px solid var(--jw-wine); border-radius: 0; box-shadow: none; background: #fbfaf8; }
body.jw-archive article.entry .entry-content { color: var(--jw-muted); }
body.jw-archive article.entry .entry-taxonomies a { color: var(--jw-wine); }

@media (max-width: 767px) {
  body.jw-article .site-main { padding-top: 22px; }
  body.jw-article .entry-header { margin-inline: 16px; padding-bottom: 20px; }
  body.jw-article .entry-content.single-content { padding: 28px 21px 40px; margin: 0 12px 45px; font-size: 15px; }
  body.jw-article .entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
  body.jw-article .entry-content blockquote { font-size: 16px; }
}

/* Shared brand surfaces */
html { scroll-behavior: smooth; }
body { color: var(--jw-ink); font-family: var(--jw-sans); background: #fff; }
body :where(h1,h2,h3) { word-break: keep-all; }
.jw-container { width: min(calc(100% - 48px), 1380px); margin-inline: auto; }
.jw-skip { position: absolute; left: -9999px; top: 10px; z-index: 1000; background: white; color: var(--jw-ink); padding: 12px; }
.jw-skip:focus { left: 10px; }
.jw-header { position: relative; z-index: 50; height: 82px; border-bottom: 1px solid #e9e5e0; background: #fff; }
.jw-header-inner { width: min(calc(100% - 48px), 1480px); height: 100%; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.jw-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--jw-ink); }
.jw-brand-mark { display:block; width:54px; height:54px; padding:0; background:transparent; object-fit:contain; filter:brightness(0); }
.jw-brand-copy { display: flex; flex-direction: column; align-items:center; text-align:center; }
.jw-brand-copy strong { font: 600 20px/1.3 var(--jw-serif); letter-spacing: -.07em; white-space:nowrap; }
.jw-brand-copy small { font: 600 9px/1.5 Georgia, serif; letter-spacing: .2em; white-space:nowrap; margin-top:2px; }
.jw-nav { display: flex; align-items: center; gap: clamp(20px,2.5vw,42px); }
.jw-nav a { color: #38312e; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.jw-nav a:hover { color: var(--jw-wine); }
.jw-nav .jw-nav-phone { color:var(--jw-wine); font-weight:700; letter-spacing:.02em; }
.jw-nav .jw-nav-cta { background: var(--jw-wine); color: white; padding: 14px 22px; display: inline-flex; gap: 22px; }
.jw-nav .jw-nav-cta:hover { background: #683238; color: white; }
.jw-menu-toggle { display: none; border: 0; background: none; color: var(--jw-ink); font-size: 25px; }
button.jw-menu-toggle,button.jw-menu-toggle:hover,button.jw-menu-toggle:focus,button.jw-menu-toggle:active { width:44px; height:44px; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:var(--jw-ink) !important; box-shadow:none !important; line-height:1 !important; }
button.jw-menu-toggle:focus-visible { outline:2px solid var(--jw-wine) !important; outline-offset:2px; }
.jw-eyebrow { font: 600 10px/1.5 Georgia,serif; letter-spacing: .28em; color: #796c67; }
.jw-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 155px; min-height: 47px; border: 1px solid #b78c8a; background: var(--jw-wine); color: white; text-decoration: none; padding: 10px 20px; font-size: 13px; font-weight: 600; }
.jw-button:hover { color: white; background: #683238; }
.jw-text-link { color: var(--jw-wine); text-decoration: none; font-size: 13px; font-weight: 700; display: inline-flex; gap: 12px; align-items: center; }
.jw-text-link:hover { text-decoration: underline; }
.jw-bottom-cta { background: #202021; color: white; padding: 44px 0; }
.jw-bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jw-bottom-cta h2 { color: white; font: 400 clamp(22px,2.5vw,32px)/1.5 var(--jw-serif); letter-spacing: -.06em; margin: 0 0 8px; }
.jw-bottom-cta p { color: #ccc4bd; font-size: 12px; margin: 0; }
.jw-bottom-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:10px; max-width:430px; }
.jw-bottom-actions .jw-button { min-width:160px; }
.jw-bottom-form { color:#eadbd5; font-size:12px; text-decoration:underline; text-underline-offset:4px; margin-left:8px; }
.jw-bottom-form:hover { color:#fff; }
.jw-footer { padding: 29px 0; color: #6d6864; background: white; border-top: 1px solid #eee8e2; }
.jw-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.jw-footer a { color: inherit; text-decoration: none; }
.jw-footer-brand { display:flex; align-items:center; gap:10px; }
.jw-footer-brand img { display:block; width:38px; height:38px; padding:0; background:transparent; object-fit:contain; filter:brightness(0); }
.jw-footer-brand span { display:flex; align-items:baseline; }
.jw-footer strong { color: var(--jw-ink); font: 600 16px var(--jw-serif); }
.jw-footer small { font: 9px Georgia, serif; letter-spacing: .2em; margin-left: 12px; }
.jw-footer-inner div { display: flex; gap: 20px; font-size: 12px; }

/* Homepage */
.jw-hero { position: relative; isolation:isolate; overflow:hidden; height: clamp(540px,43vw,690px); background:#151516 url('assets/jinwon-hero-architecture.webp') 65% center / cover no-repeat; color: white; }
.jw-hero-shade { position: absolute; inset: 0; background:linear-gradient(90deg,rgba(12,17,25,.87) 0%,rgba(12,17,25,.7) 34%,rgba(12,17,25,.23) 68%,rgba(12,17,25,.05) 100%),linear-gradient(0deg,rgba(11,14,18,.38),transparent 40%); }
.jw-hero-inner { height: 100%; position: relative; z-index:2; display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(86px,8vw,132px); padding-bottom: 48px; }
.jw-hero-inner > :not(.jw-hero-count) { max-width:52%; }
.jw-hero .jw-eyebrow { color: #e7d9ce; }
.jw-hero h1 { color: white; font: 400 clamp(43px,5vw,78px)/1.32 var(--jw-serif); letter-spacing: -.085em; margin: 25px 0 24px; }
.jw-hero p { font: 400 clamp(14px,1.2vw,18px)/1.9 var(--jw-serif); margin: 0; }
.jw-hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.jw-hero-actions { align-items:center; flex-wrap:wrap; }
.jw-hero-about { color:#fff; font-size:12px; font-weight:600; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.7); padding:8px 1px; margin-left:9px; white-space:nowrap; }
.jw-hero-about:hover { color:#fff; border-color:#fff; }
.jw-button-outline { background: transparent; border-color: rgba(255,255,255,.65); }
.jw-button-outline:hover { background: rgba(255,255,255,.12); }
.jw-hero-count { display: flex; align-items: center; gap: 15px; margin-top: auto; font: 12px Georgia,serif; color: #ddd5cf; }
.jw-hero-count i { display: block; width: 60px; height: 1px; background: #ddd5cf; }
.jw-section { padding: 75px 0; }
.jw-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.jw-section-heading h2 { font: 500 clamp(30px,2.6vw,40px)/1.35 var(--jw-serif); letter-spacing: -.07em; margin: 8px 0 0; }
.jw-practice-grid { display: grid; grid-template-columns: 1.1fr repeat(3,1fr); gap: 22px; }
.jw-practice-intro { padding-right: 22px; }
.jw-practice-intro p { color: var(--jw-muted); font-size: 14px; line-height: 1.9; margin: 12px 0; }
.jw-practice-card { border-left: 1px solid var(--jw-line); padding-left: 20px; display: flex; flex-direction: column; }
.jw-practice-art { display:block; width:100%; height:150px; object-fit:cover; object-position:center; background:#e3ded8; }
.jw-practice-card small { margin: 16px 0 5px; font: 600 10px Georgia,serif; }
.jw-practice-card h3 { font: 600 20px/1.4 var(--jw-serif); letter-spacing: -.06em; margin: 0; }
.jw-practice-card p { color: var(--jw-muted); font-size: 13px; line-height: 1.8; min-height: 66px; margin: 12px 0; }
.jw-practice-card .jw-text-link { margin-top: auto; }
.jw-insights { background: var(--jw-paper); }
.jw-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.jw-post-card { background: white; border: 1px solid #eee8e3; }
.jw-post-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.jw-post-thumb { display:block; width:100%; height:168px; object-fit:cover; object-position:center; background:#e3ded8; }
.jw-post-card-body { padding: 19px 21px 25px; }
.jw-post-meta { display: flex; gap: 12px; align-items: center; color: #756d68; font-size: 11px; }
.jw-post-meta span { color: var(--jw-wine); border: 1px solid #c9bbb5; padding: 2px 6px; font-weight: 600; }
.jw-post-card h3 { font: 600 18px/1.55 var(--jw-serif); margin: 11px 0 9px; letter-spacing: -.05em; }
.jw-post-card p { color: var(--jw-muted); font-size: 12px; line-height: 1.7; margin: 0 0 15px; }
.jw-post-card b { color: var(--jw-wine); font-size: 12px; }

/* Dynamic article list, including newly and automatically published posts */
.jw-page-hero { padding: 80px 0 73px; color: white; background: #26292a; }
.jw-page-hero .jw-eyebrow { color: #dcc9bc; }
.jw-page-hero h1 { color: white; font: 500 clamp(37px,4vw,58px)/1.35 var(--jw-serif); letter-spacing: -.075em; margin: 17px 0 14px; }
.jw-page-hero p { color: #ddd9d5; font-size: 15px; margin: 0; }
.jw-listing { padding-top: 60px; padding-bottom: 90px; }
.jw-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.jw-filters a { border: 1px solid #d9d3ce; padding: 10px 15px; color: #4c4641; font-size: 12px; text-decoration: none; }
.jw-filters a.is-active,.jw-filters a:hover { border-color: var(--jw-wine); background: var(--jw-wine); color: white; }
.jw-list-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
.jw-list-card { background: #fbfaf8; border-top: 2px solid var(--jw-wine); min-height: 252px; }
.jw-list-card a { display: flex; flex-direction: column; padding: 29px 27px; height: 100%; color: inherit; text-decoration: none; }
.jw-list-card h2 { font: 600 21px/1.55 var(--jw-serif); letter-spacing: -.05em; margin: 18px 0 10px; }
.jw-list-card p { color: var(--jw-muted); font-size: 13px; line-height: 1.75; margin: 0 0 22px; }
.jw-list-card b { color: var(--jw-wine); font-size: 12px; margin-top: auto; }
.jw-list-card:hover,.jw-post-card:hover { box-shadow: 0 10px 25px rgba(40,28,24,.07); transform: translateY(-2px); transition: .2s; }
.jw-list-card a { padding:0; }
.jw-list-thumb { display:block; width:100%; height:165px; object-fit:cover; object-position:center; background:#e3ded8; }
.jw-list-card-body { padding:23px 27px 28px; display:flex; flex-direction:column; flex:1; }
.jw-list-card h2 { margin-top:13px; }
.jw-pagination { display: flex; justify-content: center; gap: 9px; margin-top: 38px; }
.jw-pagination .page-numbers { border: 1px solid var(--jw-line); min-width: 36px; padding: 8px 10px; text-align: center; color: var(--jw-wine); text-decoration: none; }
.jw-pagination .current { background: var(--jw-wine); color: white; }
.jw-empty { padding: 60px 0; color: var(--jw-muted); }

/* Universal single post pattern, regardless of the publishing source */
.jw-article-page { background: var(--jw-paper); }
.jw-article-head { padding-top: 62px; padding-bottom: 37px; max-width: 1080px; }
.jw-breadcrumb { color: #77716c; font-size: 11px; margin-bottom: 25px; }
.jw-breadcrumb a { color: var(--jw-wine); text-decoration: none; }
.jw-breadcrumb span { margin: 0 3px; }
.jw-article-head > .jw-eyebrow { color: var(--jw-wine); }
.jw-article-head h1 { font: 600 clamp(32px,3.6vw,54px)/1.45 var(--jw-serif); letter-spacing: -.065em; margin: 16px 0 22px; }
.jw-article-meta { display: flex; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--jw-line); padding-top: 16px; margin-top: 25px; color: #756f6b; font-size: 12px; }
.jw-reading-layout { max-width: 1080px; display: grid; grid-template-columns: minmax(0,1fr) 225px; gap: 43px; padding-bottom: 85px; }
.jw-reading-main { min-width: 0; }
body.jw-article .jw-entry-content.entry-content.single-content { max-width: none; margin: 0; padding: clamp(28px,4vw,56px); border: 1px solid #eee8e2; background: white; font-size: 16px; line-height: 1.95; box-shadow: none; }
body.jw-article .jw-entry-content :where(img,video,iframe) { max-width: 100%; height: auto; }
body.jw-article .jw-entry-content :where(table,.wp-block-table) { max-width: 100%; overflow-x: auto; }
body.jw-article .jw-entry-content h1 { font: 600 clamp(30px,3.3vw,48px)/1.48 var(--jw-serif); }
.jw-reading-side { min-width: 0; }
.jw-side-box { position: sticky; top: 25px; border-top: 2px solid var(--jw-wine); padding: 24px 0; }
.jw-side-box h2 { font: 600 20px/1.55 var(--jw-serif); letter-spacing: -.05em; margin: 15px 0; }
.jw-side-box p { color: var(--jw-muted); font-size: 13px; line-height: 1.8; }
.jw-side-box a { color: var(--jw-wine); font-size: 13px; font-weight: 700; text-decoration: none; }
.jw-side-box a { display:block; margin-top:12px; }
.jw-article-end { padding: 24px 0; color: var(--jw-muted); font-size: 12px; }
.jw-article-end p { line-height: 1.8; }

@media (max-width: 1000px) {
  .jw-header { height: 70px; }
  .jw-practice-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .jw-practice-intro { grid-column: 1/-1; }
  .jw-practice-intro p { max-width: none; margin: 0; }
  .jw-reading-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 25px; }
}
@media (max-width: 700px) {
  .jw-container,.jw-header-inner { width: min(calc(100% - 32px),1380px); }
  .jw-header { height: 57px; }
  .jw-brand-mark { width:39px; height:39px; padding:0; }
  .jw-brand-copy strong { font-size: 15px; }
  .jw-brand-copy small { font-size: 7px; }
  .jw-menu-toggle { display: block; }
  .jw-nav { display: none; position: absolute; top: 57px; left: 0; right: 0; padding: 18px 20px 24px; background: white; border-bottom: 1px solid var(--jw-line); box-shadow: 0 12px 18px rgba(0,0,0,.08); flex-direction: column; align-items: stretch; gap: 17px; }
  .jw-nav.is-open { display: flex; }
  .jw-nav .jw-nav-cta { justify-content: space-between; }
  .jw-hero { height: auto; min-height:620px; background-position:67% center; }
  .jw-hero-shade { background:linear-gradient(90deg,rgba(12,17,25,.84),rgba(12,17,25,.54)),linear-gradient(0deg,rgba(12,17,25,.56),transparent 55%); }
  .jw-hero-inner > :not(.jw-hero-count) { max-width:100%; }
  .jw-hero-inner { padding-top: 72px; padding-bottom: 42px; }
  .jw-hero h1 { font-size: clamp(37px,9vw,50px); }
  .jw-hero p { font-size: 13px; }
  .jw-hero-actions { gap: 9px; }
  .jw-button { min-width: 0; padding: 9px 14px; gap: 11px; font-size: 12px; }
  .jw-hero-count { display:none; }
  .jw-section { padding: 50px 0; }
  .jw-section-heading { margin-bottom: 20px; }
  .jw-section-heading h2 { font-size: 27px; }
  .jw-practice-grid { grid-template-columns: 1fr; gap: 0; }
  .jw-practice-intro { display: none; }
  .jw-practice-card { border-left: 0; border-top: 1px solid var(--jw-line); padding: 15px 0; display: grid; grid-template-columns: 92px 1fr auto; column-gap: 14px; align-items: center; }
  .jw-practice-art { grid-row: 1/5; width: 92px; height: 82px; }
  .jw-practice-card small { display: none; }
  .jw-practice-card h3 { font-size: 17px; grid-column: 2; }
  .jw-practice-card p { font-size: 11px; min-height: 0; grid-column: 2; margin: 4px 0; }
  .jw-practice-card .jw-text-link { grid-column: 3; grid-row: 1/5; font-size: 0; }
  .jw-practice-card .jw-text-link span { font-size: 18px; }
  .jw-post-grid,.jw-list-grid { grid-template-columns: 1fr; }
  .jw-post-thumb { height: 145px; }
  .jw-bottom-cta { padding: 32px 0; }
  .jw-bottom-cta-inner { align-items: flex-start; }
  .jw-bottom-cta p { display: none; }
  .jw-bottom-cta h2 { font-size: 19px; }
  .jw-footer-inner { flex-direction: column; align-items: flex-start; }
  .jw-page-hero { padding: 57px 0; }
  .jw-page-hero h1 { font-size: 35px; }
  .jw-page-hero p { font-size: 13px; }
  .jw-listing { padding-top: 36px; }
  .jw-list-card { min-height: 0; }
  .jw-list-card a { padding:0; }
  .jw-list-thumb { height:140px; }
  .jw-list-card-body { padding:20px 24px 25px; }
  .jw-article-head { padding-top: 35px; padding-bottom: 25px; }
  .jw-article-head h1 { font-size: 32px; }
  .jw-reading-layout { display: block; padding-bottom: 50px; }
  .jw-reading-side { display: none; }
  body.jw-article .jw-entry-content.entry-content.single-content { padding: 28px 21px 40px; font-size: 15px; }
}

/* The parent theme's link palette must not recolor editorial headings. */
.jw-section-heading h2,.jw-practice-card h3,.jw-post-card h3,
.jw-list-card h2,.jw-article-head h1,.jw-side-box h2 { color: var(--jw-ink) !important; }
.jw-page-hero h1,.jw-bottom-cta h2 { color: white !important; }

/* One visual language for legacy and automatically published body components. */
body.jw-article .tb-infobox { border-color:#d9cbc6 !important; border-left-color:var(--jw-wine) !important; background:#faf7f4 !important; }
body.jw-article .tb-infobox-icon { background:var(--jw-wine) !important; }
body.jw-article .tb-infobox-content strong,
body.jw-article .tb-checkbox-item strong,
body.jw-article .tb-faq-item summary { color:var(--jw-ink) !important; }
body.jw-article .tb-checkbox { background:#faf9f7 !important; border-color:var(--jw-line) !important; }
body.jw-article .tb-checkbox-label { background:var(--jw-wine) !important; color:white !important; }
body.jw-article .tb-checkbox-item::before,
body.jw-article .tb-checkbox-item::after { border-color:var(--jw-wine) !important; }
body.jw-article .tb-table thead th { background:#f3efeb !important; color:var(--jw-ink) !important; }
body.jw-article .tb-faq-item { border-color:var(--jw-line) !important; }
body.jw-article .tb-faq-item summary::after { border-color:var(--jw-wine) !important; }
body.jw-article .tb-cta { border-color:#5a3638 !important; background:linear-gradient(135deg,#2c292a,#542b2f) !important; border-radius:4px !important; }
body.jw-article .tb-cta-label { color:#e7d5ca !important; }
body.jw-article .tb-cta-link { color:var(--jw-wine) !important; border-radius:2px !important; }

/* The article-end CTA is rendered from the child theme; stored post HTML stays intact. */
body.jw-article .jw-article-contact { margin:40px 0 0; padding:clamp(24px,3vw,34px); border:1px solid #54383a; border-radius:3px; background:linear-gradient(135deg,#292829,#4d2b30); color:#fff; text-align:left; }
body.jw-article .jw-article-contact-label { display:block; color:#e9d7cb; font-size:11px; font-weight:700; letter-spacing:.14em; line-height:1.5; }
body.jw-article .jw-article-contact .jw-article-contact-title { margin:10px 0 24px; color:#fff !important; font:600 clamp(20px,2.5vw,27px)/1.5 var(--jw-serif) !important; letter-spacing:-.04em; }
body.jw-article .jw-article-contact-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
body.jw-article .jw-article-contact-actions a { display:flex; min-width:0; min-height:54px; align-items:center; justify-content:space-between; gap:7px; padding:12px 15px; border:1px solid rgba(255,255,255,.48); border-radius:2px; color:#fff !important; font-size:14px; font-weight:700; line-height:1.3; text-decoration:none !important; transition:background-color .2s,border-color .2s; }
body.jw-article .jw-article-contact-actions a:first-child { background:#fff; border-color:#fff; color:var(--jw-wine) !important; }
body.jw-article .jw-article-phone-number { margin-left:2px; font-size:12px; font-weight:700; white-space:nowrap; }
body.jw-article .jw-article-contact-actions a:hover,body.jw-article .jw-article-contact-actions a:focus-visible { background:rgba(255,255,255,.16); border-color:#fff; }
body.jw-article .jw-article-contact-actions a:first-child:hover,body.jw-article .jw-article-contact-actions a:first-child:focus-visible { background:#f5ece7; }
body.jw-article .jw-article-contact-actions a:focus-visible { outline:2px solid #fff; outline-offset:3px; }
@media (max-width:600px) {
  body.jw-article .jw-article-contact { margin-top:32px; padding:25px 20px; }
  body.jw-article .jw-article-contact-title { margin-bottom:18px; }
  body.jw-article .jw-article-contact-actions { grid-template-columns:1fr; }
}

/* Older custom articles bring their own full-width skin; contain it in the shared reading column. */
body.jw-article .jw-premium-article {
  --jw-dk:#242425 !important; --jw-green:#3b3031 !important; --jw-gold:#8b5356 !important;
  --jw-bronze:#6b4144 !important; --jw-cream:#faf7f3 !important; --jw-paper:#fff !important;
  width:100% !important; max-width:100% !important; left:auto !important; transform:none !important;
  margin:0 !important; border-radius:2px !important; box-shadow:none !important;
}
body.jw-article .jw-premium-article .jw-hero { background-color:#26292a !important; background-image:linear-gradient(90deg,rgba(28,29,29,.95),rgba(28,29,29,.73)) !important; height:auto !important; min-height:290px !important; }
body.jw-article .jw-premium-article .jw-kicker,
body.jw-article .jw-premium-article .jw-hero p.jw-byline { color:#e8d7cb !important; }
body.jw-article .jw-premium-article .jw-kicker::before { background:#ab7778 !important; }
body.jw-article .jw-premium-article h1.jw-title span { color:#e9d7ca !important; }
body.jw-article .jw-premium-article h2.jw-flow-heading { border-left-color:var(--jw-wine) !important; }
body.jw-article .jw-premium-article .jw-flow-card { background:#faf8f5 !important; border-color:var(--jw-line) !important; }
body.jw-article .jw-premium-article .jw-step,
body.jw-article .jw-premium-article .jw-icon { background:#eee5e2 !important; border-color:#b89491 !important; color:var(--jw-wine) !important; }
body.jw-article .jw-premium-article .jw-alternative { background:#3b3031 !important; }
body.jw-article .jw-premium-article .jw-compare-arrow { color:var(--jw-wine) !important; }
body.jw-article .jw-premium-article .jw-bottom-takeaway { border-color:#c9afaa !important; }
body.jw-article .jw-premium-article .jw-inner { padding:30px clamp(18px,4vw,36px) 40px !important; }
body.jw-embedded-h1 .jw-article-head { padding-top:35px; padding-bottom:18px; }
body.jw-embedded-h1 .jw-article-meta { margin-top:13px; }
body.jw-embedded-h1 .jw-entry-content.entry-content.single-content { padding:0 !important; border:0 !important; background:transparent !important; }

/* Keep the plugin's quick-menu code intact; the child theme presents one consistent site-wide contact dock. */
body #tb-quick-menu { display:none !important; }
.jw-contact-dock { box-sizing:border-box; position:fixed; z-index:990; top:50%; right:18px; transform:translateY(-50%); width:98px; padding:9px; border-radius:48px; background:var(--jw-wine); box-shadow:0 9px 26px rgba(28,19,20,.24); display:flex; flex-direction:column; font-family:var(--jw-sans); }
.jw-contact-dock * { box-sizing:border-box; }
.jw-contact-dock a { min-height:82px; padding:11px 2px; color:#fff; text-decoration:none; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:12px; font-weight:700; line-height:1.3; }
.jw-contact-dock a + a { border-top:1px solid rgba(255,255,255,.28); }
.jw-contact-dock a:hover { color:#fff; background:rgba(255,255,255,.11); }
.jw-contact-dock a:focus-visible { outline:2px solid white; outline-offset:-3px; border-radius:10px; }
.jw-contact-dock svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.jw-contact-dock small { font-size:9px; font-weight:600; white-space:nowrap; }
@media (max-width:1350px), (max-height:500px) {
  body { padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)) !important; }
  .jw-contact-dock { top:auto; right:20px; bottom:18px; transform:none; width:326px; padding:5px; border-radius:12px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .jw-contact-dock a { min-height:66px; padding:7px 2px; font-size:11px; gap:2px; }
  .jw-contact-dock a + a { border-top:0; border-left:1px solid rgba(255,255,255,.28); }
  .jw-contact-dock svg { width:21px; height:21px; }
}
@media (max-width:700px) {
  .jw-contact-dock { right:0; bottom:0; left:0; width:auto; padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px)); border-radius:16px 16px 0 0; }
  .jw-contact-dock a { min-height:63px; font-size:11px; }
  .jw-bottom-cta-inner { flex-direction:column; }
  .jw-bottom-actions { width:100%; justify-content:flex-start; }
  .jw-bottom-actions .jw-button { flex:1; min-width:130px; }
  .jw-bottom-form { margin:4px 0 0; }
  .jw-hero-actions .jw-button { flex:1; min-width:135px; }
  .jw-hero-about { width:100%; margin:0; border:0; }
}
@media print { .jw-contact-dock { display:none; } body { padding-bottom:0 !important; } }

/* The existing diagnosis form keeps its fields and handlers; only its presentation changes. */
body .jw-consult-page .tbfd-wrap {
  --ink:#211f1e !important; --muted:#68635f !important; --navy:#2b2828 !important;
  --blue:#55292d !important; --blue-dark:#6a383c !important; --line:#ddd8d2 !important;
  --soft:#f8f6f3 !important; width:100% !important; left:auto !important; right:auto !important;
  margin:0 !important; min-height:calc(100vh - 82px) !important; overflow:hidden !important;
  background:linear-gradient(120deg,#faf8f5,#f0ece8) !important;
}
body .jw-consult-page .tbfd-wrap::before,body .jw-consult-page .tbfd-wrap::after { border-color:rgba(85,41,45,.08) !important; }
body .jw-consult-page .tbfd-shell { padding:70px 0 80px !important; }
body .jw-consult-page .tbfd-brand-mark { font-size:0 !important; border-radius:0 !important; background:transparent url('assets/logo-emblem.webp') center/contain no-repeat !important; filter:brightness(0); }
body .jw-consult-page .tbfd-brand { color:var(--jw-ink) !important; font-family:var(--jw-serif); }
body .jw-consult-page .tbfd-eyebrow,body .jw-consult-page .tbfd-progress-label { color:var(--jw-wine) !important; }
body .jw-consult-page .tbfd-eyebrow::before { background:var(--jw-wine) !important; }
body .jw-consult-page .tbfd-point span { background:#eee5e2 !important; color:var(--jw-wine) !important; }
body .jw-consult-page .tbfd-card { border:1px solid #e3dbd6 !important; border-radius:5px !important; box-shadow:0 22px 50px rgba(38,26,24,.09) !important; }
body .jw-consult-page .tbfd-progress-bar { background:var(--jw-wine) !important; }
body .jw-consult-page .tbfd-btn { background:var(--jw-wine) !important; border-radius:3px !important; box-shadow:none !important; }
body .jw-consult-page .tbfd-btn:hover { background:#6a383c !important; }
body .jw-consult-page .tbfd-input:focus,body .jw-consult-page .tbfd-textarea:focus { border-color:var(--jw-wine) !important; box-shadow:0 0 0 3px rgba(85,41,45,.12) !important; }
@media (max-width:700px) { body .jw-consult-page .tbfd-shell { width:calc(100% - 32px) !important; padding:35px 0 50px !important; } }

/* Team: an editorial directory with the firm's real portraits and complete profiles. */
.jw-members-page { background:#fff; }
.jw-team-hero { color:white; background:linear-gradient(118deg,#242424 0%,#333030 68%,#4b3032 100%); }
.jw-team-hero-inner { position:relative; min-height:360px; padding:43px 0 70px; display:flex; flex-direction:column; justify-content:flex-end; }
.jw-team-hero .jw-breadcrumb { position:absolute; top:17px; left:0; color:#d4c6c2; }
.jw-team-hero .jw-breadcrumb a { color:#fff; }
.jw-team-hero .jw-eyebrow { color:#d3aaa8; }
.jw-team-hero h1 { color:#fff !important; font:600 clamp(42px,5vw,68px)/1.32 var(--jw-serif); letter-spacing:-.075em; margin:15px 0 20px; }
.jw-team-hero p { max-width:650px; margin:0; color:#e1dcd9; line-height:1.85; font-size:15px; }
.jw-team-count { position:absolute; right:0; bottom:68px; font:600 11px Georgia,serif; letter-spacing:.2em; color:#d3aaa8; }
.jw-team-index { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 26px; padding:48px 0 66px; }
.jw-team-index a { display:grid; grid-template-columns:27px 1fr; align-items:baseline; column-gap:10px; row-gap:3px; padding:15px 0; border-top:1px solid var(--jw-line); text-decoration:none; color:var(--jw-ink); }
.jw-team-index a:hover { border-color:var(--jw-wine); color:var(--jw-wine); }
.jw-team-index small { font:600 11px Georgia,serif; color:var(--jw-wine); }
.jw-team-index span { font:600 17px var(--jw-serif); letter-spacing:-.045em; }
.jw-team-index em { grid-column:2; color:var(--jw-muted); font-size:11px; font-style:normal; }
.jw-team-member { scroll-margin-top:30px; padding:76px 0 86px; border-top:1px solid var(--jw-line); }
.jw-team-member:nth-child(even) { background:#faf8f5; }
.jw-team-member-grid { max-width:1180px; display:grid; grid-template-columns:minmax(250px,360px) minmax(0,1fr); gap:clamp(40px,6vw,94px); }
.jw-team-portrait { position:sticky; top:32px; align-self:start; background:#292a30; }
.jw-team-portrait img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; object-position:50% 16%; }
.jw-team-portrait-label { position:absolute; inset:auto 0 0; padding:15px 19px; color:#fff; background:linear-gradient(transparent,rgba(0,0,0,.72)); display:flex; justify-content:space-between; align-items:end; }
.jw-team-portrait-label span,.jw-team-portrait-label b { font:600 10px Georgia,serif; letter-spacing:.15em; }
.jw-team-profile { min-width:0; }
.jw-team-title { display:flex; align-items:end; gap:18px; margin:12px 0 8px; }
.jw-team-title h2 { font:600 clamp(36px,3.6vw,50px)/1.25 var(--jw-serif); letter-spacing:-.07em; color:var(--jw-ink); margin:0; }
.jw-team-title span { color:var(--jw-wine); font-size:14px; font-weight:700; padding-bottom:8px; }
.jw-team-focus { color:var(--jw-muted); font-size:13px; margin:0 0 27px; }
.jw-team-profile blockquote { margin:0 0 30px; padding:20px 0 20px 23px; border-left:2px solid var(--jw-wine); font:500 17px/1.85 var(--jw-serif); letter-spacing:-.025em; color:#493b3a; }
.jw-team-bio { padding-bottom:27px; border-bottom:1px solid var(--jw-line); }
.jw-team-bio p { color:#48423e; font-size:14px; line-height:1.9; margin:0 0 13px; }
.jw-team-facts { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:30px 0 20px; }
.jw-team-profile h3 { margin:0 0 16px; font:600 19px/1.4 var(--jw-serif); letter-spacing:-.035em; color:var(--jw-ink); }
.jw-team-facts ul,.jw-team-expertise ul { list-style:none; margin:0; padding:0; }
.jw-team-facts li { position:relative; padding:0 0 0 13px; margin:0 0 10px; color:#625a55; font-size:12px; line-height:1.65; }
.jw-team-facts li::before { content:'·'; position:absolute; left:0; color:var(--jw-wine); font-weight:700; }
.jw-team-expertise { border-top:1px solid var(--jw-line); padding-top:25px; }
.jw-team-expertise ul { display:flex; flex-wrap:wrap; gap:8px; }
.jw-team-expertise li { border:1px solid #d8cac5; background:#fff; color:var(--jw-wine); padding:7px 11px; font-size:11px; font-weight:600; }
.jw-team-actions { display:flex; align-items:center; flex-wrap:wrap; gap:24px; margin-top:32px; }

/* A stable editorial frame for existing and future WordPress posts. */
.jw-article-intro { background:#f1ede9; border-left:3px solid var(--jw-wine); padding:26px 30px; margin:0 0 22px; }
.jw-article-intro .jw-eyebrow { color:var(--jw-wine); }
.jw-article-intro p { font:500 17px/1.85 var(--jw-serif); color:#3d3431; margin:11px 0 0; letter-spacing:-.03em; }
.jw-article-photo { margin:0 0 24px; background:#f1ede9; }
.jw-article-photo img { display:block; width:100%; height:clamp(250px,32vw,420px); object-fit:cover; object-position:center; }
.jw-article-photo figcaption { padding:9px 2px 0; color:#756f6b; font-size:11px; line-height:1.6; }
.jw-article-toc { border:1px solid #e5ddd7; background:#fff; margin:0 0 24px; padding:27px 30px 20px; }
.jw-toc-title { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding-bottom:13px; border-bottom:1px solid var(--jw-line); }
.jw-toc-title h2 { order:-1; margin:0; font:600 20px/1.5 var(--jw-serif); color:var(--jw-ink); }
.jw-toc-title .jw-eyebrow { color:var(--jw-wine); }
.jw-article-toc ol { list-style:none; margin:15px 0 0; padding:0; counter-reset:jw-toc; }
.jw-article-toc li { border-bottom:1px solid #efebe8; }
.jw-article-toc li:not(.is-sub) { counter-increment:jw-toc; }
.jw-article-toc li:last-child { border-bottom:0; }
.jw-article-toc a { display:flex; gap:13px; padding:10px 0; color:#4d4542; text-decoration:none; font-size:13px; line-height:1.55; }
.jw-article-toc a:hover { color:var(--jw-wine); text-decoration:underline; }
.jw-article-toc li:not(.is-sub) a::before { content:counter(jw-toc,decimal-leading-zero); color:var(--jw-wine); font:600 12px Georgia,serif; padding-top:2px; }
.jw-article-toc li.is-sub a { padding-left:38px; font-size:12px; color:#716963; }
.jw-entry-content :is(h2,h3) { scroll-margin-top:25px; }
.jw-article-publisher { display:flex; align-items:center; gap:11px; border-top:1px solid var(--jw-line); margin:25px 0; padding-top:22px; }
.jw-article-publisher img { display:block; background:transparent; padding:0; object-fit:contain; filter:brightness(0); }
.jw-article-publisher div { display:flex; flex-direction:column; gap:2px; }
.jw-article-publisher strong { font:600 14px var(--jw-serif); color:var(--jw-ink); }
.jw-article-publisher span { font-size:11px; }
.jw-article-publisher a { color:var(--jw-wine); }
.jw-related { max-width:1080px; padding:0 0 80px; }
.jw-related .jw-section-heading { border-top:1px solid var(--jw-line); padding-top:30px; }
.jw-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.jw-related-grid article { background:#fff; border-top:2px solid var(--jw-wine); }
.jw-related-grid a { display:flex; flex-direction:column; min-height:174px; padding:22px; color:var(--jw-ink); text-decoration:none; }
.jw-related-grid a:hover h3 { color:var(--jw-wine); }
.jw-related-grid span { color:var(--jw-wine); font-size:11px; font-weight:700; }
.jw-related-grid h3 { font:600 16px/1.6 var(--jw-serif); letter-spacing:-.035em; margin:9px 0 17px; }
.jw-related-grid small { color:var(--jw-wine); margin-top:auto; }

@media (max-width:1050px) {
  .jw-menu-toggle { display:block; }
  .jw-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:20px 24px; background:#fff; border-bottom:1px solid var(--jw-line); box-shadow:0 13px 20px rgba(0,0,0,.08); flex-direction:column; align-items:stretch; gap:17px; }
  .jw-nav.is-open { display:flex; }
}
@media (max-width:1350px) and (min-width:701px) {
  .jw-reading-layout { display:block; max-width:900px; }
  .jw-reading-side { display:none; }
}
@media (max-width:800px) {
  .jw-team-index { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
  .jw-team-member-grid { grid-template-columns:270px minmax(0,1fr); gap:30px; }
  .jw-team-facts { grid-template-columns:1fr; gap:18px; }
  .jw-team-hero p { padding-right:120px; }
}
@media (max-width:700px) {
  .jw-team-hero-inner { min-height:330px; padding-bottom:50px; }
  .jw-team-hero h1 { font-size:40px; }
  .jw-team-hero p { padding-right:0; font-size:13px; }
  .jw-team-count { display:none; }
  .jw-team-index { padding:28px 0 42px; }
  .jw-team-index span { font-size:15px; }
  .jw-team-index em { font-size:10px; }
  .jw-team-member { padding:42px 0 58px; }
  .jw-team-member-grid { display:block; }
  .jw-team-portrait { position:relative; top:auto; max-width:420px; margin:0 0 28px; }
  .jw-team-portrait img { max-height:470px; }
  .jw-team-title h2 { font-size:35px; }
  .jw-team-profile blockquote { font-size:15px; }
  .jw-team-facts { grid-template-columns:1fr; }
  .jw-article-intro { padding:21px; }
  .jw-article-intro p { font-size:15px; }
  .jw-article-photo img { height:210px; }
  .jw-article-toc { padding:21px; }
  .jw-toc-title { display:block; }
  .jw-toc-title .jw-eyebrow { display:block; margin-top:6px; }
  .jw-related { padding-bottom:50px; }
  .jw-related-grid { grid-template-columns:1fr; }
  .jw-related-grid a { min-height:145px; }
}
/* Contact choices appended by the existing automatic-publishing integration. */
.jw-article-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin-top:20px}
.jw-article-contact-actions a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:12px 14px;background:#fff;color:#4c292c;text-decoration:none;font-weight:700;font-size:14px;border:1px solid #c8a9a1;border-radius:3px}
.jw-article-contact-actions a:hover,.jw-article-contact-actions a:focus-visible{background:#f4ebe7;color:#351b1e}
@media(max-width:760px){.jw-article-contact-actions{grid-template-columns:1fr}.jw-article-contact-actions a{min-height:50px}}

/* Jinwon article consultation panel */
body.jw-article .tb-post-diagnosis-cta { margin: 40px 0 0; }
body.jw-article .tb-post-diagnosis-cta__box { display:flex !important; flex-direction:column !important; align-items:stretch !important; gap:0 !important; padding:clamp(24px,3vw,36px) !important; border:1px solid #54383a !important; border-radius:4px !important; background:linear-gradient(135deg,#292829,#4d2b30) !important; box-shadow:none !important; color:#fff !important; }
body.jw-article .tb-post-diagnosis-cta__box::before, body.jw-article .tb-post-diagnosis-cta__box::after { display:none !important; }
body.jw-article .tb-post-diagnosis-cta__content { width:100% !important; max-width:none !important; }
body.jw-article .tb-post-diagnosis-cta__eyebrow { font-size:0 !important; color:#e9d7cb !important; }
body.jw-article .tb-post-diagnosis-cta__eyebrow::after { content:'JINWON LAW FIRM · 상담 안내'; font-size:11px; letter-spacing:.14em; }
body.jw-article .tb-post-diagnosis-cta__title { color:#fff !important; font-family:var(--jw-serif,serif) !important; font-size:clamp(21px,2.4vw,29px) !important; line-height:1.45 !important; }
body.jw-article .tb-post-diagnosis-cta__description { color:#e8ddda !important; }
body.jw-article .tb-post-diagnosis-cta .jw-article-contact-actions { width:100% !important; margin-top:20px !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
@media(max-width:700px) { body.jw-article .tb-post-diagnosis-cta__box { padding:25px 20px !important; } body.jw-article .tb-post-diagnosis-cta .jw-article-contact-actions { grid-template-columns:1fr !important; } }
body.jw-article .tb-post-diagnosis-cta .jw-article-contact-actions a { color:#4c292c !important; }
