/*
 * Kahel front-end overrides.
 * Layout bindings theme.json / blocks cannot express cleanly.
 * Values come from theme.json presets & custom tokens.
 */

/* Shared fruit brand mark */
.kahel-brandline a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.kahel-brandline a::before {
	content: "";
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50% 45% 48% 52%;
	background: var(--wp--preset--color--orange);
	box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.08);
	background-image: radial-gradient(
		circle at 78% 12%,
		var(--wp--preset--color--leaf) 0 3.5px,
		transparent 4px
	);
}

/* Header */
.kahel-header {
	padding-top: var(--wp--custom--header--padding-y);
	padding-bottom: var(--wp--custom--header--padding-y);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.kahel-header-bar {
	gap: var(--wp--preset--spacing--50);
}

.kahel-header-brand a {
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: var(--wp--custom--letter-spacing--brand);
}

.kahel-header-brand a::before {
	transition: transform var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease);
}

.kahel-header-brand a:hover::before {
	transform: scale(1.08) rotate(-6deg);
}

.kahel-header-actions {
	gap: var(--wp--custom--header--actions-gap);
}

.kahel-header-actions .wp-block-navigation__container {
	gap: var(--wp--custom--header--nav-gap);
}

.kahel-header-cta .wp-block-button__link {
	padding: var(--wp--custom--header--cta-padding-y) var(--wp--custom--header--cta-padding-x);
	font-weight: 800;
	box-shadow: var(--wp--preset--shadow--button);
}

/* Footer */
.kahel-footer {
	padding-top: var(--wp--custom--footer--padding-top);
	padding-bottom: var(--wp--custom--footer--padding-bottom);
}

.kahel-footer a:where(:not(.wp-element-button)) {
	color: inherit;
	text-decoration: none;
}

.kahel-footer a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--orange);
}

.kahel-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(160px, 0.45fr));
	gap: var(--wp--custom--footer--top-gap);
	align-items: start;
	padding-bottom: var(--wp--custom--footer--top-padding-bottom);
	border-bottom: 1px solid var(--wp--preset--color--line-on-ink);
}

.kahel-footer-brand {
	max-width: var(--wp--custom--footer--brand-max);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
}

.kahel-footer-brandline a {
	gap: 12px;
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: -0.035em;
}

.kahel-footer-title {
	max-width: var(--wp--custom--footer--title-max);
	margin: 0;
	font-weight: var(--wp--custom--weight--heading);
	line-height: var(--wp--custom--line-height--section);
	letter-spacing: var(--wp--custom--letter-spacing--h-1);
}

.kahel-footer-copy {
	max-width: var(--wp--custom--footer--copy-max);
	margin: 0;
	line-height: var(--wp--custom--line-height--body);
}

.kahel-footer-cta .wp-block-button__link {
	min-height: var(--wp--custom--footer--cta-min-height);
	font-weight: var(--wp--custom--weight--strong);
	box-shadow: var(--wp--preset--shadow--button-lg);
}

.kahel-footer-nav {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}

.kahel-footer-nav .wp-block-heading {
	margin: 0;
}

.kahel-footer-nav .wp-block-navigation {
	font-weight: 700;
}

.kahel-footer-nav .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--30);
}

.kahel-footer-bottom {
	padding-top: var(--wp--preset--spacing--50);
	font-size: 0.84rem;
}

.kahel-footer-bottom p {
	margin: 0;
}

.kahel-footer-bottom .wp-block-navigation__container {
	gap: 18px;
}

@media (max-width: 900px) {
	.kahel-footer-top {
		grid-template-columns: 1fr 1fr;
	}

	.kahel-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.kahel-footer-top {
		grid-template-columns: 1fr;
	}

	.kahel-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Single */
.kahel-single-header {
	padding-top: var(--wp--custom--single--header-padding-top);
	padding-bottom: var(--wp--custom--single--header-padding-bottom);
}

.kahel-single-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: var(--wp--custom--letter-spacing--kicker);
	text-transform: uppercase;
}

.kahel-single-kicker::before {
	content: "";
	width: var(--wp--custom--single--kicker-rule);
	height: 3px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--orange);
}

.kahel-single-kicker .wp-block-post-terms__separator {
	margin: 0 0.15em;
}

.kahel-single-title {
	max-width: var(--wp--custom--single--title-max);
	margin: 0;
}

.kahel-single-deck {
	max-width: var(--wp--custom--single--deck-max);
	margin-top: 30px;
}

.kahel-single-deck .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.kahel-single-deck .wp-block-post-excerpt__more-text {
	display: none;
}

.kahel-single-meta {
	gap: 10px 28px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--wp--preset--color--line);
	font-weight: var(--wp--custom--weight--feature);
}

.kahel-single-meta .wp-block-post-author-name {
	color: var(--wp--preset--color--orange-deep);
}

.kahel-single-featured {
	min-height: var(--wp--custom--single--featured-min-height);
}

.kahel-single-featured img {
	width: 100%;
	height: 100%;
	min-height: var(--wp--custom--single--featured-min-height);
	object-fit: cover;
}

.kahel-single-content {
	margin-top: var(--wp--custom--single--content-margin-top);
}

.kahel-single-content > p:first-of-type::first-letter {
	float: left;
	margin: 8px 10px 0 0;
	color: var(--wp--preset--color--orange);
	font-size: var(--wp--custom--single--drop-cap-size);
	font-weight: var(--wp--custom--weight--strong);
	line-height: 0.72;
}

