/* Plan Your Event – region tabs + enquiry form (includes/plan-your-event.php) */

.plan-your-event {
	color: #000;
	padding: 13rem 0 8rem 0;
	background-color: #C84634;
}

/* Intro */
.plan-your-event .pye-intro {
	max-width: 1100px;
	margin: 0 auto 6rem auto;
	text-align: center;
}
.plan-your-event .pye-intro h5 {
	font-family: 'bebas_neueregular';
	font-size: 22px;
	font-weight: normal;
	text-decoration: line-through;
	text-transform: uppercase;
	letter-spacing: 4px;
	margin: 0 0 40px 0;
}
.plan-your-event .pye-intro h2 {
	font-size: 9rem;
	line-height: 0.9;
	margin: 0 0 50px 0;
	text-transform: uppercase;
}
.plan-your-event .pye-text {
	font-family: 'manroperegular';
	font-size: 18px;
	line-height: 1.6;
	max-width: 760px;
	margin: 0 auto;
}

/* Region tabs – same look as the events filter */
.plan-your-event .pye-forms {
	max-width: 900px;
	margin: 0 auto;
}
.plan-your-event .pye-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px 60px;
	padding: 20px 0 50px 0;
}
.plan-your-event .pye-tab {
	position: relative;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: 'bebas_neueregular';
	font-size: 26px;
	font-weight: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.55);
	transition: color 0.3s ease;
}
.plan-your-event .pye-tab:hover,
.plan-your-event .pye-tab:focus-visible,
.plan-your-event .pye-tab.is-active {
	color: #000;
}
.plan-your-event .pye-tab:focus-visible {
	outline: 2px solid #000;
	outline-offset: 6px;
}
.plan-your-event .pye-tab.is-active:after {
	width: 50px;
	height: 17px;
	background: url(../images/icon-filter-current-black.svg) no-repeat center center;
	background-size: contain;
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
}

.plan-your-event .pye-region-note {
	font-family: 'manroperegular';
	font-size: 15px;
	text-align: center;
	margin: 0 0 30px 0;
}
.plan-your-event .pye-forms:not(.pye-ready) .pye-region-note {
	display: none;
}

/* The tabs set the region, so hide its dropdown once they're active */
.plan-your-event .pye-ready .pye-region-field {
	display: none;
}

/* Form */
.plan-your-event .wpcf7 p {
	margin: 0;
}
.plan-your-event .wpcf7 br {
	display: none;
}
.plan-your-event .pye-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px 30px;
}
.plan-your-event .pye-field-full {
	grid-column: 1 / -1;
}
.plan-your-event .pye-region-field {
	margin-bottom: 25px;
}
.plan-your-event .pye-field label,
.plan-your-event .pye-region-field label {
	display: block;
}
.plan-your-event .pye-field label > span:first-child,
.plan-your-event .pye-region-field label > span:first-child {
	display: block;
	font-family: 'bebas_neueregular';
	font-size: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.plan-your-event .wpcf7 input[type="text"],
.plan-your-event .wpcf7 input[type="email"],
.plan-your-event .wpcf7 input[type="tel"],
.plan-your-event .wpcf7 input[type="date"],
.plan-your-event .wpcf7 input[type="number"],
.plan-your-event .wpcf7 textarea,
.plan-your-event .wpcf7 select,
.plan-your-event .wpcf7 .nice-select {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 54px;
	line-height: 52px;
	padding: 0 16px;
	font-family: 'manroperegular';
	font-size: 16px;
	color: #000;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid #000;
	border-radius: 8px;
	float: none;
	-webkit-appearance: none;
	appearance: none;
}
.plan-your-event .wpcf7 textarea {
	height: 160px;
	line-height: 1.5;
	padding: 14px 16px;
	resize: vertical;
}
.plan-your-event .wpcf7 input:focus,
.plan-your-event .wpcf7 textarea:focus,
.plan-your-event .wpcf7 .nice-select:focus,
.plan-your-event .wpcf7 .nice-select.open {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 2px #000;
}
.plan-your-event .wpcf7 ::placeholder {
	color: rgba(0, 0, 0, 0.5);
}

/* nice-select dropdowns (main.js applies niceSelect to every select) */
.plan-your-event .wpcf7 .nice-select:after {
	border-color: #000;
	right: 18px;
}
.plan-your-event .wpcf7 .nice-select .current {
	display: inline;
}
.plan-your-event .wpcf7 .nice-select .list {
	width: 100%;
	border-radius: 8px;
	color: #000;
	background: #EAEAE6;
}
.plan-your-event .wpcf7 .nice-select .option {
	line-height: 44px;
	min-height: 44px;
}

/* Submit */
.plan-your-event .pye-submit {
	margin-top: 40px;
	text-align: center;
}
.plan-your-event .wpcf7 input[type="submit"] {
	display: inline-block;
	min-width: 280px;
	height: 70px;
	padding: 0 40px;
	font-family: 'new_titlebold';
	font-size: 30px;
	text-transform: uppercase;
	color: #EAEAE6;
	background: #000;
	border: 1px solid #000;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}
.plan-your-event .wpcf7 input[type="submit"]:hover,
.plan-your-event .wpcf7 input[type="submit"]:focus-visible {
	color: #000;
	background: transparent;
}
.plan-your-event .wpcf7 .wpcf7-spinner {
	display: block;
	margin: 15px auto 0 auto;
}

/* Validation + response messages */
.plan-your-event .wpcf7 .wpcf7-not-valid-tip {
	font-family: 'manroperegular';
	font-size: 14px;
	color: #fff;
	margin-top: 6px;
}
.plan-your-event .wpcf7 .wpcf7-not-valid {
	border-color: #fff;
}
.plan-your-event .wpcf7 form .wpcf7-response-output {
	margin: 30px 0 0 0;
	padding: 15px 20px;
	border: 1px solid #000;
	border-radius: 8px;
	font-family: 'manroperegular';
	text-align: center;
}

@media only screen and (max-width: 1000px) {
	.plan-your-event .pye-tabs {
		gap: 20px 40px;
	}
}

@media only screen and (max-width: 700px) {
	.plan-your-event .pye-text {
		font-size: 16px;
	}
	.plan-your-event .pye-tab {
		font-size: 22px;
	}
	.plan-your-event .pye-grid {
		grid-template-columns: 1fr;
	}
	.plan-your-event .wpcf7 input[type="submit"] {
		width: 100%;
		min-width: 0;
	}
}
