/* 육성 가이드 본문 공용 스타일 — 열람(.gg-body)과 에디터(.he-area) 양쪽에 .gg-content 로 동일 적용. */
.gg-content { font-size: 16px; line-height: 1.75; color: #3a3325; word-break: break-word; }
.gg-content > *:first-child { margin-top: 0; }

.gg-content p { margin: 0 0 14px; }
.gg-content a { color: #2f7d46; text-decoration: underline; }

/* 소제목 + 구분선 */
.gg-content h2 {
    font-size: 1.35rem; font-weight: 900; color: #2c2618; margin: 30px 0 14px;
    padding-bottom: 8px; border-bottom: 2px solid #e6dcc4;
}
.gg-content h3 { font-size: 1.12rem; font-weight: 800; color: #4a3f2a; margin: 24px 0 10px; }
.gg-content hr {
    border: 0; height: 2px; margin: 28px 0; border-radius: 2px;
    background: linear-gradient(90deg, transparent, #b9a778 18%, #b9a778 82%, transparent);
}

/* 목록 */
.gg-content ul, .gg-content ol { margin: 0 0 14px; padding-left: 24px; }
.gg-content li { margin: 4px 0; }

/* 인용 */
.gg-content blockquote {
    margin: 0 0 16px; padding: 10px 16px; border-left: 4px solid #cbb87a;
    background: #faf6ec; color: #5a4f38; border-radius: 0 8px 8px 0;
}

/* 이미지 / 영상 */
.gg-content img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.1); margin: 6px 0; }
.gg-content iframe { max-width: 100%; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; margin: 6px 0; }
.gg-content figure { margin: 12px 0; text-align: center; }
.gg-content figcaption { font-size: .82rem; color: #8a8172; margin-top: 6px; }

/* 콜아웃 박스 (팁 / 주의 / 정보) */
.gg-content .gg-callout {
    position: relative; margin: 18px 0; padding: 14px 16px 14px 46px;
    border-radius: 12px; border: 1px solid; line-height: 1.6;
}
.gg-content .gg-callout > *:last-child { margin-bottom: 0; }
.gg-content .gg-callout:before {
    position: absolute; left: 14px; top: 13px; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 1.05rem;
}
.gg-content .gg-callout.tip  { background: #eef7ef; border-color: #bfe0c6; color: #2a5a38; }
.gg-content .gg-callout.tip:before  { content: "\f0eb"; color: #3f9556; }   /* 전구 */
.gg-content .gg-callout.warn { background: #fdf3ec; border-color: #f0cdb2; color: #8a4b1f; }
.gg-content .gg-callout.warn:before { content: "\f071"; color: #d9822b; }   /* 경고 삼각형 */
.gg-content .gg-callout.info { background: #eef2fb; border-color: #c3d1ee; color: #2c4a86; }
.gg-content .gg-callout.info:before { content: "\f05a"; color: #3f6fd0; }   /* 정보 원 */

/* 스텝 리스트 (1·2·3) */
.gg-content .gg-steps { counter-reset: gg-step; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.gg-content .gg-step {
    position: relative; counter-increment: gg-step; padding: 12px 14px 12px 52px;
    background: #fff; border: 1px solid #e6dcc4; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.gg-content .gg-step > *:last-child { margin-bottom: 0; }
.gg-content .gg-step:before {
    content: counter(gg-step); position: absolute; left: 12px; top: 12px;
    width: 28px; height: 28px; border-radius: 50%; background: #5aa469; color: #fff;
    font-weight: 900; font-size: .95rem; display: flex; align-items: center; justify-content: center;
}

/* 표 */
.gg-content .gg-table, .gg-content table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: .92rem; }
.gg-content table th, .gg-content table td { border: 1px solid #e0d6bd; padding: 9px 12px; text-align: left; }
.gg-content table th { background: #f6f1e3; font-weight: 800; color: #4a3f2a; }
.gg-content table tr:nth-child(even) td { background: #fbf9f2; }
