/**
 * GC Revamp Core: reusable editorial landing pages.
 */

body.gc-landing-page-active {
	--gc-ink: #17221c;
	--gc-soft-black: #20241f;
	--gc-porcelain: #fffdf8;
	--gc-ivory: #f8f4ec;
	--gc-mist: #edf0e9;
	--gc-line: #d9d8cf;
	--gc-muted: #676d66;
	--gc-leaf: #718466;
	--gc-leaf-light: #c8d2bc;
	--gc-font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--gc-font-heading: "EB Garamond", Garamond, Georgia, serif;
	background: var(--gc-porcelain);
}

body.gc-landing-page-active .wd-page-content.main-page-wrapper {
	padding-top: 0;
}

body.gc-landing-page-active
	.wd-page-content.main-page-wrapper
	> .wd-page-title.page-title {
	display: none !important;
}

body.gc-landing-page-active .wd-content-layout,
body.gc-landing-page-active .wd-content-area,
body.gc-landing-page-active .site-content,
body.gc-landing-page-active article.page,
body.gc-landing-page-active article.page > .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.gc-landing-page-v1,
.gc-landing-page-v1 * {
	box-sizing: border-box;
}

.gc-landing-page-v1 {
	--gc-commerce-image-surface: #f8f4ec;
	width: 100%;
	max-width: 100%;
	overflow: clip;
	background: var(--gc-porcelain);
	color: var(--gc-ink);
	font-family: var(--gc-font-body);
}

.gc-landing-page-v1__inner {
	width: min(100% - 48px, 1240px);
	margin-inline: auto;
}

.gc-landing-page-v1__hero {
	padding: clamp(72px, 9vw, 132px) 0 clamp(64px, 8vw, 112px);
	background:
		linear-gradient(135deg, rgba(200, 210, 188, 0.42), transparent 48%),
		var(--gc-ivory);
}

.gc-landing-page-v1__hero-inner {
	max-width: 900px;
}

.gc-landing-page-v1__eyebrow {
	margin: 0 0 16px;
	color: var(--gc-leaf);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.gc-landing-page-v1 h1,
.gc-landing-page-v1 h2 {
	margin: 0;
	color: var(--gc-ink);
	font-family: var(--gc-font-heading);
	font-weight: 500;
	letter-spacing: -0.025em;
}

.gc-landing-page-v1 h1 {
	max-width: 780px;
	font-size: clamp(3.15rem, 7vw, 6.3rem);
	line-height: 0.96;
}

.gc-landing-page-v1 h2 {
	font-size: clamp(2.2rem, 4vw, 3.75rem);
	line-height: 1.02;
}

.gc-landing-page-v1__intro {
	max-width: 660px;
	margin: 24px 0 0;
	color: var(--gc-muted);
	font-size: clamp(1rem, 1.7vw, 1.16rem);
	line-height: 1.75;
}

.gc-landing-page-v1__section {
	padding: clamp(64px, 8vw, 112px) 0;
}

.gc-landing-page-v1__section:nth-of-type(even) {
	background: var(--gc-ivory);
}

.gc-landing-page-v1__section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: clamp(28px, 4vw, 48px);
	gap: 24px;
}

.gc-landing-page-v1__card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-landing-page-v1__card-grid > li,
.gc-landing-page-v1__card {
	min-width: 0;
	height: 100%;
}

.gc-landing-page-v1__card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gc-line);
	border-radius: 8px;
	background: var(--gc-porcelain);
	overflow: hidden;
}

