/**
 * Legacy content compatibility styles.
 *
 * Conservative normalization for old WordPress/Blogger/Word markup
 * (class="MsoNormal", inline styles, old embeds). Scope strictly to
 * .entry-content so modern blocks are unaffected.
 *
 * @package guneydog-academic
 */

.entry-content .MsoNormal {
	margin-block: 0 1em;
}

.entry-content .MsoNormal,
.entry-content .MsoNormal td,
.entry-content .MsoNormal table {
	border-collapse: collapse;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-content table {
	max-width: 100%;
	border-collapse: collapse;
}

.entry-content table,
.entry-content th,
.entry-content td {
	border: 1px solid #ddd;
}

.entry-content th,
.entry-content td {
	padding: 0.5em 0.75em;
}

/* Old standalone horizontal rules used as separators in imports */
.entry-content hr {
	border: 0;
	border-top: 1px solid #ddd;
	margin-block: var(--gda-space-lg);
}

/* Very old markup used plain divs for paragraphs */
.entry-content div {
	overflow-wrap: break-word;
}

/* Collapse empty spacer divs/paragraphs left by old Blogger imports */
.entry-content .MsoNormal:empty,
.entry-content p:empty {
	display: none;
}
