@charset "UTF-8";
/* ============================================================
   Runner's Choice — 공통 사이트 스타일 (헤더 / 메뉴 / 푸터)
   모든 페이지에서 site.css 하나만 불러 쓰면 됩니다.
   ============================================================ */

:root {
  --rc-ink: #14181d;
  --rc-body: #5b6472;
  --rc-muted: #8b94a1;
  --rc-line: #e4e8ee;
  --rc-line-soft: #eef1f5;
  --rc-surface: #ffffff;
  --rc-tint: #f5f7f9;
  --accent: #0047A0;
  --accent-soft: #eef3fb;
  --rc-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
}

body,
body[class],
body * {
  font-family: var(--rc-font);
}

.rc-header *,
.rc-footer *,
.rc-cta *,
.rc-pagenote * {
  box-sizing: border-box;
}

/* ---------- 헤더 ---------- */

.rc-header {
  background: var(--rc-surface);
  border-bottom: 1px solid var(--rc-line);
  margin: 0 0 4px 0;
  position: relative;
  z-index: 900;
}

@media (min-width: 861px) {
  .rc-header:not(.rc-header--static) {
    position: sticky;
    top: 0;
  }
}

.rc-header__top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rc-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--rc-ink);
}

.rc-brand__mark {
  width: 26px;
  height: 22px;
  flex: none;
  display: block;
}

.rc-brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--rc-ink);
  white-space: nowrap;
}

.rc-brand__tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rc-muted);
  padding-left: 11px;
  border-left: 1px solid var(--rc-line);
  line-height: 1.1;
  white-space: nowrap;
}

/* 앱 바로가기 (기존 플로팅 버튼을 메뉴로 흡수) */

.rc-apps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.rc-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--rc-body);
  border: 1px solid var(--rc-line);
  background: var(--rc-surface);
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.rc-app:hover {
  color: var(--rc-ink);
  border-color: #cfd6e0;
  background: var(--rc-tint);
}

.rc-app--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rc-app--primary:hover {
  background: #0a4bb4;
  border-color: #0a4bb4;
  color: #fff;
}

.rc-app__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.rc-app--video .rc-app__dot {
  background: #d93025;
}

/* 페이지 메뉴 */

.rc-nav {
  border-top: 1px solid var(--rc-line-soft);
  background: var(--rc-surface);
}

.rc-nav__list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rc-nav__list::-webkit-scrollbar {
  display: none;
}

.rc-nav__list li {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
}

.rc-nav__list a {
  display: block;
  padding: 12px 12px 11px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--rc-body);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.rc-nav__list a:hover {
  color: var(--rc-ink);
  border-bottom-color: var(--rc-line);
}

.rc-nav__list a.is-current {
  color: var(--accent);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.rc-header a:focus-visible,
.rc-footer a:focus-visible,
.rc-cta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .rc-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 12px 16px;
  }
  .rc-brand__tag {
    display: none;
  }
  .rc-apps {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .rc-apps::-webkit-scrollbar {
    display: none;
  }
  .rc-nav__list {
    padding: 0 16px;
  }
  .rc-nav__list a {
    font-size: 13.5px;
    padding: 11px 10px 10px 10px;
  }
}

/* ---------- 본문 하단 앱 안내 ---------- */

.rc-cta {
  max-width: 860px;
  margin: 56px auto 0 auto;
  padding: 28px 30px 30px 30px;
  background: var(--rc-tint);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
}

.rc-cta__title {
  margin: 0 0 10px 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--rc-ink);
  line-height: 1.4;
  border: none;
  padding: 0;
}

.rc-cta__text {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--rc-body);
}

.rc-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

@media (max-width: 640px) {
  .rc-cta {
    margin: 40px 16px 0 16px;
    padding: 22px 20px 24px 20px;
  }
  .rc-cta__title {
    font-size: 17px;
  }
}

/* ---------- 페이지 하단 안내 문구 ---------- */

.rc-pagenote {
  max-width: 1120px;
  margin: 40px auto 0 auto;
  padding: 22px 20px 0 20px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  justify-content: space-between;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rc-muted);
}

.rc-pagenote strong {
  display: block;
  color: var(--rc-body);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- 푸터 ---------- */

.rc-footer {
  margin-top: 64px;
  background: var(--rc-surface);
  border-top: 1px solid var(--rc-line);
}

.rc-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 44px 20px;
}

