/* ── Elgraine custom font ── */
@font-face {
	font-family: 'Elgraine';
	src: url('../fonts/Elgraine-Regular.woff2') format('woff2'),
	     url('../fonts/Elgraine-Regular.otf')   format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Elgraine';
	src: url('../fonts/Elgraine-Italic.woff2') format('woff2'),
	     url('../fonts/Elgraine-Italic.otf')   format('opentype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* ── Invitation Block Widget ── */
.invb-block {
	background: transparent;
	text-align: center;
}

.invb-title {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
}

.invb-title__sans {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	color: #333333;
}

.invb-title__script {
	font-family: 'Elgraine', cursive;
	font-weight: 400;
	font-style: italic;
	font-size: 28px;
	color: #c08060;
	line-height: 1;
}

.invb-name-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.invb-name__prefix {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	color: #8a7a7a;
	margin: 0;
}

.invb-name {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	color: #c08060;
	margin-bottom: 10px;
	line-height: 1.6em;
}

.invb-passes {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 12px;
	margin-bottom: 30px;
}

.invb-passes__prefix {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	color: #333333;
	line-height: 1;
}

.invb-passes__hash {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 36px;
	color: #3a2e2e;
	line-height: 1;
}

.invb-passes__script {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: italic;
	font-size: 24px;
	color: #c08060;
	line-height: 1;
}

.invb-passes__label {
	font-family: 'Elgraine', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	color: #3a2e2e;
}

/* ── Nombres de invitados dinámicos ── */
.inv-nombres-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.invb-body {
	font-family: 'Mulish', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #333333;
	line-height: 1.75;
	max-width: max-content;
	margin: 0 auto;
}
