@charset "utf-8";

:root {
  --wc-accent: #0f5a3c;
  --wc-accent-strong: color-mix(in srgb, var(--wc-accent) 82%, #000);
  --wc-accent-soft: color-mix(in srgb, var(--wc-accent) 10%, #fff);
  --wc-bg: #f5f7f8;
  --wc-surface: #fff;
  --wc-surface-2: #f8fafb;
  --wc-text: #172033;
  --wc-muted: #687386;
  --wc-border: #e4e9ee;
  --wc-shadow: 0 12px 35px rgba(26, 39, 56, .07);
  --wc-radius-lg: 22px;
  --wc-radius: 15px;
  --wc-content: 760px;
  --wc-sidebar: 300px;
  --wc-gap: 24px;
  --wc-header-height: 68px;
}

html.wc-dark {
  --wc-bg: #0b1117;
  --wc-surface: #121a22;
  --wc-surface-2: #18212b;
  --wc-text: #edf3f7;
  --wc-muted: #9aa8b7;
  --wc-border: #26323d;
  --wc-shadow: 0 16px 36px rgba(0, 0, 0, .25);
  --wc-accent-soft: color-mix(in srgb, var(--wc-accent) 22%, #101820);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wc-bg);
  color: var(--wc-text);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
body.wc-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wc-accent); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wc-skip {
  position: fixed; left: 12px; top: -60px; z-index: 10000;
  padding: 10px 15px; border-radius: 8px; background: #111; color: #fff;
}
.wc-skip:focus { top: 12px; }

/* Header */
.wc-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: var(--wc-header-height);
  border-bottom: 1px solid var(--wc-border);
  background: color-mix(in srgb, var(--wc-surface) 92%, transparent);
  backdrop-filter: blur(14px);
}
.wc-header__inner {
  width: min(100% - 32px, 1240px);
  min-height: var(--wc-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.wc-brand { display: inline-flex; align-items: center; min-width: 170px; gap: 10px; }
.wc-brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--wc-accent); color: #fff; font-weight: 900;
}
.wc-brand__name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 850; }
.wc-brand__logo { display: block; width: auto; max-width: 220px; height: 38px; object-fit: contain; }
.wc-gnb { flex: 1; min-width: 0; }
.wc-gnb .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.wc-gnb .menu > li { position: relative; }
.wc-gnb .menu > li > a { display: block; padding: 11px 13px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.wc-gnb .menu > li > a:hover { background: var(--wc-accent-soft); text-decoration: none; }
.wc-gnb .sub_menu {
  position: absolute; top: calc(100% + 3px); left: 0; display: none; min-width: 180px;
  padding: 8px; list-style: none; border: 1px solid var(--wc-border); border-radius: 12px;
  background: var(--wc-surface); box-shadow: var(--wc-shadow);
}
.wc-gnb li:hover > .sub_menu, .wc-gnb li:focus-within > .sub_menu { display: block; }
.wc-gnb .sub_menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.wc-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.wc-search { display: flex; align-items: center; height: 40px; overflow: hidden; border: 1px solid var(--wc-border); border-radius: 12px; background: var(--wc-surface-2); }
.wc-search input { width: 145px; height: 100%; padding: 0 4px 0 13px; border: 0; outline: 0; color: var(--wc-text); background: transparent; }
.wc-search button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.wc-icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--wc-border); border-radius: 12px; background: var(--wc-surface); cursor: pointer; }
.wc-icon-button:hover { background: var(--wc-accent-soft); }
.wc-menu-toggle { display: none; }
.wc-mobile-menu { max-height: calc(100vh - var(--wc-header-height)); overflow: auto; padding: 16px; border-top: 1px solid var(--wc-border); background: var(--wc-surface); }
.wc-mobile-menu .menu, .wc-mobile-category ul { list-style: none; }
.wc-mobile-menu a { display: block; padding: 10px 8px; border-bottom: 1px solid var(--wc-border); font-weight: 700; }
.wc-mobile-category { margin-top: 14px; }
.wc-mobile-category .category_list > li > a { color: var(--wc-accent); }
.wc-mobile-category ul ul { padding-left: 14px; }

