/* Compact dismissible MüzeKart chip on museum pages */

.mc-mk-chip {
	display: none; /* shown by JS if not dismissed */
	align-items: center;
	gap: 10px;
	max-width: 700px;
	margin: 0 auto 14px;
	padding: 9px 10px 9px 12px;
	border-radius: 999px;
	font-family: inherit;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.mc-mk-chip.is-visible {
	display: flex;
}

.mc-mk-chip--yes {
	background: #dcfce7;
	border-color: #86efac;
	color: #14532d;
}

.mc-mk-chip--no {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #7f1d1d;
}

.mc-mk-chip__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex-shrink: 0;
}

.mc-mk-chip--yes .mc-mk-chip__dot {
	background: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.mc-mk-chip--no .mc-mk-chip__dot {
	background: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.mc-mk-chip__label {
	flex: 1;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.mc-mk-chip__link {
	flex-shrink: 0;
	font-size: 0.8rem;
	font-weight: 700;
	color: inherit;
	opacity: 0.9;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
}

.mc-mk-chip__link:hover {
	opacity: 1;
	color: inherit;
}

.mc-mk-chip__close {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	opacity: 0.65;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
	line-height: 1;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.mc-mk-chip__close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 520px) {
	.mc-mk-chip {
		border-radius: 14px;
		flex-wrap: wrap;
		padding: 10px 12px;
	}

	.mc-mk-chip__link {
		order: 3;
		margin-left: 18px;
	}

	.mc-mk-chip__close {
		margin-left: auto;
	}
}