/* In-content heading scale (not hero/post-title sizes) */
.kahel-single-content h1,
.kahel-page-content h1 {
	max-width: none;
	margin: 2.2em 0 0.6em;
	font-size: var(--wp--preset--font-size--content);
	font-weight: var(--wp--custom--weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--content);
	line-height: var(--wp--custom--line-height--content);
}

.kahel-single-content h2,
.kahel-page-content h2 {
	margin: 2.5em 0 0.7em;
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: var(--wp--custom--weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--h-2);
	line-height: var(--wp--custom--line-height--heading);
}

.kahel-single-content h3,
.kahel-page-content h3 {
	margin: 2em 0 0.55em;
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: var(--wp--custom--weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--h-3);
	line-height: var(--wp--custom--line-height--heading);
}

.kahel-single-content h4,
.kahel-single-content h5,
.kahel-single-content h6,
.kahel-page-content h4,
.kahel-page-content h5,
.kahel-page-content h6 {
	margin: 1.75em 0 0.5em;
}

/* Classic HTML polish — theme.json block css uses :where(), so UA th/code win otherwise */
.kahel-single-content code,
.kahel-single-content kbd,
.kahel-single-content samp,
.kahel-page-content code,
.kahel-page-content kbd,
.kahel-page-content samp {
	padding: 0.12em 0.4em;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--cream);
	font-size: 0.92em;
}

.kahel-single-content pre,
.kahel-page-content pre {
	padding: 1.1rem 1.25rem;
	overflow-x: auto;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--cream);
}

.kahel-single-content pre code,
.kahel-page-content pre code {
	padding: 0;
	background: transparent;
}

.kahel-single-content hr:not(.is-style-dots),
.kahel-page-content hr:not(.is-style-dots) {
	border: 0;
	height: 1px;
	background: var(--wp--preset--color--line);
}

.kahel-single-content hr.is-style-dots,
.kahel-page-content hr.is-style-dots {
	border: 0;
	height: auto;
	background: none;
	line-height: 1;
	text-align: center;
	overflow: visible;
}

.kahel-single-content hr.is-style-dots::before,
.kahel-page-content hr.is-style-dots::before {
	color: var(--wp--preset--color--muted);
}

/* Classic [gallery] shortcode — block themes skip WP's default float styles. */
.gallery {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.5em;
}

.gallery-columns-1 {
	grid-template-columns: 1fr;
}

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

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

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

.gallery-columns-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, minmax(0, 1fr));
}

.gallery-item {
	margin: 0;
	text-align: center;
}

.gallery-icon {
	margin: 0;
}

.gallery-icon img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: var(--wp--custom--radius--default);
}

.gallery-caption {
	margin: 0.5em 0 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

@media (max-width: 600px) {
	.gallery-columns-3,
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6,
	.gallery-columns-7,
	.gallery-columns-8,
	.gallery-columns-9 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kahel-single-content mark,
.kahel-page-content mark {
	background: var(--wp--preset--color--apricot);
	color: var(--wp--preset--color--ink);
	padding: 0.05em 0.2em;
}

.kahel-single-content dl,
.kahel-page-content dl {
	margin: 1.5em 0;
}

.kahel-single-content dt,
.kahel-page-content dt {
	font-weight: 800;
	margin-top: 0.85em;
}

.kahel-single-content dd,
.kahel-page-content dd {
	margin: 0.35em 0 0;
	color: var(--wp--preset--color--muted);
}

.kahel-single-content .wp-block-table,
.kahel-single-content table,
.kahel-page-content .wp-block-table,
.kahel-page-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--custom--table--font-size);
}

.kahel-single-content .wp-block-table,
.kahel-page-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
}

.kahel-single-content .wp-block-table table,
.kahel-page-content .wp-block-table table {
	margin: 0;
	border: 0;
}

.kahel-single-content th,
.kahel-single-content td,
.kahel-page-content th,
.kahel-page-content td {
	padding: var(--wp--custom--table--cell-padding);
	border: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
}

.kahel-single-content thead th,
.kahel-single-content thead td,
.kahel-single-content th,
.kahel-page-content thead th,
.kahel-page-content thead td,
.kahel-page-content th {
	background: var(--wp--preset--color--cream);
	font-weight: 800;
}

.kahel-single-content > table,
.kahel-page-content > table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
}

.kahel-single-content > table th:first-child,
.kahel-single-content > table td:first-child,
.kahel-page-content > table th:first-child,
.kahel-page-content > table td:first-child {
	border-left: 0;
}

.kahel-single-content > table th:last-child,
.kahel-single-content > table td:last-child,
.kahel-page-content > table th:last-child,
.kahel-page-content > table td:last-child {
	border-right: 0;
}

.kahel-single-content > table tr:first-child th,
.kahel-single-content > table tr:first-child td,
.kahel-page-content > table tr:first-child th,
.kahel-page-content > table tr:first-child td {
	border-top: 0;
}

.kahel-single-content > table tr:last-child th,
.kahel-single-content > table tr:last-child td,
.kahel-page-content > table tr:last-child th,
.kahel-page-content > table tr:last-child td {
	border-bottom: 0;
}

