/* ============================================================
   yesa.kr — Component Library v2.0 + Kadence Compatibility
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(29,78,216,.22);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border: 1.5px solid var(--text-primary);
  border-radius: var(--r-md);
  font-size: 16px;
}
.btn-secondary:hover { background: var(--bg-secondary); color: var(--text-primary); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 10px 16px;
  border-radius: var(--r-md);
}
.btn-ghost:hover { background: var(--accent-light); }
.btn-large { padding: 18px 36px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

/* Consultation hero: keep the audience cue legible without affecting shared eyebrow labels. */
body.page-id-6 .future-money-consult-page .booking-hero .eyebrow {
  display: block;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
body.page-id-6 .future-money-consult-page .booking-hero .eyebrow::before {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-full);
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.badge--trust  { background: var(--trust-light); color: var(--trust); }
.badge--accent { background: var(--accent-light); color: var(--accent-hover); }

/* ---------- Sections ---------- */
.section { padding: var(--space-20) 0; }
.section--hero { padding: var(--space-24) 0; }
.section--alt  { background: var(--bg-secondary); }
.section--dark { background: var(--bg-dark); color: var(--text-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-inverse); }
@media (max-width: 640px) {
  .section { padding: var(--space-16) 0; }
  .section--hero { padding: var(--space-20) 0; }
}

/* ---------- Section Header ---------- */
.section-head { text-align: center; margin-bottom: var(--space-12); }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}
.grid-3 > * { min-width: 0; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-6); }
  .grid-3 { gap: var(--space-6); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-tertiary);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  border: 1px solid var(--border-light);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-md); }

/* ---------- Content Boxes ---------- */
.box-tldr {
  background: var(--warning-light);
  border-left: 4px solid var(--warning);
  padding: 24px 28px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 32px 0;
}
.box-tldr .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--warning);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.box-tldr ul { margin: 0; padding-left: 20px; }
.box-tldr li { margin-bottom: 8px; line-height: 1.6; }

.box-fsr-opinion {
  background: var(--warning-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 32px 0;
}
.box-fsr-opinion .quote {
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
}
.box-fsr-opinion .signature {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
  font-style: normal;
}

.box-risk,
.box-warning {
  background: var(--error-light);
  border-left: 4px solid var(--error);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
}
.box-risk .label,
.box-warning .label {
  display: block;
  font-weight: 700;
  color: #B91C1C;
  margin-bottom: 8px;
  font-size: 14px;
}
.box-risk p:last-child,
.box-warning p:last-child { margin-bottom: 0; }

.box-info {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
}
.box-info .label {
  display: block;
  font-weight: 700;
  color: #005FCC;
  margin-bottom: 8px;
  font-size: 14px;
}

.box-success {
  background: var(--success-light);
  border-left: 4px solid var(--success);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
}
.box-success .label {
  display: block;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
  font-size: 14px;
}

/* ---------- 아티클 부제(리드) + 가독성 색상 박스 ---------- */

/* 부제: RM_DESC → 글 상단 시각적 노출 */
.yesa-article-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  background: var(--info-light);
  border-left: 4px solid var(--info);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  margin: 0 0 36px;
}
.yesa-article-lead strong { color: var(--text-primary); }

/* Shared styling for legacy column markup. Keep this in the theme instead of
   per-post <style> tags: WordPress strips those tags from post content. */
