/* 링크는 색으로만 구분 */
.wp-block-latest-posts a {
  font-weight: 600;
}

.wp-block-latest-posts a:hover {
  opacity: 0.75;
}
/* 사이드바 최근 글 링크 밑줄 제거 */
.widget a,
.wp-block-latest-posts a {
  text-decoration: none;
}
/* ===== GPT Prompt Box ===== */
.gpt-prompt-box{
  position: relative;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 18px 16px 14px;
  margin: 18px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.gpt-prompt-title{
  font-size: 14px;
  font-weight: 700;
  opacity: .8;
  margin: 0 44px 10px 0; /* 우측 버튼 공간 확보 */
}

/* 코드 영역 */
.gpt-prompt-pre{
  margin: 0;
  padding: 14px 12px;
  border-radius: 12px;
  background: #f7f7f8;
  overflow: auto;
  line-height: 1.55;
}

.gpt-prompt-pre code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  white-space: pre; /* 줄바꿈 유지 */
  display: block;
}

/* ===== Copy Button (Top Right) ===== */
.gpt-copy-btn{
  position: absolute;
  top: 12px;
  right: 12px;

  border: 1px solid rgba(0,0,0,.16);
  background: rgba(0,0,0,.03);
  color: rgba(0,0,0,.75);

  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .05s ease, border-color .15s ease;
}

.gpt-copy-btn:hover{
  background: rgba(0,0,0,.10); /* 호버 시 짙어짐 */
  border-color: rgba(0,0,0,.24);
  color: rgba(0,0,0,.9);
}

.gpt-copy-btn:active{
  transform: translateY(1px);
}

/* 복사 완료 상태 */
.gpt-copy-btn.is-copied{
  background: rgba(0,0,0,.86);
  border-color: rgba(0,0,0,.86);
  color: #fff;
}
/************************************************************
 prompt-box 폰트 정책
 - 기본 텍스트: 시스템 + Noto Sans KR
 - 프롬프트 본문(prompt-text): 고정폭 유지
************************************************************/

/* 1) prompt-box 기본 텍스트는 시스템 폰트 + Noto Sans KR */
.prompt-box{
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    Arial,
    sans-serif !important;
}

/* Prompt text font override (fix pre/code monospace override) */
.gpt-prompt-box .gpt-prompt-pre,
.gpt-prompt-box .gpt-prompt-pre code{
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Pretendard",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  line-height: 1.2 !important;
  font-size: 14px;
}

}
