/*
 * TikToker.love Homepage V2
 */

body.tkl-home-v2 {
	background: #fff !important;
	color: #0a0a0a;
}


/* =========================================================
   Reset SANGO homepage presentation
   ========================================================= */

body.tkl-home-v2 .container {
	background: #fff !important;
}

body.tkl-home-v2 #content.tkl-home-v2__content {
	background: #fff;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100%;
}

body.tkl-home-v2 .tkl-home-v2__main {
	float: none !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.tkl-home-shell {
	margin: 0 auto;
	max-width: 1240px;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.tkl-home-hero {
	background: #ffffff;
	padding: 34px 0 28px;
}

.tkl-home-hero__inner {
	border-top: 1px solid #dedfe5;
	border-bottom: 1px solid #dedfe5;
	display: grid;
	grid-template-columns:
		minmax(0, 1.05fr)
		minmax(340px, .95fr);
	min-height: 470px;
}

.tkl-home-hero__copy {
	background: #ffffff;
	border-right: 1px solid #dedfe5;
	border-radius: 0 !important;
	color: #080808;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 470px;
	overflow: hidden;
	padding: clamp(42px, 6vw, 76px);
	position: relative;
}

.tkl-home-hero__copy::before {
	background: #4c5fd4;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 0;
	width: 58%;
}

.tkl-home-hero__copy::after {
	background: #fbd56a;
	content: "";
	height: 7px;
	position: absolute;
	right: 0;
	top: 0;
	width: 42%;
}

.tkl-home-hero__eyebrow {
	color: #4c5fd4;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .18em;
	margin: 0 0 20px;
}

.tkl-home-hero__title {
	color: #080808;
	font-size: clamp(42px, 5.5vw, 72px);
	font-weight: 900;
	letter-spacing: -.06em;
	line-height: 1.08;
	margin: 0;
}

.tkl-home-hero__title span {
	color: #4c5fd4;
	position: relative;
}

.tkl-home-hero__description {
	color: #555860;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.85;
	margin: 26px 0 0;
}


/* Search */

.tkl-home-search {
	align-items: center;
	background: #ffffff;
	border: 2px solid #050505;
	border-radius: 0 !important;
	display: flex;
	gap: 10px;
	margin-top: 32px;
	max-width: 590px;
	padding: 6px 7px 6px 16px;
}

.tkl-home-search svg {
	color: #4c5fd4;
	flex: 0 0 21px;
}

.tkl-home-search input {
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #111111 !important;
	flex: 1;
	font-size: 15px;
	height: 46px;
	margin: 0 !important;
	min-width: 0;
	outline: none !important;
	padding: 0 !important;
}

.tkl-home-search input::placeholder {
	color: #85868d;
}

.tkl-home-search button {
	background: #fbd56a;
	border: 0;
	border-left: 2px solid #050505;
	border-radius: 0 !important;
	color: #050505;
	cursor: pointer;
	font-size: 14px;
	font-weight: 900;
	height: 46px;
	padding: 0 22px;
	white-space: nowrap;
}

.tkl-home-search button:hover {
	background: #4c5fd4;
	color: #ffffff;
}


/* Reserved Hero Illustration Area */

.tkl-home-hero__visual {
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#ffffff 62%,
			#faf8ff 62%,
			#faf8ff 100%
		);
	border-radius: 0 !important;
	min-height: 470px;
	position: relative;
}

.tkl-home-hero__visual::before {
	background: #fbd56a;
	content: "";
	height: 34%;
	position: absolute;
	right: 0;
	top: 0;
	width: 10px;
}

.tkl-home-hero__visual::after {
	background: #4c5fd4;
	bottom: 0;
	content: "";
	height: 10px;
	left: 0;
	position: absolute;
	width: 38%;
}



/* =========================================================
   Sections
   ========================================================= */

.tkl-home-section {
	padding: 78px 0;
}

.tkl-home-section + .tkl-home-section {
	border-top: 1px solid #e8e9ee;
}

.tkl-home-section-heading {
	align-items: end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: 34px;
}

.tkl-home-section-heading__eyebrow {
	color: #4c5fd4;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .18em;
	margin: 0 0 8px;
}

.tkl-home-section-heading h2 {
	color: #080808;
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: 1.15;
	margin: 0;
}

.tkl-home-section-heading > p {
	color: #74767e;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	margin: 0;
	max-width: 360px;
	text-align: right;
}


/* =========================================================
   Purpose
   ========================================================= */

.tkl-home-purpose {
	background: #fff;
}

.tkl-home-purpose__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tkl-purpose-card {
	align-items: center;
	background: #fff;
	border: 1.5px solid #dfe1e7;
	border-radius: 0;
	color: #111 !important;
	display: flex;
	gap: 11px;
	min-height: 78px;
	padding: 15px 15px;
	text-decoration: none !important;
	transition:
		border-color .16s ease,
		box-shadow .16s ease,
		transform .16s ease;
}

.tkl-purpose-card:hover {
	border-color: #050505;
	box-shadow: 5px 5px 0 #fbd56a;
	color: #050505 !important;
	transform: translate(-2px, -2px);
}

.tkl-purpose-card__emoji {
	font-size: 25px;
	flex: 0 0 auto;
}

.tkl-purpose-card__label {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.tkl-purpose-card__arrow {
	color: #4c5fd4;
	font-size: 17px;
	font-weight: 900;
	margin-left: auto;
}

.tkl-purpose-ad {
	background: #fff;
	border: 1px solid #dedfe5;
	border-radius: 0 !important;
	display: block;
	min-height: 78px;
	overflow: hidden;
}

.tkl-purpose-ad img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.tkl-purpose-ad picture {
	display: block;
	height: 100%;
	width: 100%;
}

.tkl-purpose-ad:hover {
	border-color: #050505;
}


/* =========================================================
   Article cards
   ========================================================= */

.tkl-home-featured {
	background: #f6f7fb;
}

.tkl-home-featured__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tkl-home-latest__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tkl-home-card {
	min-width: 0;
}

.tkl-home-card__link {
	background: #fff;
	border: 1px solid #e1e2e7;
	border-radius: 0;
	color: #111 !important;
	display: block;
	height: 100%;
	overflow: hidden;
	text-decoration: none !important;
	transition:
		box-shadow .18s ease,
		transform .18s ease,
		border-color .18s ease;
}

.tkl-home-card__link:hover {
	border-color: #050505;
	box-shadow: 7px 7px 0 #4c5fd4;
	color: #111 !important;
	transform: translate(-3px, -3px);
}

.tkl-home-card__media {
	aspect-ratio: 4 / 3;
	background: #101010;
	overflow: hidden;
	position: relative;
}

.tkl-home-card__image {
	display: block;
	height: 100% !important;
	object-fit: cover;
	transition: transform .3s ease;
	width: 100%;
}

.tkl-home-card__link:hover .tkl-home-card__image {
	transform: scale(1.025);
}

.tkl-home-card__fallback {
	align-items: center;
	background:
		repeating-linear-gradient(
			125deg,
			#050505 0,
			#050505 36px,
			#4c5fd4 37px,
			#4c5fd4 52px,
			#050505 53px,
			#050505 78px,
			#fbd56a 79px,
			#fbd56a 91px,
			#050505 92px,
			#050505 121px
		);
	color: #fff;
	display: flex;
	font-size: 42px;
	font-weight: 900;
	height: 100%;
	justify-content: center;
	letter-spacing: -.08em;
	width: 100%;
}

.tkl-home-card__fallback span {
	background: #050505;
	border: 4px solid #fff;
	padding: 9px 13px;
}

.tkl-home-card__badge {
	background: #050505;
	border-radius: 0;
	bottom: 12px;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	left: 12px;
	letter-spacing: .04em;
	max-width: calc(100% - 24px);
	padding: 7px 9px;
	position: absolute;
}

.tkl-home-card__body {
	padding: 18px 18px 20px;
}

.tkl-home-card__date {
	color: #92939a;
	font-size: 11px;
	font-weight: 700;
	margin: 0 0 10px;
}

.tkl-home-card__title {
	color: #101010 !important;
	display: -webkit-box;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -.015em;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tkl-home-card__more {
	align-items: center;
	color: #4c5fd4;
	display: flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	margin-top: 18px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 1020px) {

	.tkl-home-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
	}

	.tkl-home-purpose__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tkl-home-latest__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 768px) {

	.tkl-home-shell {
		padding-left: 16px;
		padding-right: 16px;
	}

	.tkl-home-hero {
		padding: 16px 0 12px;
	}

	.tkl-home-hero__inner {
		display: block;
	}

	.tkl-home-hero__copy {
		border-radius: 0;
		min-height: 0;
		padding: 42px 24px 34px;
	}

	.tkl-home-hero__copy::after {
		height: 5px;
		left: 24px;
		width: 74px;
	}

	.tkl-home-hero__eyebrow {
		font-size: 10px;
		margin-bottom: 14px;
	}

	.tkl-home-hero__title {
		font-size: clamp(38px, 11vw, 54px);
	}

	.tkl-home-hero__description {
		font-size: 14px;
		margin-top: 20px;
	}

	.tkl-home-desktop-only {
		display: none;
	}

	.tkl-home-search {
		margin-top: 25px;
		padding-left: 13px;
	}

	.tkl-home-search input {
		font-size: 14px;
	}

	.tkl-home-search button {
		padding-left: 15px;
		padding-right: 15px;
	}

	.tkl-home-hero__visual {
		border-radius: 0;
		min-height: 180px;
	}


@media screen and (max-width: 768px) {

	.tkl-home-hero__inner {
		border-left: 1px solid #dedfe5;
		border-right: 1px solid #dedfe5;
		display: block;
		min-height: 0;
	}

	.tkl-home-hero__copy {
		border-right: 0;
		min-height: 0;
		padding: 42px 24px 36px;
	}

	.tkl-home-hero__copy::before {
		height: 5px;
		width: 60%;
	}

	.tkl-home-hero__copy::after {
		height: 5px;
		width: 40%;
	}

	.tkl-home-hero__eyebrow {
		font-size: 10px;
		margin-bottom: 14px;
	}

	.tkl-home-hero__title {
		font-size: clamp(38px, 11vw, 54px);
	}

	.tkl-home-hero__description {
		font-size: 14px;
		margin-top: 20px;
	}

	.tkl-home-search {
		margin-top: 25px;
	}

	/*
	 * Hero illustration is pending.
	 * Do not show a huge empty box on mobile.
	 */
	.tkl-home-hero__visual {
		display: none;
	}
}


	.tkl-home-section {
		padding: 54px 0;
	}

	.tkl-home-section-heading {
		align-items: start;
		display: block;
		margin-bottom: 26px;
	}

	.tkl-home-section-heading > p {
		margin-top: 10px;
		max-width: none;
		text-align: left;
	}

	.tkl-home-purpose__grid {
		gap: 9px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tkl-purpose-card {
		gap: 8px;
		min-height: 67px;
		padding: 11px;
	}

	.tkl-purpose-card__emoji {
		font-size: 21px;
	}

	.tkl-purpose-card__label {
		font-size: 12px;
	}

	.tkl-purpose-card__arrow {
		font-size: 14px;
	}

	.tkl-home-featured__grid,
	.tkl-home-latest__grid {
		gap: 13px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tkl-home-card__body {
		padding: 13px 13px 15px;
	}

	.tkl-home-card__date {
		font-size: 10px;
		margin-bottom: 7px;
	}

	.tkl-home-card__title {
		font-size: 13px;
		line-height: 1.5;
		-webkit-line-clamp: 3;
	}

	.tkl-home-card__more {
		display: none;
	}

	.tkl-home-card__badge {
		bottom: 8px;
		font-size: 9px;
		left: 8px;
		padding: 5px 7px;
	}

}


/* =========================================================
   Narrow mobile
   ========================================================= */

@media screen and (max-width: 370px) {

	.tkl-home-purpose__grid,
	.tkl-home-featured__grid,
	.tkl-home-latest__grid {
		grid-template-columns: 1fr;
	}

	.tkl-home-card__media {
		aspect-ratio: 16 / 9;
	}
}


/* =========================================================
   Accessibility
   ========================================================= */

.tkl-home-v2 a:focus-visible,
.tkl-home-v2 button:focus-visible,
.tkl-home-v2 input:focus-visible {
	outline: 3px solid #fbd56a !important;
	outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {

	.tkl-home-v2 *,
	.tkl-home-v2 *::before,
	.tkl-home-v2 *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}


@media screen and (max-width: 768px) {

	.tkl-purpose-ad {
		display: block;
		grid-column: auto;
		min-height: 78px;
	}
}


/* =========================================================
   HERO SEARCH — hard-edge containment
   ========================================================= */

.tkl-home-search {
	border: 2px solid #050505 !important;
	border-radius: 0 !important;
	box-sizing: border-box;
	overflow: visible;
}

.tkl-home-search button {
	border-radius: 0 !important;
}

@media screen and (max-width: 768px) {

	.tkl-home-search {
		background: #fff !important;
		border: 2px solid #050505 !important;
		border-radius: 0 !important;
		box-sizing: border-box;
		display: flex;
		margin-top: 16px;
		max-width: none;
		padding: 6px 7px 6px 12px;
		width: 100%;
	}

	.tkl-home-search input {
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		min-width: 0;
	}

	.tkl-home-search button {
		background: #fbd56a !important;
		border: 0 !important;
		border-left: 2px solid #050505 !important;
		border-radius: 0 !important;
		color: #050505 !important;
		flex: 0 0 auto;
	}
}
