
.kfd {
	--kfd-cols: 3;
	--kfd-gap: 40px;
	--kfd-label-color: #5e5e5e;
	--kfd-panel-dur: 380ms;
	--kfd-sidebar-w: 230px;
	--kfd-sidebar-gap: 40px;

	--kfd-card-bg: transparent;
	--kfd-card-fg: inherit;
	--kfd-radius: 20px;
	--kfd-border: 1px solid rgba(0, 0, 0, 0.12);
	--kfd-placeholder-bg: rgba(0, 0, 0, 0.06);

	--kfd-pill-bg: rgba(0, 0, 0, 0.06);
	--kfd-pill-fg: inherit;
	--kfd-pill-radius: 999px;
	--kfd-pill-size: 16px;
	--kfd-ember: #ff9371;
	--kfd-obsidian: #1a1825;

	--kfd-btn-bg: #E2E2E8;
	--kfd-btn-fg: inherit;
	--kfd-btn-border: 1px solid transparent;
	--kfd-btn-radius: 999px;
	--kfd-btn-padding: 10px 22px;
	--kfd-btn-active-bg: #6061ff;
	--kfd-btn-active-fg: #fff;

	--kfd-img-ratio: 4 / 2;
	--kfd-zoom: 1.06;
	--kfd-video-icon: 48px;

	--kfd-dur: 240ms;
	--kfd-ease: ease;

	color: var(--kfd-card-fg);
}

.kfd--cols-3 {
	--kfd-cols: 3;
}

.kfd--cols-4 {
	--kfd-cols: 4;
}

.kfd *,
.kfd *::before,
.kfd *::after {
	box-sizing: border-box;
}

.kfd__layout {
	display: grid;
	grid-template-columns: 0 minmax(0, 1fr);
	column-gap: 0;
	row-gap: 0;
	align-items: start;
	transition: grid-template-columns 0.3s ease, column-gap 0.3s ease;
}

.kfd.filter-open .kfd__layout {
	grid-template-columns: var(--kfd-sidebar-w) minmax(0, 1fr);
	column-gap: var(--kfd-sidebar-gap);
}

.kfd__main {
	grid-column: 2;
	min-width: 0;
}

.kfd__filter-inner {
	grid-column: 1;
}

.kfd__notice {
	padding: 16px;
	border: var(--kfd-border);
	border-radius: var(--kfd-radius);
}

