/* site-typography.css — unified line-height across site pages, editors, and form fields */
/* 2026-06-10: Global reading rhythm line-height 1.8 */

:root {
  --site-line-height: 1.7;
}

.site-body,
.studio-body,
body {
  line-height: var(--site-line-height);
  margin: 0;
  padding: 0;
  font-family: var(--site-font-family, "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif);  
}

/* Text form controls */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
select,
textarea {
  line-height: var(--site-line-height);
}

/* SunEditor — write and published HTML */
.sun-editor-editable,
.sun-editor .sun-editor-editable,
.sun-editor .se-wrapper-inner .sun-editor-editable {
  line-height: var(--site-line-height) !important;
}

/* Page grid widgets and builder preview */
.grid-widget-body,
.grid-widget-html,
.responsive-grid .grid-widget-body,
.widget-preview-text,
.form-preview-group input,
.form-preview-group select,
.form-preview-group textarea,
.global-form-group input[type="text"],
.global-form-group input[type="email"],
.global-form-group textarea,
.form-field-config input,
.form-field-config select,
.studio-field input,
.studio-field textarea,
.studio-field select,
.inspector-field input,
.inspector-field textarea,
.inspector-field select,
.panel-hint,
.builder-help-card {
  line-height: var(--site-line-height);
}

/* Board pages */
.board-input,
.board-textarea,
.board-form-group textarea,
.board-comment-textarea,
.board-inline-password,
.board-post-content,
.board-detail-content,
.board-comment-body,
.board-faq-a,
.board-verify-lead,
.board-field-hint,
.board-check-field span,
.board-form-card-desc,
.board-secret-modal-lead,
.board-hero-desc,
.board-feed-row-excerpt,
.board-blog-excerpt,
.board-card p,
.board-link-desc,
.tenant-auth-lead,
.tenant-auth-hint,
.site-notify-toast__text,
.site-notify-modal__text,
.site-notify-panel p,
.site-notify-inline,
.member-auth-widget-hint,
.member-auth-widget-disabled,
.board-feed-card p {
  line-height: var(--site-line-height);
}