.kahel-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 60px;
	padding-top: 28px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.kahel-single-tags a {
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	font-weight: 800;
	text-decoration: none;
}

.kahel-single-author {
	gap: var(--wp--preset--spacing--50);
	margin: var(--wp--preset--spacing--100) 0;
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--color--cream);
}

.kahel-single-author-avatar img {
	width: var(--wp--custom--single--author-avatar);
	height: var(--wp--custom--single--author-avatar);
	border-radius: 50%;
}

.kahel-single-comments {
	max-width: var(--wp--custom--single--comments-max);
	margin-inline: auto;
	padding: clamp(80px, 10vw, 130px) 0;
	border-top: 1px solid var(--wp--preset--color--line);
}

.kahel-single-comments-title {
	margin: 0 0 var(--wp--preset--spacing--70);
}

.kahel-single-comment {
	gap: var(--wp--preset--spacing--40);
	padding: 30px 0;
	border-top: 1px solid var(--wp--preset--color--line);
}

.kahel-single-comment > .wp-block-group {
	flex: 1 1 auto;
	min-width: 0;
}

/* Comment body markup must stay nested — not page-title scale. */
.wp-block-comment-content {
	min-width: 0;
	overflow-wrap: break-word;
}

.wp-block-comment-content > *:first-child {
	margin-top: 0;
}

.wp-block-comment-content h1,
.wp-block-comment-content h2,
.wp-block-comment-content h3,
.wp-block-comment-content h4,
.wp-block-comment-content h5,
.wp-block-comment-content h6 {
	margin: 1.1em 0 0.4em;
	font-family: inherit;
	font-weight: var(--wp--custom--weight--heading);
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.wp-block-comment-content h1 {
	font-size: 1.55em;
}

.wp-block-comment-content h2 {
	font-size: 1.35em;
}

.wp-block-comment-content h3 {
	font-size: 1.2em;
}

.wp-block-comment-content h4 {
	font-size: 1.1em;
}

.wp-block-comment-content h5,
.wp-block-comment-content h6 {
	font-size: 1em;
}

.wp-block-comment-content blockquote {
	margin: 1em 0;
	padding: 0.75em 0;
	border-top: 2px solid var(--wp--preset--color--orange);
	border-bottom: 2px solid var(--wp--preset--color--orange);
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.wp-block-comment-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 0.9rem 1rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--cream);
}

.wp-block-comment-content code,
.wp-block-comment-content kbd {
	padding: 0.1em 0.35em;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--cream);
	font-size: 0.92em;
}

.wp-block-comment-content pre code {
	padding: 0;
	background: transparent;
}

.wp-block-comment-content img,
.wp-block-comment-content video,
.wp-block-comment-content iframe {
	max-width: 100%;
	height: auto;
}

.wp-block-comment-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 0.92em;
}

.wp-block-comment-content th,
.wp-block-comment-content td {
	padding: 0.45em 0.6em;
	border: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
}

.kahel-single-comments .comment-reply-title,
.kahel-single-comments .comment-form {
	margin-top: var(--wp--preset--spacing--70);
}

.kahel-single-comments .comment-form label {
	display: block;
	margin-bottom: 8px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.kahel-single-comments .comment-form input[type="text"],
.kahel-single-comments .comment-form input[type="email"],
.kahel-single-comments .comment-form input[type="url"],
.kahel-single-comments .comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
}

.kahel-single-comments .comment-form textarea {
	min-height: 160px;
	resize: vertical;
}

.kahel-single-comments .comment-form input:focus,
.kahel-single-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--orange);
	box-shadow: var(--wp--preset--shadow--focus);
}

.kahel-single-comments .form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--wp--custom--button--min-height);
	padding: 0.75rem 1.125rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--ink);
	font-weight: var(--wp--custom--weight--strong);
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--button);
}

.kahel-single-related {
	padding: var(--wp--preset--spacing--100) 0;
	border-top: 1px solid var(--wp--preset--color--line);
}

.kahel-single-related-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: var(--wp--custom--letter-spacing--kicker);
	text-transform: uppercase;
}

.kahel-single-related-kicker::before {
	content: "";
	width: var(--wp--custom--single--kicker-rule);
	height: 3px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--orange);
}

.kahel-related-card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

@media (max-width: 700px) {
	.kahel-related-query .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* Pagination */
.kahel-pagination {
	margin-top: var(--wp--custom--pagination--margin-top);
	gap: var(--wp--custom--pagination--gap);
}

.kahel-pagination .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--wp--custom--pagination--gap);
}

.kahel-pagination .page-numbers,
.kahel-pagination .wp-block-query-pagination-previous,
.kahel-pagination .wp-block-query-pagination-next {
	box-sizing: border-box;
	display: inline-grid;
	place-items: center;
	min-width: var(--wp--custom--pagination--size);
	min-height: var(--wp--custom--pagination--size);
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--pagination--radius);
	font-size: 0.84rem;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	background: transparent;
}

.kahel-pagination .page-numbers:hover,
.kahel-pagination .wp-block-query-pagination-previous:hover,
.kahel-pagination .wp-block-query-pagination-next:hover {
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange-deep);
}

.kahel-pagination .page-numbers.current,
.kahel-pagination .page-numbers[aria-current="page"] {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--ink);
}

.kahel-pagination .page-numbers.dots {
	min-width: auto;
	border: 0;
	padding-inline: 4px;
}