.kfd__filter-open {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.kfd__filter-open svg {
	display: block;
}

.kfd__filter-open svg rect {
	transition: fill 0.3s ease;
}

.kfd__filter-open:hover svg rect {
	fill: #5F61FF;
}

.kfd.filter-open .kfd__filter-open {
	display: none;
	opacity: 0;
}

.kfd__filter-inner {
	position: sticky;
	top: calc(var(--header-nav-bar-height, 80px) + 40px);
	width: 100%;
	min-width: 0;
	padding: 25px 0;
	border-radius: 10px;
	border: 0;
	isolation: isolate;
	background: var(--kfd-drawer-bg, #fff);
	box-shadow: 0px 4px 25px 0px #1A182526;
	opacity: 0;
	visibility: hidden;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.kfd__filter-inner::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(#5f61ff 0%, #5f61ff68 50px, #ffffff00 200px);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.kfd.filter-open .kfd__topbar:not(:has(.kfd__topbar-btn)) {
	display: none;
}

.kfd.filter-open .kfd__filter-inner {
	padding: 25px 20px;
	opacity: 1;
	visibility: visible;
	max-height: 2000px;
}

.kfd__filter-head {
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
}

.kfd__filter-head > svg {
	margin-right: 8px;
}

.kfd__filter-close {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.kfd__filter-close:hover {
	opacity: 0.7;
}

.kfd__filter-close svg {
	display: block;
}

.kfd__topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
	margin: 0 0 var(--kfd-gap);
	padding: 0;
	list-style: none;
}

.kfd__topbar-item {
	margin: 0;
}

.kfd__topbar-btn {
	padding: var(--kfd-btn-padding);
	border: var(--kfd-btn-border);
	border-radius: var(--kfd-btn-radius);
	background: var(--kfd-btn-bg);
	color: var(--kfd-btn-fg);
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color var(--kfd-dur) var(--kfd-ease),
		color var(--kfd-dur) var(--kfd-ease);
}

.kfd__topbar-btn:hover {
	background: var(--kfd-btn-active-bg);
	color: var(--kfd-btn-active-fg);
}

.kfd__topbar-btn.is-active {
	background: var(--kfd-btn-active-bg);
	color: var(--kfd-btn-active-fg);
}

.kfd__empty {
	margin: var(--kfd-gap) 0 0;
}

.kfd__more-wrap {
	display: flex;
	justify-content: center;
	margin-top: calc(var(--kfd-gap) * 1.5);
}

.kfd__more-wrap[hidden] {
	display: none;
}

.kfd__more-wrap .kfd__more {
	position: relative;
	display: grid;
	padding: var(--kfd-btn-padding);
	border: var(--kfd-btn-border);
	border-radius: var(--kfd-btn-radius);
	background: var(--kfd-btn-bg);
	color: var(--kfd-btn-fg);
	font: inherit;
	line-height: 1.2;
	cursor: pointer;

	align-items: center;
	padding: 18px 24px;

	background: rgba(255, 255, 255, 0.1);
	border: 1px solid #1A1825;
	border-radius: 49px;

	transition: all 0.3s ease;
}

.kfd__more-wrap .kfd__more-label,
.kfd__more-wrap .kfd__more-loading {
	grid-area: 1 / 1;
	text-align: center;
}

.kfd__more-wrap .kfd__more-loading {
	visibility: hidden;
}

.kfd__more-wrap .kfd__more.is-loading {
	cursor: progress;
}

.kfd__more-wrap .kfd__more.is-loading .kfd__more-label {
	visibility: hidden;
}

.kfd__more-wrap .kfd__more.is-loading .kfd__more-loading {
	visibility: visible;
}

.kfd__more-wrap .kfd__more.is-error {
	border-color: #d6455d;
}

.kfd__more-wrap .kfd__more:hover,
.kfd__more-wrap .kfd__more:focus-visible {
	background: #1A1825;
	color: #fff;
}

.kfd__filter-inner .searchandfilter ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kfd__filter-inner .searchandfilter > ul {
	margin-top: 20px;
	gap: 10px;
}

.kfd__filter-inner .searchandfilter ul > li > h4 {
	font-weight: 600;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 8%;
	text-transform: uppercase;
}

.kfd__filter-inner .searchandfilter .sf-label-checkbox {
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
}

.kfd__filter-inner .searchandfilter .sf-input-checkbox:not(:checked) {
	appearance: none;
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	margin-left: 0;
	border: 0;
	border-radius: 2px;
	background-color: #1A182526;
	cursor: pointer;
}

.kfd__filter-inner .searchandfilter .sf-input-checkbox:checked {
	width: 12px;
	height: 12px;
	margin-left: 0;
	border-radius: 2px;
	accent-color: #5F61FF;
}

.kfd__filter-inner .searchandfilter li[data-sf-field-input-type="checkbox"] li {
	display: flex;
	align-items: center;
	gap: 3px;
}

.kfd__filter-inner .searchandfilter .sf-field-search input[type="text"] {
	width: 100%;
	padding: 15px;
	padding-right: 40px;
	border: 0;
	border-radius: 80px;
	background-color: transparent;
	box-shadow:
		0px 4px 20px 0px #00000017,
		inset 1px 1px 0px 0px #fff,
		inset -1px -1px 0px 0px #fff,
		inset -6px -6px 10px 3px #ffffff55;
	font-size: 14px;
	line-height: 150%;
}

.kfd__filter-inner .searchandfilter .sf-field-search input[type="text"]:focus {
	outline-color: #5F61FF;
}

.kfd__filter-inner .searchandfilter .sf-field-search label {
	position: relative;
	display: flex;
	align-items: center;
}

.kfd__filter-inner .searchandfilter .sf-field-search label::after {
	content: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.49547 0C3.36472 0 0 3.36472 0 7.49547C0 11.6262 3.36472 14.9909 7.49547 14.9909C9.29177 14.9909 10.9414 14.3531 12.2343 13.2942L16.7096 17.7695C16.7787 17.8415 16.8614 17.8989 16.953 17.9385C17.0445 17.978 17.143 17.9989 17.2427 18C17.3425 18.001 17.4414 17.9821 17.5337 17.9444C17.626 17.9067 17.7099 17.851 17.7804 17.7804C17.851 17.7099 17.9067 17.626 17.9444 17.5337C17.9821 17.4414 18.001 17.3425 18 17.2427C17.9989 17.143 17.978 17.0445 17.9385 16.953C17.8989 16.8614 17.8415 16.7787 17.7695 16.7096L13.2942 12.2343C14.3531 10.9414 14.9909 9.29177 14.9909 7.49547C14.9909 3.36472 11.6262 0 7.49547 0ZM7.49547 1.49909C10.8161 1.49909 13.4919 4.17489 13.4919 7.49547C13.4919 10.8161 10.8161 13.4919 7.49547 13.4919C4.17489 13.4919 1.49909 10.8161 1.49909 7.49547C1.49909 4.17489 4.17489 1.49909 7.49547 1.49909Z" fill="%231A1825"/></svg>');
	position: absolute;
	right: 16px;
	top: 16px;
}

.kfd__filter-inner .searchandfilter input[type="text"],
.kfd__filter-inner .searchandfilter input[type="search"],
.kfd__filter-inner .searchandfilter select {
	max-width: 100%;
}

.kfd__filter-inner .searchandfilter .sf-field-reset a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: 49px;
	background: #1A1825;
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	transition: background-color 0.2s ease;
}

.kfd__filter-inner .searchandfilter .sf-field-reset a:hover {
	background: #5F61FF;
}

.kfd__filter-inner .search-filter-scroll-loading {
	display: none;
}

.kfd {
	--kfd-gap: 20px;
	--kfd-indigo: #5f61ff;
	--kfd-deep: #2d2f8f;
	--kfd-ink: #1a1a1a;
	--kfd-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--kfd-move: 500ms;
}

.kfd__grid {
	display: grid;
	grid-template-columns: repeat(var(--kfd-cols), minmax(0, 1fr));
	gap: var(--kfd-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kfd__item {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
	scroll-margin-top: 100px;
	transition: opacity var(--kfd-dur) var(--kfd-ease);
}

.kfd__item.is-entering {
	opacity: 0;
}

.kfd__card {
	display: flex;
	flex: 1;
	min-width: 0;
}

.kfd__card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--kfd-deep);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 40px 0 #19191926;
	transition: transform 0.3s var(--kfd-ease), box-shadow 0.3s var(--kfd-ease);
}

.kfd__card-link:focus-visible {
	outline: 2px solid var(--kfd-indigo);
	outline-offset: 3px;
}

.kfd__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0a0b2e;
}

.kfd__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--kfd-ease);
}