.rc-footer__lead {
  max-width: 46em;
  margin-bottom: 26px;
}

.rc-footer__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--rc-ink);
  margin-bottom: 7px;
}

.rc-footer__lead p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--rc-body);
}

.rc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 20px 0;
  border-top: 1px solid var(--rc-line-soft);
  border-bottom: 1px solid var(--rc-line-soft);
}

.rc-footer__nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--rc-body);
  text-decoration: none;
}

.rc-footer__nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.rc-footer__meta {
  margin-top: 16px;
  border-top: 1px solid var(--rc-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--rc-muted);
}

.rc-footer__meta a {
  color: var(--rc-muted);
  text-decoration: none;
}

.rc-footer__meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .rc-footer__inner {
    padding: 32px 16px 36px 16px;
  }
  .rc-footer__nav {
    gap: 8px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-app,
  .rc-nav__list a {
    transition: none;
  }
}

/* ---------- 페이지 레이아웃 ---------- */

body.rc-reset {
  max-width: none;
  margin: 0;
  padding: 0;
}

.rc-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 0 20px;
}

.rc-cta--inline {
  margin: 26px 0;
  max-width: none;
}

/* 페이지 안에서만 적용되는 본문 타이포그래피 정리 */

.rc-page h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--rc-ink);
  border: none;
  border-bottom: 1px solid var(--rc-line);
  padding: 0 0 16px 0;
  margin: 6px 0 18px 0;
}

.rc-page h2 {
  font-size: 21.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--rc-ink);
  margin: 44px 0 14px 0;
  padding: 0 0 0 12px;
  border: none;
  border-left: 3px solid var(--accent);
}

.rc-page h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rc-ink);
}

.rc-page p,
.rc-page li {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--rc-body);
}

.rc-page ul,
.rc-page ol {
  padding-left: 20px;
}

.rc-page li {
  margin-bottom: 8px;
}

.rc-page strong {
  color: var(--rc-ink);
  font-weight: 600;
}

.rc-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px 0;
  font-size: 15px;
  background: var(--rc-surface);
  box-shadow: none;
  border: 1px solid var(--rc-line);
  border-radius: 10px;
  overflow: hidden;
}

.rc-page th,
.rc-page td {
  border: none;
  border-bottom: 1px solid var(--rc-line-soft);
  padding: 13px 14px;
  line-height: 1.6;
  color: var(--rc-body);
  vertical-align: top;
}

.rc-page thead th {
  background: var(--rc-tint);
  color: var(--rc-ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--rc-line);
}

.rc-page tbody tr:last-child td {
  border-bottom: none;
}

/* 카드·안내 박스 톤 정리 */

.rc-page .posture-card {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.rc-page .posture-card:hover {
  transform: none;
  border-color: #cfd6e0;
  box-shadow: none;
}

.rc-page .posture-card h3 {
  margin-top: 0;
  font-size: 15.5px;
}

.rc-page .solution-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rc-ink);
}

.rc-page .notice-box,
.rc-page .privacy-box,
.rc-page .highlight {
  background: var(--rc-tint);
  border: 1px solid var(--rc-line);
  border-left: 3px solid #b6bfcc;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rc-body);
  margin: 22px 0;
}

.rc-page .privacy-box h3 {
  font-size: 14.5px;
  margin: 0 0 8px 0;
}

.rc-page .container {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  box-shadow: none;
  padding: 36px 38px 40px 38px;
}

@media (max-width: 640px) {
  .rc-page {
    padding: 22px 16px 0 16px;
  }
  .rc-page h1 {
    font-size: 22px;
  }
  .rc-page h2 {
    font-size: 17.5px;
    margin-top: 34px;
  }
  .rc-page .container {
    padding: 24px 20px 28px 20px;
  }
  .rc-page table {
    font-size: 13px;
  }
  .rc-page th,
  .rc-page td {
    padding: 10px 11px;
  }
}

/* ---------- 홈 히어로 ---------- */

.rc-hero {
  position: relative;
  color: #fff;
  background: #10151b;
  border-bottom: 1px solid #10151b;
}

.rc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1552674605-db6ffd4facb5?w=1600&q=80') center 30% / cover no-repeat;
  opacity: 0.55;
}

