body.ivory-expo-raffle-fullpage {
	background: #F4F1DE;
}

body.ivory-expo-raffle-fullpage .site-main,
body.ivory-expo-raffle-fullpage .page-content,
body.ivory-expo-raffle-fullpage .entry-content {
	padding: 0;
	margin: 0;
	max-width: none;
}

body.ivory-expo-raffle-fullpage .entry-title {
	display: none;
}

.ivory-expo-raffle-page {
	--ier-bg: #F4F1DE;
	--ier-card-bg: #FFFFF0;
	--ier-text: #3D405B;
	--ier-accent: #E07A5F;
	--ier-button: #3D405B;
	--ier-button-hover: #F0AECC;
	--ier-radius: 10px;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--ier-bg);
	font-family: "Playfair Display", Georgia, serif;
	color: var(--ier-text);
}

.ivory-expo-raffle-page__header {
	width: 100%;
	padding: 0;
	text-align: center;
	background: #3D405B;
}

.ivory-expo-raffle-page__logo-wrap {
	display: inline-block;
	padding: 24px 36px;
}

.ivory-expo-raffle-page__logo-link {
	display: inline-block;
	text-decoration: none;
}

.ivory-expo-raffle-page__logo {
	max-width: 220px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.ivory-expo-raffle-page__main {
	flex: 1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 20px 32px;
}

.ivory-expo-raffle-page__footer {
	width: 100%;
	padding: 24px 20px 32px;
	text-align: center;
}

.ivory-expo-raffle-page__social {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-bottom: 12px;
}

.ivory-expo-raffle-page__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ier-text);
	color: #FFFFF0;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.ivory-expo-raffle-page__social a:hover,
.ivory-expo-raffle-page__social a:focus {
	background: var(--ier-accent);
	transform: translateY(-2px);
}

.ivory-expo-raffle-page__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ivory-expo-raffle-page__copyright {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.75;
}

.ivory-expo-raffle {
	max-width: 520px;
	width: 100%;
	min-width: 0;
	margin: 0 auto;
}

.ivory-expo-raffle__card {
	background: var(--ier-card-bg);
	border-radius: var(--ier-radius);
	padding: 32px 28px;
	box-shadow: 0 2px 12px rgba(61, 64, 91, 0.08);
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.ivory-expo-raffle__form {
	width: 100%;
	min-width: 0;
}

.ivory-expo-raffle__headline {
	font-family: "Give You Glory", cursive;
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 400;
	color: var(--ier-accent);
	text-align: center;
	margin: 0 0 8px;
	line-height: 1.2;
}

.ivory-expo-raffle__event {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.125rem;
	text-align: center;
	margin: 0 0 4px;
	color: var(--ier-text);
}

.ivory-expo-raffle__subheadline {
	font-size: 0.95rem;
	text-align: center;
	margin: 0 0 6px;
	opacity: 0.85;
}

.ivory-expo-raffle__drawing {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1rem;
	text-align: center;
	margin: 0 0 24px;
	color: var(--ier-accent);
	font-style: italic;
}

.ivory-expo-raffle__field {
	margin-bottom: 18px;
	min-width: 0;
	max-width: 100%;
}

.ivory-expo-raffle__field label {
	display: block;
	font-family: "Give You Glory", cursive;
	font-size: 1.1rem;
	margin-bottom: 6px;
	color: var(--ier-text);
}

.ivory-expo-raffle__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1rem;
	color: var(--ier-text);
	background: #FFFFF0;
	border: 1px solid rgba(61, 64, 91, 0.2);
	border-radius: var(--ier-radius);
	transition: border-color 0.2s;
}

.ivory-expo-raffle__field input:focus {
	outline: none;
	border-color: var(--ier-accent);
}

.ivory-expo-raffle__date-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	background: #FFFFF0;
	border: 1px solid rgba(61, 64, 91, 0.2);
	border-radius: var(--ier-radius);
	overflow: hidden;
	transition: border-color 0.2s;
}

