/* Entity Side Panel */

.entity-panel-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.entity-panel-backdrop.is-active {
	opacity: 1;
}

.entity-panel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 50vw;
	max-width: 90vw;
	background-color: var(--wp--preset--color--copypaper-blue);
	z-index: 9999;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
    padding: var(--two-spacer);
}

.entity-panel.is-active {
	transform: translateX(0);
}

.entity-panel__header {
	display: flex;
	align-items: center;
	gap: var(--two-spacer);
	padding-bottom: var(--two-spacer);
	border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
}

.entity-panel__close {
	background: none;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	font-family: var(--wp--preset--font-family--courier-prime), monospace;
}

.entity-panel__close:hover {
	color: var(--wp--preset--color--ink-red);
	border-color: var(--wp--preset--color--ink-red);
}

.entity-panel__title {
	margin: 0;
}

.entity-panel__body {
	display: flex;
	flex-direction: column;
	gap: var(--two-spacer);
	padding-top: var(--two-spacer);
}

.entity-panel__image {
	width: 100%;
	height: 25vw;
	object-fit: cover;
	filter: grayscale(100%);
    mix-blend-mode: multiply;

}

.entity-panel__content {
	margin-top: var(--two-spacer);
}

.entity-panel__permalink {
	display: inline-block;
	margin-top: var(--two-spacer);
	font-family: var(--wp--preset--font-family--courier-prime), monospace;
}

@media (max-width: 600px) {
	.entity-panel {
		max-width: 100vw;
		width: 100vw;
	}
.entity-panel__image {
	width: 100%;
	height: 50vw;
	object-fit: cover;
	filter: grayscale(100%);
    mix-blend-mode: multiply;

}
}
