/**
 * Homepage: A Place For You banner
 */

.ciywr-place {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	min-height: clamp(360px, 48vw, 520px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: #1a1a1a;
	background-image: var(--ciywr-place-bg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: var(--ciywr-font-sans, "Source Sans 3", Verdana, Geneva, sans-serif);
	box-sizing: border-box;
	isolation: isolate;
}

.ciywr-place *,
.ciywr-place *::before,
.ciywr-place *::after {
	box-sizing: border-box;
}

.ciywr-place__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.62) 45%,
		rgba(0, 0, 0, 0.72) 100%
	);
}

.ciywr-place__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 72px 28px;
	text-align: center;
	color: #ffffff;
}

.ciywr-place__eyebrow {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--ciywr-font-serif, "Source Serif 4", Georgia, serif);
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: 400;
	font-style: italic;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.ciywr-place__title {
	margin: 0 0 32px;
	padding: 0;
	font-family: inherit;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #ffffff;
	text-shadow: 0 3px 22px rgba(0, 0, 0, 0.5);
}

.ciywr-place__title span {
	display: block;
}

.ciywr-place__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border: 0;
	background: #ffffff;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, gap 0.18s ease;
}

.ciywr-place__cta:hover,
.ciywr-place__cta:focus {
	background: #c43c30;
	color: #ffffff;
	transform: translateY(-1px);
	gap: 14px;
	outline: none;
}

.ciywr-place__cta:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.ciywr-place__cta-arrow {
	display: inline-block;
	transition: transform 0.18s ease;
}

.ciywr-place__cta:hover .ciywr-place__cta-arrow,
.ciywr-place__cta:focus .ciywr-place__cta-arrow {
	transform: translateX(3px);
}

/* Hide original Elementor section if filter misses */
.elementor-element-7e5412dd {
	display: none !important;
}

@media (max-width: 767px) {
	.ciywr-place {
		min-height: 340px;
	}

	.ciywr-place__inner {
		padding: 56px 20px;
	}

	.ciywr-place__title {
		margin-bottom: 26px;
		font-size: clamp(28px, 8vw, 36px);
	}

	.ciywr-place__cta {
		width: 100%;
		max-width: 320px;
		justify-content: center;
	}
}
