/*
Theme Name: Jinwon Recovery
Version: 0.1.3
Description: 법무법인 진원 개인회생·파산 블로그 테마
Requires PHP: 7.4
Text Domain: jinwon-recovery
*/
:root{--navy:#17283e;--gold:#b49a66;--ink:#263344;--paper:#f6f5f1}*{box-sizing:border-box}body{margin:0;font-family:system-ui,'Malgun Gothic',sans-serif;color:var(--ink);line-height:1.8}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible{outline:3px solid var(--gold)}.wrap{max-width:1120px;margin:auto;padding:0 24px}.head{border-bottom:1px solid #e6e4df;background:white}.head .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-block:20px}.brand{font-weight:750;font-size:23px;line-height:1.3}.brand small{display:block;font-size:11px;letter-spacing:2px;color:#806a40}.nav ul{display:flex;flex-wrap:wrap;gap:22px;list-style:none;margin:0;padding:0;font-size:14px}.hero{background:linear-gradient(115deg,#142337,#283c52);color:white;padding:85px 0}.eyebrow{color:#d8c28e;font-size:13px;letter-spacing:2px}.hero h1{font-size:clamp(30px,5vw,48px);line-height:1.35;margin:16px 0}.hero p{color:#e2e5ea}.btn{display:inline-block;background:#bda574;color:#17283e;padding:12px 24px;font-weight:bold;margin-top:15px}.section{padding:54px 0}.section h2{font-size:27px;margin:0 0 24px}.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.topic,.postcard{border:1px solid #e3e0d9;padding:24px;background:white}.topic strong{display:block;font-size:20px}.topic span,.meta{color:#666;font-size:14px}.soft{background:var(--paper)}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.postcard img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.postcard h2,.postcard h3{font-size:20px;line-height:1.5;margin:10px 0}.article{max-width:800px;margin:auto;padding:48px 24px}.article h1{line-height:1.4;font-size:clamp(28px,4vw,40px)}.article img{max-width:100%;height:auto}.article a{text-decoration:underline}.foot{background:var(--navy);color:#e1e5eb;padding:35px 0;font-size:14px}.foot a{text-decoration:underline}.pagination{margin:24px 0}.custom-logo{max-width:200px;height:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;z-index:999;padding:10px}@media(max-width:700px){.topics,.posts{grid-template-columns:1fr}.hero{padding:55px 0}.head .wrap{gap:12px}.nav ul{gap:14px}.section{padding:35px 0}}


.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 50px);
}
.hero-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 1px solid #b49a6680;
    border-radius: 3px;
}
.attorney { border-inline-start: 3px solid var(--gold); padding-inline-start: 22px; }
.attorney h2 { margin-bottom: 10px; }
.attorney p { margin: 4px 0; }
.attorney a, .faq-list a, .text-link { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid #e3e0d9; }
.faq-list details:last-child { border-bottom: 1px solid #e3e0d9; }
.faq-list summary { padding: 13px 6px; color: var(--navy); font-weight: 650; cursor: pointer; }
.faq-list p { margin: 0; padding: 0 6px 15px; }
.office-list { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 12px; }
.office-list address { font-style: normal; }
.brand img { display: block; width: auto; max-width: min(200px, 100%); max-height: 64px; object-fit: contain; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.topic, .postcard, .article { min-width: 0; overflow-wrap: anywhere; }
#faq, #success-cases { scroll-margin-top: 24px; }

@media (max-width: 820px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr); }
    .hero-image { max-width: 640px; }
}
@media (min-width: 701px) and (max-width: 900px) {
    .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .wrap { padding-inline: 18px; }
    .head .wrap { padding-block: 14px 8px; }
    .nav ul { column-gap: 14px; row-gap: 0; }
    .hero p br { display: none; }
    .hero-image { max-height: 235px; }
}

.brand-home { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; flex: 0 0 46px; width: 46px; height: 50px; overflow: hidden; }
.brand .brand-mark img { width: 86px; height: 86px; max-width: none; max-height: none; position: absolute; inset: 50% auto auto 50%; transform: translate(-51%, -50%); }


.hero-copy, .attorney, .faq-list { word-break: keep-all; overflow-wrap: anywhere; }
