/* Modal shell only. Shared panel/content styles live in main.css. */
body.cnews-modal-open {
	overflow: hidden;
}

body.cnews-modal-busy {
	cursor: wait;
}

.cnews-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	overflow: auto;
	padding: 20px;
}

.cnews-modal-overlay.modal-hidden {
	display: none;
}

.cnews-modal-panel .cnews-modal-close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 767px) {
	.cnews-modal-panel .cnews-modal-close {
		top: 16px;
		right: 16px;
		width: 20px;
		height: 20px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.cnews-modal-panel .cnews-modal-close {
		top: 25px;
		right: 25px;
		width: 20px;
		height: 20px;
	}
}
