/* /youtube landing page. Self-contained so Avada's page styles do not have to
   be fought, and neutral enough to sit inside the site's header and footer. */

.ek-land {
	--ek-ink: #1c1c1c;
	--ek-muted: #6b6b6b;
	--ek-line: #e2ded7;
	--ek-accent: #8a6a3b;
	--ek-warm: #faf8f5;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 48px;
	color: var(--ek-ink);
	box-sizing: border-box;
}

.ek-land *,
.ek-land *::before,
.ek-land *::after { box-sizing: inherit; }

/* ---- Hero ---- */

/* Spacing is kept tight on purpose: the knives need to be reachable without a
   long scroll, so the hero and the Shorts row earn their vertical space. */
.ek-land__hero {
	padding: 28px 0 24px;
	border-bottom: 1px solid var(--ek-line);
	text-align: center;
}

.ek-land__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ek-accent);
	font-weight: 600;
}

.ek-land__title {
	margin: 0 0 16px;
	font-size: clamp( 28px, 4.5vw, 44px );
	line-height: 1.15;
	font-weight: 700;
}

/* The double-class selectors below are deliberate. Avada styles paragraphs with
   `.post-content p`, which outranks a single class and resets `margin: 0 auto`
   to `0`, leaving these blocks flush left inside a centered hero. */
.ek-land .ek-land__lede {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 18px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ek-muted);
}

.ek-land .ek-land__capture {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.ek-land .ek-land__eyebrow,
.ek-land .ek-land__title {
	margin-left: auto;
	margin-right: auto;
}

/* ---- Sections ---- */

.ek-land__section { padding: 30px 0 8px; }

/* For sections whose content is narrower than the page, so the heading lines up
   with the block below it instead of sitting off to the left. */
.ek-land__section--center { text-align: center; }

.ek-land .ek-land__section--center .ek-land__sub {
	margin-left: auto;
	margin-right: auto;
}

.ek-land__h2 {
	margin: 0 0 8px;
	font-size: clamp( 22px, 3vw, 30px );
	line-height: 1.2;
}

.ek-land__sub {
	margin: 0 0 18px;
	color: var(--ek-muted);
	font-size: 15.5px;
	line-height: 1.6;
	max-width: 640px;
}

.ek-land__empty {
	padding: 22px;
	background: var(--ek-warm);
	border: 1px solid var(--ek-line);
	border-radius: 4px;
	color: var(--ek-muted);
}

/* ---- Product grid ---- */

.ek-land__grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 210px, 1fr ) );
	gap: 22px;
}

.ek-land__card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--ek-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.ek-land__card:hover,
.ek-land__card:focus {
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.1 );
	transform: translateY( -2px );
}

.ek-land__card-img {
	aspect-ratio: 1 / 1;
	background: var(--ek-warm);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ek-land__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ek-land__card-body { padding: 14px 15px 16px; }

.ek-land__card-title {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600;
}

.ek-land__card-price {
	font-size: 15px;
	color: var(--ek-accent);
	font-weight: 700;
}

.ek-land__card-price del { opacity: 0.5; font-weight: 400; }
.ek-land__card-price ins { text-decoration: none; }

.ek-land__more { margin: 22px 0 0; }

.ek-land__more a {
	color: var(--ek-accent);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* ---- Video frames ---- */

.ek-land__videos {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 14px;
	/* Capped so four 9:16 tiles do not eat a whole screen of height and push
	   the products below the fold. */
	max-width: 700px;
	margin: 0 auto;
}

.ek-vid {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 1px solid var(--ek-line);
	border-radius: 5px;
	overflow: hidden;
	background: #14120f;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #fff;
}

.ek-vid--tall { aspect-ratio: 9 / 16; }
.ek-vid--wide { aspect-ratio: 16 / 9; }

.ek-vid__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ek-vid:hover .ek-vid__thumb,
.ek-vid:focus .ek-vid__thumb {
	transform: scale( 1.03 );
	opacity: 0.9;
}

.ek-vid__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 58px;
	height: 58px;
	margin: -29px 0 0 -29px;
	border-radius: 50%;
	background: rgba( 20, 18, 15, 0.7 );
	border: 2px solid rgba( 255, 255, 255, 0.9 );
	transition: background 0.2s ease;
}

/* Play triangle */
.ek-vid__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	transform: translate( -50%, -50% );
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}

.ek-vid:hover .ek-vid__play { background: var(--ek-accent); }

.ek-vid__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 12px 11px;
	font-size: 13.5px;
	line-height: 1.35;
	font-weight: 600;
	color: #fff;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.85 ), rgba( 0, 0, 0, 0 ) );
}

.ek-vid--playing { cursor: default; background: #000; }

.ek-vid__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ek-land .ek-land__gear-video {
	margin: 28px auto 0;
	max-width: 560px;
	text-align: center;
}

.ek-land .ek-land__gear-note {
	margin: 10px auto 0;
	max-width: 520px;
	font-size: 14px;
	color: var(--ek-muted);
	line-height: 1.55;
	text-align: center;
}

/* ---- About ---- */

.ek-land__about {
	margin: 44px 0 0;
	padding: 32px;
	background: var(--ek-warm);
	border-radius: 5px;
}

.ek-land__about p {
	max-width: 720px;
	font-size: 16px;
	line-height: 1.7;
	color: #3a3a3a;
}

.ek-land__about a { color: var(--ek-accent); font-weight: 600; }

/* ---- Amazon ---- */

.ek-land__links {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 240px, 1fr ) );
	gap: 14px;
}

.ek-land__link {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--ek-line);
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.ek-land__link:hover,
.ek-land__link:focus {
	border-color: var(--ek-accent);
	background: var(--ek-warm);
}

.ek-land__link-title {
	display: block;
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 4px;
}

.ek-land__link-title::after {
	content: " \2197";
	color: var(--ek-accent);
}

.ek-land__link-note {
	display: block;
	font-size: 13.5px;
	color: var(--ek-muted);
	line-height: 1.5;
}

/* Double class: Avada's `.post-content p` resets auto margins, which would
   drop this back to the left edge. */
.ek-land .ek-land__disclosure {
	margin: 22px auto 0;
	max-width: 560px;
	font-size: 12.5px;
	color: var(--ek-muted);
	line-height: 1.55;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.ek-land__card { transition: none; }
	.ek-land__card:hover { transform: none; }
}

@media (max-width: 900px) {
	/* On narrow screens a 2x2 grid of 9:16 tiles is about 480px tall, which
	   pushes the knives more than two screens down. A single swipeable row is
	   roughly half that, and the peeking third tile signals it scrolls. */
	.ek-land__videos {
		display: flex;
		max-width: none;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		scrollbar-width: thin;
	}

	.ek-land__videos .ek-vid {
		flex: 0 0 46%;
		scroll-snap-align: start;
	}
}

@media (max-width: 600px) {
	.ek-land__hero { padding: 32px 0 30px; }
	.ek-land__grid { grid-template-columns: repeat( auto-fill, minmax( 150px, 1fr ) ); gap: 14px; }
	.ek-land__about { padding: 24px 20px; }
	.ek-land__videos { gap: 12px; }
	.ek-vid__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
	.ek-vid__title { font-size: 12.5px; padding: 20px 9px 9px; }
}
