:root{
  --navy:#1f2a44;
  --navy-2:#162038;
  --green:#2f604d;
  --green-soft:#e8f0ed;
  --gold:#c9a86a;
  --beige:#f5efe6;
  --paper:#ffffff;
  --soft:#f4f7f8;
  --soft-2:#eef3f4;
  --ink:#333943;
  --muted:#6b737d;
  --line:#e4e9ec;
  --shadow:0 18px 46px rgba(31,42,68,.08);
  --shadow-soft:0 10px 28px rgba(31,42,68,.05);
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--soft);color:var(--ink);font-family:"Noto Serif KR","Apple SD Gothic Neo","Malgun Gothic",serif;line-height:1.75;letter-spacing:-.015em;word-break:keep-all;overflow-wrap:break-word}
a{color:inherit;text-decoration:none}
a:hover{color:var(--green)}
img{display:block;max-width:100%;height:auto}
ul,ol{margin-top:0}
.skip-link{position:absolute;left:-9999px;top:12px;z-index:999;padding:10px 14px;background:var(--navy);color:#fff;border-radius:10px}
.skip-link:focus{left:12px}
.site-wrap{min-height:100vh}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(31,42,68,.08)}
.header-inner{max-width:var(--max);margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}
.site-logo{margin:0;flex:0 0 auto;line-height:0}
.site-logo a{display:block;padding:7px 12px;background:#fff;border:1px solid rgba(31,42,68,.06);border-radius:18px;box-shadow:0 8px 22px rgba(31,42,68,.05)}
.site-logo img{width:254px;max-height:66px;object-fit:contain}
.menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:999px;box-shadow:0 6px 18px rgba(31,42,68,.06);cursor:pointer}
.menu-toggle span{display:block;width:18px;height:2px;background:var(--navy);border-radius:999px;transition:.2s ease}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.site-nav{display:flex;align-items:center;justify-content:flex-end;gap:22px;min-width:0}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.site-nav li{margin:0;padding:0}
.site-nav a{display:block;color:var(--navy);font-size:15px;font-weight:700;line-height:1.4;white-space:nowrap}
.site-nav a:hover{color:var(--green)}
.tistory-menu:empty{display:none}
.tistory-menu ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.tistory-menu + .fallback-menu{display:flex}
.site-nav.has-tistory-menu .fallback-menu{display:none}

