img.frase-thumb,
.frase-thumb {
	cursor: zoom-in;
}

img.frase-thumb {
	max-width: 100%;
	height: auto;
}

.frase-thumb:not(img) {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.frase-thumb:not(img) img {
	max-width: 100%;
	height: auto;
}

.frase-thumb:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 3px;
}

.ftm-modal[hidden] {
	display: none !important;
}

.ftm-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.ftm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.ftm-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: min(92vh, 900px);
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	padding: 28px 20px 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ftm-modal__close {
	position: absolute;
	top: 6px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #1d2327;
	padding: 4px 8px;
}

.ftm-modal__figure {
	margin: 0;
	text-align: center;
}

.ftm-modal__img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.ftm-modal__caption {
	margin-top: 10px;
	font-size: 14px;
	color: #50575e;
}

.ftm-modal__share {
	margin: 0 0 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid #dcdcde;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.ftm-modal__dialog {
		box-shadow: none;
	}
}
