.ck.ck-editor {
  min-height: 200px;

    .ck-editor__top {
		.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label {
			width: auto !important;
		}
	}

	.ck-editor__main {
		.ck-content {
			word-break: break-word;
			overflow-wrap: break-word;
			white-space: normal;
		}
	}
}

.ck.ck-dialog__content {
	h2, p, section {
		word-wrap: break-word;
		overflow-wrap: break-word;
		word-break: break-word;
		white-space: normal;
	}

	h2 {
		font-size: 1rem;
		font-weight: bold;
	}

	p, section {
		margin-bottom: 10px;
	}

	section h3 {
		font-weight: bold;
	}
}

.ck.ck-dialog__actions {
	border-top: 1px solid var(--ck-color-dialog-form-header-border) !important;
	justify-content: center !important;

	button {
		cursor: pointer;
	}
}

// 파일 첨부
.file-embed {
	display: inline-block;
	width: max-content;
	max-width: 100%;
	padding: 5px 40px;
	border: 1px solid var(--border-strong);
	border-radius: 5px;
	background: var(--bg-elevated);
	margin: 5px 0;
	box-sizing: border-box;

	.file-icon svg {
		width: 19px;
		height: 19px;
		display: inline-block;
		vertical-align: sub;
		padding-right: 5px;
	}

	&.image-style-align-left {
		margin-left: 0;
		margin-right: auto;
	}

	&.image-style-align-center {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	&.image-style-align-right {
		margin-left: auto;
		margin-right: 0;
	}
}