
:root {
  --easyfix-text: #222222;
  --easyfix-muted: #5B6472;
  --easyfix-heading: #111827;
  --easyfix-blue: #2F5BD3;
  --easyfix-blue-dark: #1F43A8;
  --easyfix-line: #E5E7EB;
  --easyfix-soft: #F7F9FC;
  --easyfix-soft-blue: #F3F6FF;
  --easyfix-radius: 14px;
}

html, body,
button, input, select, textarea {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic",
               Arial, sans-serif !important;
}

body {
  color: var(--easyfix-text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.single-post .inside-article,
.page .inside-article {
  background: #FFFFFF;
}

.single-post .entry-content,
.page .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.82;
  letter-spacing: -0.015em;
  color: var(--easyfix-text);
}

.single-post .entry-header,
.page .entry-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Strong H1 override for GeneratePress / block rendering / theme presets */
.single-post h1,
.single-post .entry-title,
.single-post h1.entry-title,
.single-post .wp-block-post-title,
.single-post .site-main h1,
.single-post article h1,
.page h1,
.page .entry-title,
.page h1.entry-title,
.page .wp-block-post-title,
.page .site-main h1,
.page article h1 {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic",
               Arial, sans-serif !important;
  color: var(--easyfix-heading) !important;
  font-size: clamp(32px, 4vw, 42px) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
  font-style: normal !important;
  word-break: keep-all;
  margin-bottom: 30px !important;
}

.entry-content p {
  margin: 0 0 22px;
}

.entry-content h2 {
  font-family: "Pretendard", "Noto Sans KR", sans-serif !important;
  color: var(--easyfix-heading);
  font-size: clamp(25px, 3vw, 30px);
  line-height: 1.38;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-top: 54px;
  margin-bottom: 20px;
  padding: 0 0 12px 14px;
  border-left: 4px solid var(--easyfix-blue);
  border-bottom: 1px solid var(--easyfix-line);
}

.entry-content h3 {
  font-family: "Pretendard", "Noto Sans KR", sans-serif !important;
  color: var(--easyfix-heading);
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
}

.entry-content strong {
  color: #111827;
  font-weight: 700;
}

.entry-content a {
  color: var(--easyfix-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--easyfix-blue-dark);
}

.entry-content ul,
.entry-content ol {
  margin: 20px 0 28px;
  padding: 18px 22px 18px 42px;
  background: var(--easyfix-soft);
  border: 1px solid var(--easyfix-line);
  border-radius: 12px;
}

.entry-content li {
  margin: 7px 0;
  padding-left: 2px;
}

.entry-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  background: var(--easyfix-soft-blue);
  border-left: 4px solid var(--easyfix-blue);
  border-radius: 0 12px 12px 0;
  color: #334155;
}

.easyfix-summary,
.easyfix-checklist,
.easyfix-note,
.easyfix-path,
.easyfix-warning,
.easyfix-source {
  margin: 24px 0 30px;
  border-radius: var(--easyfix-radius);
}

.easyfix-summary {
  padding: 22px 24px;
  background: var(--easyfix-soft-blue);
  border: 1px solid #DCE5FF;
}

.easyfix-summary::before {
  content: "빠르게 확인할 순서";
  display: block;
  color: var(--easyfix-blue-dark);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 18px;
}

.easyfix-summary > ol,
.easyfix-summary > ul {
  margin: 12px 0 0;
  background: rgba(255,255,255,0.55);
}

.easyfix-checklist {
  padding: 20px 24px;
  background: var(--easyfix-soft);
  border: 1px solid var(--easyfix-line);
}

.easyfix-path {
  padding: 16px 18px;
  background: #F8FAFC;
  border: 1px solid var(--easyfix-line);
  font-weight: 700;
  color: #334155;
}

.easyfix-path::before {
  content: "확인 경로";
  display: block;
  color: var(--easyfix-blue);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}

.easyfix-note {
  padding: 18px 20px;
  background: #F8FAFC;
  border: 1px solid var(--easyfix-line);
  color: #475569;
}

.easyfix-warning {
  padding: 18px 20px;
  background: #FFF8E8;
  border: 1px solid #F4D994;
  color: #6B4D00;
}

.easyfix-source {
  padding: 16px 18px;
  background: #FAFAFA;
  border-top: 1px solid var(--easyfix-line);
  color: var(--easyfix-muted);
  font-size: 15px;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--easyfix-line);
  margin: 42px 0;
}

@media (max-width: 768px) {
  .single-post .entry-content,
  .page .entry-content,
  .single-post .entry-header,
  .page .entry-header {
    max-width: 100%;
  }

  .single-post .entry-content,
  .page .entry-content {
    font-size: 17px;
    line-height: 1.78;
  }

  .single-post h1,
  .single-post .entry-title,
  .single-post h1.entry-title,
  .single-post .wp-block-post-title,
  .page h1,
  .page .entry-title,
  .page h1.entry-title,
  .page .wp-block-post-title {
    font-size: 31px !important;
    margin-bottom: 24px !important;
  }

  .entry-content h2 {
    font-size: 25px;
    margin-top: 44px;
  }

  .entry-content h3 {
    font-size: 21px;
  }

  .entry-content ul,
  .entry-content ol {
    padding: 16px 18px 16px 36px;
  }
}