.hero-section{max-width:var(--max);margin:28px auto 34px;border-radius:30px;overflow:hidden;min-height:318px;position:relative;background:#e9f0f2;box-shadow:var(--shadow);isolation:isolate;border:1px solid rgba(31,42,68,.06)}
.hero-bg{position:absolute;inset:0;background:url('./images/hero-banner-clean.jpg') center right/cover no-repeat;transform:scale(1.01);z-index:-2}
.hero-dim{position:absolute;inset:0;background:linear-gradient(90deg, rgba(247,249,250,.98) 0%, rgba(247,249,250,.94) 36%, rgba(247,249,250,.69) 61%, rgba(247,249,250,.26) 82%, rgba(247,249,250,.06) 100%);z-index:-1}
.hero-copy{position:relative;max-width:650px;padding:52px 58px 48px}
.eyebrow{margin:0 0 12px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.16em;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.hero-copy h2{margin:0 0 16px;color:var(--navy);font-size:34px;line-height:1.38;letter-spacing:-.05em;font-weight:800}
.hero-desc{margin:0;color:#3f625b;font-size:17px;line-height:1.85;max-width:535px}
.hero-actions{display:flex;align-items:center;gap:10px;margin-top:24px;flex-wrap:wrap}
.hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;font-size:14px;font-weight:800;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.hero-actions a:first-child{background:var(--navy);color:#fff;box-shadow:0 8px 18px rgba(31,42,68,.14)}
.hero-actions a:last-child{background:rgba(255,255,255,.78);border:1px solid rgba(47,96,77,.18);color:var(--green)}

.layout{max-width:var(--max);margin:0 auto 66px;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:32px;align-items:start}
.content{min-width:0}
.list-head{margin:0 0 22px;padding:28px 32px;border-radius:24px;background:var(--paper);border:1px solid rgba(31,42,68,.08);box-shadow:var(--shadow-soft)}
.list-kicker{margin:0 0 8px;color:var(--green);font-size:13px;font-weight:800;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.list-head h2{margin:0 0 8px;color:var(--navy);font-size:28px;line-height:1.38;letter-spacing:-.04em}
.list-head p{margin:0;color:var(--muted);font-size:15px}
.post-list{display:grid;gap:18px}
.post-card{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding:18px;background:var(--paper);border:1px solid rgba(31,42,68,.08);border-radius:24px;box-shadow:var(--shadow-soft);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.post-card+.post-card{margin-top:18px}
.post-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(31,42,68,.08);border-color:rgba(47,96,77,.16)}
.thumb-wrap{display:block;position:relative;overflow:hidden;min-height:170px;aspect-ratio:16/9;border-radius:18px;background:#eef3f4 url('./images/no-image.svg') center/84px auto no-repeat}
.thumb-wrap img{width:100%;height:100%;min-height:170px;object-fit:contain;object-position:center center;transition:transform .24s ease;background:#eef3f4}
.post-card:hover .thumb-wrap img{transform:scale(1.015)}
.post-card-body{min-width:0;padding:4px 2px}
.post-category{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;color:var(--green);font-size:13px;font-weight:800;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.post-category::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}
.post-card h3{margin:0 0 10px;color:var(--navy);font-size:22px;line-height:1.45;letter-spacing:-.035em}
.post-card p{margin:0 0 12px;color:#58616b;font-size:15px;line-height:1.72;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-card time{color:#8e969e;font-size:13px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.empty-box{padding:38px;border-radius:22px;background:#fff;color:var(--muted);text-align:center;border:1px dashed #d7dee2}

.article-view{background:var(--paper);border:1px solid rgba(31,42,68,.08);border-radius:28px;padding:48px 50px;box-shadow:var(--shadow)}
.article-header{padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:34px}
.article-header h1{margin:8px 0 12px;color:var(--navy);font-size:38px;line-height:1.34;letter-spacing:-.055em}
.article-meta{margin:0;color:#8b949c;font-size:14px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.article-body{font-size:18px;color:var(--ink)}
.article-body h2{margin:48px 0 18px;color:var(--navy);font-size:29px;line-height:1.45;letter-spacing:-.045em}
.article-body h3{margin:36px 0 13px;color:#284f44;font-size:23px;line-height:1.45;letter-spacing:-.035em}
.article-body h4{margin:28px 0 10px;color:#3d4b5b;font-size:19px}
.article-body p{margin:0 0 21px}
.article-body a{text-decoration:underline;text-underline-offset:4px;color:var(--green)}
.article-body ul,.article-body ol{padding-left:1.25em;margin:0 0 24px}
.article-body li+li{margin-top:6px}
.article-body blockquote{margin:34px 0;padding:22px 24px;border-left:4px solid var(--gold);background:#faf7ef;color:#4c5157;border-radius:0 18px 18px 0}
.article-body img{border-radius:20px;margin:30px auto;box-shadow:0 10px 28px rgba(31,42,68,.07)}
.article-body table{width:100%;border-collapse:collapse;margin:28px 0;font-size:15px;display:block;overflow-x:auto}
.article-body th,.article-body td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.article-body th{background:#f3f6f7;color:var(--navy)}
.tag-trail{margin-top:36px;padding-top:22px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.tag-trail span{font-weight:800;color:var(--navy);margin-right:8px}
.tag-trail a{display:inline-block;margin:4px;padding:5px 11px;background:#f1f5f5;border-radius:999px;color:var(--green);font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.related-area{margin-top:42px;padding:28px;border-radius:24px;background:#f7f9fa;border:1px solid #edf0f2}
.related-area h2{margin:0 0 16px;color:var(--navy);font-size:22px;letter-spacing:-.035em}
.related-area ul{list-style:none;margin:0;padding:0}
.related-area li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #e5eaed}
.related-area li:last-child{border-bottom:0}
.related-area a{color:#404850}
.related-area time{color:#999;font-size:13px;white-space:nowrap;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}

.sidebar{position:sticky;top:110px;display:grid;gap:20px;min-width:0}
.profile-card,.sidebar-box{background:var(--paper);border:1px solid rgba(31,42,68,.08);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-soft)}
.profile-bg{height:106px;background:url('./images/profile-bg.jpg') center/cover no-repeat}
.profile-content{padding:0 22px 24px;text-align:center}
.profile-logo{width:86px;height:86px;object-fit:cover;margin:-43px auto 12px;border:6px solid #fff;border-radius:24px;background:#fff;box-shadow:0 10px 22px rgba(31,42,68,.08)}
.profile-content h2{margin:0 0 8px;color:var(--navy);font-size:20px;line-height:1.4;letter-spacing:-.035em}
.profile-content p{margin:0;color:#59636c;font-size:14px;line-height:1.72}
.sidebar-box{padding:22px}
.sidebar-box h3{margin:0 0 16px;color:var(--navy);font-size:18px;line-height:1.35;letter-spacing:-.035em}
.search-form{display:flex;gap:8px}
.search-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:13px;padding:11px 12px;background:#fff;font-family:inherit;font-size:14px;outline:none}
.search-form input:focus{border-color:rgba(47,96,77,.42);box-shadow:0 0 0 3px rgba(47,96,77,.08)}
.search-form button{border:0;border-radius:13px;background:var(--navy);color:#fff;padding:0 14px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-weight:800;cursor:pointer}
.category-list ul,.recent-posts ul,.tag-cloud ul{list-style:none;margin:0;padding:0}
.category-list li,.recent-posts li{padding:9px 0;border-bottom:1px solid #edf0f2}
.category-list li:last-child,.recent-posts li:last-child{border-bottom:0}
.category-list a,.recent-posts a{color:#404850;font-size:14px;line-height:1.55}
.category-list a:hover,.recent-posts a:hover{color:var(--green)}
.category-list ul ul{margin-left:12px;padding-top:6px}
.recent-posts time{display:block;color:#969da5;font-size:12px;margin-top:3px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.tag-cloud a{display:inline-block;margin:4px 3px;padding:5px 10px;border-radius:999px;background:#f1f5f5;color:#4f6660;font-size:13px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}

.paging{display:flex;justify-content:center;align-items:center;gap:10px;margin:36px 0}
.paging a{display:inline-flex;align-items:center;justify-content:center;min-width:39px;height:39px;padding:0 13px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--navy);font-weight:800;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.paging a:hover{background:var(--navy);color:#fff}
.paging .no-more-prev,.paging .no-more-next{opacity:.35;pointer-events:none}
.numbox{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center}
.site-footer{margin-top:72px;padding:48px 24px;background:var(--navy);color:#eef3f4;text-align:center}
.site-footer p{margin:0 0 8px}
.copyright{opacity:.72;font-size:13px;font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}


@media (max-width: 1120px) and (min-width: 981px){
  .post-card{grid-template-columns:260px minmax(0,1fr)}
  .thumb-wrap,.thumb-wrap img{min-height:148px}
}

@media (max-width: 980px){
  .header-inner{min-height:76px;padding:10px 18px}
  .site-logo img{width:222px;max-height:58px}
  .site-logo a{padding:6px 10px;border-radius:16px}
  .menu-toggle{display:inline-flex;flex:0 0 auto}
  .site-nav{display:none;position:absolute;left:16px;right:16px;top:82px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 18px 42px rgba(31,42,68,.14)}
  .site-nav.is-open{display:block}
  .site-nav ul,.tistory-menu ul{display:grid;gap:10px}
  .site-nav a{padding:7px 4px}
  .hero-section{margin:18px 16px 28px;min-height:260px;border-radius:24px}
  .hero-bg{background-position:center right 28%}
  .hero-dim{background:linear-gradient(180deg, rgba(247,249,250,.96) 0%, rgba(247,249,250,.89) 38%, rgba(247,249,250,.70) 68%, rgba(247,249,250,.45) 100%)}
  .hero-copy{max-width:100%;padding:36px 26px 34px}
  .hero-copy h2{font-size:28px;line-height:1.42}
  .hero-desc{font-size:15.5px;max-width:100%}
  .layout{display:block;padding:0 16px;margin-bottom:44px}
  .post-card{grid-template-columns:1fr;gap:15px}
  .thumb-wrap,.thumb-wrap img{min-height:198px}
  .article-view{padding:34px 24px;border-radius:24px}
  .article-header h1{font-size:30px}
  .article-body{font-size:16.5px}
  .article-body h2{font-size:25px}
  .sidebar{position:static;margin-top:30px}
}
@media (max-width: 560px){
  body{line-height:1.72}
  .header-inner{gap:12px}
  .site-logo img{width:198px;max-height:52px}
  .site-logo a{padding:5px 8px}
  .hero-section{min-height:246px}
  .hero-copy{padding:30px 20px}
  .hero-copy h2{font-size:24px;letter-spacing:-.045em}
  .eyebrow{font-size:11px}
  .hero-actions a{width:100%;min-height:40px}
  .list-head{padding:23px 22px;border-radius:22px}
  .list-head h2{font-size:24px}
  .post-card{padding:15px;border-radius:22px}
  .post-card h3{font-size:20px}
  .thumb-wrap,.thumb-wrap img{min-height:180px}
  .article-view{padding:28px 20px;border-radius:22px}
  .article-header{margin-bottom:28px;padding-bottom:23px}
  .article-header h1{font-size:26px}
  .article-body h2{font-size:23px;margin-top:40px}
  .article-body h3{font-size:20px}
  .related-area{padding:22px}
  .related-area li{display:block}
  .related-area time{display:block;margin-top:4px}
  .search-form{display:grid}
  .search-form button{height:42px}
}

/* v6: hero action buttons removed to avoid invalid category links before categories are created. */


/* =========================================================
   v9 mobile hardfix + cache-busted stylesheet
   PC layout above 981px is kept. Mobile hides sidebar duplicates and compacts header/hero.
   Critical version is also in skin.html to bypass stale mobile CSS cache.
   ========================================================= */
@media (max-width: 980px){
  html,body{width:100%!important;overflow-x:hidden!important;background:var(--soft)!important;}
  .site-header{position:sticky!important;top:0!important;z-index:80!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid rgba(31,42,68,.08)!important;}
  .header-inner{min-height:64px!important;padding:8px 16px!important;gap:10px!important;}
  .site-logo a{padding:4px 7px!important;border-radius:14px!important;box-shadow:0 5px 14px rgba(31,42,68,.045)!important;}
  .site-logo img{width:176px!important;max-height:46px!important;object-fit:contain!important;}
  .menu-toggle{display:inline-flex!important;width:40px!important;height:40px!important;flex:0 0 40px!important;}
  .site-nav{display:none!important;position:absolute!important;top:70px!important;left:14px!important;right:14px!important;z-index:90!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:16px!important;box-shadow:0 18px 42px rgba(31,42,68,.14)!important;max-height:calc(100vh - 90px)!important;overflow:auto!important;}
  .site-nav.is-open{display:block!important;}
  .site-nav ul,.tistory-menu ul{display:grid!important;gap:10px!important;}
  .site-nav a{padding:7px 4px!important;}
  .hero-section{margin:14px 14px 20px!important;min-height:auto!important;border-radius:22px!important;box-shadow:0 12px 30px rgba(31,42,68,.07)!important;}
  .hero-bg{background-position:center right 33%!important;opacity:.88!important;}
  .hero-dim{background:linear-gradient(180deg,rgba(247,249,250,.98) 0%,rgba(247,249,250,.94) 48%,rgba(247,249,250,.76) 100%)!important;}
  .hero-copy{padding:28px 22px 30px!important;max-width:100%!important;}
  .eyebrow{margin-bottom:8px!important;font-size:10.5px!important;letter-spacing:.13em!important;}
  .hero-copy h2{margin-bottom:10px!important;font-size:25px!important;line-height:1.38!important;letter-spacing:-.05em!important;}
  .hero-desc{max-width:100%!important;font-size:14.5px!important;line-height:1.72!important;}
  .layout{display:block!important;width:100%!important;max-width:100%!important;margin:0 0 42px!important;padding:0 14px!important;}
  .content{width:100%!important;min-width:0!important;}
  .list-head{margin:0 0 16px!important;padding:20px!important;border-radius:20px!important;box-shadow:0 8px 24px rgba(31,42,68,.045)!important;}
  .list-kicker{font-size:12px!important;margin-bottom:6px!important;}
  .list-head h2{font-size:23px!important;line-height:1.35!important;}
  .list-head p{font-size:14px!important;line-height:1.65!important;}
  .post-card{display:block!important;width:100%!important;padding:14px!important;border-radius:20px!important;margin:0 0 16px!important;box-shadow:0 8px 24px rgba(31,42,68,.045)!important;transform:none!important;}
  .post-card + .post-card{margin-top:0!important;}
  .thumb-wrap{width:100%!important;min-height:0!important;aspect-ratio:16/9!important;margin:0 0 14px!important;border-radius:16px!important;background-size:72px auto!important;}
  .thumb-wrap img{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center center!important;background:#eef3f4!important;}
  .post-card-body{padding:0 2px 2px!important;}
  .post-category{margin-bottom:6px!important;font-size:12px!important;}
  .post-card h3{margin:0 0 8px!important;font-size:20px!important;line-height:1.42!important;letter-spacing:-.04em!important;}
  .post-card p{margin:0 0 10px!important;font-size:14px!important;line-height:1.68!important;-webkit-line-clamp:2!important;}
  .post-card time{font-size:12.5px!important;}
  .sidebar{display:none!important;}
  .paging{margin:28px 0 0!important;}
  .site-footer{margin-top:36px!important;padding:34px 18px!important;}
  .site-footer p{font-size:14px!important;line-height:1.7!important;}
  .article-view{padding:30px 22px!important;border-radius:22px!important;box-shadow:0 8px 24px rgba(31,42,68,.045)!important;}
  .article-header{margin-bottom:26px!important;padding-bottom:22px!important;}
  .article-header h1{font-size:27px!important;line-height:1.36!important;letter-spacing:-.055em!important;}
  .article-body{font-size:16px!important;line-height:1.82!important;}
  .article-body h2{margin:38px 0 14px!important;font-size:23px!important;line-height:1.42!important;}
  .article-body h3{margin:30px 0 12px!important;font-size:20px!important;}
  .article-body p{margin-bottom:18px!important;}
  .article-body img{margin:24px auto!important;border-radius:16px!important;}
}
@media (max-width: 560px){
  .header-inner{min-height:60px!important;padding:7px 13px!important;}
  .site-logo img{width:158px!important;max-height:42px!important;}
  .menu-toggle{width:38px!important;height:38px!important;flex-basis:38px!important;}
  .site-nav{top:66px!important;left:12px!important;right:12px!important;}
  .hero-section{margin:12px 12px 18px!important;border-radius:20px!important;}
  .hero-copy{padding:24px 19px 26px!important;}
  .hero-copy h2{font-size:23px!important;}
  .hero-desc{font-size:14px!important;}
  .layout{padding:0 12px!important;}
  .list-head{padding:18px!important;border-radius:19px!important;}
  .list-head h2{font-size:22px!important;}
  .post-card{padding:13px!important;border-radius:19px!important;}
  .post-card h3{font-size:19px!important;}
  .post-card p{font-size:13.8px!important;}
  .article-view{padding:26px 19px!important;border-radius:20px!important;}
  .article-header h1{font-size:25px!important;}
  .article-body{font-size:15.8px!important;}
}
@media (max-width:380px){.site-logo img{width:142px!important}.hero-copy h2{font-size:21px!important}.post-card h3{font-size:18px!important}}