@media (max-width: 560px) {
	.kahel-pagination {
		justify-content: flex-start;
		overflow-x: auto;
	}
}

/* Motion keyframes — theme.json can reference these, not declare them */
@keyframes kahel-rise {
	from {
		opacity: 0;
		transform: translateY(var(--wp--custom--motion--enter-distance));
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes kahel-fruit-float {
	0%,
	100% {
		transform: translate(-50%, -50%) translateY(0) rotate(-1.2deg);
	}

	50% {
		transform: translate(-50%, -50%) translateY(-12px) rotate(1.6deg);
	}
}

@keyframes kahel-smile {
	from {
		opacity: 0;
		transform: translateX(-50%) scaleX(0.55);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) scaleX(1);
	}
}

/* 404 — fruit decoration + card accents theme.json cannot express */
.kahel-404-search:focus-within {
	border-color: var(--wp--preset--color--orange);
	box-shadow: var(--wp--preset--shadow--focus);
}

.kahel-404-links a {
	text-decoration: none;
}

.kahel-404-fruit {
	position: absolute;
	width: 52%;
	aspect-ratio: 1;
	left: 50%;
	top: 49%;
	border-radius: 52% 48% 50% 50%;
	background: linear-gradient(
		145deg,
		#ff9d37,
		var(--wp--preset--color--orange) 60%,
		var(--wp--preset--color--orange-deep)
	);
	box-shadow:
		inset -22px -18px 34px rgba(110, 43, 3, 0.2),
		0 30px 60px rgba(106, 45, 5, 0.23);
	transform: translate(-50%, -50%);
	animation: kahel-fruit-float var(--wp--custom--motion--duration-float)
		var(--wp--custom--motion--ease-soft) infinite;
}

.kahel-404-fruit::before {
	content: "";
	position: absolute;
	width: 38%;
	height: 17%;
	top: -6%;
	left: 55%;
	border-radius: 100% 0 100% 0;
	background: var(--wp--preset--color--leaf);
	transform: rotate(-22deg);
}

.kahel-404-fruit-face::before,
.kahel-404-fruit-face::after {
	content: "";
	position: absolute;
	z-index: 1;
	width: 12px;
	height: 18px;
	top: 46%;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
}

.kahel-404-fruit-face::before {
	left: 38%;
}

.kahel-404-fruit-face::after {
	right: 38%;
}

.kahel-404-mouth {
	position: absolute;
	z-index: 1;
	width: 48px;
	height: 22px;
	left: 50%;
	top: 60%;
	transform: translateX(-50%);
	background: radial-gradient(
		ellipse 48px 40px at 50% -4px,
		transparent 58%,
		var(--wp--preset--color--ink) 59% 72%,
		transparent 73%
	);
	animation: kahel-smile var(--wp--custom--motion--duration-enter)
		var(--wp--custom--motion--ease) both;
	animation-delay: 220ms;
}

.kahel-404-recent-meta {
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.kahel-404-recent-query .wp-block-post:nth-child(2) .kahel-404-recent-card {
	background: var(--wp--preset--color--cream);
}

.kahel-404-recent-query .wp-block-post:nth-child(3) .kahel-404-recent-card {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--cream);
}

.kahel-404-recent-query .wp-block-post:nth-child(3) .kahel-404-recent-meta {
	color: var(--wp--preset--color--orange);
}

.kahel-404-recent-query .wp-block-post:nth-child(3) .kahel-404-recent-card-title a {
	color: inherit;
}

@media (max-width: 850px) {
	.kahel-404-hero {
		min-height: auto;
	}

	.kahel-404-visual {
		min-height: var(--wp--custom--error--visual-min-height-mobile);
	}
}

@media (max-width: 620px) {
	.kahel-404-hero {
		padding-top: 58px;
	}

	.kahel-404-search {
		border-radius: var(--wp--custom--radius--md);
	}

	.kahel-404-visual {
		min-height: 360px;
		border-radius: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-element-button,
	.wp-element-button:hover,
	.wp-element-button:active,
	a:where(:not(.wp-element-button)),
	.kahel-header-brand a::before,
	.kahel-404-search {
		transition: none !important;
		transform: none !important;
	}

	.kahel-404-title,
	.kahel-404-visual,
	.kahel-404-code,
	.kahel-404-fruit,
	.kahel-404-mouth {
		animation: none !important;
	}
}

/* Front page — decorations & layout theme.json cannot express */
body.home .kahel-header {
	background: transparent;
}

.kahel-home-topic--2 .kahel-home-topic-icon {
	background: var(--wp--preset--color--orange);
	border-color: var(--wp--preset--color--orange);
}

.kahel-home-topics > .wp-block-column:nth-child(even) .kahel-home-topic {
	margin-top: var(--wp--custom--home--topic-stagger);
}

.kahel-home-featured-query .wp-block-post-template {
	gap: var(--wp--custom--home--featured-grid-gap);
	align-items: start;
	grid-template-columns: var(--wp--custom--home--featured-columns);
}

.kahel-home-featured-query .wp-block-post:nth-child(2) {
	margin-top: var(--wp--custom--home--featured-offset);
}

.kahel-home-featured a:where(:not(.wp-element-button)) {
	color: inherit;
	text-decoration: none;
}

.kahel-home-project-terms {
	margin: 0;
	color: rgba(255, 244, 232, 0.65);
}

.kahel-home-featured-query .wp-block-post:nth-child(1) .kahel-home-project-result::before {
	content: "City notebook";
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-result::before {
	content: "Studio visit";
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual {
	min-height: var(--wp--custom--home--featured-visual-min-sm);
	background: var(--wp--preset--color--apricot);
}

/* Featured image when present; keep CSS placeholders otherwise */
.kahel-home-featured-query .kahel-home-project-visual:has(img) {
	background: transparent;
}

.kahel-home-featured-query .kahel-home-project-visual:has(img) .kahel-home-project-art,
.kahel-home-featured-query .kahel-home-project-visual:has(img)::before,
.kahel-home-featured-query .kahel-home-project-visual:has(img)::after {
	display: none;
}

.kahel-home-featured-query .kahel-home-project-visual:has(img) .kahel-home-project-media {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}

.kahel-home-featured-query .kahel-home-project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

/* Card 1 — browser mock (wireframe) */
.kahel-home-featured-query .wp-block-post:nth-child(1) .kahel-home-project-visual:not(:has(img)) .kahel-home-project-art {
	position: absolute;
	width: 72%;
	height: 74%;
	left: 14%;
	top: 13%;
	border-radius: 16px;
	background: #fffaf4;
	box-shadow: 0 26px 60px rgba(36, 23, 15, 0.24);
	transform: rotate(-3deg);
}

.kahel-home-featured-query .wp-block-post:nth-child(1) .kahel-home-project-visual:not(:has(img)) .kahel-home-project-art::before {
	content: "";
	position: absolute;
	inset: 8% 8% auto;
	height: 16%;
	border-radius: 8px;
	background: var(--wp--preset--color--ink);
	box-shadow:
		0 72px 0 var(--wp--preset--color--apricot),
		0 144px 0 #fff0df;
}

/* Card 2 — magazine mock (wireframe) */
.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img))::before,
.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img))::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img))::before {
	width: 62%;
	aspect-ratio: 1;
	left: -12%;
	bottom: -28%;
	background: var(--wp--preset--color--orange);
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img))::after {
	width: 45%;
	aspect-ratio: 1;
	right: -7%;
	top: -16%;
	border: clamp(35px, 5vw, 70px) solid var(--wp--preset--color--leaf);
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img)) .kahel-home-project-art {
	position: absolute;
	z-index: 1;
	width: 48%;
	height: 72%;
	left: 26%;
	top: 14%;
	display: grid;
	place-items: center;
	border: 2px solid var(--wp--preset--color--ink);
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--ink);
	font-size: clamp(2rem, 5vw, 5rem);
	font-weight: 900;
	letter-spacing: -0.08em;
	transform: rotate(5deg);
	box-shadow: 18px 20px 0 rgba(36, 23, 15, 0.18);
}

