/* ------------------------------------------------------------------
   snapXP static build - design / UX polish layer
   Loaded last, after every Divi + plugin stylesheet.
   Generated pages are produced by tools/mirror.js -> tools/inject-forms.js
   -> tools/site-polish.js; this file is hand-maintained and linked from
   every page by tools/site-polish.js.
   ------------------------------------------------------------------ */

:root {
	--sxp-pink: #f92c8b;
	--sxp-purple: #b02cd6;
	--sxp-ink: #1c174f;
	--sxp-body: #4a4a55;
	--sxp-grad: linear-gradient(90deg, #f92c8b 0%, #b02cd6 100%);
	--sxp-radius: 12px;
	--sxp-radius-lg: 16px;
	--sxp-shadow: 0 10px 30px -12px rgba(28, 23, 79, 0.28);
	--sxp-shadow-brand: 0 18px 30px -14px rgba(249, 44, 139, 0.45);
}

/* ==================================================================
   1. Broken Divi line-heights (pricing / package cards)
   The builder saved 0.4em and 0.1em line-heights on the package bullet
   lists and price headings. Any bullet that wraps to a second line then
   prints on top of the line under it. /weddings/ and /social-events/.
   ================================================================== */

.et_pb_text_16 p,
.et_pb_text_20 p,
.et_pb_text_24 p,
.et_pb_text_28 p,
.et_pb_text_32 p,
.et_pb_text_36 p,
.et_pb_text_40 p,
.et_pb_text_44 p,
.et_pb_text_48 p,
.et_pb_text_52 p {
	line-height: 1.55em !important;
	padding-bottom: 0.45em !important;
}

.et_pb_text_16 p:last-child,
.et_pb_text_20 p:last-child,
.et_pb_text_24 p:last-child,
.et_pb_text_28 p:last-child,
.et_pb_text_32 p:last-child,
.et_pb_text_36 p:last-child,
.et_pb_text_40 p:last-child,
.et_pb_text_44 p:last-child,
.et_pb_text_48 p:last-child,
.et_pb_text_52 p:last-child {
	padding-bottom: 0 !important;
}

/* "RENTAL INCLUDES" heading inside those same cards */
.et_pb_text_16 p strong,
.et_pb_text_20 p strong,
.et_pb_text_24 p strong,
.et_pb_text_28 p strong,
.et_pb_text_32 p strong,
.et_pb_text_36 p strong,
.et_pb_text_40 p strong,
.et_pb_text_44 p strong,
.et_pb_text_48 p strong,
.et_pb_text_52 p strong {
	line-height: 1.5em;
}

/* Price / tier headings that were saved at 0.1em - 0.5em line-height */
.et_pb_text_33,
.et_pb_text_37,
.et_pb_text_41,
.et_pb_text_45,
.et_pb_text_49 {
	line-height: 1.4em !important;
}

.et_pb_text_33 h1,
.et_pb_text_37 h1,
.et_pb_text_41 h1,
.et_pb_text_45 h1,
.et_pb_text_49 h1 {
	line-height: 1.15em !important;
}

/* Package card bullets read better left-aligned once they can wrap */
.et_pb_text_16 .et_pb_text_inner p,
.et_pb_text_20 .et_pb_text_inner p,
.et_pb_text_24 .et_pb_text_inner p,
.et_pb_text_28 .et_pb_text_inner p,
.et_pb_text_32 .et_pb_text_inner p,
.et_pb_text_36 .et_pb_text_inner p,
.et_pb_text_40 .et_pb_text_inner p,
.et_pb_text_44 .et_pb_text_inner p,
.et_pb_text_48 .et_pb_text_inner p,
.et_pb_text_52 .et_pb_text_inner p {
	text-indent: 0;
}

/* Package cards used to end at three different heights, leaving the
   BOOK NOW buttons on three different lines. tools/site-polish.js tags
   those rows so they can be laid out as a flex row. */
@media (min-width: 981px) {
	.sxp-pricing-row {
		display: flex !important;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.sxp-pricing-row > .et_pb_column {
		display: flex !important;
		flex-direction: column;
		float: none !important;
	}

	.sxp-pricing-row > .et_pb_column > .et_pb_button_module_wrapper {
		margin-top: auto !important;
	}
}

/* ==================================================================
   2. Event-type cards (rebuilt from the Slider Revolution module)
   ================================================================== */

.sxp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px 10px;
	box-sizing: border-box;
}

.sxp-cards * {
	box-sizing: border-box;
}

.sxp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	border-radius: var(--sxp-radius-lg);
	overflow: hidden;
	isolation: isolate;
	background: #2a1b3d;
	box-shadow: var(--sxp-shadow);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.sxp-card:hover,
.sxp-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 22px 40px -16px rgba(28, 23, 79, 0.45);
}

.sxp-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	margin: 0;
}

.sxp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.sxp-card__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(16, 10, 28, 0.12) 0%,
		rgba(16, 10, 28, 0.28) 55%,
		rgba(16, 10, 28, 0.55) 100%
	);
}

/* The dark backing is anchored to the copy block rather than to a
   percentage of the card, so short and tall cards stay equally legible
   and neither one buries its photo. */
