/**
 * Chevalior Font Preview — frontend styles.
 */

.cfp-font-preview,
.cfp-font-preview h3,
.cfp-font-preview p,
.cfp-font-preview label,
.cfp-font-preview input {
	font-family: 'Montserrat', 'Montserrat Light', sans-serif;
	font-weight: 300;
}

.cfp-font-preview {
	margin: 1.5em 0;
}

.cfp-title {
	margin: 0 0 .35em;
	font-size: 1.15em;
	font-weight: 700;
	text-align: center;
}

.cfp-intro {
	margin: 0 0 1em;
	color: #444;
	text-align: center;
}

.cfp-field {
	margin: 0 0 3em;
	text-align: center;
}

input.cfp-input {
	display: block !important;
	width: 100% !important;
	max-width: 380px !important;
	margin: 0 auto !important;
	padding: 1em 1.2em !important;
	box-sizing: border-box !important;
	font-size: 2.3em !important;
	line-height: 1.3 !important;
	text-align: center !important;
	border: 2px solid #333 !important;
	border-radius: 10px !important;
}

.cfp-input:focus {
	outline: none;
	border-color: #999;
}

.cfp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1em;
}

.cfp-card {
	padding: 1.25em 1em;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fafafa;
	text-align: center;
}

.cfp-sample {
	min-height: 1.4em;
	font-size: 2.6em;
	line-height: 1.3;
	color: #000;
	overflow-wrap: break-word;
}

.cfp-label {
	margin-bottom: .6em;
	font-size: .82em;
	color: #666;
}

.cfp-admin-warning {
	padding: .75em 1em;
	border: 1px solid #e2b6b6;
	border-radius: 6px;
	background: #fdf0f0;
	color: #8a3b3b;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