.kahel-home-featured-query .wp-block-post:nth-child(2) .kahel-home-project-visual:not(:has(img)) .kahel-home-project-art::before {
	content: "Sari";
}

.kahel-home-project-media,
.kahel-home-article-media {
	margin: 0;
	height: 100%;
	min-height: inherit;
}

.kahel-home-article-art:has(img) {
	background: transparent;
}

.kahel-home-article-art:has(img) .kahel-home-article-media {
	position: absolute;
	inset: 0;
}

.kahel-home-article-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.kahel-home-issue-intro {
	position: sticky;
	top: 32px;
	align-self: start;
}

.kahel-home-timeline {
	--kahel-timeline-pad: 72px;
	--kahel-timeline-dot: 34px;
	--kahel-timeline-line: 19px;
	position: relative;
	padding-left: var(--kahel-timeline-pad);
}

.kahel-home-timeline::before {
	content: "";
	position: absolute;
	left: var(--kahel-timeline-line);
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: linear-gradient(
		180deg,
		var(--wp--preset--color--orange),
		rgba(244, 122, 31, 0.18)
	);
}

.kahel-home-timeline-item {
	position: relative;
}

.kahel-home-timeline-item::before {
	content: "";
	position: absolute;
	left: calc(-1 * var(--kahel-timeline-pad));
	top: 0;
	width: var(--kahel-timeline-dot);
	height: var(--kahel-timeline-dot);
	border: 3px solid var(--wp--preset--color--orange);
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	box-shadow: 0 0 0 8px rgba(244, 122, 31, 0.05);
	box-sizing: border-box;
}

.kahel-home-about-fruit {
	position: absolute;
	width: min(58%, 350px);
	aspect-ratio: 1;
	border-radius: 52% 48% 50% 50%;
	left: 50%;
	top: 52%;
	transform: translate(-50%, -50%);
	background:
		radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.35), transparent 18%),
		linear-gradient(145deg, #ff9d37 0%, var(--wp--preset--color--orange) 60%, var(--wp--preset--color--orange-deep) 100%);
	box-shadow:
		inset -22px -18px 34px rgba(110, 43, 3, 0.2),
		0 28px 55px rgba(106, 45, 5, 0.23);
	animation: kahel-fruit-float var(--wp--custom--motion--duration-float)
		var(--wp--custom--motion--ease-soft) infinite;
}

.kahel-home-about-fruit::before,
.kahel-home-about-fruit::after {
	content: "";
	position: absolute;
	background: var(--wp--preset--color--leaf);
}