.ysa-article {
  --ysa-accent: #15803d;
  --ysa-accent-soft: #f0fdf4;
  --ysa-accent-line: #86efac;
  --ysa-warn: #d97706;
  --ysa-warn-soft: #fffbeb;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.ysa-article h2 { margin: 2.2em 0 .7em; padding-left: .55em; border-left: 5px solid var(--ysa-accent); font-size: 1.42em; line-height: 1.4; }
.ysa-article h3 { margin: 1.6em 0 .5em; color: #166534; font-size: 1.13em; }
.ysa-article .ysa-lead { margin: 1.2em 0; padding: 18px 20px; border: 1px solid var(--ysa-accent-line); border-radius: 12px; background: var(--ysa-accent-soft); }
.ysa-article .ysa-table-wrap { max-width: 100%; margin: 1.3em 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.ysa-article .ysa-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95em; }
.ysa-article .ysa-table th { padding: 10px 12px; color: #fff; background: var(--ysa-accent); font-weight: 600; text-align: left; }
.ysa-article .ysa-table td { padding: 9px 12px; border-bottom: 1px solid #e5e7eb; }
.ysa-article .ysa-table tr:nth-child(even) td { background: #f9fafb; }
.ysa-article .ysa-check { margin: 1em 0; padding: 0; list-style: none; }
.ysa-article .ysa-check li { position: relative; margin: .4em 0; padding: 8px 12px 8px 36px; border-radius: 6px; background: #f9fafb; }
.ysa-article .ysa-check li::before { position: absolute; top: 9px; left: 12px; color: var(--ysa-accent); content: "✓"; font-weight: 700; }
.ysa-article .ysa-warn { margin: 1.3em 0; padding: 16px 18px; border-left: 5px solid var(--ysa-warn); border-radius: 8px; background: var(--ysa-warn-soft); }
.ysa-article .ysa-faq dt { margin: 1.1em 0 .3em; color: #166534; font-weight: 600; }
.ysa-article .ysa-faq dd { margin: 0 0 .8em; padding-left: 1em; border-left: 3px solid var(--ysa-accent-line); }
.ysa-article .ysa-alert { margin: 1.3em 0; padding: 16px 18px; border-left: 5px solid #dc2626; border-radius: 8px; background: #fef2f2; }
.ysa-article .ysa-note { margin: 1.2em 0; padding: 14px 18px; border-left: 5px solid #f59e0b; border-radius: 8px; background: #fffbeb; }

.yesa-article {
  --yesa-accent: #1d4ed8;
  --yesa-accent-soft: #eff6ff;
  --yesa-accent-line: #bfdbfe;
  --yesa-navy: #1e3a8a;
  --yesa-warn: #ea580c;
  --yesa-warn-soft: #fff7ed;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.yesa-article h2 { margin: 2.2em 0 .7em; padding-left: .55em; border-left: 5px solid var(--yesa-accent); color: var(--yesa-navy); font-size: 1.42em; line-height: 1.4; }
.yesa-article h3 { margin: 1.6em 0 .5em; color: var(--yesa-accent); font-size: 1.13em; }
.yesa-article p { margin: .7em 0; }
.yesa-article .yesa-lead { margin: 1.2em 0; padding: 18px 20px; border: 1px solid var(--yesa-accent-line); border-radius: 12px; background: var(--yesa-accent-soft); font-size: 1.02em; }
.yesa-article .yesa-lead strong { color: var(--yesa-accent); }
.yesa-article .yesa-table { width: 100%; margin: 1.1em 0; border-collapse: collapse; font-size: .97em; }
.yesa-article .yesa-table th, .yesa-article .yesa-table td { padding: 11px 13px; border: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.yesa-article .yesa-table th { color: #fff; background: var(--yesa-accent); font-weight: 600; }
.yesa-article .yesa-table tr:nth-child(even) td { background: #f9fafb; }
.yesa-article .yesa-check { margin: 1.1em 0; padding: 0; list-style: none; }
.yesa-article .yesa-check li { position: relative; margin: 6px 0; padding: 9px 9px 9px 34px; border-radius: 8px; background: var(--yesa-accent-soft); }
.yesa-article .yesa-check li::before { position: absolute; top: 9px; left: 12px; color: var(--yesa-accent); content: "✓"; font-weight: 700; }
.yesa-article .yesa-warn { margin: 1.3em 0; padding: 16px 18px; border-left: 5px solid var(--yesa-warn); border-radius: 8px; background: var(--yesa-warn-soft); }
.yesa-article .yesa-warn strong { color: var(--yesa-warn); }
.yesa-article .yesa-faq { margin: 1.5em 0; }
.yesa-article .yesa-faq dt { margin: 1.1em 0 .3em; color: var(--yesa-accent); font-weight: 600; }
.yesa-article .yesa-faq dd { margin: 0 0 .6em; }
.yesa-article .yesa-note { margin-top: 2.4em; padding-top: 1em; border-top: 1px dashed #d1d5db; color: #6b7280; font-size: .9em; }

/* Editorial data tables: preserve a clear scan path at every viewport. */
body.single-post .entry-content > table {
  width: 100%;
  margin: 2rem 0;
  border: 1px solid #d7e1ef;
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  color: #172033;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.06);
}

body.single-post .entry-content > table th,
body.single-post .entry-content > table td {
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid #e5edf7;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

body.single-post .entry-content > table th {
  background: #eff6ff;
  color: #174ea6;
  font-weight: 800;
  line-height: 1.5;
}

body.single-post .entry-content > table td {
  background: #ffffff;
  line-height: 1.7;
}

body.single-post .entry-content > table tbody tr:nth-child(even) td {
  background: #f8fbff;
}

body.single-post .entry-content > table tbody tr:last-child td {
  border-bottom: 0;
}

body.single-post .entry-content > table th:first-child,
body.single-post .entry-content > table td:first-child {
  width: 21%;
  color: #0f3f8f;
  font-weight: 750;
}

body.single-post .entry-content > table th:nth-child(2),
body.single-post .entry-content > table td:nth-child(2) { width: 39%; }

body.single-post .entry-content > table th:nth-child(3),
body.single-post .entry-content > table td:nth-child(3) { width: 40%; }

@media (max-width: 767px) {
  body.single-post .entry-content > table {
    margin: 1.5rem 0;
    font-size: 14.5px;
  }

  body.single-post .entry-content > table th,
  body.single-post .entry-content > table td {
    padding: 12px 10px;
    line-height: 1.62;
    word-break: keep-all;
  }

  body.single-post .entry-content > table th:first-child,
  body.single-post .entry-content > table td:first-child { width: 23%; }

  body.single-post .entry-content > table th:nth-child(2),
  body.single-post .entry-content > table td:nth-child(2) { width: 36%; }

  body.single-post .entry-content > table th:nth-child(3),
  body.single-post .entry-content > table td:nth-child(3) { width: 41%; }
}

/* 파랑 콜아웃: 핵심 포인트 */
.entry-content .yesa-callout-blue {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.entry-content .yesa-callout-blue p:last-child { margin-bottom: 0; }

/* 노랑 콜아웃: 주의·체크리스트 */
.entry-content .yesa-callout-yellow {
  background: var(--warning-light);
  border-left: 4px solid var(--warning);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.entry-content .yesa-callout-yellow p:last-child { margin-bottom: 0; }

/* FSR 한 줄 인용 (💬 시작 단락) → 파랑 박스 자동 적용 */
.entry-content p.yesa-fsr-quote {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* entry-content blockquote → 파랑 박스 */
.entry-content blockquote {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-style: normal;
}
.entry-content blockquote p { color: var(--text-primary); margin-bottom: 0; }
.entry-content blockquote cite { font-size: 13px; color: var(--text-secondary); }

/* ---------- Author / Disclaimer ---------- */
.box-author {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 48px 0 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.box-author .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px;
  color: var(--text-secondary);
}
.box-author .name { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.box-author .role { font-size: 14px; color: var(--text-secondary); margin: 0 0 8px; }
.box-author .meta { font-size: 13px; color: #5F6368; margin: 0; }
.box-author .meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.box-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-label .required { color: var(--error); margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text-primary);
  transition: all var(--t-base);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #5F6368;
  opacity: 1;
}
.final-cta-form .form-input::placeholder,
.final-cta-form .form-textarea::placeholder {
  color: #5F6368 !important;
  opacity: 1;
}
.final-cta-form .form-input,
.final-cta-form .form-textarea {
  color: #1D1D1F !important;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.form-help  { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.final-cta .eyebrow {
  color: #93C5FD !important;
}
.final-cta .eyebrow::before {
  background: #93C5FD !important;
}
.final-cta-form .form-help {
  color: #5F6368 !important;
}
.form-error { color: var(--error); font-size: 13px; margin-top: 4px; }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--t-slow);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-slow), opacity var(--t-slow);
}
.faq-item[open] .faq-answer {
  max-height: 800px;
  opacity: 1;
}

/* ---------- Comparison Table ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 32px 0;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table thead { background: var(--bg-secondary); }
.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
  font-size: 14px;
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.6;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-subtle); }
.comparison-table .row-label { font-weight: 700; color: var(--text-primary); width: 22%; }
.comparison-table .cell-good { color: #137333; font-weight: 700; }
.comparison-table .cell-bad  { color: #B3261E; font-weight: 700; }

/* ---------- Floating Kakao Button ---------- */
.fab-kakao {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  background: #FAE100;
  color: #1D1D1F;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
}
.fab-kakao:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.fab-kakao svg { width: 26px; height: 26px; fill: #1D1D1F; }
.fab-kakao .tip {
  position: absolute;
  right: 68px;
  background: #1D1D1F;
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.fab-kakao .tip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: #1D1D1F;
}
.fab-kakao:hover .tip { opacity: 1; }
@media (max-width: 640px) {
  .fab-kakao { width: 52px; height: 52px; right: 16px; bottom: 86px; }
  .fab-kakao .tip { display: none; }
}

/* ---------- Reading Progress Bar ---------- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Utility ---------- */
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }

/* ============================================================
   Kadence Theme Compatibility
   ============================================================ */

/* 본문 가독성 */
.entry-content.single-content,
.entry-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 17px;
  line-height: 1.82;
  color: var(--text-primary);
}
.entry-content p {
  margin-bottom: 1.3rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 칼럼 본문: 기록 예시까지 Pretendard 한 가족으로 유지한다. */
body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content blockquote,
body.single-post .entry-content table,
body.single-post .entry-content th,
body.single-post .entry-content td,
body.single-post .entry-content code,
body.single-post .entry-content pre,
body.single-post .entry-content pre code {
  font-family: var(--font-body) !important;
}

body.single-post .entry-content table {
  line-height: 1.7;
}

body.single-post .entry-content th,
body.single-post .entry-content td {
  vertical-align: top;
}

body.single-post .entry-content th {
  font-weight: 700;
}

body.single-post .entry-content code {
  padding: 0.12em 0.4em;
  border-radius: 0.35em;
  background: #f2f5f9;
  color: #243247;
  font-size: 0.94em;
  font-weight: 600;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}

/* WordPress can emit an empty paragraph around rich CTA markup; it adds no reading value. */
body.single-post .entry-content p:empty {
  display: none;
  margin: 0;
}

body.single-post .entry-content pre {
  margin: 1.8rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid #e3e9f1;
  border-radius: 1rem;
  background: #f7f9fc;
  color: #243247;
  font-size: 0.98em;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-x: auto;
}

body.single-post .entry-content pre code {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  white-space: pre-wrap;
}

/* 본문 표 스크롤 */
.entry-content table,
.entry-content.single-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* 본문 제목 */
.entry-content h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  margin-top: 2.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--border-light);
  color: var(--accent);
  letter-spacing: -0.015em;
}
.entry-content h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* 포스트 제목 */
.entry-title,
.entry-title a {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* 글 목록 카드 */
.loop-entry.content-bg {
  border-radius: var(--r-lg);
  transition: box-shadow var(--t-base);
  border: 1px solid var(--border-light);
}
.loop-entry.content-bg:hover {
  box-shadow: var(--shadow-lg);
}

/* Kadence 푸터 */
#colophon {
  background: var(--bg-dark) !important;
  color: rgba(245,245,247,.6);
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  margin-top: 4rem;
}
#colophon .footer-html-inner p {
  color: rgba(245,245,247,.6);
  font-size: .82rem;
  text-align: center;
  margin: 0;
}
#colophon .footer-html-inner a {
  color: #F5F5F7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#colophon .footer-html-inner a:hover {
  color: var(--accent-light);
}

/* 포스트 메타 */
.entry-meta {
  color: #5F6368;
  font-size: .83rem;
}
.entry-meta a,
.entry-meta time,
.entry-meta span {
  color: #5F6368;
}

/* 이미지 반응형 */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}

/* ul/ol */
.entry-content ul,
.entry-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.2rem;
}
.entry-content li {
  margin-bottom: .5rem;
  line-height: 1.75;
}

/* Full-width custom pages: simulator, comparison, profile, landing pages */
body.page.content-width-fullwidth.content-title-style-hide .entry-content.single-content,
body.page.content-width-fullwidth.content-title-style-hide .entry-content {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
body.page.content-width-fullwidth.content-title-style-hide .entry-content > main {
  max-width: none;
  width: 100%;
}

/* Column featured art sits below the title and metadata, before the first paragraph. */
body.single-post .article-post-thumbnail.kadence-thumbnail-position-below {
  max-width: 1060px;
  height: auto;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
  padding-bottom: 0;
}
body.single-post .article-post-thumbnail.kadence-thumbnail-position-below .post-thumbnail-inner {
  position: static;
  height: auto;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-secondary);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}
body.single-post .article-post-thumbnail.kadence-thumbnail-position-below img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
body.single-post.content-width-fullwidth .entry-content.single-content,
body.single-post.content-width-fullwidth .entry-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* 연관글 */
.entry-related {
  background: var(--bg-secondary);
  padding: 2rem 0;
  margin-top: 3rem;
}
.entry-related-title {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

/* Asset letters are a self-contained reading series: the authored CTA is the only onward action. */
body.postid-511 .post-navigation,
body.postid-512 .post-navigation,
body.postid-513 .post-navigation,
body.postid-511 .entry-related,
body.postid-512 .entry-related,
body.postid-513 .entry-related,
body.postid-511 .fab-kakao,
body.postid-512 .fab-kakao,
body.postid-513 .fab-kakao {
  display: none;
}

/* 모바일 */
@media (max-width: 768px) {
  body.single-post .article-post-thumbnail.kadence-thumbnail-position-below {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  .entry-content.single-content,
  .entry-content {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 16px;
    line-height: 1.78;
  }
  .entry-content h2 { font-size: 1.15rem; margin-top: 2rem; }
}

/* ============================================================
   Kadence 테마 HTML 구조 보완
   (Kadence가 생성하는 클래스명 기반)
   ============================================================ */

/* 포스트 썸네일 */
.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

/* Kadence 아티클 카드 그리드 hover */
.kadence-post-grid .kadence-post-grid-item {
  border-radius: var(--r-lg);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.kadence-post-grid .kadence-post-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Kadence 버튼 — 신규 색상 토큰 적용 */
.kb-btn,
.kt-btn,
.wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-md) !important;
  transition: all var(--t-base);
}
.kb-btn.kb-btn-style-outline,
.kt-btn.kt-btn-style-outline {
  border-width: 1.5px;
}

/* Kadence 섹션 배경 교대 */
.wp-block-kadence-rowlayout.has-background {
  border-radius: var(--r-xl);
}

/* WP 기본 블록 — 인용구 */
.wp-block-quote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--accent-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: normal;
}
.wp-block-quote cite,
.wp-block-quote footer {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  display: block;
  margin-top: 0.5rem;
}
.wp-block-quote p { margin: 0; color: var(--text-primary); }

/* WP 블록 — 콜아웃 / 노티스 */
.wp-block-pullquote {
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  padding: 2rem;
  text-align: center;
}

/* Kadence 테이블 */
.kb-table-container table,
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.kb-table-container thead th,
.wp-block-table thead th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.kb-table-container td,
.wp-block-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.6;
}
.kb-table-container tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
  background: var(--bg-subtle);
}

/* 검색 강조 */
mark { background: var(--accent-light); color: var(--accent-hover); border-radius: 2px; padding: 0 2px; }

/* 코드 블록 */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  color: var(--text-primary);
}
pre code {
  background: transparent;
  padding: 0;
  font-size: 0.85em;
}
pre {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 1.5rem;
  border-radius: var(--r-lg);
  overflow-x: auto;
  font-size: 0.85em;
  line-height: 1.7;
}

/* Back-to-top 버튼 */
#back-to-top {
  position: fixed;
  bottom: 86px;
  right: 20px;
  z-index: 49;
  width: 44px;
  height: 44px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 640px) {
  #back-to-top { right: 16px; bottom: 80px; }
}

/* ============================================================
   블로그 아티클 페이지 스타일 (§7.2)
   ============================================================ */

/* 아티클 히어로 */
.article-hero {
  background: var(--bg-primary);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-light);
}
.article-hero .container { max-width: 880px; }

/* 브레드크럼 */
.breadcrumb {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }

/* Kadence/WP 자동 브레드크럼 */
.kadence-breadcrumbs,
.rank-math-breadcrumb,
.yoast-breadcrumbs {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.kadence-breadcrumbs a,
.rank-math-breadcrumb a,
.yoast-breadcrumbs a { color: var(--text-secondary); text-decoration: none; }
.kadence-breadcrumbs a:hover,
.rank-math-breadcrumb a:hover,
.yoast-breadcrumbs a:hover { color: var(--accent); }

/* 아티클 메타 */
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta .cat {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

/* 아티클 본문 레이아웃 (TOC 사이드바 포함) */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-16);
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--space-12); }
  .article-sidebar { display: none; }
}

/* 아티클 본문 타이포그래피 */
.article-body {
  max-width: var(--article-max);
  font-size: 18px;
  line-height: 1.78;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.article-body p { margin: 0 0 1.5em; text-wrap: pretty; }
.article-body h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 3em 0 0.8em;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.4em;
  color: var(--text-primary);
}
.article-body h2:first-of-type { margin-top: 1em; }
.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-body a:hover { background: var(--accent-light); }
.article-body strong { font-weight: 700; color: var(--text-primary); }
.article-body ul,
.article-body ol { margin: 0 0 1.5em; padding-left: 24px; }
.article-body li { margin-bottom: 10px; line-height: 1.7; }
.article-body blockquote {
  margin: 32px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.7;
}
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; border-radius: var(--r-md); }
.article-body figcaption {
  font-size: 13px;
  color: #5F6368;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

/* 인라인 표 */
.inline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 32px 0;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: table;
}
.inline-table th,
.inline-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }
.inline-table thead { background: var(--bg-secondary); }
.inline-table th { font-weight: 700; font-size: 13px; color: var(--text-primary); }
.inline-table tbody tr:last-child td { border-bottom: none; }
.inline-table .num { font-family: var(--font-mono); font-weight: 600; }
@media (max-width: 640px) {
  .inline-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* 인라인 CTA */
.inline-cta {
  background: var(--bg-primary);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.inline-cta .ic-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  color: var(--accent-hover);
  font-weight: 800;
}
.inline-cta .ic-body { flex: 1; }
.inline-cta .ic-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--text-primary); }
.inline-cta .ic-desc  { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
.inline-cta .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .inline-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .inline-cta .btn { width: 100%; }
}

/* 풀 인용 */
.pull-quote {
  margin: 48px 0;
  padding: 32px 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1.5px solid var(--text-primary);
  border-bottom: 1.5px solid var(--text-primary);
}
.pull-quote::before {
  content: "\201C";
  display: block;
  font-size: 64px;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}
@media (max-width: 640px) { .pull-quote { font-size: 22px; padding: 24px 0; } }

/* TOC 사이드바 */
.article-sidebar { position: sticky; top: 96px; display: grid; gap: 24px; }
.toc {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.toc h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: toc;
  display: grid; gap: 8px;
}
.toc li { counter-increment: toc; }
.toc a {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.45;
  padding: 4px 0;
  transition: color var(--t-base);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 3px;
}
.toc a:hover  { color: var(--accent); }
.toc a.active { color: var(--accent); font-weight: 600; }

/* ============================================================
   비교 페이지 스타일 (§7.4)
   ============================================================ */

/* 정직성 선언 박스 */
/* Comparison page shell */
.cmp-hero {
  background: var(--bg-primary);
  padding: 72px 0 48px;
}
.cmp-hero .container,
.cmp-wrap {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.cmp-hero .meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}
.cmp-hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.cmp-hero .vs {
  display: inline-block;
  margin: 0 0.18em;
  color: var(--accent);
  font-style: italic;
}
.cmp-hero .deck {
  max-width: 860px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}
.cmp-wrap {
  padding-top: 40px;
  padding-bottom: var(--space-16);
}
.cmp-section {
  margin: 56px 0;
}
.cmp-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.cmp-section .lead {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
}

.honesty-box {
  background: var(--warning-light);
  border: 1.5px solid var(--warning);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
}
.honesty-box .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--warning);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.honesty-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.honesty-box p { font-size: 16px; line-height: 1.7; margin: 0; }

/* 컨텐더 vs 카드 */
.contender-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .contender-row { grid-template-columns: 1fr; }
  .vs-mark { display: none; }
}
.contender {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 14px;
}
.contender.a { border-top: 4px solid var(--accent); }
.contender.b { border-top: 4px solid var(--trust); }
.contender .role {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-tertiary);
}
.contender.a .role { color: var(--accent); }
.contender.b .role { color: var(--trust); }
.contender h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; margin: 0; }
.contender .desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.contender .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--border-light);
}
.contender .stats .item .v {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px;
}
.contender .stats .item .l { font-size: 12px; color: var(--text-secondary); }
.vs-mark {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-style: italic;
  color: var(--text-tertiary); font-weight: 500;
}