.rc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 14, 20, 0.92) 0%, rgba(10, 14, 20, 0.72) 45%, rgba(10, 14, 20, 0.35) 100%);
}

.rc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 92px 20px 96px 20px;
}

.rc-hero__title {
  margin: 0 0 18px 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: #fff;
  border: none;
  padding: 0;
  max-width: 16em;
}

.rc-hero__text {
  margin: 0 0 30px 0;
  max-width: 40em;
  font-size: 17.5px;
  line-height: 1.8;
  color: #d5dae1;
}

.rc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-hero__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #f1f3f6;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rc-hero__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.rc-hero__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rc-hero__btn--primary:hover {
  background: #0a4bb4;
  border-color: #0a4bb4;
}

.rc-hero__meta {
  margin: 34px 0 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14.5px;
  color: #aab2bd;
  max-width: 46em;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .rc-hero__inner {
    padding: 56px 16px 60px 16px;
  }
  .rc-hero__title {
    font-size: 29px;
  }
  .rc-hero__text {
    font-size: 15px;
  }
  .rc-hero__btn {
    width: 100%;
    justify-content: center;
  }
}

.rc-footer__channel {
  padding-top: 18px;
}

/* ============================================================
   글 페이지 공통 요소 (요약 · 저자 · 관련 글 · FAQ · 체크리스트)
   ============================================================ */

.rc-articlemeta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: -6px 0 24px 0;
  font-size: 14px;
  color: var(--rc-muted);
}

.rc-articlemeta a { color: var(--rc-muted); text-decoration: underline; text-underline-offset: 2px; }
.rc-articlemeta a:hover { color: var(--accent); }

.rc-summary {
  background: var(--accent-soft);
  border: 1px solid #d7e3fa;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0 32px 0;
}

.rc-summary h2 {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 16.5px !important;
  font-weight: 700;
  color: var(--rc-ink);
}

.rc-summary ul { margin: 0; padding-left: 18px; }
.rc-summary li { font-size: 16px; line-height: 1.72; color: #2c3644; margin-bottom: 7px; }
.rc-summary li:last-child { margin-bottom: 0; }

.rc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 10px 0; }
.rc-table-wrap table { margin: 0; min-width: 520px; }
.rc-tablehint { font-size: 12.5px; color: var(--rc-muted); margin: 0 0 24px 0; }

.rc-check {
  background: var(--rc-tint);
  border: 1px solid var(--rc-line);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 28px 0;
}

.rc-check h3 { margin: 0 0 12px 0; font-size: 17px; }
.rc-check ul { margin: 0; padding-left: 0; list-style: none; }
.rc-check li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 16px; line-height: 1.7; }
.rc-check li:last-child { margin-bottom: 0; }
.rc-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border: 1.5px solid #b9c2cf;
  border-radius: 4px;
}

.rc-warn {
  background: #fff8f3;
  border: 1px solid #f3ddc9;
  border-left: 3px solid #d97b3c;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 28px 0;
}

.rc-warn h3 { margin: 0 0 8px 0; font-size: 16.5px; color: #9d5420; }
.rc-warn p, .rc-warn li { font-size: 15.5px; line-height: 1.75; color: #6e4b31; }
.rc-warn ul { margin: 8px 0 0 0; }

.rc-faq { margin: 30px 0 0 0; }
.rc-faq details { border-bottom: 1px solid var(--rc-line-soft); }
.rc-faq details:first-of-type { border-top: 1px solid var(--rc-line-soft); }
.rc-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--rc-ink);
  position: relative;
  line-height: 1.5;
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 13px;
  font-size: 20px;
  font-weight: 400;
  color: var(--rc-muted);
}
.rc-faq details[open] summary::after { content: "\2212"; }
.rc-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.rc-faq__body { padding: 0 0 18px 0; }
.rc-faq__body p { margin: 0 0 10px 0; font-size: 14.5px; line-height: 1.78; }
.rc-faq__body p:last-child { margin-bottom: 0; }

.rc-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 46px 0 0 0;
}