.kahel-home-about-fruit::before {
	width: 34%;
	height: 16%;
	border-radius: 100% 0 100% 0;
	top: -5%;
	left: 56%;
	transform: rotate(-22deg);
}

.kahel-home-about-fruit::after {
	width: 14px;
	height: 52px;
	border-radius: 999px;
	top: -8%;
	left: 48%;
	transform: rotate(8deg);
}

.kahel-home-latest-query .wp-block-post-template {
	gap: var(--wp--custom--home--latest-gap);
}

.kahel-home-article-art:not(:has(img))::before,
.kahel-home-article-art:not(:has(img))::after {
	content: "";
	position: absolute;
}

.kahel-home-article-art:not(:has(img))::before {
	width: 48%;
	aspect-ratio: 1;
	left: 13%;
	top: 22%;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	box-shadow: 80px 46px 0 rgba(255, 244, 232, 0.85);
}

.kahel-home-article-art:not(:has(img))::after {
	inset: auto 10% 12%;
	height: 12px;
	background: var(--wp--preset--color--ink);
	box-shadow: 0 -24px 0 var(--wp--preset--color--ink);
}

.kahel-home-latest-query .wp-block-post:nth-child(2) .kahel-home-article-art {
	background: var(--wp--preset--color--leaf);
}

.kahel-home-latest-query .wp-block-post:nth-child(3) .kahel-home-article-art {
	background: var(--wp--preset--color--ink);
}

.kahel-home-article-meta {
	margin: 20px 0 10px;
	color: var(--wp--preset--color--orange-deep);
	font-weight: var(--wp--custom--weight--strong);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.kahel-home-article-excerpt {
	margin: 14px 0 0;
	color: var(--wp--preset--color--muted);
}

.kahel-home-article-more {
	display: inline-flex;
	margin-top: 18px;
	color: var(--wp--preset--color--orange-deep);
	font-size: 0.88rem;
	font-weight: 850;
	text-decoration: none;
}

/* Outline CTA — beat solid pill .wp-element-button defaults */
.wp-block-button.kahel-button-outline .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--wp--custom--button--min-height);
	padding: 0 20px;
	border: 1.5px solid var(--wp--preset--color--orange);
	border-radius: var(--wp--custom--radius--md);
	background: transparent;
	color: var(--wp--preset--color--orange-deep);
	box-shadow: none;
	font-weight: 800;
	transform: none;
}

.wp-block-button.kahel-button-outline .wp-block-button__link.wp-element-button:hover,
.wp-block-button.kahel-button-outline .wp-block-button__link.wp-element-button:focus {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--ink);
	transform: none;
}

.kahel-home-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin-top: var(--wp--custom--home--actions-margin-top);
}

.kahel-home-actions .wp-block-buttons {
	width: auto;
	margin: 0;
}

.kahel-home-actions .wp-block-button {
	margin: 0;
}

.kahel-home-actions .kahel-home-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0 var(--wp--custom--home--text-link-gap);
}

/* Match preview: proof-section sits flush under archive (no blockGap). */
.kahel-home-archive-head.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--home--archive-columns);
	gap: var(--wp--custom--home--archive-head-gap);
	align-items: start;
}

.kahel-home-archive + .kahel-home-quote {
	margin-block-start: 0;
}

.kahel-home-quote-card {
	display: grid;
	grid-template-columns: var(--wp--custom--home--quote-columns);
	gap: var(--wp--custom--home--quote-gap);
	align-items: start;
	padding: var(--wp--custom--home--quote-padding);
	border-radius: var(--wp--custom--radius--default);
	background: var(--wp--preset--color--cream);
}

.kahel-home-quote-card > * {
	margin-block-start: 0;
}

.kahel-home-quote-mark {
	margin: 0;
	color: var(--wp--preset--color--orange);
	font-size: clamp(4rem, 7vw, 7rem);
	font-weight: 900;
	line-height: 0.7;
}

.kahel-home-quote-text {
	max-width: var(--wp--custom--home--quote-max);
	margin: 0;
	font-size: var(--wp--custom--home--quote-size);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.055em;
}

.kahel-home-quote-person {
	min-width: var(--wp--custom--home--quote-person-min);
	margin: 0;
}

.kahel-home-quote-person strong,
.kahel-home-quote-person span {
	display: block;
}

.kahel-home-quote-person span {
	margin-top: 4px;
	color: #6f5949;
}

@media (max-width: 900px) {
	.kahel-home-hero {
		min-height: auto;
	}

	.kahel-home-archive-head.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.kahel-home-topics > .wp-block-column:nth-child(even) .kahel-home-topic {
		margin-top: 28px;
	}

	.kahel-home-featured-query .wp-block-post:nth-child(2) {
		margin-top: 0;
	}

	.kahel-home-featured-query .wp-block-post-template {
		grid-template-columns: 1fr 1fr;
	}

	.kahel-home-issue-intro {
		position: static;
	}

	.kahel-archive-grid.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.kahel-archive-grid > .wp-block-post:nth-child(2),
	.kahel-archive-grid > .wp-block-post:nth-child(5) {
		transform: none;
	}
}

