/**
 * Chapter-site wrap: let the embed use the full content column width.
 */
.iec-portal-embed-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.iec-portal-embed-wrap iframe.iec-portal-embed-frame {
	width: 100% !important;
	max-width: none !important;
	display: block;
	border: 0;
}
/* Match members layout: main 3fr + sidebar 1fr — notice sits in the sidebar column. */
.iec-portal-embed-flash {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
	gap: 1.5rem 2rem;
	align-items: start;
	width: 100%;
	margin: 0 0 10px;
	box-sizing: border-box;
}
.iec-portal-embed-flash__main {
	min-width: 0;
}
.iec-portal-embed-notice {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 10px 32px 10px 12px;
	border-radius: 6px;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.35;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.iec-portal-embed-notice p {
	margin: 0;
}
.iec-portal-embed-notice__close {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
}
.iec-portal-embed-notice__close:hover,
.iec-portal-embed-notice__close:focus {
	opacity: 1;
	background: rgba(0, 0, 0, 0.06);
}
.iec-portal-embed-notice--ok {
	background: #edfaef;
	border-color: #b8e6c4;
	color: #1a7f37;
}
.iec-portal-embed-notice--error {
	background: #fcf0f1;
	border-color: #f1aeb5;
	color: #b32d2e;
}
.iec-portal-embed-notice--hiding {
	opacity: 0;
	transform: translateY(-4px);
	pointer-events: none;
}
@media (max-width: 900px) {
	.iec-portal-embed-flash {
		grid-template-columns: 1fr;
	}
	.iec-portal-embed-flash__main {
		display: none;
	}
}
/* Prefer breaking out of narrow theme columns when possible */
.entry-content .iec-portal-embed-wrap,
.elementor-widget-container .iec-portal-embed-wrap,
.wpb_wrapper .iec-portal-embed-wrap {
	width: 100%;
	max-width: none;
}