.gc-landing-page-v1__card-link {
	display: flex;
	flex: 1 1 auto;
	min-height: 245px;
	flex-direction: column;
	padding: clamp(26px, 3.5vw, 42px);
	color: var(--gc-ink);
	text-decoration: none;
	transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.gc-landing-page-v1__card-link:hover {
	background: var(--gc-mist);
	color: var(--gc-ink);
	transform: translateY(-2px);
}

.gc-landing-page-v1__card-title {
	display: block;
	font-family: var(--gc-font-heading);
	font-size: clamp(1.75rem, 2.6vw, 2.45rem);
	font-weight: 500;
	line-height: 1.06;
}

.gc-landing-page-v1__card-copy {
	display: block;
	margin-top: 16px;
	color: var(--gc-muted);
	font-size: 0.96rem;
	line-height: 1.65;
}

.gc-landing-page-v1__card-action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 32px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gc-landing-page-v1__card-action > span {
	color: var(--gc-leaf);
	font-size: 1.05rem;
}

.gc-landing-page-v1__child-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 18px 24px 24px;
	border-top: 1px solid var(--gc-line);
	list-style: none;
}

.gc-landing-page-v1__child-links a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid var(--gc-line);
	border-radius: 999px;
	color: var(--gc-soft-black);
	font-size: 0.78rem;
	line-height: 1.3;
	text-decoration: none;
}

.gc-landing-page-v1__child-links a:hover {
	border-color: var(--gc-leaf);
	color: var(--gc-ink);
}

.gc-landing-page-v1__products .gc-product-row {
	width: 100%;
	min-width: 0;
}

.gc-landing-page-v1__products .woocommerce-pagination {
	margin-top: 44px;
}

.gc-landing-page-v1__products .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.gc-landing-page-v1__products .woocommerce-pagination .page-numbers li {
	border: 0 !important;
}

.gc-landing-page-v1__products .woocommerce-pagination a,
.gc-landing-page-v1__products .woocommerce-pagination span {
	display: inline-flex !important;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gc-line);
	border-radius: 4px;
	background: var(--gc-porcelain) !important;
	color: var(--gc-ink) !important;
}

.gc-landing-page-v1__products .woocommerce-pagination .current {
	border-color: var(--gc-ink);
	background: var(--gc-ink) !important;
	color: var(--gc-porcelain) !important;
}

.gc-landing-page-v1 a:focus-visible {
	outline: 3px solid var(--gc-leaf);
	outline-offset: 4px;
}

@media (max-width: 900px) {
	.gc-landing-page-v1__card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.gc-landing-page-v1__inner {
		width: min(100% - 32px, 1240px);
	}

	.gc-landing-page-v1__hero {
		padding-block: 64px;
	}

	.gc-landing-page-v1 h1 {
		font-size: clamp(2.75rem, 15vw, 4.1rem);
	}

	.gc-landing-page-v1__card-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.gc-landing-page-v1__card-link {
		min-height: 220px;
		padding: 26px;
	}

	.gc-landing-page-v1__section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-landing-page-v1 *,
	.gc-landing-page-v1 *::before,
	.gc-landing-page-v1 *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.gc-setup-shell-v1__section {
	padding: clamp(68px, 10vw, 132px) 0;
	background: var(--gc-landing-porcelain, #f8f5ef);
}

.gc-setup-shell-v1__inner {
	max-width: 760px;
	text-align: center;
}

.gc-setup-shell-v1__inner h1 {
	margin: 0 0 22px;
	color: var(--gc-landing-ink, #191919);
	font-family: "EB Garamond", Georgia, serif;
	font-size: clamp(42px, 7vw, 74px);
	font-weight: 500;
	line-height: 0.98;
}

.gc-setup-shell-v1__inner > p:not(.gc-landing-page-v1__eyebrow) {
	max-width: 620px;
	margin: 0 auto 26px;
	color: var(--gc-landing-muted, #5f625d);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.7;
}

.gc-setup-shell-v1__inner .gc-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 11px 24px;
	border: 1px solid var(--gc-ink);
	border-radius: 4px;
	background: var(--gc-ink);
	color: var(--gc-porcelain);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.gc-setup-shell-v1__inner .gc-button:hover {
	border-color: var(--gc-leaf);
	background: var(--gc-leaf);
	color: var(--gc-porcelain);
}
