@font-face {
  font-family: "Posttalk News Noto Sans KR";
  src: url("/font/news/noto-sans-kr-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --news-ink: #111;
  --news-sub: #555;
  --news-meta: #767676;
  --news-line: #e5e5e5;
  --news-tint: #f5f5f5;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--news-ink);
  font-family: "Posttalk News Noto Sans KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--news-ink); outline-offset: 2px; }
.guide-skip{position:absolute;left:20px;top:-80px;padding:8px 14px;background:#fff;z-index:10}
.guide-skip:focus{top:8px}

.news-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Existing header */
.guide-header { background: #fff; border-bottom: 1px solid var(--news-line); }
.guide-header-inner {
  display: flex;
  align-items: center;
  width: min(1184px, 100% - 40px);
  height: 71px;
  margin-inline: auto;
}
.guide-brand { display: block; line-height: 0; }
.guide-brand img { display: block; width: 102px; height: 44px; }
.guide-main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 70px; }
.guide-header--article .guide-main-nav{gap:41px;margin-right:51px}
.guide-main-nav a {
  padding: 6px 0 5px;
  border-bottom: 2px solid transparent;
  color: var(--news-sub);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.guide-main-nav a[href^="/news"],
.guide-main-nav a[aria-current="page"] {
  border-bottom-color: var(--news-ink);
  color: var(--news-ink);
  font-weight: 700;
}
.guide-header--article .guide-main-nav a[href="/news"]{border-bottom-color:transparent}

/* Existing footer */
.guide-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 28px max(20px, (100% - 1184px) / 2);
  border-top: 1px solid var(--news-line);
  color: var(--news-meta);
  font-size: 13px;
  line-height: 1.7;
}

/* List */
.news-inner { width: min(1184px, 100% - 40px); margin-inline: auto; padding: 42px 0 64px; }
.news-board-title { margin: 0; font-size: 38px; font-weight: 600; line-height: 56px; }
.news-board-sub { margin: 4px 0 0; color: var(--news-sub); font-size: 16px; line-height: 24px; }
.news-board-sub-mobile{display:none}

.news-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  border-bottom: 1px solid var(--news-line);
}
.news-tabs { display: flex; gap: 48px; margin-bottom: -1px; overflow-x: auto; }
.news-tabs a {
  flex: none;
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--news-sub);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}
.news-tabs a.is-active { border-bottom-color: var(--news-ink); color: var(--news-ink); font-weight: 700; }
.news-count { flex: none; margin: 0; color: var(--news-meta); font-size: 14px; line-height: 22px; }

.guide-table-head,
.news-row {
  display: grid;
  grid-template-columns: 90px 146px minmax(0, 1fr) 130px 46px;
  align-items: center;
}
.guide-table-head {
  height: 40px;
  margin-top: 11px;
  background: var(--news-tint);
  color: var(--news-sub);
  font-size: 13px;
  font-weight: 700;
}
.guide-table-head span:nth-child(1),
.guide-table-head span:nth-child(4) { text-align: center; }
.guide-table-head span:nth-child(2) { padding-left: 8px; }
.guide-table-head span:nth-child(3) { padding-left: 9px; }

.guide-posts { margin: 0; padding: 0; list-style: none; }
.news-row { min-height: 68px; border-bottom: 1px solid var(--news-line); }
.news-rank { color: var(--news-meta); font-size: 14px; text-align: center; }
.news-type { padding-left: 8px; color: var(--news-sub); font-size: 13px; font-weight: 700; }
.news-text { min-width: 0; padding: 0 16px 0 9px; }
.news-title,
.news-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-title { font-size: 18px; font-weight: 500; line-height: 28px; }
.news-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-summary { margin: 0; color: var(--news-sub); font-size: 14px; line-height: 21px; }
.news-date { color: var(--news-meta); font-size: 14px; text-align: center; white-space: nowrap; }
.news-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  padding-right: 12px;
}
.news-more img { display: block; width: auto; height: 12px; }

.news-empty {
  margin: 0;
  padding: 72px 0;
  border-bottom: 1px solid var(--news-line);
  color: var(--news-meta);
  font-size: 15px;
  text-align: center;
}

.news-pages {
  display: grid;
  grid-template-columns: repeat(3, 38px);
  gap: 6px;
  justify-content: center;
  margin-top: 25px;
}
.news-pages > * { display: flex; align-items: center; justify-content: center; height: 34px; }
.news-page-prev { grid-column: 1; }
.news-page-current {
  grid-column: 2;
  border: 1px solid var(--news-ink);
  font-size: 14px;
  font-weight: 700;
}
.news-page-next { grid-column: 3; }
.news-pages img { display: block; width: auto; height: 12px; }
.news-page-prev img { transform: rotate(180deg); }

/* Article */
.news-article-inner { width: min(720px, 100% - 40px); margin-inline: auto; padding: 40px 0 78px; }
.news-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  min-width: 128px;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #c8c8c8;
  font-size: 14px;
  font-weight: 500;
}
.news-back:hover { border-color: var(--news-ink); }
.news-back img { display: block; width: auto; height: 10px; transform: rotate(180deg); }

.news-article-head { margin: 54px 0 36px; padding-bottom: 33px; border-bottom: 1px solid var(--news-line); }
.news-article-type { margin: 0 0 12px; color: var(--news-sub); font-size: 14px; font-weight: 700; line-height: 20px; }
.news-article-title { margin: 0; font-size: 40px; font-weight: 700; line-height: 53px; letter-spacing: -.6px; text-wrap: balance; }
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 20px 0 0;
  color: var(--news-meta);
  font-size: 14px;
}
.news-article-meta span + time::before { content: "·"; margin-right: 10px; }