.sxp-card__body {
	position: relative;
	z-index: 2;
	padding: 64px 22px 24px;
	color: #fff;
	text-align: center;
	background: linear-gradient(
		180deg,
		rgba(16, 10, 28, 0) 0%,
		rgba(16, 10, 28, 0.86) 34%,
		rgba(16, 10, 28, 0.95) 100%
	);
}

.sxp-card__title {
	margin: 0 0 10px;
	font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.2px;
	text-transform: uppercase;
	color: #fff;
	padding: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.sxp-card__title a {
	color: #fff;
	text-decoration: none;
}

.sxp-card__title a:hover,
.sxp-card__title a:focus {
	text-decoration: underline;
}

.sxp-card__text {
	margin: 0 0 18px;
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	padding: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sxp-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.sxp-btn {
	display: inline-block;
	min-height: 44px;
	padding: 12px 24px;
	border-radius: 4px;
	background-image: var(--sxp-grad);
	color: #fff !important;
	font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: var(--sxp-shadow-brand);
	transition: letter-spacing 300ms ease, transform 200ms ease;
	white-space: nowrap;
}

.sxp-btn:hover,
.sxp-btn:focus {
	letter-spacing: 2.6px;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
}

.sxp-btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Solid, not outlined: an outlined button disappears whenever the photo
   behind the card happens to be pale. */
.sxp-btn--ghost {
	background-image: none;
	background-color: #fff;
	color: var(--sxp-ink) !important;
	box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.7);
}

.sxp-btn--ghost:hover,
.sxp-btn--ghost:focus {
	background-color: var(--sxp-ink);
	color: #fff !important;
}

.sxp-btn--ghost:focus-visible {
	outline-color: var(--sxp-ink);
}

@media (max-width: 1024px) {
	.sxp-cards {
		gap: 20px;
	}

	.sxp-card {
		min-height: 380px;
	}

	.sxp-card__title {
		font-size: 21px;
	}
}

@media (max-width: 880px) {
	.sxp-cards {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		gap: 22px;
	}

	.sxp-card {
		min-height: 400px;
	}
}

@media (max-width: 420px) {
	.sxp-cards {
		padding-left: 16px;
		padding-right: 16px;
	}

	.sxp-card__body {
		padding: 56px 16px 20px;
	}

	.sxp-card__title {
		font-size: 20px;
	}

	.sxp-card__text {
		font-size: 14px;
	}

	.sxp-btn {
		padding: 12px 18px;
		letter-spacing: 1.4px;
		font-size: 12px;
	}
}

/* ==================================================================
   3. Slider Revolution heroes - hold the end state
   The intro is patched to run once (see tools/site-polish.js). These
   rules stop the module collapsing to zero height while it settles and
   keep the headline legible on top of the photo.
   ================================================================== */

sr7-module {
	max-width: 100%;
}

/* Keep the pink/purple wash from swallowing the white headline */
sr7-module h1.sr7-layer,
sr7-module sr7-txt.sr7-layer {
	text-rendering: optimizeLegibility;
}

/* ==================================================================
   4. Instagram feed - hide the admin-only error block
   The static mirror has no Instagram token, so the plugin prints a
   "visible to WordPress admins" error where the grid used to be.
   ================================================================== */

#sb_instagram .sb_instagram_error,
#sb_instagram .sbi_no_js_error,
.sbi_no_js_error,
#sbi_mod_error,
.sb_instagram_error,
#sb_instagram #sbi_load .sbi_load_btn,
.sbi_error {
	display: none !important;
}

/* Without the grid the section had a huge empty gap under the heading */
#sb_instagram {
	min-height: 0 !important;
	padding-bottom: 0 !important;
}

/* ==================================================================
   5. Tap targets and spacing
   ================================================================== */

/* Footer social icons were 25px tall; WCAG-comfortable is >= 44px */
#main-footer .et-social-icons li a.icon,
#main-footer .et-social-icon a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

#main-footer .et-social-icons li {
	margin-left: 4px;
}

/* Instagram "Follow Us!" button was a 24px-tall target */
#sb_instagram .sbi_follow_btn a,
.sbi_follow_btn a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px !important;
	border-radius: 4px;
}

/* Divi buttons: keep a comfortable target on phones */
@media (max-width: 767px) {
	.et_pb_button {
		min-height: 44px;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}
}

/* The masonry hover caption printed the raw file slug on two colliding
   lines. Give it room and centre it. */
.dnxtmg-msnary-heading {
	line-height: 1.35 !important;
	margin: 0 0 4px !important;
	font-size: 15px !important;
	padding: 0 8px !important;
	word-break: break-word;
}

/* ==================================================================
   6. Consistent radius / shadow on the recurring card-like modules
   ================================================================== */

.et_pb_image .et_pb_image_wrap img,
.dnxtmg-msnary-item img,
.dsm-image img {
	border-radius: 8px;
}

.et_pb_section .et_pb_button {
	border-radius: 4px;
}

/* ==================================================================
   7. Contact form section - stop the fields running edge to edge on
   small screens.
   ================================================================== */

@media (max-width: 480px) {
	.forminator-ui.forminator-custom-form {
		padding-left: 4px;
		padding-right: 4px;
	}
}

/* ==================================================================
   8. Never let anything force a horizontal scrollbar
   ================================================================== */

html,
body {
	overflow-x: hidden;
}

img,
video,
iframe {
	max-width: 100%;
}
