:root {
	--kc-bg: #fbf6ef;
	--kc-surface: #fffdf9;
	--kc-surface-strong: #fff7ea;
	--kc-border: #e8d9c1;
	--kc-text: #2d2119;
	--kc-muted: #6d5b4c;
	--kc-accent: #b65b36;
	--kc-accent-dark: #8e3f22;
	--kc-highlight: #f3c271;
	--kc-shadow: 0 20px 45px rgba(80, 50, 24, 0.1);
	--kc-radius: 24px;
}

body.single-kc_cocktail,
body.post-type-archive-kc_cocktail,
body.tax-kc_ingredient,
body.tax-kc_flavor {
	background:
		radial-gradient(circle at top left, rgba(243, 194, 113, 0.22), transparent 30%),
		radial-gradient(circle at top right, rgba(182, 91, 54, 0.12), transparent 22%),
		var(--kc-bg);
}

.kc-shell {
	max-width: 1320px;
	margin: 0 auto;
	padding: 48px 20px 72px;
	color: var(--kc-text);
	font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

.kc-shell,
.kc-shell * {
	box-sizing: border-box;
}

.kc-shell a {
	color: var(--kc-accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.kc-title,
.kc-section h2,
.kc-content-block h2,
.kc-filter-panel h2,
.kc-filter-group h3,
.kc-card h3 {
	font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	letter-spacing: -0.02em;
}

.kc-single,
.kc-archive {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.kc-single-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	gap: 40px;
	align-items: start;
}

.kc-single-hero__content,
.kc-single-sections,
.kc-section,
.kc-content-block,
.kc-archive__results,
#kc-results {
	min-width: 0;
}

.kc-single-image,
.kc-card__media img {
	width: 100%;
	display: block;
	border-radius: 26px;
	object-fit: cover;
	box-shadow: 0 16px 32px rgba(74, 45, 20, 0.12);
}

.kc-single-hero__media {
	position: sticky;
	top: 32px;
}

.kc-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 0.95rem;
	color: var(--kc-muted);
	margin-bottom: 14px;
}

.kc-breadcrumbs__sep {
	opacity: 0.55;
}

.kc-title {
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1;
	margin: 0 0 14px;
}

.kc-title-block,
.kc-card__title-block {
	display: grid;
	gap: 10px;
}

.kc-title-block {
	margin-bottom: 14px;
}

.kc-card__title-block {
	margin-bottom: 12px;
}

.kc-title-block .kc-title {
	margin-bottom: 0;
}

.kc-intro {
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--kc-muted);
	margin: 0 0 20px;
	max-width: 60ch;
}

.kc-jump-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

.kc-jump-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border: 1px solid rgba(182, 91, 54, 0.16);
	border-radius: 999px;
	background: var(--kc-surface-strong);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.kc-meta-list {
	margin: 0;
	padding: 0;
}

.kc-meta-list__row {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(232, 217, 193, 0.8);
	align-items: baseline;
}

.kc-meta-list__row:last-child {
	border-bottom: 0;
}

.kc-meta-list dt {
	font-weight: 700;
}

.kc-meta-list dd {
	margin: 0;
	color: var(--kc-muted);
	line-height: 1.6;
}

.kc-content-block,
.kc-section,
.kc-filter-panel,
.kc-review-summary,
.kc-review,
.comment-respond,
.kc-card {
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
}

.kc-content-block {
	margin-top: 24px;
	padding: 24px;
	scroll-margin-top: 24px;
}

.kc-section h2 {
	margin: 0 0 16px;
}

.kc-section-headline {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
}