.kfd__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(45, 47, 143, 0) 55%, #2d2f8f 100%);
	pointer-events: none;
}

.kfd__play,
.kfd__play-btn {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none"><circle cx="40" cy="40" r="39.5" stroke="url(%23g)"/><path fill="white" d="M56 40 32 56V24z"/><defs><linearGradient id="g" x1="0" y1="0" x2="80" y2="80" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset=".3" stop-color="white" stop-opacity="0"/><stop offset=".7" stop-color="white" stop-opacity="0"/><stop offset="1" stop-color="white"/></linearGradient></defs></svg>') center / 100% no-repeat;
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s var(--kfd-ease), background-color 0.3s var(--kfd-ease);
}

.kfd__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: clamp(50px, 37.57px + 3.31vw, 80px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
}

.kfd__badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 1;
	padding: 4px 12px;
	border-radius: 80px;
	background: #ffffff2e;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 0 0 1px #ffffff40;
}

.kfd__content {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	/* padding: 14px; */
	background-color: var(--kfd-deep);
}

.kfd__content::before {
	content: "";
	position: absolute;
	inset: -30px;
	background: var(--kfd-bg, none) center / cover no-repeat;
	transform: scaleX(-1);
	filter: blur(14px) brightness(0.8);
}

.kfd__content::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, #191919 0%, rgba(25, 25, 25, 0) 100%),
		rgba(45, 47, 143, 0.6);
	opacity: 0.85;
	pointer-events: none;
}

