/* StayHere marketing homepage — body.wl-home-landing (see WooListings_Home::is_landing_page) */

body.wl-home-landing .hero-section,
body.wl-home-landing article .entry-header {
	display: none !important;
}

body.wl-home-landing #main > .ct-container,
body.wl-home-landing #main > .ct-container-full {
	padding-top: 0 !important;
	max-width: none;
}

body.wl-home-landing #main > [class*="ct-container"][data-vertical-spacing*="top"] {
	padding-top: 0 !important;
}

body.wl-home-landing article.page,
body.wl-home-landing article.post {
	margin-top: 0;
}

body.wl-home-landing .entry-content {
	overflow-x: clip;
	margin-top: 0;
	padding-top: 0;
}

body.wl-home-landing .entry-content > .wl-home-section--hero:first-child {
	margin-top: 0;
}

body.wl-home-landing .wl-home-section--hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wl-home-section {
	position: relative;
	isolation: isolate;
}

.wl-home-section--hero {
	padding: 0;
	margin: 0;
}

.wl-home-section--popular,
.wl-home-section--split,
.wl-home-section--why,
.wl-home-section--newsletter,
.wl-home-section--host,
.wl-home-section--posts,
.wl-home-section--browse {
	max-width: 1120px;
	margin-inline: auto;
	padding: 56px 20px;
}

.wl-home-section--popular .wl-dest,
.wl-home-section--posts .wl-home-posts,
.wl-home-section--browse .wl-home-browse,
.wl-home-section--why .wl-home-why,
.wl-home-section--host .wl-home-host {
	margin: 0;
}

.wl-home-section::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: 100vw;
	margin-left: -50vw;
	background: transparent;
}

.wl-home-section--why::before,
.wl-home-section--newsletter::before {
	background: #f6f7f8;
}

.wl-home-hero {
	position: relative;
	min-height: clamp(420px, 62vh, 640px);
	display: flex;
	align-items: stretch;
	color: #fff;
	background: #1d2327 center / cover no-repeat;
	background-image: var(--wl-home-hero-image, linear-gradient(135deg, #2f4f3f, #1d2327));
}

.wl-home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.35) 100%);
}

.wl-home-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 72px 20px 48px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}

.wl-home-hero__search {
	width: 100%;
	min-width: 0;
}

.wl-home-hero__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.wl-home-hero__subtitle {
	margin: 0;
	max-width: 34rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}

.wl-home-hero__search .wl-search.wl-search--hero {
	margin: 0;
	max-width: none;
	padding: 22px;
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.wl-home-hero__search .wl-search--hero .wl-search__label {
	color: #fff;
}

.wl-home-hero__search .wl-search--hero .wl-search__row--fields {
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 0.75fr);
}

.wl-home-why__heading,
.wl-home-posts__heading,
.wl-home-browse__heading {
	margin: 0 0 24px;
	text-align: center;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
}

.wl-home-why__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.wl-home-why__item {
	background: #fff;
	border: 1px solid rgba(29, 35, 39, 0.08);
	border-radius: 14px;
	padding: 20px 18px;
}

.wl-home-why__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.wl-home-why__text {
	margin: 0;
	color: #5c6658;
	line-height: 1.45;
	font-size: 0.95rem;
}

.wl-home-host__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 32px;
	border-radius: 18px;
	background: linear-gradient(135deg, #1d2327, #2f4f3f);
	color: #fff;
}

.wl-home-host__title {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.wl-home-host__text {
	margin: 0;
	max-width: 38rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.wl-home-host__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	background: #ffcd05;
	color: #1d2327;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.wl-home-host__button:hover,
.wl-home-host__button:focus {
	filter: brightness(0.96);
	color: #1d2327;
}

.wl-home-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.wl-home-posts__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(29, 35, 39, 0.08);
	color: inherit;
	text-decoration: none;
}

.wl-home-posts__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.wl-home-posts__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.wl-home-posts__title {
	font-weight: 700;
	line-height: 1.3;
}

.wl-home-posts__excerpt {
	color: #5c6658;
	font-size: 0.92rem;
	line-height: 1.45;
}

/* Photo-overlay guide cards (sidebar / editorial) */
.wl-home-posts--overlay .wl-home-posts__grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wl-home-posts__link--overlay {
	position: relative;
	display: block;
	min-height: 120px;
	border-radius: 12px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: #3d4a3a;
	border: none;
}

.wl-home-posts__img--overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wl-home-posts__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	font-weight: 700;
	opacity: 0.45;
	color: #fff;
}

.wl-home-posts__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	padding: 24px 12px 10px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	text-align: left;
}

.wl-home-posts--overlay .wl-home-posts__title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	transition: color 0.2s ease;
}

.wl-home-posts__link--overlay:hover .wl-home-posts__title,
.wl-home-posts__link--overlay:focus-visible .wl-home-posts__title {
	color: #fee389;
}

.wl-home-browse__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.wl-home-browse__col-title {
	margin: 0 0 12px;
	font-size: 1rem;
}

.wl-home-browse__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.wl-home-browse__list a {
	color: #1d2327;
	text-decoration: none;
}

.wl-home-browse__list a:hover,
.wl-home-browse__list a:focus {
	text-decoration: underline;
}

@media only screen and (max-width: 960px) {
	.wl-home-hero__inner {
		padding-top: 56px;
	}

	.wl-home-why__grid,
	.wl-home-posts__grid,
	.wl-home-browse__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 640px) {
	.wl-home-hero__search .wl-search--hero .wl-search__row--fields {
		grid-template-columns: 1fr;
	}

	.wl-home-section--popular,
	.wl-home-section--split,
	.wl-home-section--why,
	.wl-home-section--newsletter,
	.wl-home-section--host,
	.wl-home-section--posts,
	.wl-home-section--browse {
		padding: 40px 16px;
	}

	.wl-home-why__grid,
	.wl-home-posts__grid,
	.wl-home-browse__columns {
		grid-template-columns: 1fr;
	}

	.wl-home-host__card {
		padding: 22px 20px;
	}
}