.guide-featured,
.guide-body figure,
.guide-gallery figure { margin: 0; }
.guide-featured { margin-bottom: 36px; }
.guide-body img,
.guide-gallery img { display: block; width: auto; height: auto; max-width: 100%; max-height: 440px; object-fit: contain; margin-inline: auto; background: var(--news-tint); }
.guide-featured img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--news-tint); }
.news-article figcaption { margin-top: 10px; color: var(--news-meta); font-size: 13px; line-height: 1.6; text-align: center; }

.guide-body { font-size: 17px; line-height: 31px; }
.guide-body p { margin: 0 0 1.35em; white-space: pre-line; }
.guide-body h2 { margin: 1.8em 0 .55em; font-size: 24px; font-weight: 700; line-height: 36px; }
.guide-body figure { margin: 2.2em 0; }
.guide-body > :first-child { margin-top: 0; }
.guide-body > :last-child { margin-bottom: 0; }

.guide-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }

.guide-source {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--news-tint);
  font-size: 14px;
  line-height: 1.6;
}
.guide-source-label { color: var(--news-sub); font-weight: 700; }
.guide-source a { text-decoration: underline; text-underline-offset: 3px; }
.news-external-note{margin:0 0 30px;padding:16px;background:var(--news-tint);font-size:14px;line-height:22px;color:var(--news-sub)}
.news-external-note strong{display:block;color:var(--news-ink);font-weight:700;line-height:20px}
.news-external-note p{margin:6px 0 0}

.news-adjacent { margin-top: 46px; padding-top: 12px; border-top: 1px solid var(--news-line); }
.news-adjacent a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  margin-bottom: 8px;
  background: var(--news-tint);
  font-size: 15px;
  line-height: 22px;
}
.news-adjacent-label { flex: none; width: 52px; color: var(--news-meta); font-size: 13px; }
.news-adjacent-title { min-width: 0; font-weight: 500; }
.news-adjacent a:hover .news-adjacent-title { text-decoration: underline; text-underline-offset: 3px; }

.news-return-wrap { margin: 40px 0 0; text-align: center; }
.news-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 52px;
  padding: 0 28px;
  background: var(--news-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.news-return:focus-visible { outline-offset: 3px; }

@media (max-width: 768px) {
  .guide-header-inner { height: 57px; }
  .guide-brand img { width: 83px; height: 36px; }
  .guide-main-nav { gap: 42px; margin-right: 0; }
  .guide-header--article .guide-main-nav{gap:45px;margin-right:0}
  .guide-main-nav a { padding: 0; border-bottom: 0; font-size: 13px; }
  .guide-main-nav a[href^="/news"],
  .guide-main-nav a[aria-current="page"] { font-size: 14px; }

  .news-inner { padding: 33px 0 56px; }
  .news-board-title { font-size: 30px; line-height: 43px; }
  .news-board-sub { margin-top: 6px; font-size: 15px; line-height: 22px; }
  .news-board-sub-pc{display:none}
  .news-board-sub-mobile{display:inline}

  .news-toolbar { display: block; margin-top: 26px; border-bottom: 0; }
  .news-tabs { gap: 40px; margin-bottom: 0; border-bottom: 1px solid var(--news-line); }
  .news-tabs a { padding-bottom: 6px; font-size: 14px; line-height: 20px; }
  .news-count {
    padding: 5px 0 4px;
    border-bottom: 1px solid var(--news-line);
    font-size: 12px;
    line-height: 18px;
    text-align: right;
  }

  .guide-table-head,
  .news-rank,
  .news-summary { display: none; }

  .news-row {
    grid-template-columns: minmax(0, 1fr) auto 24px;
    grid-template-areas:
      "type date ."
      "title title more";
    align-items: start;
    align-content: start;
    row-gap: 2px;
    min-height: 79px;
    padding: 9px 0 5px 2px;
  }
  .news-type { grid-area: type; padding-left: 0; font-size: 12px; line-height: 18px; }
  .news-date { grid-area: date; font-size: 12px; line-height: 18px; text-align: right; }
  .news-text { grid-area: title; padding: 0; }
  .news-title { overflow: visible; white-space: normal; font-size: 16px; line-height: 22px; }
  .news-more { grid-area: more; align-items: flex-start; padding: 6px 2px 0 0; }
  .news-more img { height: 10px; }

  .news-pages { margin-top: 32px; }

  .news-article-inner { padding: 21px 0 54px; }
  .news-article-head { margin: 41px 0 30px; padding-bottom: 29px; }
  .news-article-type { margin-bottom: 10px; font-size: 14px; }
  .news-article-title { font-size: 27px; font-weight: 700; line-height: 38px; }
  .news-article-meta { margin-top: 16px; font-size: 13px; }
  .guide-featured { margin-bottom: 28px; }
  .guide-featured img { aspect-ratio: 350 / 218; }
  .guide-body { font-size: 16px; line-height: 29px; }
  .guide-body h2 { font-size: 21px; line-height: 31px; }
  .guide-body img, .guide-gallery img { max-height: 377px; }
  .guide-gallery { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .guide-source { margin-top: 32px; padding: 16px; }
  .news-adjacent { margin-top: 40px; }
  .news-return { width: 100%; }
}
