.modal-overlay {
	position: fixed;
	inset: 0; /* top:0, right:0, bottom:0, left:0 */
	z-index: 1000;
	background-color: rgba(13, 17, 23, 0.65);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 1;
	transition: opacity 0.25s ease-in-out;
}
.modal-overlay.hidden {
	display: none !important;
}
.specifia {
	max-width: 36rem; /* 576px */
}
.projectum {
	max-width: 50rem; /* 800px */
	max-height: 85vh;
}
.porcelain-card {
	position: relative;
	width: 100%;
	background-color: #fcfbf9;
	border: 2px solid #b8860b;
	border-radius: 0.75rem;
	padding: 2rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}
.modal-close-icon {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #888;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}
.modal-close-icon:hover {
	color: #b8860b;
}
.modal-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.modal-title {
	font-family: Cinzel, serif;
	font-size: 1.5rem;
	font-weight: 100;
	color: #8b6508;
	margin: 0;
	letter-spacing: 0.05em;
	text-align: center;
	padding-right: 1.4rem;
}
.modal-body {
	font-family: "Book Antiqua", "Palatino Linotype", serif;
	font-size: 1.2rem;
	line-height: 1.625;
	color: #2d2b2a;
	max-height: 60vh;
	overflow-y: auto;
	padding-right: 0.5rem;
}
.modal-body p {
	margin-bottom: 1rem;
}
.modal-quote {
	border-left: 2px solid #b8860b;
	padding: 0.75rem 1rem;
	font-style: italic;
	color: #5c4306;
	background-color: #f7f3eb;
	border-radius: 0.25rem;
}
.modal-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(184, 134, 11, 0.2);
	text-align: right;
}
.btn-primary-royal {
	padding: 0.625rem 1.5rem;
	border-radius: 0.25rem;
	background-color: #b8860b;
	color: #ffffff;
	font-family: Cinzel, serif;
	font-weight: 100;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
}
.btn-primary-royal:hover {
	background-color: #966d09;
}
.modal-body::-webkit-scrollbar {
	width: 6px;
}
.modal-body::-webkit-scrollbar-track {
	background: rgba(184, 134, 11, 0.08);
	border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb {
	background: #b8860b;
	border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
	background: #8b6508;
}
/* Firefox */
.modal-body {
	scrollbar-color: #b8860b rgba(184, 134, 11, 0.08);
	scrollbar-width: thin;
}
.modal-body strong {
	color: #8b6508;
	font-size: 1.5rem;
}
.modal-body b {
	font-family: Calibri, "Helvetica Neue", "Noto Sans", "Noto Sans", "SF Pro Text";
	font-size: 1.3rem;
}
table {
	margin: 0 auto;
	border-collapse: collapse;
}