@media (max-width: 560px) {
	.kahel-home-topics > .wp-block-column:nth-child(even) .kahel-home-topic {
		margin-top: 0;
	}

	.kahel-home-timeline {
		--kahel-timeline-pad: 58px;
		--kahel-timeline-dot: 30px;
		--kahel-timeline-line: 16px;
	}

	.kahel-home-quote-card {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.kahel-home-quote-person {
		grid-column: 1 / -1;
	}

	.kahel-archive-header {
		padding-top: var(--wp--custom--stories--header-padding-top-mobile);
	}

	.kahel-archive-tools {
		align-items: flex-start;
		flex-direction: column;
	}

	.kahel-archive-grid.wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.kahel-archive-story-art {
		min-height: var(--wp--custom--stories--art-min-height-mobile);
	}
}

/* Stories archive — HTML/archive.html (grid stagger, filters, decorative art) */
.kahel-archive-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--stories--filter-gap);
}

.kahel-archive-filter {
	padding: var(--wp--custom--stories--filter-padding);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--custom--stories--filter-size);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.kahel-archive-filter:hover,
.kahel-archive-filter:focus-visible {
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange-deep);
}

.kahel-archive-filter.is-active,
.kahel-archive-filter[aria-current="page"] {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--ink);
}

.kahel-archive-grid.wp-block-post-template {
	gap: var(--wp--custom--stories--grid-row-gap) var(--wp--custom--stories--grid-column-gap);
}

.kahel-archive-grid > .wp-block-post {
	min-width: 0;
}

.kahel-archive-grid > .wp-block-post:nth-child(2),
.kahel-archive-grid > .wp-block-post:nth-child(5) {
	transform: translateY(var(--wp--custom--stories--story-stagger));
}

.kahel-archive-story-media {
	margin: 0;
}

.kahel-archive-story-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kahel-archive-story-art:has(img) {
	background: transparent;
}

.kahel-archive-story-art:has(img) .kahel-archive-story-media {
	position: absolute;
	inset: 0;
}

.kahel-archive-story-art:not(:has(img))::before,
.kahel-archive-story-art:not(:has(img))::after {
	content: "";
	position: absolute;
}

.kahel-archive-story-art:not(:has(img))::before {
	width: 44%;
	aspect-ratio: 1;
	left: 16%;
	top: 20%;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	box-shadow: 85px 52px 0 rgba(255, 244, 232, 0.85);
}

.kahel-archive-story-art:not(:has(img))::after {
	left: 10%;
	right: 10%;
	bottom: 13%;
	height: 10px;
	background: var(--wp--preset--color--ink);
	box-shadow: 0 -22px 0 var(--wp--preset--color--ink);
}

.kahel-archive-grid > .wp-block-post:nth-child(2) .kahel-archive-story-art:not(:has(img)) {
	background: var(--wp--preset--color--leaf);
}

.kahel-archive-grid > .wp-block-post:nth-child(3) .kahel-archive-story-art:not(:has(img)) {
	background: var(--wp--preset--color--ink);
}

.kahel-archive-grid > .wp-block-post:nth-child(4) .kahel-archive-story-art:not(:has(img)) {
	background: var(--wp--preset--color--orange);
}

.kahel-archive-grid > .wp-block-post:nth-child(5) .kahel-archive-story-art:not(:has(img)) {
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--line);
}

.kahel-archive-grid > .wp-block-post:nth-child(6) .kahel-archive-story-art:not(:has(img)) {
	background: var(--wp--custom--stories--art-warm);
}

.kahel-archive-grid > .wp-block-post:nth-child(even) .kahel-archive-story-art:not(:has(img))::before {
	left: 30%;
	border-radius: 50% 45% 48% 52%;
	box-shadow: none;
}

.kahel-archive-grid > .wp-block-post:nth-child(3n) .kahel-archive-story-art:not(:has(img))::after {
	inset: 15%;
	height: auto;
	border: 2px solid var(--wp--preset--color--apricot);
	background: transparent;
	box-shadow: none;
	transform: rotate(8deg);
}

.kahel-archive .kahel-pagination {
	margin: var(--wp--custom--pagination--margin-top) 0;
	justify-content: center;
}

.kahel-archive .kahel-pagination .wp-block-query-pagination-next {
	margin-left: var(--wp--custom--pagination--gap);
}

/* Contact patterns — HTML/contact.html grids & decorations */
.kahel-contact-hero-section {
	padding-top: var(--wp--custom--contact--hero-padding-top);
	padding-bottom: var(--wp--custom--contact--section-padding-y);
}

.kahel-contact-hero.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--contact--hero-columns);
	gap: var(--wp--custom--contact--hero-gap);
	align-items: end;
}

.kahel-contact-sun {
	display: block;
	width: var(--wp--custom--contact--sun-size);
	aspect-ratio: 1;
	margin-bottom: var(--wp--custom--contact--sun-margin-bottom);
	border-radius: 52% 48% 50% 50%;
	background: var(--wp--preset--color--orange);
	box-shadow: inset -7px -6px 12px rgba(110, 43, 3, 0.14);
}

.kahel-contact-routes-head.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--contact--routes-head-columns);
	gap: var(--wp--custom--contact--routes-head-gap);
	align-items: end;
	margin-bottom: var(--wp--custom--contact--routes-head-margin-bottom);
}

.kahel-contact-route-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--custom--contact--route-grid-gap);
}

.kahel-contact-route-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: var(--wp--custom--contact--route-card-min-height);
}

.kahel-contact-route-general .kahel-contact-route-number,
.kahel-contact-route-general .kahel-contact-route-link a {
	color: var(--wp--preset--color--orange);
}