.rc-author__mark {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.rc-author__name { font-size: 15.5px; font-weight: 700; color: var(--rc-ink); margin: 0 0 4px 0; }
.rc-author__role { font-size: 14px; color: var(--rc-muted); margin: 0 0 10px 0; line-height: 1.6; }
.rc-author p { font-size: 15.5px; line-height: 1.75; margin: 0 0 10px 0; }
.rc-author__links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; }
.rc-author__links a { color: var(--accent); text-decoration: none; font-weight: 600; }
.rc-author__links a:hover { text-decoration: underline; }

.rc-related { margin: 42px 0 0 0; }
.rc-related h2 {
  font-size: 16px !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--rc-ink);
}
.rc-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc-related__item {
  display: block;
  border: 1px solid var(--rc-line);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  background: var(--rc-surface);
  transition: border-color 0.15s ease;
}
.rc-related__item:hover { border-color: #cfd6e0; }
.rc-related__label { display: block; font-size: 13px; color: var(--rc-muted); margin-bottom: 5px; }
.rc-related__title { display: block; font-size: 15.5px; font-weight: 600; color: var(--rc-ink); line-height: 1.5; }

.rc-disclaimer {
  margin: 36px 0 0 0;
  padding: 16px 18px;
  border: 1px dashed var(--rc-line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rc-muted);
  background: #fcfdfe;
}

/* 소개 페이지 */

.rc-profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 4px 0 30px 0;
  border-bottom: 1px solid var(--rc-line);
  margin-bottom: 10px;
}

.rc-profile__mark {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 700;
}

.rc-profile__quote {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--rc-ink);
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.rc-credentials {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rc-credentials li {
  padding: 15px 17px;
  border: 1px solid var(--rc-line);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--rc-ink);
  background: var(--rc-surface);
  margin: 0;
}

.rc-credentials li span {
  display: block;
  font-size: 13px;
  color: var(--rc-muted);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.6;
}

.rc-linkcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 0 0; }
.rc-linkcards a {
  display: block;
  border: 1px solid var(--rc-line);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  background: var(--rc-surface);
  transition: border-color 0.15s ease;
}
.rc-linkcards a:hover { border-color: #cfd6e0; }
.rc-linkcards strong { display: block; font-size: 15px; color: var(--rc-ink); margin-bottom: 5px; }
.rc-linkcards span { display: block; font-size: 13.5px; color: var(--rc-body); line-height: 1.6; }

@media (max-width: 640px) {
  .rc-related__grid,
  .rc-credentials,
  .rc-linkcards { grid-template-columns: 1fr; }
  .rc-author { flex-direction: column; gap: 14px; padding: 20px; }
  .rc-profile { flex-direction: column; gap: 16px; }
  .rc-summary, .rc-check { padding: 18px; }
}

/* 도서 카드 */

.rc-book {
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--rc-surface);
  margin: 26px 0;
}

.rc-book__cover {
  background: #fbfcfd;
  border-bottom: 1px solid var(--rc-line-soft);
  display: flex;
  justify-content: center;
  padding: 22px 20px;
}

.rc-book__cover img { max-height: 340px; max-width: 100%; object-fit: contain; }

.rc-book__body { padding: 26px 28px 28px 28px; }

.rc-book__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 5px;
  padding: 5px 10px;
  margin-bottom: 12px;
}

.rc-book__title { font-size: 21.5px; font-weight: 700; color: var(--rc-ink); margin: 0 0 6px 0; line-height: 1.4; letter-spacing: -0.01em; }
.rc-book__sub { font-size: 14px; color: var(--rc-muted); margin: 0 0 16px 0; }
.rc-book__meta {
  border-top: 1px solid var(--rc-line-soft);
  border-bottom: 1px solid var(--rc-line-soft);
  padding: 13px 0;
  margin: 18px 0 20px 0;
  font-size: 13.5px;
  color: var(--rc-muted);
}
.rc-book__meta strong { color: var(--rc-ink); font-weight: 600; }
.rc-book__btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.rc-book__btn:hover { background: #0a4bb4; }

@media (max-width: 640px) {
  .rc-book__body { padding: 22px 20px 24px 20px; }
  .rc-book__cover img { max-height: 260px; }
}



/* ---------- 점검 후 보완 ---------- */

/* 차트·시뮬레이터 캔버스가 좁은 화면을 넘지 않도록 */
canvas {
  max-width: 100%;
}

/* 표가 화면을 넘칠 때 가로 스크롤 */
.rc-page table,
table {
  max-width: 100%;
}

/* 모바일에서 푸터 링크를 손가락으로 누르기 쉽게 */
@media (max-width: 860px) {
  .rc-footer__nav {
    gap: 2px 16px;
  }
  .rc-footer__nav a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
  }
  .rc-nav__list a {
    padding: 13px 11px 12px 11px;
  }
}