/* 비교 테이블 */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  font-size: 14px;
  margin: 24px 0 48px;
}
.cmp-table thead { background: var(--bg-secondary); }
.cmp-table th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--border);
}
.cmp-table th.col-a { background: rgba(29,78,216,.08); }
.cmp-table th.col-b { background: rgba(29,29,31,.06); }
.cmp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.55; vertical-align: top;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: var(--bg-subtle); }
.cmp-table .row-label { font-weight: 700; color: var(--text-primary); width: 22%; }
.cmp-table .cell-good { color: var(--success); font-weight: 600; }
.cmp-table .cell-bad  { color: var(--error);   font-weight: 600; }
.cmp-table .cell-mid  { color: var(--warning);  font-weight: 600; }
@media (max-width: 640px) {
  .cmp-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-hero { padding: 52px 0 36px; }
  .cmp-hero .container,
  .cmp-wrap {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

/* ============================================================
   시뮬레이터 페이지 스타일 (§7.6)
   ============================================================ */

.sim-hero { background: var(--bg-primary); padding: 64px 0 40px; }
.sim-hero .container { max-width: var(--simulator-max); }
.sim-hero h1 { font-size: 42px; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 20px; text-wrap: balance; }
.sim-hero .subtitle { font-size: 19px; color: var(--text-secondary); line-height: 1.65; max-width: 720px; }
.sim-hero .pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 640px) {
  .sim-hero h1 { font-size: 30px; }
  .sim-hero .subtitle { font-size: 16px; }
}

.sim-wrap { max-width: var(--simulator-max); margin: 0 auto; padding: 0 var(--space-8) var(--space-16); }

/* 입력 카드 */
.input-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.input-card h2 {
  font-size: 22px; margin-bottom: 28px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px;
}
.input-card h2::before {
  content: "1";
  width: 28px; height: 28px;
  background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .input-grid { grid-template-columns: 1fr; } }

/* 슬라이더 필드 */
.sim-field { display: flex; flex-direction: column; gap: 14px; }
.sim-field .label-row { display: flex; justify-content: space-between; align-items: baseline; }
.sim-field .label-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.sim-field .value-display {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--accent-hover); letter-spacing: -0.02em; line-height: 1;
}
.sim-field .value-display .unit { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-left: 4px; }

/* 슬라이더 */
.sim-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--border-light); border-radius: var(--r-full); outline: none; }
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(29,78,216,.4);
  transition: transform var(--t-base);
}
.sim-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sim-slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(29,78,216,.4);
}
.sim-slider-marks { display: flex; justify-content: space-between; font-size: 12px; color: #5F6368; margin-top: -4px; }

/* 세그먼트 버튼 */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-secondary); padding: 4px; border-radius: var(--r-md); }
.segmented button { border: none; background: transparent; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; font-family: inherit; transition: all var(--t-base); }
.segmented button.active { background: #fff; color: var(--text-primary); box-shadow: var(--shadow-sm); }

.calc-btn-row {
  margin-top: 32px; display: flex; gap: 12px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border-light);
}
.calc-btn-row .reset-link { font-size: 14px; color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; font-family: inherit; }
.calc-btn-row .reset-link:hover { color: var(--accent); }

/* 결과 영역 */
.result-section { margin-top: 56px; scroll-margin-top: 100px; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.result-head h2 { font-size: 26px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.result-head h2::before { content: "2"; width: 28px; height: 28px; background: var(--accent); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); }
.result-head .stamp { font-size: 12px; color: #5F6368; font-family: var(--font-mono); letter-spacing: 0.05em; }

/* 시나리오 카드 */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 900px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario-card {
  background: #fff; border-radius: var(--r-lg); padding: 28px;
  border: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.scenario-card.focus { border-color: var(--accent); border-width: 2px; padding: 27px; box-shadow: 0 4px 16px rgba(29,78,216,.15); }
.scenario-card.focus::before { content: "기준 시나리오"; position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 8px; border-radius: var(--r-full); text-transform: uppercase; }
.scenario-card .sc-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.scenario-card .sc-rate { font-size: 12px; color: #5F6368; font-family: var(--font-mono); }
.scenario-card .sc-big { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.025em; line-height: 1; margin-top: 4px; }
.scenario-card .sc-big .unit { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-left: 2px; }
.scenario-card .sc-detail { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border-light); margin-top: auto; }
.scenario-card .sc-detail .row { display: flex; justify-content: space-between; font-size: 13px; }
.scenario-card .sc-detail .row span:first-child { color: var(--text-secondary); }
.scenario-card .sc-detail .row span:last-child { color: var(--text-primary); font-weight: 600; font-family: var(--font-mono); }

/* 차트 카드 */
.chart-card { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--border-light); margin-bottom: 32px; }
.chart-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.chart-card .chart-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.chart-wrap { position: relative; height: 320px; }

/* 한도 바 */
.limit-card { background: var(--bg-primary); border-radius: var(--r-lg); padding: 28px; margin-bottom: 32px; border: 1px solid var(--border-light); }
.limit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.limit-card h3 .ico { color: var(--accent); }
.limit-bars { display: flex; flex-direction: column; gap: 16px; }
.limit-bar { display: flex; flex-direction: column; gap: 6px; }
.limit-bar .lb-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); }
.limit-bar .lb-head strong { color: var(--text-primary); font-weight: 700; }
.limit-bar .lb-track { height: 14px; background: var(--bg-secondary); border-radius: var(--r-full); overflow: hidden; border: 1px solid var(--border-light); }
.limit-bar .lb-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); border-radius: var(--r-full); transition: width 0.4s ease; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; color: #fff; font-size: 11px; font-weight: 700; }
.limit-bar .lb-fill.over { background: linear-gradient(90deg, var(--error), var(--warning)); }
.limit-bar.over .lb-head strong { color: var(--error); }

/* 결과 폼 */
.result-form { background: #fff; border-radius: var(--r-xl); padding: 40px; border: 1px solid var(--border-light); box-shadow: var(--shadow-md); margin-top: 56px; }
.result-form h2 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.result-form h2::before { content: "3"; width: 28px; height: 28px; background: var(--accent); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); }
.result-form .desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.result-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .result-form .form-row { grid-template-columns: 1fr; } }
.result-form .btn-row { display: flex; gap: 10px; margin-top: 20px; }
.result-form .btn { flex: 1; }

/* ============================================================
   FSR 프로필 페이지 스타일 (§7.5)
   ============================================================ */

/* 히어로 */
.fsr-hero { background: var(--bg-primary); padding: 80px 0 64px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-light); }
.fsr-hero::before { content: ""; position: absolute; top: -180px; left: -180px; width: 480px; height: 480px; background: radial-gradient(circle, var(--accent-light) 0%, transparent 65%); opacity: 0.5; pointer-events: none; }
.fsr-hero .container { position: relative; z-index: 1; }
.fsr-hero-grid { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-16); align-items: center; }