/* Layout */
.wc-layout {
  width: min(100% - 32px, calc(var(--wc-content) + var(--wc-sidebar) + var(--wc-gap)));
  margin: 30px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, var(--wc-content)) var(--wc-sidebar);
  align-items: start;
  gap: var(--wc-gap);
}
.wc-content { min-width: 0; }
.wc-sidebar { min-width: 0; }
.wc-left-rail { display: none; }

/* Shared cards */
.wc-article, .wc-list-header, .wc-widget, .wc-empty, .wc-tag-page, .wc-comments {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-lg);
  background: var(--wc-surface);
  box-shadow: var(--wc-shadow);
}
.wc-list-header { position: relative; margin-bottom: 16px; padding: 24px 26px; }
.wc-list-header h1 { margin: 2px 0 0; font-size: clamp(23px, 4vw, 31px); line-height: 1.35; }
.wc-list-count { position: absolute; right: 25px; bottom: 25px; color: var(--wc-muted); font-size: 13px; }
.wc-kicker { display: inline-block; color: var(--wc-accent); font-size: 12px; font-weight: 850; letter-spacing: .03em; }
.wc-empty { padding: 50px 24px; text-align: center; color: var(--wc-muted); }

/* List cards */
.wc-posts { display: grid; gap: 14px; }
.wc-post-card { overflow: hidden; border: 1px solid var(--wc-border); border-radius: var(--wc-radius); background: var(--wc-surface); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.wc-post-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--wc-accent) 45%, var(--wc-border)); box-shadow: var(--wc-shadow); }
.wc-post-card > a { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 150px; color: inherit; }
.wc-post-card__thumb { min-height: 150px; background: var(--wc-surface-2); }
.wc-post-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wc-post-card__body { min-width: 0; padding: 20px 22px; }
.wc-post-card__body h2 { margin: 5px 0 7px; overflow: hidden; color: var(--wc-text); font-size: 20px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.wc-post-card__body p { margin: 0 0 10px; overflow: hidden; color: var(--wc-muted); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wc-post-card__body time { color: var(--wc-muted); font-size: 12px; }
.wc-post-card--protected > a { display: block; }

/* Article */
.wc-article { overflow: hidden; }
.wc-article-header { padding: clamp(32px, 6vw, 58px) clamp(22px, 6vw, 58px) 30px; border-bottom: 1px solid var(--wc-border); text-align: center; }
.wc-article-header h1 { max-width: 720px; margin: 8px auto 15px; font-size: clamp(28px, 5vw, 43px); line-height: 1.28; letter-spacing: -.035em; }
.wc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0; color: var(--wc-muted); font-size: 13px; }
.wc-meta span + span::before { content: "·"; margin-right: 18px; }
.wc-entry { padding: 38px clamp(20px, 6vw, 58px) 46px; color: var(--wc-text); font-size: 17px; line-height: 1.92; overflow-wrap: anywhere; }
.wc-entry > :first-child { margin-top: 0; }
.wc-entry p { margin: 0 0 1.15em; }
.wc-entry h1, .wc-entry h2, .wc-entry h3, .wc-entry h4 { color: var(--wc-text); scroll-margin-top: calc(var(--wc-header-height) + 18px); }
.wc-entry h2 { margin: 2.1em 0 .85em; padding: 0 0 10px; border-bottom: 2px solid var(--wc-accent); font-size: 25px; line-height: 1.45; }
.wc-entry h3 { margin: 1.8em 0 .7em; font-size: 21px; line-height: 1.5; }
.wc-entry h4 { margin: 1.6em 0 .65em; font-size: 18px; }
.wc-entry a { color: var(--wc-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wc-entry strong { font-weight: 800; }
.wc-entry ul, .wc-entry ol { margin: 1em 0 1.5em; padding-left: 1.5em; }
.wc-entry li { margin: .35em 0; }
.wc-entry blockquote { margin: 1.6em 0; padding: 17px 20px; border-left: 4px solid var(--wc-accent); border-radius: 0 12px 12px 0; background: var(--wc-accent-soft); }
.wc-entry pre { max-width: 100%; overflow: auto; padding: 18px; border-radius: 12px; background: #111821; color: #e9f0f5; line-height: 1.65; }
.wc-entry code { padding: .1em .35em; border-radius: 5px; background: var(--wc-surface-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.wc-entry pre code { padding: 0; background: transparent; }
.wc-entry hr { height: 1px; margin: 2.3em 0; border: 0; background: var(--wc-border); }
.wc-entry img { border-radius: 12px; }
.wc-entry figure { max-width: 100%; margin: 1.4em auto; }
.wc-entry figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.wc-entry figcaption { padding-top: 8px; color: var(--wc-muted); font-size: 13px; text-align: center; }
.wc-entry iframe { max-width: 100%; }
.wc-entry table { display: block; width: 100%; max-width: 100%; margin: 1.5em 0; overflow-x: auto; border-collapse: collapse; }
.wc-entry th, .wc-entry td { min-width: 90px; padding: 11px 12px; border: 1px solid var(--wc-border); text-align: left; }
.wc-entry th { background: var(--wc-surface-2); font-weight: 800; }
.wc-entry figure[data-ke-type="opengraph"] a { color: var(--wc-text); text-decoration: none; }
.wc-entry .imageblock img, .wc-entry .imagegridblock img { width: auto; }

/* Auto TOC / inline related */
.wc-toc { margin: 0 0 34px; padding: 20px 22px; border: 1px solid var(--wc-border); border-radius: 14px; background: var(--wc-surface-2); }
.wc-toc__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 15px; font-weight: 850; }
.wc-toc ol { margin: 0; padding-left: 1.25em; }
.wc-toc li { margin: 3px 0; }
.wc-toc li.is-h3 { margin-left: 16px; font-size: 14px; }
.wc-toc a { color: var(--wc-text); text-decoration: none; }
.wc-toc a:hover { color: var(--wc-accent); }
.wc-inline-related { margin: 30px 0; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--wc-accent) 35%, var(--wc-border)); border-left: 5px solid var(--wc-accent); border-radius: 12px; background: var(--wc-accent-soft); }
.wc-inline-related small { display: block; margin-bottom: 4px; color: var(--wc-accent); font-size: 12px; font-weight: 850; }
.wc-inline-related a { display: block; color: var(--wc-text); font-weight: 800; text-decoration: none; }
.wc-inline-related a:hover { color: var(--wc-accent); }

/* Tags / related / prev-next */
.wc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0 clamp(20px, 6vw, 58px) 32px; }
.wc-tags strong { margin-right: 5px; font-size: 13px; }
.wc-tags a { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border-radius: 999px; background: var(--wc-accent-soft); color: var(--wc-accent); font-size: 12px; font-weight: 750; }
.wc-tags a::before { content: "#"; }
.wc-related { padding: 34px clamp(20px, 5vw, 42px); border-top: 1px solid var(--wc-border); }
.wc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.wc-section-heading h2 { margin: 0; font-size: 20px; }
.wc-section-heading > a { color: var(--wc-muted); font-size: 13px; }
.wc-related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.wc-related-card { display: block; overflow: hidden; height: 100%; border: 1px solid var(--wc-border); border-radius: 13px; background: var(--wc-surface-2); }
.wc-related-card:hover { border-color: var(--wc-accent); }
.wc-related-card__thumb { display: block; height: 105px; background: var(--wc-border); }
.wc-related-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wc-related-card__title { display: -webkit-box; min-height: 56px; padding: 11px 12px 4px; overflow: hidden; color: var(--wc-text); font-size: 14px; font-weight: 750; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wc-related-card time { display: block; padding: 0 12px 11px; color: var(--wc-muted); font-size: 11px; }
.wc-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--wc-border); }
.wc-post-nav__item { min-width: 0; padding: 23px 30px; }
.wc-post-nav__item + .wc-post-nav__item { border-left: 1px solid var(--wc-border); text-align: right; }
.wc-post-nav__item span { display: block; margin-bottom: 4px; color: var(--wc-muted); font-size: 12px; }
.wc-post-nav__item strong { display: block; overflow: hidden; color: var(--wc-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.wc-comments { margin-top: 22px; padding: 28px; }
.wc-comments h1, .wc-comments h2 { margin: 0 0 20px; }

/* Sidebar */
.wc-widget { margin-bottom: 16px; padding: 19px; }
.wc-widget h2 { margin: 0 0 13px; font-size: 16px; }
.wc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 11px; background: var(--wc-surface-2); }
.wc-tabs button { padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--wc-muted); cursor: pointer; font-size: 13px; font-weight: 800; }
.wc-tabs button.is-active { background: var(--wc-surface); color: var(--wc-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.wc-tab-panel:not(.is-active) { display: none; }
.wc-mini-posts { list-style: none; counter-reset: wc-rank; }
.wc-mini-posts li { margin-top: 11px; }
.wc-mini-posts li:first-child { margin-top: 0; }
.wc-mini-posts a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wc-mini-posts__thumb { flex: 0 0 58px; height: 48px; overflow: hidden; border-radius: 9px; background: var(--wc-surface-2); }
.wc-mini-posts__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wc-mini-posts__text { min-width: 0; }
.wc-mini-posts__text strong { display: -webkit-box; overflow: hidden; color: var(--wc-text); font-size: 13px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wc-mini-posts__text small { display: block; margin-top: 2px; overflow: hidden; color: var(--wc-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wc-mini-posts--ranked li { counter-increment: wc-rank; }
.wc-mini-posts--ranked li::before { content: counter(wc-rank); float: left; width: 18px; margin-top: 12px; color: var(--wc-accent); font-size: 12px; font-weight: 900; }
.wc-mini-posts--ranked li a { margin-left: 20px; }
.wc-category-widget .category_list, .wc-category-widget .sub_category_list { list-style: none; }
.wc-category-widget .category_list > li > a { color: var(--wc-accent); font-weight: 850; }
.wc-category-widget li a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--wc-border); color: var(--wc-text); font-size: 13px; }
.wc-category-widget li:last-child > a { border-bottom: 0; }
.wc-category-widget .sub_category_list { padding-left: 13px; }
.wc-category-widget .c_cnt { color: var(--wc-muted); font-size: 10px; }
.wc-simple-list { list-style: none; }
.wc-simple-list a { display: block; padding: 7px 0; border-bottom: 1px solid var(--wc-border); font-size: 13px; }
.wc-counter strong { display: block; color: var(--wc-accent); font-size: 29px; line-height: 1.2; }
.wc-counter span { display: block; margin-top: 6px; color: var(--wc-muted); font-size: 11px; }

/* Manual ads */
.wc-ad-box { position: relative; width: 100%; min-height: 110px; overflow: hidden; text-align: center; }
.wc-ad-box:empty { display: none; }
.wc-ad-box.is-disabled { display: none !important; }
.wc-ad-label { display: block; height: 17px; color: var(--wc-muted); font-size: 9px; line-height: 17px; letter-spacing: .12em; }
.wc-ad-box .adsbygoogle { max-width: 100%; }
.wc-magic-ad { clear: both; margin: 34px 0; min-height: 120px; overflow: hidden; text-align: center; }
.wc-magic-ad .wc-ad-label { margin-bottom: 3px; }
.wc-article-bottom-ad { margin: 0 clamp(20px, 6vw, 58px) 34px; width: auto; border-top: 1px solid var(--wc-border); border-bottom: 1px solid var(--wc-border); }
.wc-list-bottom-ad { margin: 22px 0; border: 1px solid var(--wc-border); border-radius: var(--wc-radius); background: var(--wc-surface); }
.wc-desktop-ad .wc-ad-box { min-height: 250px; }

/* Pager / forms */
.wc-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.wc-pagination a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--wc-border); border-radius: 10px; background: var(--wc-surface); color: var(--wc-text); font-size: 13px; font-weight: 750; }
.wc-pagination a:hover, .wc-pagination .selected { border-color: var(--wc-accent); background: var(--wc-accent); color: #fff; }
.wc-protected { padding: 50px 25px; text-align: center; }
.wc-protected input { height: 42px; padding: 0 12px; border: 1px solid var(--wc-border); border-radius: 10px; background: var(--wc-surface); color: var(--wc-text); }
.wc-protected button { height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--wc-accent); color: #fff; cursor: pointer; font-weight: 800; }
.wc-tag-page { padding: 30px; }
.wc-tags--cloud { padding: 0; }

/* Footer */
.wc-footer { border-top: 1px solid var(--wc-border); background: var(--wc-surface); }
.wc-footer__inner { width: min(100% - 32px, 1120px); margin: 0 auto; padding: 32px 0 45px; display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.wc-footer strong { font-size: 16px; }
.wc-footer p { max-width: 650px; margin: 7px 0 0; color: var(--wc-muted); font-size: 12px; }
.wc-footer__links { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.wc-footer__links a { color: var(--wc-muted); font-size: 12px; font-weight: 700; }

/* Tistory comments basic reset */
.tt-comments-wrap, .tt-comments-wrap * { max-width: 100%; }
.tt-comments-wrap textarea { width: 100%; min-height: 120px; padding: 12px; border: 1px solid var(--wc-border); border-radius: 10px; background: var(--wc-surface-2); color: var(--wc-text); }
.tt-comments-wrap input { max-width: 100%; }

@media (min-width: 1500px) {
  .wc-layout.has-left-ad {
    width: min(100% - 40px, calc(180px + var(--wc-content) + var(--wc-sidebar) + (var(--wc-gap) * 2)));
    grid-template-columns: 180px minmax(0, var(--wc-content)) var(--wc-sidebar);
  }
  .wc-layout.has-left-ad .wc-left-rail { display: block; }
  .wc-left-rail .wc-ad-box { min-height: 600px; border: 1px solid var(--wc-border); border-radius: var(--wc-radius); background: var(--wc-surface); }
}

@media (max-width: 1100px) {
  .wc-gnb, .wc-search { display: none; }
  .wc-menu-toggle { display: grid; }
  .wc-layout { width: min(100% - 28px, var(--wc-content)); grid-template-columns: minmax(0, 1fr); }
  .wc-sidebar { margin-top: 20px; }
  .wc-desktop-ad { display: none !important; }
}

@media (max-width: 700px) {
  :root { --wc-header-height: 61px; }
  body { font-size: 15px; word-break: normal; }
  .wc-header__inner { width: min(100% - 20px, 1240px); min-height: var(--wc-header-height); gap: 8px; }
  .wc-brand { min-width: 0; flex: 1; }
  .wc-brand__mark { width: 35px; height: 35px; }
  .wc-brand__name { max-width: 180px; font-size: 15px; }
  .wc-brand__logo { max-width: 180px; height: 34px; }
  .wc-layout { width: min(100% - 20px, var(--wc-content)); margin-top: 16px; margin-bottom: 45px; }
  .wc-list-header { padding: 21px 20px; }
  .wc-list-count { position: static; display: block; margin-top: 7px; }
  .wc-post-card > a { grid-template-columns: 112px minmax(0, 1fr); min-height: 116px; }
  .wc-post-card__thumb { min-height: 116px; }
  .wc-post-card__body { padding: 14px; }
  .wc-post-card__body h2 { margin-top: 3px; font-size: 16px; }
  .wc-post-card__body p { display: none; }
  .wc-article, .wc-widget, .wc-list-header, .wc-empty, .wc-comments { border-radius: 16px; }
  .wc-article-header { padding: 30px 20px 25px; }
  .wc-article-header h1 { font-size: 28px; }
  .wc-entry { padding: 28px 20px 37px; font-size: 16px; line-height: 1.85; }
  .wc-entry h2 { font-size: 22px; }
  .wc-entry h3 { font-size: 19px; }
  .wc-meta span + span::before { margin-right: 8px; }
  .wc-tags { padding: 0 20px 27px; }
  .wc-article-bottom-ad { margin: 0 20px 28px; }
  .wc-related { padding: 27px 20px; }
  .wc-related-list { grid-template-columns: 1fr; }
  .wc-related-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); }
  .wc-related-card__thumb { grid-row: 1 / span 2; height: 100%; min-height: 88px; }
  .wc-related-card__title { min-height: auto; }
  .wc-post-nav { grid-template-columns: 1fr; }
  .wc-post-nav__item { padding: 19px 20px; }
  .wc-post-nav__item + .wc-post-nav__item { border-top: 1px solid var(--wc-border); border-left: 0; text-align: left; }
  .wc-sidebar { margin-top: 16px; }
  .wc-footer__inner { display: block; padding-top: 26px; }
  .wc-footer__links { margin-top: 18px; }
}

@media (max-width: 390px) {
  .wc-brand__name { max-width: 135px; }
  .wc-icon-button { width: 37px; height: 37px; }
  .wc-post-card > a { grid-template-columns: 95px minmax(0, 1fr); }
}

/* ===== WestC Daily v1.1 보정 ===== */

/* 티스토리 기본 블로그 메뉴 구조 대응 */
.wc-gnb > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-gnb > ul > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-gnb > ul > li > a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.wc-gnb > ul > li > a:hover {
  background: var(--wc-accent-soft);
  text-decoration: none;
}

/* 모바일 메뉴 글머리표 제거 */
.wc-mobile-menu ul,
.wc-mobile-menu li {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* 광고 슬롯 번호가 없을 때 바깥쪽 빈 카드도 숨김 */
.wc-widget.wc-desktop-ad:has(.wc-ad-box.is-disabled) {
  display: none;
}

/* 공지 글이 하나도 없으면 공지사항 카드 숨김 */
.wc-notice-widget:not(:has(li)) {
  display: none;
}

/* ===== 카테고리 위젯 개선 ===== */

/* 티스토리 카테고리 전체 구조 초기화 */
.wc-category-widget .tt_category,
.wc-category-widget .category_list,
.wc-category-widget .sub_category_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-category-widget .tt_category > li,
.wc-category-widget .category_list > li,
.wc-category-widget .sub_category_list > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 분류 전체보기 */
.wc-category-widget .link_tit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.wc-category-widget .link_tit:hover {
  background: color-mix(in srgb, var(--wc-accent) 16%, var(--wc-surface));
  text-decoration: none;
}

/* 상위 카테고리 목록 */
.wc-category-widget .category_list {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.wc-category-widget .category_list > li > a,
.wc-category-widget .sub_category_list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: var(--wc-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.wc-category-widget .category_list > li > a:hover,
.wc-category-widget .sub_category_list > li > a:hover {
  background: var(--wc-surface-2);
  color: var(--wc-accent);
  text-decoration: none;
}

/* 하위 카테고리 */
.wc-category-widget .sub_category_list {
  display: grid;
  gap: 2px;
  margin: 3px 0 6px 11px;
  padding-left: 10px;
  border-left: 2px solid var(--wc-border);
}

.wc-category-widget .sub_category_list > li > a {
  padding: 7px 8px;
  color: var(--wc-muted);
  font-size: 12px;
  font-weight: 600;
}

/* 글 개수 */
.wc-category-widget .c_cnt {
  flex: 0 0 auto;
  min-width: 21px;
  color: var(--wc-muted);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}
/* 티스토리 기본 '카테고리의 다른 글' 숨김 */
.another_category {
  display: none !important;
}