.kc-section-side-metas {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.kc-section-side-meta {
	color: var(--kc-muted);
	font-size: 0.96rem;
	line-height: 1.4;
	white-space: nowrap;
}

.kc-ingredients,
.kc-steps {
	margin: 16px 0 0;
	padding-left: 22px;
	line-height: 1.8;
}

.kc-ingredients__amount {
	font-weight: 700;
	color: var(--kc-accent-dark);
}

.kc-single-sections {
	margin-top: 34px;
	display: grid;
	gap: 24px;
}

.kc-section-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.kc-section {
	padding: 28px;
}

.kc-section p {
	line-height: 1.85;
	color: var(--kc-muted);
	overflow-wrap: anywhere;
}

.kc-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.kc-card-grid--similar {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kc-card-grid--results {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kc-card-grid__full {
	grid-column: 1 / -1;
}

.kc-card {
	overflow: hidden;
	min-height: 100%;
}

.kc-card__media {
	display: block;
	padding: 12px 12px 0;
}

.kc-card__body {
	padding: 16px 18px 20px;
}

.kc-card h3 {
	font-size: 1.4rem;
	margin: 0;
}

.kc-card p {
	margin: 0 0 14px;
	color: var(--kc-muted);
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.kc-card__chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.kc-card__chips span,
.kc-filter-choice span {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--kc-surface-strong);
	border: 1px solid rgba(182, 91, 54, 0.16);
	font-size: 0.92rem;
	color: var(--kc-text);
}

.kc-card__chips span {
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding: 7px 8px;
	font-size: 0.82rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kc-card--placeholder {
	visibility: hidden;
	pointer-events: none;
}

.kc-archive__header {
	margin-bottom: 24px;
}

.kc-archive__lead {
	max-width: 64ch;
	color: var(--kc-muted);
	line-height: 1.7;
}

.kc-archive__layout {
	display: flex;
	gap: 28px;
	align-items: start;
	position: relative;
	width: 100%;
}

.kc-archive__layout > * {
	min-width: 0;
}

.kc-archive__results {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	justify-self: stretch;
}

.kc-archive__results > * {
	width: 100%;
	min-width: 0;
}

.kc-archive__sidebar {
	position: sticky;
	top: 32px;
	z-index: 20;
	flex: 0 0 320px;
	width: 320px;
	max-width: 320px;
}

.kc-filter-backdrop {
	display: none;
}

.kc-filter-panel {
	padding: 22px;
	background: linear-gradient(180deg, rgba(255, 247, 234, 0.95), rgba(255, 253, 249, 0.98));
}

.kc-filter-panel__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--kc-border);
}

.kc-filter-panel__head h2 {
	margin: 0;
	font-size: 1.5rem;
}

.kc-filter-panel__head p {
	margin: 0;
	color: var(--kc-muted);
	line-height: 1.5;
	white-space: nowrap;
}

.kc-filter-close {
	display: none;
	border: 0;
	background: transparent;
	color: var(--kc-accent-dark);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.kc-filter-group + .kc-filter-group {
	margin-top: 20px;
}

.kc-filter-group h3,
.kc-filter-label {
	display: block;
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 700;
}

.kc-filter-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.kc-filter-choices--hidden {
	margin-top: 10px;
}

.kc-filter-choices--hidden.is-collapsed,
.kc-filter-choices--hidden[hidden] {
	display: none !important;
}

.kc-filter-choice {
	position: relative;
}

.kc-filter-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.kc-filter-choice input:checked + span {
	background: linear-gradient(135deg, rgba(182, 91, 54, 0.15), rgba(243, 194, 113, 0.25));
	border-color: rgba(182, 91, 54, 0.4);
	color: var(--kc-accent-dark);
}

.kc-filter-more {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	appearance: none;
	-webkit-appearance: none;
	color: var(--kc-accent-dark);
	font: inherit;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.4;
	box-shadow: none;
	cursor: pointer;
}

.kc-filter-more:hover,
.kc-filter-more:focus-visible,
.kc-filter-more:active {
	background: transparent;
	color: var(--kc-accent);
	box-shadow: none;
}

.kc-select-wrap {
	position: relative;
}

.kc-select-wrap::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid rgba(142, 63, 34, 0.6);
	border-bottom: 2px solid rgba(142, 63, 34, 0.6);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.kc-filter-panel select,
.comment-respond input:not([type="submit"]),
.comment-respond textarea {
	width: 100%;
	border: 1px solid var(--kc-border);
	border-radius: 14px;
	background: #fffdf9;
	color: var(--kc-text);
	font: inherit;
	display: block;
}

.kc-filter-panel select {
	width: 100%;
	border: 1px solid var(--kc-border);
	border-radius: 14px;
	padding: 11px 40px 11px 14px;
	background: #fffdf9;
	color: var(--kc-text);
	font: inherit;
	font-size: 0.98rem;
	line-height: 1.25;
	min-height: 50px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	display: block;
}

.comment-respond input:not([type="submit"]),
.comment-respond textarea {
	padding: 13px 14px;
	font-size: 1rem;
	line-height: 1.45;
}

.comment-respond input:not([type="submit"]) {
	min-height: 52px;
}

.comment-respond textarea {
	min-height: 160px;
	resize: vertical;
}

.kc-filter-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.kc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--kc-accent), var(--kc-accent-dark));
	color: #fff;
	cursor: pointer;
	font-weight: 700;
}

.kc-button--ghost {
	background: transparent;
	border: 1px solid rgba(182, 91, 54, 0.25);
	color: var(--kc-accent-dark);
}

.kc-results-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 0;
}

