/**
 * WIwrestle Events
 *
 * Scoped to .wiwe so it does not restyle the Salient header, menu, or footer.
 * Colors match the live theme: accent #e52638, button #9a0100, ink #1c1b22.
 * Font family is inherited (Inter headings, Lato body on wiwrestle.com).
 */

.wiwe {
	--wiwe-red: #e52638;
	--wiwe-dark: #9a0100;
	--wiwe-dark-hover: #7c0100;
	--wiwe-ink: #1c1b22;
	--wiwe-muted: #5e5e5e;
	--wiwe-line: #e5e5e5;
	--wiwe-input: #d5d5d5;
	color: var(--wiwe-ink);
	line-height: 1.5;
	margin: 0 0 28px;
}

.wiwe *,
.wiwe *::before,
.wiwe *::after {
	box-sizing: border-box;
}

.wiwe-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.wiwe-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

body .container-wrap .wiwe p,
body .wiwe p {
	margin: 0 0 12px;
}

body .container-wrap .wiwe h1.wiwe-title,
body .wiwe h1.wiwe-title {
	margin: 0;
	color: var(--wiwe-ink);
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.wiwe-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 0 0 18px;
}

.wiwe-search {
	position: relative;
	width: min(100%, 320px);
	flex: 0 0 auto;
}

body .wiwe .wiwe-search input[type="search"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 46px 0 14px;
	border: 1px solid var(--wiwe-input);
	border-radius: 4px;
	background: #fff;
	color: var(--wiwe-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.3;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

body .wiwe .wiwe-search button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--wiwe-ink);
	box-shadow: none;
	cursor: pointer;
}

.wiwe-toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	margin: 0 0 22px;
}

.wiwe-toolbar-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.wiwe-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wiwe-month-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
}

body .wiwe a.wiwe-chip,
body .wiwe button.wiwe-chip,
body .wiwe select {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 2px;
	background: #fff;
	color: var(--wiwe-ink);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: none;
	cursor: pointer;
}

body .wiwe a.wiwe-chip.is-active,
body .wiwe a.wiwe-chip[aria-current="true"] {
	background: var(--wiwe-red);
	border-color: var(--wiwe-red);
	color: #fff;
}

body .wiwe a.wiwe-chip:hover,
body .wiwe button.wiwe-chip:hover {
	border-color: var(--wiwe-ink);
	color: var(--wiwe-ink);
	background: #fff;
}

body .wiwe a.wiwe-chip.is-active:hover {
	background: var(--wiwe-dark);
	border-color: var(--wiwe-dark);
	color: #fff;
}

body .wiwe a.wiwe-btn,
body .wiwe button.wiwe-btn,
body .wiwe summary.wiwe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 12px 16px;
	border: 0;
	border-radius: 3px;
	background: var(--wiwe-dark);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: none;
	cursor: pointer;
	list-style: none;
}

body .wiwe a.wiwe-btn:hover,
body .wiwe button.wiwe-btn:hover,
body .wiwe summary.wiwe-btn:hover {
	background: var(--wiwe-dark-hover);
	color: #fff;
}

.wiwe-toolbar-submit {
	flex: 0 0 auto;
}

.wiwe summary.wiwe-btn::-webkit-details-marker {
	display: none;
}

.wiwe summary.wiwe-btn {
	width: 100%;
}

body .wiwe .wiwe-more {
	color: var(--wiwe-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

body .wiwe a.wiwe-more:hover,
body .wiwe .wiwe-more:hover {
	color: var(--wiwe-dark);
}

.wiwe-arrow {
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.2em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.05em);
	vertical-align: 0.05em;
}

.wiwe-layout,
.wiwe-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.wiwe-card {
	margin: 0 0 12px;
	border: 1px solid var(--wiwe-line);
	background: #fff;
}

.wiwe-card:hover {
	border-color: var(--wiwe-red);
}

body .wiwe a.wiwe-card-link {
	display: block;
	padding: 18px 20px 16px;
	color: inherit;
	text-decoration: none;
}

.wiwe-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 8px;
}

.wiwe-card-date {
	margin: 0;
	color: #5c5c5c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.wiwe-badge {
	display: inline-block;
	padding: 3px 6px;
	background: var(--wiwe-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

body .wiwe h2.wiwe-card-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

.wiwe-card-city,
.wiwe-single-place {
	margin: 0 0 12px;
	color: var(--wiwe-muted);
	font-size: 16px;
}

.wiwe-card-link .wiwe-card-city {
	margin-bottom: 12px;
}

.wiwe-empty,
.wiwe-confirm,
.wiwe-alert {
	margin: 0 0 16px;
	padding: 18px 20px;
	border: 1px solid var(--wiwe-line);
	border-left: 4px solid var(--wiwe-red);
	background: #fff;
}

.wiwe-empty p,
.wiwe-confirm p,
.wiwe-alert p {
	margin: 0 0 8px;
}

.wiwe-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

body .wiwe .wiwe-pager a,
body .wiwe .wiwe-pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid var(--wiwe-line);
	background: #fff;
	color: var(--wiwe-ink);
	font-weight: 700;
	text-decoration: none;
}

body .wiwe .wiwe-pager span.current {
	background: var(--wiwe-ink);
	border-color: var(--wiwe-ink);
	color: #fff;
}

.wiwe-promo {
	padding: 22px 20px 16px;
	border: 1px solid var(--wiwe-line);
	background: #fff;
}

body .wiwe .wiwe-promo h2 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-transform: uppercase;
}

