/* 국제상속 안내 페이지 공통 디자인 (intl/, ja/, zh/) */
:root {
  --bg: #f6f4ef; --card: #fff; --ink: #1d2523; --muted: #5d6764; --line: #e3e0d8;
  --brand: #1f4d45; --brand-2: #2f6b5f; --brand-soft: #e7f0ec;
  --accent: #b8863b; --accent-soft: #f7efe1; --red: #c81f3a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "Microsoft YaHei", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.75; word-break: keep-all; }
a { color: var(--brand); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

header.site { background: rgba(246,244,239,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; max-width: 1000px; gap: 10px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; }
.logo b { font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: -0.04em; white-space: nowrap; }
.logo span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.head-tel { text-decoration: none; background: var(--brand); color: #fff; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }

.hero { background: linear-gradient(140deg, #e23a3f 0%, #c81f3a 55%, #a3173a 100%); color: #fff; padding: 46px 0 50px; }
.hero.green { background: linear-gradient(155deg, #173c35 0%, var(--brand) 55%, var(--brand-2) 100%); }
.crumb { font-size: 13.5px; opacity: .85; margin-bottom: 12px; }
.crumb a { color: #fff; text-decoration: none; }
.hero h1 { font-size: clamp(27px, 5.6vw, 40px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -0.04em; font-weight: 800; }
.hero p { margin: 0; font-size: clamp(15.5px, 2.3vw, 17.5px); opacity: .95; max-width: 700px; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hero .tags span { font-size: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px 11px; }

main { padding: 30px 0 60px; }
section.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; margin-bottom: 14px; }
section.card h2 { font-size: 21px; letter-spacing: -0.03em; margin: 0 0 10px; color: var(--brand); }
section.card h3 { font-size: 17px; margin: 18px 0 6px; }
section.card p { margin: 0 0 10px; }
section.card ul, section.card ol { margin: 6px 0 4px; padding-left: 20px; }
section.card li { margin-bottom: 6px; }
.summary { background: var(--brand-soft); border: 0; }
.summary h2 { font-size: 18px !important; }
.point { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; color: #5b4520; font-size: 15px; margin: 10px 0; }
.tbl { overflow-x: auto; margin: 8px 0; }
table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--brand-soft); white-space: nowrap; }

.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 16px 14px; color: var(--muted); font-size: 15.5px; }

.cta { background: var(--brand); color: #fff; border-radius: 18px; padding: 26px 22px; text-align: center; margin: 22px 0 14px; }
.cta h2 { margin: 0 0 6px; font-size: 21px; }
.cta p { margin: 0 0 16px; opacity: .9; }
.cta .lang { font-size: 14px; opacity: .85; margin-bottom: 14px; }
.cta .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 0 auto; }
.cta a { display: grid; place-items: center; height: 52px; border-radius: 12px; text-decoration: none; font-weight: 800; }
.cta .a1 { background: #fff; color: var(--brand); }
.cta .a2 { background: rgba(255,255,255,.14); color: #fff; }

.related h2 { font-size: 18px !important; }
.related ul { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .related ul { grid-template-columns: 1fr; } }
.related li { margin: 0 !important; }
.related a { display: block; text-decoration: none; background: var(--bg); border-radius: 10px; padding: 11px 14px; font-weight: 700; font-size: 15px; }
.related a:hover { background: var(--brand-soft); }

.disclaimer { color: var(--muted); font-size: 13px; margin: 14px 2px 0; }
.updated { color: var(--muted); font-size: 13px; }

footer.site { background: #172320; color: #b8c2bf; font-size: 13.5px; padding: 34px 0 40px; }
footer.site b { color: #fff; }
footer.site p { margin: 5px 0; }
footer.site a { color: #fff; }

/* 일본어·중국어는 띄어쓰기가 없어 글자 단위로 줄바꿈 */
html[lang^="ja"] body, html[lang^="zh"] body { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