.kfd__inner {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 70px;
	padding: 20px 25px;
	border-radius: 10px;
	background: #ffffff1a;
	border: 1px solid #0a0b5a14;
	box-shadow: 0 24px 26px 0 #0a0b5a14;
}

.kfd__inner::before,
.kfd__cta-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(to bottom right, #fff8f870 0%, #bfbfbf57 62%, #fefefe99 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.kfd__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	color: #fff;
	font-size: var(--wp--preset--font-size--x-24, 24px);
	font-weight: 500;
	line-height: 1.2;
}

@media (hover: hover) {
	.kfd__card-link:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 44px 0 #2d2f8f40;
	}

	.kfd__card-link:hover .kfd__cover {
		transform: scale(1.05);
	}

	.kfd__card-link:hover .kfd__play {
		transform: translate(-50%, -50%) scale(1.1);
		background-color: rgba(255, 255, 255, 0.2);
	}
}

.kfd__item.is-open {
	display: block;
	grid-column: 1 / -1;
}

.kfd__item.is-open > .kfd__card {
	display: none;
}

.kfd__item.is-returning > .kfd__card .kfd__card-link {
	animation: kfd-return var(--kfd-move) var(--kfd-ease);
}

@keyframes kfd-return {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
}

@keyframes kfd-fade {
	from {
		opacity: 0;
	}
}

.kfd__stage {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: var(--kfd-deep);
	box-shadow: 0 6px 26px 0 #0a0b5a14;
	isolation: isolate;
	color: #fff;
}

.kfd__stage.is-fading {
	animation: kfd-fade var(--kfd-move) var(--kfd-ease);
}

.kfd__stage.is-growing {
	transition: clip-path var(--kfd-move) var(--kfd-ease);
}

.kfd__stage.is-growing .kfd__cta {
	animation: kfd-fade var(--kfd-move) var(--kfd-ease) backwards;
}

.kfd__item.is-fs .kfd__stage {
	isolation: auto;
}

.kfd__player {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0a0b2e;
	overflow: hidden;
}

.kfd__player:not(.is-playing) {
	cursor: pointer;
}

.kfd__stage-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--kfd-ease), opacity 0.35s var(--kfd-ease);
}

.kfd__player:hover .kfd__stage-cover {
	transform: scale(1.05);
}

.kfd__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, #0a0b2ecc 100%);
	pointer-events: none;
}

.kfd__play-btn {
	position: absolute;
	left: 50%;
	top: 50%;
	width: clamp(50px, 37.57px + 3.31vw, 80px);
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.kfd__play-btn:hover,
.kfd__player:hover .kfd__play-btn {
	transform: translate(-50%, -50%) scale(1.1);
	background-color: rgba(255, 255, 255, 0.2);
}

.kfd__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 20px;
	color: #fff;
	pointer-events: none;
}

.kfd__caption .kfd__badge {
	position: static;
}

.kfd__stage-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-24, 24px);
	font-weight: 600;
	line-height: 1.15;
}

.kfd__stage-desc {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.35;
	opacity: 0.9;
}

.kfd__player.is-playing .kfd__stage-cover,
.kfd__player.is-playing .kfd__scrim,
.kfd__player.is-playing .kfd__play-btn,
.kfd__player.is-playing .kfd__caption {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.kfd__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
	animation: kfd-fade 0.4s var(--kfd-ease);
}

.kfd__expand,
.kfd__fs-close,
.kfd__collapse {
	position: absolute;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #0a0b2eb3;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s var(--kfd-ease), transform 0.25s var(--kfd-ease);
}

.kfd__expand {
	right: 12px;
	bottom: 12px;
}

.kfd__fs-close {
	top: 16px;
	right: 16px;
}

.kfd__collapse {
	display: flex;
	top: 16px;
	right: 16px;
}

.kfd__expand:hover,
.kfd__fs-close:hover,
.kfd__collapse:hover,
.kfd__expand:focus-visible,
.kfd__fs-close:focus-visible,
.kfd__collapse:focus-visible {
	background: var(--kfd-indigo);
}