.wiwe-promo > p,
.wiwe-lead {
	margin: 0 0 14px;
	color: var(--wiwe-muted);
	font-size: 16px;
}

.wiwe-promo-form {
	margin-top: 14px;
}

.wiwe-promo-mail {
	margin: 12px 0 0;
}

.wiwe-form-page > .wiwe-promo {
	margin-top: 22px;
}

.wiwe-form fieldset,
.wiwe-panel,
.wiwe-flyer {
	margin: 0 0 16px;
	padding: 16px 18px 8px;
	border: 1px solid var(--wiwe-line);
	background: #fff;
}

.wiwe-form legend,
body .wiwe .wiwe-panel h2,
body .wiwe .wiwe-flyer h2 {
	padding: 0;
	margin: 0 0 12px;
	color: var(--wiwe-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.wiwe-form legend {
	padding: 0 6px;
}

.wiwe-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 16px;
}

body .wiwe label {
	display: block;
	margin: 0 0 6px;
	color: var(--wiwe-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wiwe-req {
	color: var(--wiwe-red);
}

.wiwe-optional,
.wiwe-hint {
	color: var(--wiwe-muted);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

body .wiwe input[type="text"],
body .wiwe input[type="email"],
body .wiwe input[type="tel"],
body .wiwe input[type="url"],
body .wiwe input[type="date"],
body .wiwe input[type="time"],
body .wiwe input[type="file"],
body .wiwe textarea,
body .wiwe .wiwe-form select,
body .wiwe .wiwe-promo-form input,
body .wiwe .wiwe-promo-form textarea {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--wiwe-input);
	border-radius: 4px;
	background: #fff;
	color: var(--wiwe-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
}

body .wiwe textarea {
	min-height: 120px;
	resize: vertical;
}

body .wiwe .wiwe-check label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.45;
	text-transform: none;
}

body .wiwe .wiwe-check input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex: 0 0 auto;
}

.wiwe-error,
.wiwe-meta-warn {
	display: block;
	margin-top: 4px;
	color: var(--wiwe-dark);
	font-size: 14px;
	font-weight: 700;
}

.wiwe-note {
	color: var(--wiwe-ink);
	font-weight: 700;
}

.wiwe-actions {
	margin: 8px 0 18px;
}

.wiwe-kicker {
	margin: 0 0 10px;
}

.wiwe-single-place {
	margin-top: 8px;
	font-size: 18px;
}

.wiwe-single-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	margin: 0 0 22px;
}

.wiwe-facts {
	margin: 0;
}

.wiwe-facts > div {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 8px 12px;
	padding: 10px 0;
	border-top: 1px solid var(--wiwe-line);
}

.wiwe-facts dt {
	margin: 0;
	color: #5c5c5c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wiwe-facts dd {
	margin: 0;
}

body .wiwe .wiwe-prose a,
body .wiwe .wiwe-facts a {
	color: var(--wiwe-red);
}

.wiwe-prose {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.55;
}

.wiwe-map {
	width: 100%;
	height: 280px;
	margin: 0 0 12px;
	border: 1px solid var(--wiwe-line);
	background: #f3f3f3;
}

.wiwe-flyer img {
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
}

body .wiwe a.wiwe-flyer-link {
	display: inline-block;
	text-decoration: none;
}

.wiwe-pdf {
	display: block;
	width: 100%;
	height: 70vh;
	min-height: 420px;
	border: 1px solid var(--wiwe-line);
	background: #fff;
}

.wiwe-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(28, 27, 34, 0.9);
}

.wiwe-lightbox[hidden] {
	display: none;
}

.wiwe-lightbox img {
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 80px);
	width: auto;
	height: auto;
	background: #fff;
}

body .wiwe .wiwe-lightbox-close {
	position: absolute;
	top: 16px;
	right: 16px;
	min-height: 44px;
	padding: 10px 14px;
	border: 0;
	border-radius: 3px;
	background: #fff;
	color: var(--wiwe-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

body .wiwe a:focus-visible,
body .wiwe button:focus-visible,
body .wiwe input:focus-visible,
body .wiwe select:focus-visible,
body .wiwe textarea:focus-visible,
body .wiwe summary:focus-visible {
	outline: 2px solid var(--wiwe-ink);
	outline-offset: 2px;
}

body.wiwe-lock {
	overflow: hidden;
}

@media (min-width: 720px) {
	.wiwe-grid {
		grid-template-columns: 1fr 1fr;
	}

	.wiwe-map {
		height: 360px;
	}
}

@media (min-width: 900px) {
	.wiwe-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
	}

	.wiwe-single-grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	}
}

@media (max-width: 720px) {
	.wiwe-head,
	.wiwe-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.wiwe-search,
	.wiwe-toolbar-submit,
	body .wiwe a.wiwe-toolbar-submit {
		width: 100%;
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wiwe *,
	.wiwe *::before,
	.wiwe *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Hide a duplicate Salient page-title band. The site header (#header-outer) is untouched. */
body.wiwe-events-page #page-header-wrap,
body.wiwe-events-page .page-header-no-bg,
body.wiwe-event-single #page-header-wrap {
	display: none;
}