.kc-mobile-filter-toggle {
	display: none;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid rgba(182, 91, 54, 0.25);
	background: rgba(255, 253, 249, 0.9);
	color: var(--kc-accent-dark);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.kc-empty-state {
	padding: 28px;
	border-radius: var(--kc-radius);
	background: rgba(255, 255, 255, 0.75);
	border: 1px dashed rgba(182, 91, 54, 0.25);
	color: var(--kc-muted);
	width: 100%;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.kc-results-empty {
	display: block;
	width: 100%;
	min-width: 0;
}

.kc-reviews {
	display: grid;
	gap: 18px;
}

.kc-review-summary,
.kc-review,
.comment-respond {
	padding: 22px;
}

.kc-review-summary {
	display: flex;
	align-items: center;
	gap: 18px;
}

.kc-review-summary__score {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: var(--kc-accent-dark);
}

.kc-review-summary__meta p {
	margin: 8px 0 0;
	color: var(--kc-muted);
}

.kc-stars {
	color: #f2a531;
	letter-spacing: 0.14em;
	font-size: 1.2rem;
}

.kc-stars--small {
	font-size: 1rem;
	margin: 10px 0;
}

.kc-rating-widget {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.kc-rating-widget--compact {
	gap: 8px;
}

.kc-rating-widget__stars {
	position: relative;
	display: inline-block;
	font-size: 1.28rem;
	line-height: 1;
	letter-spacing: 0.14em;
	padding-right: 0.14em;
}

.kc-rating-widget--compact .kc-rating-widget__stars {
	font-size: 1.02rem;
	letter-spacing: 0.11em;
	padding-right: 0.11em;
}

.kc-rating-widget__stars-base,
.kc-rating-widget__stars-fill {
	display: block;
	white-space: nowrap;
}

.kc-rating-widget__stars-base {
	color: rgba(182, 91, 54, 0.2);
}

.kc-rating-widget__stars-fill {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	color: #f2a531;
	pointer-events: none;
}

.kc-rating-widget__actions {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kc-rating-widget__button {
	position: relative;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.kc-rating-widget__button:focus-visible {
	outline: 2px solid rgba(182, 91, 54, 0.42);
	outline-offset: 2px;
	border-radius: 6px;
}

.kc-rating-widget__button.is-selected::after {
	content: "";
	position: absolute;
	left: 28%;
	right: 28%;
	bottom: -6px;
	height: 2px;
	border-radius: 999px;
	background: var(--kc-accent);
}

.kc-rating-widget__meta {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: var(--kc-muted);
	font-size: 0.95rem;
	line-height: 1.3;
	white-space: nowrap;
}

.kc-rating-widget--compact .kc-rating-widget__meta {
	font-size: 0.82rem;
}

.kc-rating-widget__average {
	font-weight: 700;
	color: var(--kc-text);
}

.kc-rating-widget__count {
	color: var(--kc-muted);
}

.kc-review-list {
	display: grid;
	gap: 16px;
}

.kc-review__header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	font-size: 0.95rem;
}

.kc-review__body {
	color: var(--kc-muted);
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.kc-form-title {
	margin-top: 0;
}

.comment-form-kc-rating-note {
	margin-top: 14px;
	color: var(--kc-muted);
	line-height: 1.6;
}

.comment-respond label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.comment-form-cookies-consent input {
	width: auto;
	margin-top: 5px;
}

#kc-results {
	width: 100%;
	min-width: 0;
	display: block;
	flex: 1 1 auto;
}

.kc-card-grid--results {
	width: 100%;
	min-width: 0;
	align-content: start;
}

.kc-card-grid--results > * {
	min-width: 0;
}

@media (max-width: 980px) {
	.kc-single-hero,
	.kc-archive__layout {
		display: block;
	}

	.kc-single-hero__media {
		position: static;
	}

	.kc-filter-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(45, 33, 25, 0.28);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.22s ease;
		z-index: 1090;
	}

	.kc-archive__sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		flex: none;
		width: min(84vw, 360px);
		max-width: 100%;
		transform: translateX(-104%);
		transition: transform 0.24s ease;
		z-index: 1100;
		overflow-y: auto;
		padding: 16px 0 16px 16px;
	}

	body.kc-filter-open .kc-archive__sidebar {
		transform: translateX(0);
	}

	body.kc-filter-open .kc-filter-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.kc-filter-close,
	.kc-mobile-filter-toggle {
		display: inline-flex;
	}

	.kc-results-toolbar {
		justify-content: flex-end;
		margin-bottom: 18px;
	}

	.kc-card-grid--results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kc-section-pair {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 780px) {
	.kc-card-grid--results,
	.kc-card-grid--similar {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.kc-card--placeholder {
		display: none;
	}

	.kc-card h3 {
		font-size: 1.15rem;
	}

	.kc-card__body {
		padding: 14px;
	}

	.kc-rating-widget__meta {
		font-size: 0.88rem;
	}
}

@media (max-width: 680px) {
	.kc-shell {
		padding: 24px 14px 44px;
	}

	.kc-title {
		font-size: 2.2rem;
	}

	.kc-filter-actions,
	.kc-review-summary,
	.kc-review__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.kc-section-headline {
		align-items: flex-start;
	}

	.kc-button {
		width: 100%;
	}

	.kc-card__chips span {
		font-size: 0.78rem;
		padding: 7px 6px;
	}

	.kc-rating-widget {
		gap: 8px;
	}
}