.kfd__player.is-playing[data-provider="storylane"]:not(.is-expanded) .kfd__expand,
.kfd__player.is-expanded .kfd__fs-close {
	display: flex;
}

.kfd__item.is-fs .kfd__collapse {
	display: none;
}

.kfd__player-ph {
	aspect-ratio: 16 / 9;
}

.kfd__player.is-expanded {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	aspect-ratio: auto;
	cursor: default;
	background: #0a0b2ee6;
}

.kfd__player.is-expanded .kfd__frame {
	inset: max(24px, 4vh) max(16px, 4vw);
	width: calc(100% - 2 * max(16px, 4vw));
	height: calc(100% - 2 * max(24px, 4vh));
	border-radius: 16px;
}

.kfd__cta {
	position: relative;
	overflow: hidden;
	/* padding: 14px; */
	background-color: var(--kfd-deep);
}

.kfd__cta::before {
	content: "";
	position: absolute;
	inset: -30px;
	background: var(--kfd-cta-bg, none) center / cover no-repeat;
	transform: scaleX(-1);
	filter: blur(14px) brightness(0.8);
}

.kfd__cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #191919 0%, rgba(25, 25, 25, 0) 100%);
	opacity: 0.8;
	pointer-events: none;
}

.kfd__cta-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	padding: 22px 25px;
	border-radius: 10px;
	background: #ffffff1a;
	border: 1px solid #0a0b5a14;
	box-shadow: 0 24px 26px 0 #0a0b5a14;
	color: #fff;
}

.kfd__cta-heading {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-32, 32px);
	font-weight: 400;
	line-height: 1.1;
}

.kfd__cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.kfd__cta-buttons .wp-block-acf-kf-button {
	padding: 0;
}

.kfd__cta-buttons .kf-button__link {
	padding: 18px 24px;
}

.kfd__cta-buttons .wp-block-acf-kf-button.is-style-fill {
	background-color: #fff;
	color: var(--kfd-ink);
}

.kfd__cta-buttons .wp-block-acf-kf-button.is-style-fill:hover {
	background-color: var(--kfd-indigo);
	color: #fff;
}

.kfd__cta-buttons .wp-block-acf-kf-button.is-style-glass {
	color: #fff;
}

@media (max-width: 1024px) {
	.kfd {
		--kfd-cols: 2;
	}
}

@media (max-width: 767px) {
	.kfd__main {
		grid-column: 1;
	}

	.kfd__layout,
	.kfd.filter-open .kfd__layout {
		grid-template-columns: 1fr;
		column-gap: 0;
		transition: none;
	}

	.kfd.filter-open .kfd__filter-open {
		display: inline-block;
		opacity: 1;
	}

	.kfd__filter-inner {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
		max-height: 100vh;
		overflow-y: auto;
		z-index: 9999;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-100%);
		transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	}

	.kfd.filter-open .kfd__filter-inner {
		position: fixed;
		top: 0;
		width: calc(100vw - 40px);
		max-height: calc(100vh - 40px);
		margin: 20px;
		padding: 25px 20px;
		background: var(--kfd-drawer-bg, #fff);
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		z-index: 10000;
	}
}

@media (max-width: 640px) {
	.kfd {
		--kfd-cols: 1;
		--kfd-gap: 20px;
	}

	.kfd__media {
		aspect-ratio: 350 / 225;
	}

	.kfd__inner {
		min-height: 0;
		padding: 16px 20px;
	}

	.kfd__title {
		font-size: 18px;
	}

	.kfd__topbar {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}

	.kfd__topbar-btn {
		white-space: nowrap;
	}

	.kfd__caption {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px;
	}

	.kfd__caption-text {
		padding-right: 96px;
	}

	.kfd__caption .kfd__badge {
		position: absolute;
		right: 16px;
		bottom: 16px;
	}

	.kfd__cta-inner {
		flex-direction: column;
		text-align: center;
	}

	.kfd__cta-buttons {
		align-self: stretch;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kfd *,
	.kfd *::before {
		transition: none !important;
		animation: none !important;
	}
}