/* ============================================================
   태극 적청(赤靑) 테마
   빨강 #CD2E3A · 파랑 #0047A0 — 태극기 표준색
   본문 디자인은 건드리지 않고, 모든 페이지에 공통으로 얹히는
   헤더 / 메뉴 / 푸터 / 안내 박스에만 적용한다.
   ============================================================ */

:root {
  --accent: #0047A0;
  --accent-deep: #003076;
  --accent-soft: #eef3fb;
  --accent-red: #CD2E3A;
  --accent-red-deep: #a52029;
  --accent-red-soft: #fdeef0;
}

/* 페이지 맨 위 적청 띠 — 모든 화면에서 처음 보이는 요소 */
.rc-header { position: relative; }
.rc-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #CD2E3A 0%, #CD2E3A 46%,
    #8e3560 50%,
    #0047A0 54%, #0047A0 100%);
  z-index: 2;
}

/* 로고 막대: 회색 → 빨강 → 파랑 */
.rc-brand__mark rect:nth-of-type(2) { fill: var(--accent-red); }
.rc-brand__mark rect:nth-of-type(3) { fill: var(--accent); }

/* 메뉴: 링크는 파랑, 현재 페이지는 빨강 */
.rc-nav__list a:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }
.rc-nav__list a.is-current {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

/* 앱 버튼 */
.rc-app--primary { background: var(--accent); border-color: var(--accent); }
.rc-app--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.rc-app__dot { background: var(--accent-red); }
.rc-app:hover { border-color: #b6c4da; }

/* 첫 화면 히어로에 적청 광원 */
.rc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(74% 92% at 10% 6%, rgba(205, 46, 58, 0.30), transparent 62%),
    radial-gradient(78% 96% at 92% 96%, rgba(0, 71, 160, 0.36), transparent 62%);
}
.rc-hero__inner { z-index: 2; }

/* 제목 밑줄을 적청 그라데이션으로 */
.rc-page h1 {
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg,
    var(--accent-red) 0%, var(--accent) 46%, var(--rc-line) 100%) 1;
}
.rc-page h2 { border-left-color: var(--accent); }

/* 본문 하단 앱 안내 박스 */
.rc-cta { position: relative; overflow: hidden; }
.rc-cta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #CD2E3A 0%, #CD2E3A 46%, #8e3560 50%, #0047A0 54%, #0047A0 100%);
}

/* 푸터 위쪽에도 같은 띠 */
.rc-footer { position: relative; }
.rc-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: linear-gradient(90deg, #0047A0 0%, #0047A0 46%, #8e3560 50%, #CD2E3A 54%, #CD2E3A 100%);
}
.rc-footer__nav a:hover { color: var(--accent); }

/* 작성자 박스 / 관련 글 */
.rc-author__mark { background: var(--accent-red-soft); color: var(--accent-red); }
.rc-related__item:hover { border-color: #b6c4da; }
.rc-linkcards a:hover { border-color: #b6c4da; }

/* 새 칼럼 페이지(자체 스타일)에서도 톤을 맞춘다 */
.wrap .byline strong { color: var(--accent-red); }
.wrap .crumb a { color: var(--rc-muted); }


/* ── 세 갈래 내비게이션 ───────────────────────── */
.rc-nav__gr{
  display:flex; align-items:center; flex:none;
  padding:12px 9px 11px 15px; margin:0;
  border-bottom:2px solid transparent;
  font-size:11px; font-weight:800; letter-spacing:0.03em;
  white-space:nowrap; position:relative; list-style:none;
}
.rc-nav__gr::before{
  content:""; position:absolute; left:5px; top:50%;
  transform:translateY(-50%); width:1px; height:15px; background:var(--rc-line);
}
.rc-nav__gr--a{color:var(--accent)}
.rc-nav__gr--b{color:#6b7280}
.rc-nav__gr--c{color:var(--accent-red)}
@media(max-width:640px){ .rc-nav__gr{font-size:10.5px;padding:0 8px 0 12px} }