.kahel-contact-pitch-section {
	padding-top: var(--wp--custom--contact--section-padding-y);
	padding-bottom: var(--wp--custom--contact--section-padding-y);
}

.kahel-contact-pitch.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--contact--pitch-columns);
	gap: var(--wp--custom--contact--pitch-gap);
	align-items: start;
}

.kahel-contact-pitch-intro {
	position: sticky;
	top: 40px;
}

.kahel-contact-pitch-actions {
	margin-top: var(--wp--custom--contact--pitch-button-margin-top);
}

.kahel-contact-pitch-step.wp-block-group {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: var(--wp--custom--contact--pitch-step-gap);
	align-items: start;
}

.kahel-contact-pitch-step-number {
	flex: 0 0 50px;
}

@media (max-width: 900px) {
	.kahel-contact-hero.wp-block-columns,
	.kahel-contact-routes-head.wp-block-columns,
	.kahel-contact-pitch.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.kahel-contact-route-grid.wp-block-columns {
		grid-template-columns: 1fr 1fr;
	}

	.kahel-contact-pitch-intro {
		position: static;
	}
}

@media (max-width: 620px) {
	.kahel-contact-hero-section {
		padding-top: var(--wp--custom--contact--hero-padding-top-mobile);
	}

	.kahel-contact-route-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.kahel-contact-route-card {
		min-height: var(--wp--custom--contact--route-card-min-height-mobile);
	}
}

/* Editorial / about patterns — HTML/about.html grids & decorations */
.kahel-editorial-hero.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--hero-columns);
	gap: var(--wp--custom--editorial--hero-gap);
	align-items: end;
}

.kahel-origin-split.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--split-columns);
	gap: var(--wp--custom--editorial--split-gap);
	align-items: center;
}

.kahel-origin-fruit {
	position: absolute;
	left: 50%;
	top: 52%;
	width: min(58%, 360px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 52% 48% 50% 50%;
	background:
		radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.4), transparent 18%),
		linear-gradient(145deg, #ff9d37, var(--wp--preset--color--orange) 60%, var(--wp--preset--color--orange-deep));
	box-shadow:
		inset -22px -18px 34px rgba(110, 43, 3, 0.2),
		0 28px 55px rgba(106, 45, 5, 0.23);
}

.kahel-origin-fruit::before,
.kahel-origin-fruit::after {
	content: "";
	position: absolute;
	background: var(--wp--preset--color--leaf);
}

.kahel-origin-fruit::before {
	width: 35%;
	height: 16%;
	top: -5%;
	left: 56%;
	transform: rotate(-22deg);
	border-radius: 100% 0 100% 0;
}

.kahel-origin-fruit::after {
	width: 14px;
	height: 52px;
	top: -8%;
	left: 48%;
	transform: rotate(8deg);
	border-radius: 999px;
}

.kahel-purpose-inner.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--purpose-columns);
	gap: var(--wp--custom--editorial--purpose-gap);
	align-items: start;
}

.kahel-principles-head.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--principles-head-columns);
	gap: var(--wp--custom--editorial--principles-head-gap);
	align-items: end;
	margin-bottom: var(--wp--custom--editorial--principles-head-margin-bottom);
}

.kahel-principles-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--custom--editorial--principles-grid-gap);
}

.kahel-principle-card {
	height: 100%;
}

.kahel-principle-card--ink .kahel-principle-number {
	color: var(--wp--preset--color--orange);
}

.kahel-audience.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--audience-columns);
	gap: var(--wp--custom--editorial--audience-gap);
	align-items: start;
}

.kahel-audience-item {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: var(--wp--custom--editorial--audience-item-gap);
	align-items: start;
}

.kahel-cta-panel.wp-block-columns {
	display: grid;
	grid-template-columns: var(--wp--custom--editorial--cta-columns);
	gap: var(--wp--custom--editorial--cta-gap);
	align-items: end;
}

@media (max-width: 900px) {
	.kahel-editorial-hero.wp-block-columns,
	.kahel-origin-split.wp-block-columns,
	.kahel-purpose-inner.wp-block-columns,
	.kahel-principles-head.wp-block-columns,
	.kahel-audience.wp-block-columns,
	.kahel-cta-panel.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.kahel-editorial-hero-note {
		max-width: 520px;
	}

	.kahel-origin-visual {
		min-height: var(--wp--custom--editorial--split-visual-min-tablet);
	}

	.kahel-audience-intro {
		position: static;
	}
}

@media (max-width: 620px) {
	.kahel-editorial-hero-section {
		padding-top: var(--wp--custom--editorial--hero-padding-top-mobile);
	}

	.kahel-origin-visual {
		min-height: var(--wp--custom--editorial--split-visual-min-mobile);
		border-radius: var(--wp--custom--editorial--radius-mobile);
	}

	.kahel-principles-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.kahel-principle-card {
		min-height: var(--wp--custom--editorial--principle-card-min-height-mobile);
	}

	.kahel-editorial-quote,
	.kahel-cta-panel {
		border-radius: var(--wp--custom--editorial--radius-mobile);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kahel-home-about-fruit,
	.kahel-home-topic,
	.kahel-archive-grid > .wp-block-post:nth-child(2),
	.kahel-archive-grid > .wp-block-post:nth-child(5) {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