.ivory-expo-raffle__date-wrap:focus-within {
	border-color: var(--ier-accent);
}

.ivory-expo-raffle__field--date input[type="date"] {
	flex: 1 1 auto;
	display: block;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 12px 0 12px 14px;
	border: none;
	border-radius: 0;
	background: transparent;
	min-height: 46px;
	-webkit-appearance: none;
	appearance: none;
}

.ivory-expo-raffle__field--date input[type="date"]:focus {
	outline: none;
	border: none;
	box-shadow: none;
}

.ivory-expo-raffle__field--date input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
	min-width: 0;
}

.ivory-expo-raffle__field--date input[type="date"]::-webkit-datetime-edit {
	min-width: 0;
	padding: 0;
}

.ivory-expo-raffle__field--date input[type="date"]::-webkit-calendar-picker-indicator {
	display: none;
}

.ivory-expo-raffle__date-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 46px;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--ier-text);
	opacity: 0.55;
	line-height: 0;
	-webkit-tap-highlight-color: transparent;
}

.ivory-expo-raffle__date-icon:hover,
.ivory-expo-raffle__date-icon:focus-visible {
	opacity: 0.85;
	outline: none;
}

.ivory-expo-raffle__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.ivory-expo-raffle__message {
	padding: 10px 14px;
	border-radius: var(--ier-radius);
	margin-bottom: 16px;
	font-size: 0.95rem;
}

.ivory-expo-raffle__message--error {
	background: #fde8e8;
	color: #9b2c2c;
	border: 1px solid #f5c6c6;
}

.ivory-expo-raffle__submit {
	display: block;
	width: 100%;
	padding: 14px 24px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.125rem;
	font-weight: 400;
	color: #FFFFF0;
	background: var(--ier-button);
	border: none;
	border-radius: var(--ier-radius);
	cursor: pointer;
	transition: background 0.2s;
}

.ivory-expo-raffle__submit:hover,
.ivory-expo-raffle__submit:focus {
	background: var(--ier-button-hover);
	color: var(--ier-text);
}

.ivory-expo-raffle__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ivory-expo-raffle__thanks {
	text-align: center;
	font-family: "Give You Glory", cursive;
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--ier-text);
	margin: 0;
	opacity: 0.9;
}

.ivory-expo-raffle__success {
	text-align: center;
	padding: 8px 0 0;
}

.ivory-expo-raffle__success-title {
	font-family: "Give You Glory", cursive;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: var(--ier-accent);
	margin: 0 0 8px;
	line-height: 1.2;
}

.ivory-expo-raffle__success-luck {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.2rem;
	margin: 0 0 20px;
	color: var(--ier-text);
}

.ivory-expo-raffle__success .ivory-expo-raffle__thanks {
	padding-top: 20px;
	border-top: 1px solid rgba(61, 64, 91, 0.12);
}

.ivory-expo-raffle__closed {
	text-align: center;
	padding: 16px 0 8px;
}

.ivory-expo-raffle__closed-title {
	font-family: "Give You Glory", cursive;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: var(--ier-accent);
	margin: 0 0 12px;
	line-height: 1.2;
}

.ivory-expo-raffle__closed-message {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.1rem;
	margin: 0 0 20px;
	color: var(--ier-text);
}

@media (max-width: 480px) {
	body.ivory-expo-raffle-fullpage {
		overflow-x: hidden;
	}

	.ivory-expo-raffle-page {
		overflow-x: hidden;
		max-width: 100vw;
	}

	.ivory-expo-raffle-page__main {
		padding: 16px 16px 32px;
	}

	.ivory-expo-raffle-page__logo-wrap {
		padding: 20px 24px;
	}

	.ivory-expo-raffle-page__logo {
		max-width: 180px;
	}

	.ivory-expo-raffle__card {
		padding: 24px 18px;
	}

	.ivory-expo-raffle__field input {
		font-size: 16px;
	}
}