/* 프로필 사진 */
.profile-photo { aspect-ratio: 4/5; background: linear-gradient(160deg, #2D2D2F 0%, #1D1D1F 70%); border-radius: var(--r-xl); position: relative; overflow: hidden; box-shadow: var(--shadow-xl); }
.profile-photo .photo-tag { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(245,245,247,.08); backdrop-filter: blur(12px); border: 1px solid rgba(245,245,247,.15); padding: 14px 18px; border-radius: var(--r-md); color: var(--text-inverse); }
.profile-photo .photo-tag .nm { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.profile-photo .photo-tag .role { font-size: 12px; color: rgba(248,246,241,.7); }

/* 프로필 정보 */
.profile-info .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.profile-info h1 { font-size: 64px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 8px; }
.profile-info .tagline { font-size: 21px; color: var(--text-secondary); line-height: 1.55; margin: 0 0 28px; max-width: 520px; }
.profile-info .key-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: 28px; }
.profile-info .key-stats .item .v { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.profile-info .key-stats .item .l { font-size: 12px; color: var(--text-secondary); }
.profile-info .cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .fsr-hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .profile-photo { aspect-ratio: 3/2; max-width: 480px; }
  .profile-info h1 { font-size: 48px; }
  .profile-info .key-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .profile-info h1 { font-size: 38px; }
  .profile-info .tagline { font-size: 17px; }
}

/* 자기소개 */
.about-section { padding: var(--space-20) 0; background: #fff; }
.about-section .container { max-width: 760px; }
.about-section .section-label { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.about-section h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 36px; line-height: 1.25; text-wrap: balance; }
.about-section .prose { font-size: 18px; line-height: 1.85; color: var(--text-primary); letter-spacing: -0.005em; }
.about-section .prose p { margin-bottom: 1.5em; text-wrap: pretty; }
.about-section .signature { margin-top: 32px; font-style: italic; color: var(--text-secondary); font-size: 16px; }

/* 타임라인 */
.timeline-section { background: var(--bg-primary); padding: var(--space-20) 0; }
.timeline-section .container { max-width: 880px; }
.timeline-section h2 { font-size: 32px; text-align: center; margin-bottom: 48px; letter-spacing: -0.02em; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 32px; padding-bottom: 24px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-primary); border: 3px solid var(--border); }
.tl-item.highlight::before { border-color: var(--accent); background: var(--accent); }
.tl-item .year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 6px; }
.tl-item h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.tl-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* 언론 */
.media-section { padding: var(--space-20) 0; }
.media-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 900px) { .media-grid { grid-template-columns: 1fr; } }
.media-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border-light); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all var(--t-slow); }
.media-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.media-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-secondary), var(--border-light)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media-card.a .thumb { background: linear-gradient(135deg, #1D1D1F 0%, #515154 100%); }
.media-card.b .thumb { background: linear-gradient(135deg, #1D1D1F 0%, var(--info) 100%); }
.media-card.c .thumb { background: linear-gradient(135deg, var(--accent) 0%, var(--warning) 100%); }
.media-card .play-mark { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); font-weight: 800; box-shadow: var(--shadow-lg); }
.media-card .body { padding: 20px 22px; }
.media-card .outlet { font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.media-card h3 { font-size: 16px; line-height: 1.45; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.media-card .meta { font-size: 12px; color: #5F6368; }

/* 수상 */
.awards-section { background: var(--bg-secondary); padding: var(--space-20) 0; }
.awards-section .container { max-width: 1080px; }
.awards-section h2 { font-size: 32px; text-align: center; margin-bottom: 8px; letter-spacing: -0.02em; }
.awards-section .lead { text-align: center; font-size: 16px; color: var(--text-secondary); margin-bottom: 48px; }
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .awards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card { background: #fff; border-radius: var(--r-md); padding: 24px; border: 1px solid var(--border-light); text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.award-card .badge-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-light); color: var(--accent-hover); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.award-card h3 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -0.01em; line-height: 1.4; }
.award-card .year { font-family: var(--font-mono); font-size: 12px; color: #5F6368; }
.award-card .org { font-size: 12px; color: var(--text-secondary); }

/* 후기 */
.testimonials-section { padding: var(--space-20) 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial { background: var(--bg-primary); border-radius: var(--r-lg); border: 1px solid var(--border-light); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial .stars { display: flex; gap: 3px; }
.testimonial .stars .star { color: var(--warning); font-size: 16px; line-height: 1; }
.testimonial blockquote { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-primary); font-style: italic; flex: 1; }
.testimonial .who { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--border-light); }
.testimonial .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-secondary); }
.testimonial .who .nm { font-size: 14px; font-weight: 700; margin: 0; }
.testimonial .who .ct { font-size: 12px; color: #5F6368; margin: 0; }

/* 예약 위젯 */
.booking-section { padding: var(--space-20) 0; background: var(--bg-primary); }
.booking-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-12); max-width: 1080px; margin: 0 auto; padding: 0 var(--space-8); align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.booking-info h2 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 16px; }
.booking-info > p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.booking-info .info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.booking-info .info-list li { display: flex; gap: 14px; font-size: 15px; color: var(--text-primary); align-items: flex-start; }
.booking-info .info-list .ico { width: 36px; height: 36px; background: var(--accent-light); color: var(--accent-hover); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.booking-info .info-list strong { display: block; margin-bottom: 2px; font-weight: 700; }
.booking-info .info-list span { color: var(--text-secondary); font-size: 14px; }

/* 캘린더 위젯 */
.booking-widget { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--border-light); padding: 32px; box-shadow: var(--shadow-md); }
.booking-widget h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.booking-widget .sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.bw-month { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bw-month strong { font-size: 16px; font-weight: 700; }
.bw-month button { width: 32px; height: 32px; border-radius: var(--r-sm); border: 1px solid var(--border); background: #fff; font-size: 14px; cursor: pointer; color: var(--text-secondary); }
.bw-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 24px; }
.bw-cal .dow { font-size: 11px; color: var(--text-tertiary); text-align: center; font-weight: 700; padding: 6px 0; }
.bw-cal .day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: var(--r-sm); cursor: pointer; font-weight: 500; border: 1px solid transparent; }
.bw-cal .day.empty { color: var(--text-tertiary); cursor: default; }
.bw-cal .day.available { background: var(--bg-primary); border-color: var(--border-light); font-weight: 700; }
.bw-cal .day.available:hover { border-color: var(--accent); color: var(--accent); }
.bw-cal .day.selected { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.bw-cal .day.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.bw-slots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.bw-slots button { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 10px; font-size: 13px; font-weight: 600; color: var(--text-primary); cursor: pointer; font-family: var(--font-mono); transition: all var(--t-base); }
.bw-slots button:hover { border-color: var(--accent); color: var(--accent); }
.bw-slots button.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.bw-slots button:disabled { background: var(--bg-primary); color: var(--border); cursor: not-allowed; }

/* ============================================================
   FAQ 페이지 전용 클래스 (faq.html 임베드용)
   ============================================================ */

.faq-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 카테고리 바로가기 */
.faq-cat-nav {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.faq-cat-nav__label {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}
.faq-cat-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.faq-cat-pill {
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--t-base);
}
.faq-cat-pill:hover { background: var(--accent-hover); color: #fff; }

/* 카테고리 제목 */
.faq-cat-title {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  letter-spacing: -0.015em;
}

/* CTA 밴드 */
.faq-cta-band {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.faq-cta-band__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text-inverse);
}
.faq-cta-band__desc {
  margin: 0 0 1.5rem;
  color: #D2D2D7;
  line-height: 1.7;
}

/* ============================================================
   자료실 페이지 전용 클래스 (archive.html 임베드용)
   ============================================================ */

.archive-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.archive-page .archive-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2rem 0;
}
.archive-section-title {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}
.table-scroll { overflow-x: auto; }

/* 자료실 공통 표 */
.archive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  min-width: 360px;
}
.archive-table thead tr {
  background: var(--accent);
  color: #fff;
}
.archive-table th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: left;
}
.archive-table th.center { text-align: center; }
.archive-table tbody tr:nth-child(odd)  { background: var(--bg-primary); }
.archive-table tbody tr:nth-child(even) { background: var(--bg-secondary); }
.archive-table td {
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
}
.archive-table td.center  { text-align: center; }
.archive-table td.rate    { text-align: center; font-weight: 700; color: var(--accent); }
.archive-table td.muted   { color: var(--text-secondary); }
.archive-table td.muted-sm{ color: var(--text-secondary); font-size: 0.9rem; }
.archive-table td.strong  { font-weight: 700; }
.archive-table td.warn    { color: var(--error); font-size: 0.9rem; }
.archive-table tr.row-current { background: var(--accent-light) !important; }
.archive-table tr.row-current td.strong { font-weight: 600; }

.archive-list { padding-left: 1.5rem; }

/* 자료실 내 링크 (box 안) */
.box-risk a,
.box-info a,
.box-success a { color: var(--accent); }

/* box 내부 p 간격 */
.box-info p,
.box-risk p,
.box-success p { margin: 0.25rem 0; }
.box-info p:first-child,
.box-risk p:first-child,
.box-success p:first-child { margin-top: 0; }

/* box 내부 ul */
.box-risk ul,
.box-warning ul { margin-top: 0.5rem; padding-left: 1.25rem; }

/* ============================================================
   법적 페이지 전용 클래스 (privacy.html · terms.html 임베드용)
   ============================================================ */

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.legal-section-title {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2rem;
  letter-spacing: -0.01em;
}
.legal-list { padding-left: 1.5rem; }
.legal-list li { margin-bottom: 0.5rem; }

/* 담당자 연락처 카드 */
.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  margin: 1rem 0;
}
.contact-card p { margin: 0.25rem 0; }
.contact-card a { color: var(--accent); }

/* 중립 헤더 테이블 변형 (privacy 표) */
.archive-table.table-neutral thead tr {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.archive-table.table-neutral th {
  border: 1px solid var(--border-light);
  font-weight: 600;
}

/* ============================================================
   포스트 콘텐츠 공통 테이블 (post*.txt 임베드용)
   ============================================================ */

.post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.post-table thead tr {
  background: var(--accent);
  color: #fff;
}
.post-table th {
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
}
.post-table th.center { text-align: center; }
.post-table th.right  { text-align: right; }
.post-table tbody tr  { border-bottom: 1px solid var(--border-light); }
.post-table tbody tr.alt { background: var(--bg-secondary); }
.post-table td { padding: 0.6rem 0.75rem; }
.post-table td.key    { font-weight: 600; }
.post-table td.center { text-align: center; }
.post-table td.right  { text-align: right; }

/* ── 포스트 CTA 밴드 ── */
.post-cta-band {
  background: var(--accent);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--r-md);
  text-align: center;
  margin: 2rem 0;
}
.post-cta-band strong { display: block; margin-bottom: 1rem; font-size: 1.05rem; }

/* 칼럼 하단 무료 가족 자산 지도 워크북 CTA */
.yesa-column-fmm-cta {
  max-width: 760px;
  margin: 3.5rem auto 1rem;
  padding: 2.25rem;
  border: 1px solid #bfd0ff;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7f9ff 0%, #eef3ff 100%);
  text-align: center;
  box-shadow: 0 14px 36px rgba(29, 78, 216, 0.1);
}
.yesa-column-fmm-cta__eyebrow { display: block; margin-bottom: .75rem; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
body.single-post .entry-content .yesa-column-fmm-cta h2 { margin: 0 0 .85rem !important; padding: 0 !important; border: 0 !important; color: var(--text-primary) !important; font-size: clamp(1.5rem, 3vw, 2rem) !important; line-height: 1.35; letter-spacing: -.025em; }
.yesa-column-fmm-cta p { max-width: 590px; margin: 0 auto 1.4rem !important; color: var(--text-secondary); font-size: 17px; line-height: 1.7; }
.yesa-column-fmm-cta__button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .85rem 1.5rem; border-radius: 12px; background: var(--accent); color: #fff !important; font-size: 17px; font-weight: 800; line-height: 1.35; text-decoration: none !important; box-shadow: 0 8px 20px rgba(29, 78, 216, .22); transition: background-color var(--t-base), transform var(--t-base), box-shadow var(--t-base); }
.yesa-column-fmm-cta__button:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(29, 78, 216, .28); }
.yesa-column-fmm-cta__button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.yesa-column-fmm-cta small { display: block; margin-top: .9rem; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
@media (max-width: 640px) {
  .yesa-column-fmm-cta { margin-top: 2.75rem; padding: 1.75rem 1.25rem; border-radius: 16px; }
  .yesa-column-fmm-cta__button { width: 100%; }
}
/* ── 흰색 버튼 (어두운 배경용) ── */
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 0.7rem 1.8rem;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all var(--t-base);
}
.btn-white:hover { background: rgba(255,255,255,.88); color: var(--accent); }

/* ══════════════════════════════════════
   홈페이지 전용 컴포넌트
══════════════════════════════════════ */

.home-hero {
  background: var(--accent);
  color: #fff;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}
.home-eyebrow {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.72);
}
.home-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 1.25rem;
}
.home-hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.home-hero .btn-white {
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
}

.home-section {
  max-width: 800px;
  margin: 3.5rem auto;
  padding: 0 1.5rem;
}
.home-section-alt {
  background: var(--bg-secondary);
  padding: 3.5rem 1.5rem;
}
.home-section-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.home-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}
.home-section-sub {
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.home-features {
  display: grid;
  gap: 1.25rem;
}
.home-about-inner p {
  line-height: 1.8;
  color: var(--text-secondary);
}
.home-text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.home-text-link:hover { color: var(--accent-hover); }

.home-cta-band {
  border-radius: 0;
  margin: 0;
  padding: 3.5rem 1.5rem;
}
.home-cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.home-cta-band p {
  opacity: 0.88;
  margin-bottom: 1.75rem;
}
.home-cta-band .btn-white {
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
}

.home-disclaimer {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.home-section .wp-block-latest-posts { padding-left: 0; list-style: none; }
.home-section .wp-block-latest-posts li { padding: 0.75rem 0; border-bottom: 1px solid var(--border-light); }
.home-section .wp-block-latest-posts li:last-child { border-bottom: none; }
.home-section .wp-block-latest-posts__post-title { font-weight: 600; color: var(--text-primary); }
.home-section .wp-block-latest-posts__post-title:hover { color: var(--accent); }
.home-section .wp-block-latest-posts__post-date { display: block; font-size: 0.82rem; color: var(--text-tertiary); margin-top: 0.2rem; }

/* 데스크톱 헤더 메뉴 대비 보정 */
#primary-menu > li > a,
.main-navigation .primary-menu-container > ul > li > a {
  color: #5F6368;
}
.article-hero figcaption,
.entry-content figcaption {
  color: #5F6368;
}
.bar-chart .bi-val {
  color: #15803D !important;
}
#primary-menu > li > a:hover,
#primary-menu > li > a:focus,
.main-navigation .primary-menu-container > ul > li > a:hover,
.main-navigation .primary-menu-container > ul > li > a:focus {
  color: #1D4ED8;
}

/* ── 워크북·코드 노트 박스 ── */
.box-note {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.8;
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

/* YESA money-order articles: WordPress post layout, mobile reading first. */
.entry-content .yesa-money-guide {
  max-width: 760px;
  margin: 28px auto 0;
  color: #172033;
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.78;
  word-break: keep-all;
}
.entry-content .yesa-money-guide .hero,
.entry-content .yesa-money-guide .card {
  margin: 18px 0 0;
  border: 1px solid #e7ded2;
  border-radius: 18px;
  background: #fffdf9;
}
.entry-content .yesa-money-guide .hero {
  margin-top: 0;
  padding: 24px 28px;
  background: #1f4543;
  border-color: #1f4543;
  color: #fff;
}
.entry-content .yesa-money-guide .kicker {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #0f5d59;
  font-size: 13px;
  font-weight: 800;
}
.entry-content .yesa-money-guide .hero p {
  margin: 13px 0 0;
  color: #dcece8;
  font-size: 17px;
}
.entry-content .yesa-money-guide .hero .reading-note {
  margin-top: 8px;
  font-size: 13px;
}
.entry-content .yesa-money-guide figure {
  margin: 18px 0 0 !important;
  overflow: hidden;
  border: 1px solid #e7ded2;
  border-radius: 18px;
  background: #fffdf9;
}
.entry-content .yesa-money-guide figure img {
  display: block;
  width: 100%;
  height: auto;
}
.entry-content .yesa-money-guide figcaption {
  padding: 12px 16px;
  color: #566579;
  font-size: 13px;
}
.entry-content .yesa-money-guide .card { padding: 26px 28px; }
.entry-content .yesa-money-guide .question {
  border-color: #cce9df;
  background: #eaf6f1;
}
.entry-content .yesa-money-guide .eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}
.entry-content .yesa-money-guide .question p:last-child {
  margin: 7px 0 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.entry-content .yesa-money-guide .article-section {
  padding: 26px 0;
  border-bottom: 1px solid #e7ded2;
}
.entry-content .yesa-money-guide .article-section:first-child { padding-top: 0; }
.entry-content .yesa-money-guide .article-section:last-child { border-bottom: 0; padding-bottom: 0; }
.entry-content .yesa-money-guide h2 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.entry-content .yesa-money-guide .article-section p,
.entry-content .yesa-money-guide .card p { margin: 0; color: #354357; }
.entry-content .yesa-money-guide .checklist { padding: 24px 28px; }
.entry-content .yesa-money-guide .checklist ul { margin: 0; padding: 0; list-style: none; }
.entry-content .yesa-money-guide .checklist li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid #e7ded2;
  color: #354357;
}
.entry-content .yesa-money-guide .checklist li:last-child { border-bottom: 0; }
.entry-content .yesa-money-guide .checklist li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #0f766e;
  font-weight: 900;
}
.entry-content .yesa-money-guide .caution { background: #fbf6ee; }
.entry-content .yesa-money-guide .next { border-color: #cce9df; }
.entry-content .yesa-money-guide .contact,
.entry-content .yesa-money-guide .next-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 17px;
  padding: 0 18px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
}
.entry-content .yesa-money-guide .next-link {
  margin-right: 8px;
  border: 1px solid #0f766e;
  background: #fff;
  color: #0f766e !important;
}
@media (max-width: 767px) {
  .entry-content .yesa-money-guide { margin-top: 18px; }
  .entry-content .yesa-money-guide .hero { padding: 20px; }
  .entry-content .yesa-money-guide .hero p { font-size: 16px; }
  .entry-content .yesa-money-guide .card,
  .entry-content .yesa-money-guide .checklist { padding: 22px 20px; }
  .entry-content .yesa-money-guide .question p:last-child { font-size: 20px; }
  .entry-content .yesa-money-guide h2 { font-size: 22px; }
  .entry-content .yesa-money-guide .article-section { padding: 23px 0; }
  .entry-content .yesa-money-guide .next-link,
  .entry-content .yesa-money-guide .contact { width: 100%; margin-right: 0; }
}

/* Onboarding information pages: compact three-step reading flow, posts 508-510 only. */
body.postid-508 .yesa-money-guide > article,
body.postid-509 .yesa-money-guide > article,
body.postid-510 .yesa-money-guide > article {
  --onboarding-ink: #172033;
  --onboarding-copy: #354357;
  --onboarding-muted: #667085;
  --onboarding-teal: #0f766e;
  --onboarding-teal-dark: #0b5f59;
  --onboarding-teal-soft: #edf8f4;
  --onboarding-line: #d9e7e2;
  color: var(--onboarding-copy) !important;
  font-family: var(--font-body, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif);
  font-size: 17px !important;
  line-height: 1.82 !important;
}

body.postid-508 .yesa-money-guide .onboarding-progress,
body.postid-509 .yesa-money-guide .onboarding-progress,
body.postid-510 .yesa-money-guide .onboarding-progress {
  margin: 0 0 28px;
  padding: 12px;
  border: 1px solid var(--onboarding-line);
  border-radius: 14px;
  background: #f8fbfa;
}

body.postid-508 .yesa-money-guide .onboarding-progress__list,
body.postid-509 .yesa-money-guide .onboarding-progress__list,
body.postid-510 .yesa-money-guide .onboarding-progress__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.postid-508 .yesa-money-guide .onboarding-progress__item,
body.postid-509 .yesa-money-guide .onboarding-progress__item,
body.postid-510 .yesa-money-guide .onboarding-progress__item {
  display: flex;
  min-width: 0;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--onboarding-muted);
  text-align: center;
}

body.postid-508 .yesa-money-guide .onboarding-progress__item.is-complete,
body.postid-509 .yesa-money-guide .onboarding-progress__item.is-complete,
body.postid-510 .yesa-money-guide .onboarding-progress__item.is-complete {
  color: var(--onboarding-teal-dark);
}

body.postid-508 .yesa-money-guide .onboarding-progress__item.is-current,
body.postid-509 .yesa-money-guide .onboarding-progress__item.is-current,
body.postid-510 .yesa-money-guide .onboarding-progress__item.is-current {
  border-color: #a9d9cb;
  background: var(--onboarding-teal-soft);
  color: var(--onboarding-teal-dark);
  box-shadow: 0 5px 16px rgba(15, 118, 110, 0.08);
}

body.postid-508 .yesa-money-guide .onboarding-progress__label,
body.postid-509 .yesa-money-guide .onboarding-progress__label,
body.postid-510 .yesa-money-guide .onboarding-progress__label {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 800;
}

body.postid-508 .yesa-money-guide .onboarding-tool-example,
body.postid-509 .yesa-money-guide .onboarding-tool-example,
body.postid-510 .yesa-money-guide .onboarding-tool-example {
  margin: 30px 0 6px;
  padding: 24px;
  border: 1px solid #b9ddd3;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4fbf8 0%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

body.postid-508 .yesa-money-guide .onboarding-tool-example__eyebrow,
body.postid-509 .yesa-money-guide .onboarding-tool-example__eyebrow,
body.postid-510 .yesa-money-guide .onboarding-tool-example__eyebrow {
  margin: 0 0 5px !important;
  color: var(--onboarding-teal) !important;
  font-size: 13px;
  font-weight: 900;
}

body.postid-508 .yesa-money-guide .onboarding-tool-example h3,
body.postid-509 .yesa-money-guide .onboarding-tool-example h3,
body.postid-510 .yesa-money-guide .onboarding-tool-example h3 {
  margin: 0 0 18px;
  color: var(--onboarding-ink);
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

body.postid-508 .yesa-money-guide .onboarding-tool-example__record,
body.postid-509 .yesa-money-guide .onboarding-tool-example__record,
body.postid-510 .yesa-money-guide .onboarding-tool-example__record {
  display: grid;
  gap: 0;
  margin: 0;
}

body.postid-508 .yesa-money-guide .onboarding-tool-example__record > div,
body.postid-509 .yesa-money-guide .onboarding-tool-example__record > div,
body.postid-510 .yesa-money-guide .onboarding-tool-example__record > div {
  display: grid;
  grid-template-columns: minmax(112px, 0.33fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--onboarding-line);
}

body.postid-508 .yesa-money-guide .onboarding-tool-example__record dt,
body.postid-509 .yesa-money-guide .onboarding-tool-example__record dt,
body.postid-510 .yesa-money-guide .onboarding-tool-example__record dt {
  color: var(--onboarding-teal-dark);
  font-size: 14px;
  font-weight: 900;
}

body.postid-508 .yesa-money-guide .onboarding-tool-example__record dd,
body.postid-509 .yesa-money-guide .onboarding-tool-example__record dd,
body.postid-510 .yesa-money-guide .onboarding-tool-example__record dd {
  min-width: 0;
  margin: 0;
  color: var(--onboarding-copy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.postid-508 .yesa-money-guide .onboarding-result,
body.postid-509 .yesa-money-guide .onboarding-result,
body.postid-510 .yesa-money-guide .onboarding-result {
  display: grid;
  gap: 3px;
  margin: 30px 0 4px !important;
  padding: 17px 20px;
  border-left: 4px solid var(--onboarding-teal);
  border-radius: 0 12px 12px 0;
  background: #eef7f4;
}

body.postid-508 .yesa-money-guide .onboarding-result span,
body.postid-509 .yesa-money-guide .onboarding-result span,
body.postid-510 .yesa-money-guide .onboarding-result span {
  color: var(--onboarding-teal);
  font-size: 12px;
  font-weight: 900;
}

body.postid-508 .yesa-money-guide .onboarding-result strong,
body.postid-509 .yesa-money-guide .onboarding-result strong,
body.postid-510 .yesa-money-guide .onboarding-result strong {
  color: var(--onboarding-ink);
  font-size: 18px;
}

/* Salary-flow reader cues: the example and result labels need the same 18px reading floor. */
body.postid-508 .yesa-money-guide .onboarding-tool-example__eyebrow,
body.postid-508 .yesa-money-guide .onboarding-result span {
  font-size: 18px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  body.postid-508 .yesa-money-guide > article,
  body.postid-509 .yesa-money-guide > article,
  body.postid-510 .yesa-money-guide > article {
    font-size: 16.5px !important;
    line-height: 1.78 !important;
  }

  body.postid-508 .yesa-money-guide .onboarding-progress,
  body.postid-509 .yesa-money-guide .onboarding-progress,
  body.postid-510 .yesa-money-guide .onboarding-progress { padding: 8px; }

  body.postid-508 .yesa-money-guide .onboarding-progress__item,
  body.postid-509 .yesa-money-guide .onboarding-progress__item,
  body.postid-510 .yesa-money-guide .onboarding-progress__item {
    min-height: 56px;
    padding: 7px 4px;
  }

  body.postid-508 .yesa-money-guide .onboarding-progress__label,
  body.postid-509 .yesa-money-guide .onboarding-progress__label,
  body.postid-510 .yesa-money-guide .onboarding-progress__label { font-size: 12px; }

  body.postid-508 .yesa-money-guide .onboarding-tool-example,
  body.postid-509 .yesa-money-guide .onboarding-tool-example,
  body.postid-510 .yesa-money-guide .onboarding-tool-example { padding: 19px; }

  body.postid-508 .yesa-money-guide .onboarding-tool-example__record > div,
  body.postid-509 .yesa-money-guide .onboarding-tool-example__record > div,
  body.postid-510 .yesa-money-guide .onboarding-tool-example__record > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.home-section .wp-block-latest-posts__post-date { display: block; font-size: 0.82rem; color: var(--text-tertiary); margin-top: 0.2rem; }

/* Asset-letter readability bridge v1: visual-only, scoped to the three published letters. */
body.postid-511 .entry-content .yesa-money-guide > article,
body.postid-512 .entry-content .yesa-money-guide > article,
body.postid-513 .entry-content .yesa-money-guide > article {
  --asset-ink: #172033;
  --asset-copy: #354357;
  --asset-muted: #667085;
  --asset-teal: #0f766e;
  --asset-teal-soft: #edf8f4;
  --asset-ivory: #fffdf9;
  --asset-line: #e7ded2;
  --asset-caution-ink: #805719;
  counter-reset: asset-letter-section;
  color: var(--asset-copy) !important;
  font-family: var(--font-body, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif);
  font-size: 17px !important;
  line-height: 1.85 !important;
}

body.postid-511 .yesa-money-guide > article > header,
body.postid-512 .yesa-money-guide > article > header,
body.postid-513 .yesa-money-guide > article > header {
  margin: 0 0 30px !important;
  padding: 28px 28px 26px !important;
  border: 1px solid var(--asset-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #ffffff 0%, var(--asset-ivory) 100%) !important;
}

body.postid-511 .yesa-money-guide > article > header > p:first-child,
body.postid-512 .yesa-money-guide > article > header > p:first-child,
body.postid-513 .yesa-money-guide > article > header > p:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px !important;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--asset-teal-soft) !important;
  color: var(--asset-teal) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.postid-511 .yesa-money-guide > article > h2,
body.postid-512 .yesa-money-guide > article > h2,
body.postid-513 .yesa-money-guide > article > h2 {
  position: relative;
  margin: 44px 0 15px !important;
  padding: 0 0 0 46px !important;
  border: 0 !important;
  color: var(--asset-ink) !important;
  font-size: clamp(22px, 3.4vw, 28px) !important;
  font-weight: 900;
  line-height: 1.42 !important;
  counter-increment: asset-letter-section;
}

body.postid-511 .yesa-money-guide > article > h2::before,
body.postid-512 .yesa-money-guide > article > h2::before,
body.postid-513 .yesa-money-guide > article > h2::before {
  position: absolute;
  top: .12em;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--asset-teal-soft);
  color: var(--asset-teal);
  content: "0" counter(asset-letter-section);
  font-size: 12px;
  font-weight: 900;
}

body.postid-511 .yesa-money-guide > article > p:first-of-type,
body.postid-512 .yesa-money-guide > article > p:first-of-type,
body.postid-513 .yesa-money-guide > article > p:first-of-type {
  margin: 0 0 30px !important;
  padding: 18px 20px !important;
  border: 1px solid #cce9df !important;
  border-left: 4px solid var(--asset-teal) !important;
  border-radius: 12px !important;
  background: var(--asset-teal-soft) !important;
  color: #1f4543 !important;
  font-weight: 800 !important;
}

body.postid-511 .yesa-money-guide > article > div:first-of-type,
body.postid-512 .yesa-money-guide > article > div:first-of-type,
body.postid-513 .yesa-money-guide > article > div:first-of-type {
  margin: 30px 0 !important;
  padding: 24px !important;
  border: 1px solid #bfe1d5 !important;
  border-radius: 16px !important;
  background: var(--asset-teal-soft) !important;
  box-shadow: 0 10px 28px rgba(15, 118, 110, .06);
}

body.postid-511 .yesa-money-guide > article > div:first-of-type > p:first-child,
body.postid-512 .yesa-money-guide > article > div:first-of-type > p:first-child,
body.postid-513 .yesa-money-guide > article > div:first-of-type > p:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--asset-teal) !important;
  font-weight: 900 !important;
}

body.postid-511 .yesa-money-guide > article > div:first-of-type > p:first-child::before,
body.postid-512 .yesa-money-guide > article > div:first-of-type > p:first-child::before,
body.postid-513 .yesa-money-guide > article > div:first-of-type > p:first-child::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--asset-teal);
  color: #fff;
  content: "•";
  font-size: 18px;
}

body.postid-511 .yesa-money-guide table,
body.postid-513 .yesa-money-guide table {
  overflow: hidden;
  border: 1px solid #d4e8e1;
  border-radius: 12px;
  background: #fff;
}

body.postid-511 .yesa-money-guide table th,
body.postid-513 .yesa-money-guide table th {
  width: 35% !important;
  background: #f6fbf8;
  color: #1f4543 !important;
  font-weight: 900;
}

body.postid-512 .yesa-money-guide > article > div:first-of-type > div {
  position: relative;
  gap: 10px !important;
  padding-left: 28px;
}

body.postid-512 .yesa-money-guide > article > div:first-of-type > div::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 9px;
  width: 2px;
  background: #abd8ca;
  content: "";
}

body.postid-512 .yesa-money-guide > article > div:first-of-type > div > div {
  position: relative;
  padding: 15px 16px !important;
  border: 1px solid #d4e8e1 !important;
  border-left: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.postid-512 .yesa-money-guide > article > div:first-of-type > div > div::before {
  position: absolute;
  top: 20px;
  left: -25px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--asset-teal);
  border-radius: 50%;
  background: var(--asset-teal-soft);
  content: "";
}

body.postid-511 .yesa-money-guide > article > ul,
body.postid-512 .yesa-money-guide > article > ul,
body.postid-513 .yesa-money-guide > article > ul {
  margin: 24px 0 !important;
  padding: 18px 20px 18px 46px !important;
  border: 1px solid var(--asset-line);
  border-radius: 14px;
  background: #fff;
}

body.postid-511 .yesa-money-guide > article > h2:nth-of-type(3),
body.postid-512 .yesa-money-guide > article > h2:nth-of-type(3),
body.postid-513 .yesa-money-guide > article > h2:nth-of-type(3) { color: var(--asset-caution-ink) !important; }

body.postid-511 .yesa-money-guide a[href*="/money-"],
body.postid-512 .yesa-money-guide a[href*="/money-"],
body.postid-513 .yesa-money-guide a[href*="/money-"] {
  color: var(--asset-teal) !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-decoration-color: #9ecfc0 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}

body.postid-511 .yesa-money-guide > article > div:last-of-type,
body.postid-512 .yesa-money-guide > article > div:last-of-type,
body.postid-513 .yesa-money-guide > article > div:last-of-type {
  margin-top: 38px !important;
  padding: 26px !important;
  border: 1px solid #bfe1d5 !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #f5fbf8 0%, #edf8f4 100%) !important;
}

body.postid-511 .yesa-money-guide > article > div:last-of-type a,
body.postid-512 .yesa-money-guide > article > div:last-of-type a,
body.postid-513 .yesa-money-guide > article > div:last-of-type a {
  min-height: 50px !important;
  padding: 0 22px !important;
  border-radius: 10px !important;
  background: var(--asset-teal) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .16);
}

body.postid-511 .yesa-money-guide > footer,
body.postid-512 .yesa-money-guide > footer,
body.postid-513 .yesa-money-guide > footer { color: var(--asset-muted) !important; font-size: 13px !important; }

body.postid-511 .yesa-money-guide a:focus-visible,
body.postid-512 .yesa-money-guide a:focus-visible,
body.postid-513 .yesa-money-guide a:focus-visible { outline: 3px solid #f2b94b; outline-offset: 3px; }

@media (max-width: 767px) {
  body.postid-511 .entry-content .yesa-money-guide > article,
  body.postid-512 .entry-content .yesa-money-guide > article,
  body.postid-513 .entry-content .yesa-money-guide > article { font-size: 16.5px !important; line-height: 1.8 !important; }
  body.postid-511 .yesa-money-guide > article > header,
  body.postid-512 .yesa-money-guide > article > header,
  body.postid-513 .yesa-money-guide > article > header,
  body.postid-511 .yesa-money-guide > article > div:first-of-type,
  body.postid-512 .yesa-money-guide > article > div:first-of-type,
  body.postid-513 .yesa-money-guide > article > div:first-of-type,
  body.postid-511 .yesa-money-guide > article > div:last-of-type,
  body.postid-512 .yesa-money-guide > article > div:last-of-type,
  body.postid-513 .yesa-money-guide > article > div:last-of-type { padding: 20px !important; }
  body.postid-511 .yesa-money-guide > article > h2,
  body.postid-512 .yesa-money-guide > article > h2,
  body.postid-513 .yesa-money-guide > article > h2 { margin-top: 36px !important; font-size: 22px !important; }
  body.postid-511 .yesa-money-guide > article > div:last-of-type a,
  body.postid-512 .yesa-money-guide > article > div:last-of-type a,
  body.postid-513 .yesa-money-guide > article > div:last-of-type a { display: flex !important; width: 100%; }
}

@media (max-width: 560px) {
  body.postid-511 .yesa-money-guide table,
  body.postid-513 .yesa-money-guide table,
  body.postid-511 .yesa-money-guide table tbody,
  body.postid-513 .yesa-money-guide table tbody,
  body.postid-511 .yesa-money-guide table tr,
  body.postid-513 .yesa-money-guide table tr,
  body.postid-511 .yesa-money-guide table th,
  body.postid-513 .yesa-money-guide table th,
  body.postid-511 .yesa-money-guide table td,
  body.postid-513 .yesa-money-guide table td { display: block; width: 100% !important; }
  body.postid-511 .yesa-money-guide table tr,
  body.postid-513 .yesa-money-guide table tr { border-bottom: 1px solid #d4e8e1; }
  body.postid-511 .yesa-money-guide table tr:last-child,
  body.postid-513 .yesa-money-guide table tr:last-child { border-bottom: 0; }
  body.postid-511 .yesa-money-guide table th,
  body.postid-513 .yesa-money-guide table th { border-bottom: 0 !important; }
  body.postid-511 .yesa-money-guide table td,
  body.postid-513 .yesa-money-guide table td { padding-top: 2px !important; }
}

/* FAQ single-question page layout */
body.page-id-25 {
  background: #ffffff;
}

body.page-id-25 .entry-content.single-content > main,
body.page-id-25 .faq-hero,
body.page-id-25 .faq-hero *,
body.page-id-25 .faq-topics,
body.page-id-25 .faq-topics *,
body.page-id-25 .faq-body,
body.page-id-25 .faq-body *,
body.page-id-25 .related-faq-section,
body.page-id-25 .related-faq-section * {
  box-sizing: border-box;
}

body.page-id-25 .entry-content.single-content > main {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
}

body.page-id-25 .faq-hero {
  background: #f8fafc;
  padding: 56px 20px 40px;
  border-bottom: 1px solid #e5e7eb;
}

body.page-id-25 .faq-hero .container,
body.page-id-25 .related-faq-section .container {
  width: calc(100vw - 40px);
  max-width: 880px;
  margin: 0 auto;
}

body.page-id-25 .faq-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

body.page-id-25 .faq-hero .breadcrumb a {
  color: #4b5563;
  text-decoration: none;
}

body.page-id-25 .faq-hero .breadcrumb a:hover {
  color: #1d4ed8;
}

body.page-id-25 .faq-hero .breadcrumb .sep {
  color: #cbd5e1;
}

body.page-id-25 .faq-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

body.page-id-25 .faq-hero .cat-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.page-id-25 .entry-content .faq-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  border: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

body.page-id-25 .faq-topics {
  background: #f8fafc;
  padding: 36px 20px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

body.page-id-25 .faq-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: calc(100vw - 40px);
  max-width: 1000px;
  margin: 0 auto;
}

body.page-id-25 .faq-topics-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

body.page-id-25 .faq-topics-grid a:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}

body.page-id-25 .faq-topics-grid .count {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

body.page-id-25 .faq-body {
  width: calc(100vw - 40px);
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 0;
}

body.page-id-25 .direct-answer {
  position: relative;
  margin: 0 0 40px;
  padding: 42px 36px 32px;
  border: 2px solid #2563eb;
  border-radius: 16px;
  background: #ffffff;
  max-width: 100%;
  overflow: visible;
}

body.page-id-25 .direct-answer .label {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

body.page-id-25 .direct-answer .answer-text {
  margin: 0;
  color: #111827;
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.page-id-25 .direct-answer .answer-text strong {
  color: #1d4ed8;
}

body.page-id-25 .faq-content {
  color: #111827;
  font-size: 17px;
  line-height: 1.78;
}

body.page-id-25 .entry-content .faq-content h2 {
  margin: 2.5em 0 0.7em;
  padding: 0;
  border: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

body.page-id-25 .faq-content p {
  margin: 0 0 1.4em;
}

body.page-id-25 .faq-content strong {
  color: #111827;
  font-weight: 800;
}

body.page-id-25 .faq-content a {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

body.page-id-25 .entry-content .surrender-table {
  display: table;
  width: 100%;
  margin: 24px 0;
  border: 1px solid #e5e7eb;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  font-size: 15px;
}

body.page-id-25 .entry-content .surrender-table th,
body.page-id-25 .entry-content .surrender-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

body.page-id-25 .entry-content .surrender-table thead {
  background: #f1f5f9;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

body.page-id-25 .entry-content .surrender-table tbody tr:last-child td {
  border-bottom: 0;
}

body.page-id-25 .surrender-table .year,
body.page-id-25 .surrender-table .rate {
  font-weight: 800;
}

body.page-id-25 .surrender-table .bad {
  color: #dc2626;
}

body.page-id-25 .surrender-table .warn {
  color: #d97706;
}

body.page-id-25 .surrender-table .ok {
  color: #15803d;
}

body.page-id-25 .related-faq-section {
  margin-top: 80px;
  padding: 72px 20px;
  background: #f8fafc;
}

body.page-id-25 .related-faq-section .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.page-id-25 .faq-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 24px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

body.page-id-25 .faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

body.page-id-25 .faq-card .cat,
body.page-id-25 .faq-card .read-link {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

body.page-id-25 .entry-content .faq-card h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

body.page-id-25 .faq-card .preview {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

body.page-id-25 .cta-band {
  margin: 0;
  padding: 72px 20px !important;
  background: #0f2a52;
  color: #ffffff;
  text-align: center;
  border-radius: 0 !important;
}

body.page-id-25 .cta-band .inner {
  width: calc(100vw - 40px);
  max-width: 760px;
  margin: 0 auto;
}

body.page-id-25 .cta-band .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  color: #93c5fd !important;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body.page-id-25 .entry-content .cta-band h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.page-id-25 .cta-band p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

body.page-id-25 .cta-band .btn,
body.page-id-25 .cta-band .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 54px;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f2a52;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-id-25 .cta-band .btn:hover,
body.page-id-25 .cta-band .btn-primary:hover {
  background: #dbeafe;
  color: #0f2a52;
}

@media (max-width: 900px) {
  body.page-id-25 .faq-topics-grid,
  body.page-id-25 .related-faq-section .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.page-id-25 .faq-hero {
    padding: 40px 20px 32px;
  }

  body.page-id-25 .faq-body {
    padding-top: 36px;
  }

  body.page-id-25 .direct-answer {
    padding: 28px 24px;
  }

  body.page-id-25 .direct-answer .answer-text {
    font-size: 18px;
  }

  body.page-id-25 .entry-content .surrender-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  body.page-id-25 .cta-band {
    padding: 56px 20px !important;
  }

  body.page-id-25 .cta-band .btn,
  body.page-id-25 .cta-band .btn-primary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  body.page-id-25 .faq-topics-grid,
  body.page-id-25 .related-faq-section .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Simulator page layout repair */
body.page-id-21 {
  background: #ffffff;
  overflow-x: hidden;
}

body.page-id-21 .entry-content.single-content > main,
body.page-id-21 .sim-hero,
body.page-id-21 .sim-hero *,
body.page-id-21 .sim-wrap,
body.page-id-21 .sim-wrap *,
body.page-id-21 .cta-band,
body.page-id-21 .cta-band *,
body.page-id-21 .sim-related-posts,
body.page-id-21 .sim-related-posts * {
  box-sizing: border-box;
}

body.page-id-21 .entry-content.single-content > main {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
  overflow-x: hidden;
}

body.page-id-21 .sim-hero {
  padding: 64px 20px 44px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

body.page-id-21 .sim-hero .container,
body.page-id-21 .sim-related-posts .container {
  width: calc(100vw - 40px);
  max-width: 920px;
  margin: 0 auto;
}

body.page-id-21 .sim-hero .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

body.page-id-21 .sim-hero .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

body.page-id-21 .sim-hero .badge--accent {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.page-id-21 .entry-content .sim-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #111827;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.page-id-21 .sim-hero .subtitle {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.75;
}

body.page-id-21 .sim-wrap {
  width: calc(100vw - 40px);
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 0 72px;
}

body.page-id-21 .input-card,
body.page-id-21 .result-form,
body.page-id-21 .chart-card,
body.page-id-21 .limit-card,
body.page-id-21 .box-author,
body.page-id-21 .box-disclaimer {
  max-width: 100%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.page-id-21 .input-card {
  padding: 40px;
}

body.page-id-21 .entry-content .input-card h2,
body.page-id-21 .entry-content .result-head h2,
body.page-id-21 .entry-content .result-form h2 {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: #111827;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

body.page-id-21 .input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

body.page-id-21 .sim-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

body.page-id-21 .sim-field .label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

body.page-id-21 .sim-field .label-text {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

body.page-id-21 .sim-field .value-display {
  color: #0f2a52;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

body.page-id-21 .sim-field .value-display .unit {
  margin-left: 4px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
}

body.page-id-21 .sim-slider {
  width: 100%;
  height: 8px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: #dbe3ef;
}

body.page-id-21 .sim-slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  color: #6b7280;
  font-size: 12px;
}

body.page-id-21 .segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: #f1f5f9;
}

body.page-id-21 .segmented button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b5563;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

body.page-id-21 .segmented button.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.page-id-21 .calc-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

body.page-id-21 .result-section {
  margin-top: 56px;
}

body.page-id-21 .result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

body.page-id-21 .scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

body.page-id-21 .scenario-card {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.page-id-21 .scenario-card.focus {
  border: 2px solid #2563eb;
}

body.page-id-21 .result-form {
  margin-top: 56px;
  padding: 40px;
}

body.page-id-21 .result-form .desc {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

body.page-id-21 .result-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.page-id-21 .result-form .btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

body.page-id-21 .result-form .btn {
  flex: 1;
}

body.page-id-21 .cta-band {
  margin: 0 !important;
  padding: 72px 20px !important;
  background: #0f2a52;
  color: #ffffff;
  text-align: center;
  border-radius: 0 !important;
}

body.page-id-21 .cta-band .inner {
  width: calc(100vw - 40px);
  max-width: 760px;
  margin: 0 auto;
}

body.page-id-21 .cta-band .eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  color: #93c5fd !important;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body.page-id-21 .entry-content .cta-band h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.page-id-21 .cta-band p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

body.page-id-21 .cta-band .btn,
body.page-id-21 .cta-band .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 54px;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f2a52;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-id-21 .sim-related-posts {
  padding: 64px 20px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

body.page-id-21 .sim-related-posts h3 {
  margin: 0 0 20px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

body.page-id-21 .sim-related-posts ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-id-21 .sim-related-posts li a {
  display: block;
  min-height: 82px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

body.page-id-21 .sim-related-posts li a:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}

@media (max-width: 900px) {
  body.page-id-21 .input-grid,
  body.page-id-21 .scenario-grid,
  body.page-id-21 .sim-related-posts ul {
    grid-template-columns: 1fr;
  }

  body.page-id-21 .result-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body.page-id-21 #wrapper,
  body.page-id-21 #inner-wrap,
  body.page-id-21 #primary,
  body.page-id-21 #main,
  body.page-id-21 article,
  body.page-id-21 .entry,
  body.page-id-21 .content-container,
  body.page-id-21 .site-container,
  body.page-id-21 .entry-content,
  body.page-id-21 .entry-content.single-content > main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
  }

  body.page-id-21 .sim-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 42px 20px 34px !important;
  }

  body.page-id-21 .sim-hero .container,
  body.page-id-21 .sim-related-posts .container {
    width: 100%;
    max-width: calc(100vw - 40px);
    margin: 0;
    overflow: hidden;
  }

  body.page-id-21 .entry-content .sim-hero h1 {
    width: 100%;
    max-width: calc(100vw - 56px);
    font-size: 26px;
    line-height: 1.28;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  body.page-id-21 .sim-hero .subtitle {
    width: 100%;
    max-width: calc(100vw - 56px);
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  body.page-id-21 .sim-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 36px 20px 56px !important;
    overflow-x: hidden !important;
  }

  body.page-id-21 .input-card,
  body.page-id-21 .result-form,
  body.page-id-21 .chart-card,
  body.page-id-21 .limit-card {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    overflow: hidden;
  }

  body.page-id-21 .sim-field {
    width: 100%;
    max-width: calc(100vw - 88px);
    overflow: hidden;
  }

  body.page-id-21 .sim-field .label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.page-id-21 .sim-slider {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.page-id-21 .sim-slider-marks {
    width: 100%;
  }

  body.page-id-21 .segmented {
    grid-template-columns: 1fr;
  }

  body.page-id-21 .calc-btn-row,
  body.page-id-21 .result-form .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.page-id-21 .result-form .form-row {
    grid-template-columns: 1fr;
  }

  body.page-id-21 .cta-band {
    padding: 56px 20px !important;
  }

  body.page-id-21 .cta-band .inner {
    width: auto;
    max-width: none;
  }

  body.page-id-21 .cta-band .btn,
  body.page-id-21 .cta-band .btn-primary {
    width: 100%;
  }
}

/* Hard override for all simulator/calculator pages */
body.page-id-18,
body.page-id-19,
body.page-id-20,
body.page-id-21,
body.page-id-18 #wrapper,
body.page-id-19 #wrapper,
body.page-id-20 #wrapper,
body.page-id-21 #wrapper,
body.page-id-18 .site,
body.page-id-19 .site,
body.page-id-20 .site,
body.page-id-21 .site,
body.page-id-18 .site-main,
body.page-id-19 .site-main,
body.page-id-20 .site-main,
body.page-id-21 .site-main,
body.page-id-18 .entry,
body.page-id-19 .entry,
body.page-id-20 .entry,
body.page-id-21 .entry,
body.page-id-18 .entry-content,
body.page-id-19 .entry-content,
body.page-id-20 .entry-content,
body.page-id-21 .entry-content {
  background: #ffffff !important;
}

body.page-id-18 .content-container,
body.page-id-19 .content-container,
body.page-id-20 .content-container,
body.page-id-21 .content-container,
body.page-id-18 .site-container,
body.page-id-19 .site-container,
body.page-id-20 .site-container,
body.page-id-21 .site-container,
body.page-id-18 .content-area,
body.page-id-19 .content-area,
body.page-id-20 .content-area,
body.page-id-21 .content-area,
body.page-id-18 #primary,
body.page-id-19 #primary,
body.page-id-20 #primary,
body.page-id-21 #primary,
body.page-id-18 #main,
body.page-id-19 #main,
body.page-id-20 #main,
body.page-id-21 #main {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-id-18 #masthead .site-container,
body.page-id-19 #masthead .site-container,
body.page-id-20 #masthead .site-container,
body.page-id-21 #masthead .site-container,
body.page-id-18 .site-header .site-container,
body.page-id-19 .site-header .site-container,
body.page-id-20 .site-header .site-container,
body.page-id-21 .site-header .site-container {
  width: 100% !important;
  max-width: var(--global-content-width, 1290px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--global-content-edge-padding, 1.5rem) !important;
  padding-right: var(--global-content-edge-padding, 1.5rem) !important;
}

body.page-id-18 .sim-hero,
body.page-id-19 .sim-hero,
body.page-id-20 .sim-hero,
body.page-id-21 .sim-hero {
  background: #f8fafc !important;
  border-bottom: 1px solid #e5e7eb !important;
}

body.page-id-18 .sim-hero .container,
body.page-id-19 .sim-hero .container,
body.page-id-20 .sim-hero .container,
body.page-id-21 .sim-hero .container,
body.page-id-18 .sim-wrap,
body.page-id-19 .sim-wrap,
body.page-id-20 .sim-wrap,
body.page-id-21 .sim-wrap {
  width: min(100% - 40px, 1040px) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-18 .input-card,
body.page-id-19 .input-card,
body.page-id-20 .input-card,
body.page-id-21 .input-card,
body.page-id-18 .result-form,
body.page-id-19 .result-form,
body.page-id-20 .result-form,
body.page-id-21 .result-form,
body.page-id-18 .scenario-card,
body.page-id-19 .scenario-card,
body.page-id-20 .scenario-card,
body.page-id-21 .scenario-card,
body.page-id-18 .chart-card,
body.page-id-19 .chart-card,
body.page-id-20 .chart-card,
body.page-id-21 .chart-card,
body.page-id-18 .limit-card,
body.page-id-19 .limit-card,
body.page-id-20 .limit-card,
body.page-id-21 .limit-card {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

body.page-id-18 .sim-field,
body.page-id-19 .sim-field,
body.page-id-20 .sim-field,
body.page-id-21 .sim-field {
  background: transparent !important;
}

body.page-id-18 .sim-slider,
body.page-id-19 .sim-slider,
body.page-id-20 .sim-slider,
body.page-id-21 .sim-slider {
  background: #dbe3ef !important;
}

body.page-id-18 .cta-band,
body.page-id-19 .cta-band,
body.page-id-20 .cta-band,
body.page-id-21 .cta-band {
  background: #0f2a52 !important;
  color: #ffffff !important;
  text-align: center !important;
}

body.page-id-18 .chart-wrap,
body.page-id-21 .chart-wrap {
  position: relative !important;
  width: 100% !important;
  min-height: 320px !important;
}

body.page-id-18 .chart-wrap canvas,
body.page-id-21 .chart-wrap canvas {
  display: block !important;
  width: 100% !important;
  min-height: 300px !important;
}

/* Gift simulator rebuild: keep the new scoped calculator inside the viewport. */
body.page-id-18 {
  background: #f7f9fc !important;
  overflow-x: hidden !important;
}

body.page-id-18 .entry-hero {
  display: none !important;
}

body.page-id-18 .content-wrap,
body.page-id-18 .entry-content-wrap,
body.page-id-18 article.entry,
body.page-id-18 .single-content {
  padding: 0 !important;
  margin: 0 !important;
  background: #f7f9fc !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.page-id-18 .yesa-gift-sim {
  position: relative !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #f7f9fc !important;
  transform: none !important;
}

body.page-id-18 .yesa-gift-sim .ygs-shell {
  width: min(calc(100vw - 40px), 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-18 .yesa-gift-sim h1,
body.page-id-18 .yesa-gift-sim h2,
body.page-id-18 .yesa-gift-sim h3,
body.page-id-18 .yesa-gift-sim p {
  max-width: none;
}

/* WordPress auto-paragraphs can become grid items in the simulator content. */
body.page-id-21 .input-grid > p,
body.page-id-21 .scenario-grid > p,
body.page-id-21 .limit-bars > p {
  display: none !important;
}

body.page-id-21 .input-card {
  padding: 40px 44px 44px !important;
}

body.page-id-21 .input-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 34px 44px !important;
  align-items: start !important;
}

body.page-id-21 .sim-field {
  width: 100% !important;
  min-width: 0 !important;
  gap: 16px !important;
}

body.page-id-21 .sim-field > p {
  margin: 0 !important;
  line-height: 0 !important;
}

body.page-id-21 .sim-field .label-row {
  min-height: 42px !important;
  margin: 0 !important;
}

body.page-id-21 .sim-slider {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 12px 0 14px !important;
}

body.page-id-21 .segmented br,
body.page-id-21 .calc-btn-row br,
body.page-id-21 .btn-row br {
  display: none !important;
}

@media (max-width: 640px) {
  body.page-id-18,
  body.page-id-19,
  body.page-id-20,
  body.page-id-21 {
    overflow-x: hidden !important;
  }

  body.page-id-18 .sim-wrap,
  body.page-id-19 .sim-wrap,
  body.page-id-20 .sim-wrap,
  body.page-id-21 .sim-wrap {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.page-id-18 .sim-hero,
  body.page-id-19 .sim-hero,
  body.page-id-20 .sim-hero,
  body.page-id-21 .sim-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.page-id-18 .input-grid,
  body.page-id-19 .input-grid,
  body.page-id-20 .input-grid,
  body.page-id-21 .input-grid,
  body.page-id-18 .scenario-grid,
  body.page-id-19 .scenario-grid,
  body.page-id-20 .scenario-grid,
  body.page-id-21 .scenario-grid {
    grid-template-columns: 1fr !important;
  }

  body.page-id-18 .segmented,
  body.page-id-19 .segmented,
  body.page-id-20 .segmented,
  body.page-id-21 .segmented,
  body.page-id-18 .calc-btn-row,
  body.page-id-19 .calc-btn-row,
  body.page-id-20 .calc-btn-row,
  body.page-id-21 .calc-btn-row,
  body.page-id-18 .btn-row,
  body.page-id-19 .btn-row,
  body.page-id-20 .btn-row,
  body.page-id-21 .btn-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.page-id-18 .btn,
  body.page-id-19 .btn,
  body.page-id-20 .btn,
  body.page-id-21 .btn,
  body.page-id-18 button,
  body.page-id-19 button,
  body.page-id-20 button,
  body.page-id-21 button {
    min-height: 48px !important;
    width: 100% !important;
    white-space: normal !important;
  }

  body.page-id-18 section[style*="background:#fff"] > div[style*="grid-template-columns"],
  body.page-id-18 section[style*="background:#fff"] > div[style*="display:grid"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.page-id-18 section[style*="background:#fff"] > div[style*="display:flex"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Asset-letter series flow: dedicated hooks prevent the three reader pages from depending on positional markup. */
body.postid-511 .yesa-money-guide > article > header > .asset-letter-taxonomy,
body.postid-512 .yesa-money-guide > article > header > .asset-letter-taxonomy,
body.postid-513 .yesa-money-guide > article > header > .asset-letter-taxonomy {
  color: var(--asset-teal, #0f766e) !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}

body.postid-511 .entry-taxonomies .category-links a,
body.postid-512 .entry-taxonomies .category-links a,
body.postid-513 .entry-taxonomies .category-links a {
  color: #0f766e !important;
}

body.postid-511 .yesa-money-guide .asset-letter-progress,
body.postid-512 .yesa-money-guide .asset-letter-progress,
body.postid-513 .yesa-money-guide .asset-letter-progress {
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid #d9ebe5;
  border-radius: 14px;
  background: #fbfdfc;
}

body.postid-511 .yesa-money-guide .asset-letter-progress__list,
body.postid-512 .yesa-money-guide .asset-letter-progress__list,
body.postid-513 .yesa-money-guide .asset-letter-progress__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.postid-511 .yesa-money-guide .asset-letter-progress__item,
body.postid-512 .yesa-money-guide .asset-letter-progress__item,
body.postid-513 .yesa-money-guide .asset-letter-progress__item {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #d9ebe5;
  border-radius: 10px;
  background: #fff;
  color: #667085;
  line-height: 1.25;
}

body.postid-511 .yesa-money-guide .asset-letter-progress__item.is-complete,
body.postid-512 .yesa-money-guide .asset-letter-progress__item.is-complete,
body.postid-513 .yesa-money-guide .asset-letter-progress__item.is-complete {
  border-color: #bfe1d5;
  background: #f3faf7;
  color: #356d64;
}

body.postid-511 .yesa-money-guide .asset-letter-progress__item.is-current,
body.postid-512 .yesa-money-guide .asset-letter-progress__item.is-current,
body.postid-513 .yesa-money-guide .asset-letter-progress__item.is-current {
  border-color: var(--asset-teal, #0f766e);
  background: var(--asset-teal, #0f766e);
  color: #fff;
  box-shadow: 0 7px 16px rgba(15, 118, 110, .14);
}

body.postid-511 .yesa-money-guide .asset-letter-progress__code,
body.postid-512 .yesa-money-guide .asset-letter-progress__code,
body.postid-513 .yesa-money-guide .asset-letter-progress__code {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

body.postid-511 .yesa-money-guide .asset-letter-progress__label,
body.postid-512 .yesa-money-guide .asset-letter-progress__label,
body.postid-513 .yesa-money-guide .asset-letter-progress__label {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* L1 series map: enlarge only this page's L1/L2/L3 code and label pair by 4px. */
body.postid-511 .yesa-money-guide .asset-letter-progress__code {
  font-size: 16px;
}
body.postid-511 .yesa-money-guide .asset-letter-progress__label {
  overflow: visible;
  font-size: 17px;
  text-overflow: clip;
  white-space: normal;
}

body.postid-511 .yesa-money-guide > article h2,
body.postid-512 .yesa-money-guide > article h2,
body.postid-513 .yesa-money-guide > article h2 {
  position: relative;
  margin: 44px 0 16px !important;
  padding: 0 0 0 60px !important;
  border: 0 !important;
  color: var(--asset-ink, #172033) !important;
  font-size: clamp(24px, 3.4vw, 28px) !important;
  font-weight: 900;
  line-height: 1.42 !important;
  counter-increment: asset-letter-section;
}

body.postid-511 .yesa-money-guide > article h2::before,
body.postid-512 .yesa-money-guide > article h2::before,
body.postid-513 .yesa-money-guide > article h2::before {
  position: absolute;
  top: .05em;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--asset-teal-soft, #eaf6f1);
  color: var(--asset-teal, #0f766e);
  content: "0" counter(asset-letter-section);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}

body.postid-511 .yesa-money-guide .asset-letter-caution,
body.postid-512 .yesa-money-guide .asset-letter-caution,
body.postid-513 .yesa-money-guide .asset-letter-caution {
  margin: 40px 0 0;
  padding: 26px;
  border: 1px solid #e7c773;
  border-left: 4px solid #c99424;
  border-radius: 16px;
  background: #fff8e6;
}

body.postid-511 .yesa-money-guide .asset-letter-caution > h2,
body.postid-512 .yesa-money-guide .asset-letter-caution > h2,
body.postid-513 .yesa-money-guide .asset-letter-caution > h2 {
  margin: 0 0 16px !important;
  color: var(--asset-caution-ink, #805719) !important;
}

body.postid-511 .yesa-money-guide .asset-letter-caution > h2::before,
body.postid-512 .yesa-money-guide .asset-letter-caution > h2::before,
body.postid-513 .yesa-money-guide .asset-letter-caution > h2::before {
  background: #fff1c7;
  color: #805719;
}

body.postid-511 .yesa-money-guide .asset-letter-caution > p,
body.postid-512 .yesa-money-guide .asset-letter-caution > p,
body.postid-513 .yesa-money-guide .asset-letter-caution > p {
  color: #5b4928 !important;
}

body.postid-511 .yesa-money-guide .asset-letter-related,
body.postid-512 .yesa-money-guide .asset-letter-related,
body.postid-513 .yesa-money-guide .asset-letter-related {
  margin: 44px 0 0;
}

body.postid-511 .yesa-money-guide .asset-letter-related > h2,
body.postid-512 .yesa-money-guide .asset-letter-related > h2,
body.postid-513 .yesa-money-guide .asset-letter-related > h2 { margin-top: 0 !important; }

body.postid-511 .yesa-money-guide .asset-letter-related__grid,
body.postid-512 .yesa-money-guide .asset-letter-related__grid,
body.postid-513 .yesa-money-guide .asset-letter-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.postid-511 .yesa-money-guide .asset-letter-related__card,
body.postid-512 .yesa-money-guide .asset-letter-related__card,
body.postid-513 .yesa-money-guide .asset-letter-related__card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #bfe1d5;
  border-radius: 14px;
  background: #fff;
}

body.postid-511 .yesa-money-guide .asset-letter-related__card::before,
body.postid-512 .yesa-money-guide .asset-letter-related__card::before,
body.postid-513 .yesa-money-guide .asset-letter-related__card::before {
  display: block;
  margin-bottom: 8px;
  color: #667085;
  content: "다음 읽을거리";
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

body.postid-511 .yesa-money-guide .asset-letter-related__card p,
body.postid-512 .yesa-money-guide .asset-letter-related__card p,
body.postid-513 .yesa-money-guide .asset-letter-related__card p {
  margin: 0 !important;
  color: var(--asset-copy, #354357) !important;
  font-size: 15px;
  line-height: 1.7;
}

body.postid-511 .yesa-money-guide .asset-letter-related__link,
body.postid-512 .yesa-money-guide .asset-letter-related__link,
body.postid-513 .yesa-money-guide .asset-letter-related__link {
  color: var(--asset-teal, #0f766e) !important;
  font-weight: 900 !important;
  text-decoration-thickness: 1.5px !important;
}

body.postid-511 .yesa-money-guide > article > .asset-letter-practical-tool,
body.postid-512 .yesa-money-guide > article > .asset-letter-practical-tool,
body.postid-513 .yesa-money-guide > article > .asset-letter-practical-tool {
  margin: 30px 0 !important;
}

body.postid-512 .yesa-money-guide > article > .asset-letter-practical-tool > div {
  position: relative;
  gap: 10px !important;
  padding-left: 28px;
}

body.postid-512 .yesa-money-guide > article > .asset-letter-practical-tool > div::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 8px;
  width: 2px;
  background: #bfe1d5;
  content: "";
}

body.postid-512 .yesa-money-guide > article > .asset-letter-practical-tool > div > div {
  position: relative;
  padding: 15px 16px !important;
  border: 1px solid #d4e8e1 !important;
  border-left: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.postid-512 .yesa-money-guide > article > .asset-letter-practical-tool > div > div::before {
  position: absolute;
  top: 20px;
  left: -25px;
  width: 10px;
  height: 10px;
  border: 3px solid #0f766e;
  border-radius: 50%;
  background: #fff;
  content: "";
}

body.postid-511 .yesa-money-guide .asset-letter-tool-example,
body.postid-512 .yesa-money-guide .asset-letter-tool-example,
body.postid-513 .yesa-money-guide .asset-letter-tool-example {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #bfe1d5;
  border-radius: 12px;
  background: #fff;
}

body.postid-511 .yesa-money-guide .asset-letter-tool-example__eyebrow,
body.postid-512 .yesa-money-guide .asset-letter-tool-example__eyebrow,
body.postid-513 .yesa-money-guide .asset-letter-tool-example__eyebrow {
  margin: 0 0 4px !important;
  color: #0f766e !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

body.postid-511 .yesa-money-guide .asset-letter-tool-example__title,
body.postid-512 .yesa-money-guide .asset-letter-tool-example__title,
body.postid-513 .yesa-money-guide .asset-letter-tool-example__title {
  margin: 0 0 12px;
  color: #1f4543;
  font-size: 17px;
  line-height: 1.45;
}

body.postid-511 .yesa-money-guide .asset-letter-tool-example__table {
  margin: 0;
  font-size: 14px;
}

body.postid-511 .yesa-money-guide .asset-letter-tool-example__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.postid-512 .yesa-money-guide .asset-letter-tool-example__dialogue {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.postid-512 .yesa-money-guide .asset-letter-tool-example__turn,
body.postid-513 .yesa-money-guide .asset-letter-tool-example__record {
  padding: 12px 14px;
  border-left: 3px solid #0f766e;
  background: #f6fbf8;
}

body.postid-512 .yesa-money-guide .asset-letter-tool-example__turn p {
  margin: 0 !important;
}

body.postid-512 .yesa-money-guide .asset-letter-tool-example__speaker,
body.postid-513 .yesa-money-guide .asset-letter-tool-example__record dt {
  display: block;
  margin-bottom: 4px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

body.postid-513 .yesa-money-guide .asset-letter-tool-example__record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

body.postid-513 .yesa-money-guide .asset-letter-tool-example__record dd {
  margin: 5px 0 0;
  color: #354357;
}

body.postid-511 .yesa-money-guide .asset-letter-consultation__fit,
body.postid-512 .yesa-money-guide .asset-letter-consultation__fit,
body.postid-513 .yesa-money-guide .asset-letter-consultation__fit {
  margin: -4px 0 16px !important;
  padding-left: 12px;
  border-left: 3px solid #bfe1d5;
  color: #354357 !important;
  font-size: 15px;
  line-height: 1.7;
}

body.postid-511 .yesa-money-guide > article > .asset-letter-consultation,
body.postid-512 .yesa-money-guide > article > .asset-letter-consultation,
body.postid-513 .yesa-money-guide > article > .asset-letter-consultation { margin-top: 38px !important; }

@media (max-width: 767px) {
  body.postid-511 .yesa-money-guide .asset-letter-progress,
  body.postid-512 .yesa-money-guide .asset-letter-progress,
  body.postid-513 .yesa-money-guide .asset-letter-progress { padding: 10px; }

  body.postid-511 .yesa-money-guide .asset-letter-progress__item,
  body.postid-512 .yesa-money-guide .asset-letter-progress__item,
  body.postid-513 .yesa-money-guide .asset-letter-progress__item { padding: 8px; }

  body.postid-511 .yesa-money-guide .asset-letter-progress__code,
  body.postid-512 .yesa-money-guide .asset-letter-progress__code,
  body.postid-513 .yesa-money-guide .asset-letter-progress__code { font-size: 10px; }

  body.postid-511 .yesa-money-guide .asset-letter-progress__label,
  body.postid-512 .yesa-money-guide .asset-letter-progress__label,
  body.postid-513 .yesa-money-guide .asset-letter-progress__label { font-size: 11px; }

  body.postid-511 .yesa-money-guide .asset-letter-progress__code { font-size: 14px; }
  body.postid-511 .yesa-money-guide .asset-letter-progress__label { font-size: 15px; }

  body.postid-511 .yesa-money-guide > article h2,
  body.postid-512 .yesa-money-guide > article h2,
  body.postid-513 .yesa-money-guide > article h2 {
    padding-left: 52px !important;
    font-size: 22px !important;
  }

  body.postid-511 .yesa-money-guide > article h2::before,
  body.postid-512 .yesa-money-guide > article h2::before,
  body.postid-513 .yesa-money-guide > article h2::before {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  body.postid-511 .yesa-money-guide .asset-letter-caution,
  body.postid-512 .yesa-money-guide .asset-letter-caution,
  body.postid-513 .yesa-money-guide .asset-letter-caution { padding: 20px; }

  body.postid-511 .yesa-money-guide .asset-letter-related__grid,
  body.postid-512 .yesa-money-guide .asset-letter-related__grid,
  body.postid-513 .yesa-money-guide .asset-letter-related__grid { grid-template-columns: 1fr; }

  body.postid-511 .yesa-money-guide .asset-letter-tool-example,
  body.postid-512 .yesa-money-guide .asset-letter-tool-example,
  body.postid-513 .yesa-money-guide .asset-letter-tool-example { padding: 14px; }

  body.postid-513 .yesa-money-guide .asset-letter-tool-example__record-grid { grid-template-columns: 1fr; }
}
