/**
 * Notice 단일 글 — Summernote 본문: Tailwind Preflight + prose 무효 시 대비
 *
 * @package AriaWell_Child
 */

/* 문단·제목 */
.page-notice-detail .notice-post-body > div:not(:last-child) {
	margin-bottom: 1em;
}

.page-notice-detail .notice-post-body > p,
.page-notice-detail .notice-post-body p {
	margin-top: 0;
	margin-bottom: 1em;
}

.page-notice-detail .notice-post-body > p:last-child,
.page-notice-detail .notice-post-body p:last-child {
	margin-bottom: 0;
}

.page-notice-detail .notice-post-body p:empty {
	min-height: 1em;
}

.page-notice-detail .notice-post-body p:has(> br:only-child) {
	min-height: 1em;
}

.page-notice-detail .notice-post-body h1,
.page-notice-detail .notice-post-body h2,
.page-notice-detail .notice-post-body h3,
.page-notice-detail .notice-post-body h4,
.page-notice-detail .notice-post-body h5,
.page-notice-detail .notice-post-body h6 {
	margin-top: 1.25em;
	margin-bottom: 0.5em;
	font-weight: 700;
	color: #111111;
}

.page-notice-detail .notice-post-body h1:first-child,
.page-notice-detail .notice-post-body h2:first-child,
.page-notice-detail .notice-post-body h3:first-child {
	margin-top: 0;
}

.page-notice-detail .notice-post-body ul,
.page-notice-detail .notice-post-body ol {
	margin: 0 0 1em 0;
	padding-left: 1.5em;
}

.page-notice-detail .notice-post-body li {
	margin-bottom: 0.35em;
}

.page-notice-detail .notice-post-body blockquote {
	margin: 1em 0;
	padding-left: 1em;
	border-left: 4px solid #d9d9d9;
}

.page-notice-detail .notice-post-body hr {
	margin: 1.5em 0;
	border: 0;
	border-top: 1px solid #d9d9d9;
}

/* 테이블 — Tailwind * { border-width: 0 } 대응 */
.page-notice-detail .notice-post-body table,
.page-notice-detail .notice-post-body table.summernote-wp-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	font-size: 0.95em;
	border: 1px solid #cfcfcf !important;
}

.page-notice-detail .notice-post-body th,
.page-notice-detail .notice-post-body td {
	border: 1px solid #cfcfcf !important;
	padding: 0.5em 0.75em;
	vertical-align: top;
	text-align: left;
}

.page-notice-detail .notice-post-body th {
	background-color: #f6f7f9;
	font-weight: 600;
}

.page-notice-detail .notice-post-body .table,
.page-notice-detail .notice-post-body .table-bordered {
	border-collapse: collapse;
	width:100%;
	border: 1px solid #cfcfcf !important;
}

.page-notice-detail .notice-post-body .table td,
.page-notice-detail .notice-post-body .table th,
.page-notice-detail .notice-post-body .table-bordered td,
.page-notice-detail .notice-post-body .table-bordered th {
	border: 1px solid #cfcfcf !important;
	padding: 0.5em 0.75em;
}

.page-notice-detail .notice-post-body img,
.page-notice-detail .notice-post-body video,
.page-notice-detail .notice-post-body iframe {
	max-width: 100%;
	height: auto;
}

.page-notice-detail .notice-post-body a {
	color: #002549;
	text-decoration: underline;
}

.page-notice-detail .notice-post-body a:hover {
	text-decoration: none;
}
