/* Kamala Studio – layout and component styles on top of theme.json. */

:root {
	--k-ink: var(--wp--preset--color--ink, #1c1318);
	--k-muted: var(--wp--preset--color--muted, #6b5e64);
	--k-line: var(--wp--preset--color--line, #e6dbd4);
	--k-base: var(--wp--preset--color--base, #faf6f2);
	--k-sand: var(--wp--preset--color--sand, #f1e8e2);
	--k-rose: var(--wp--preset--color--rose, #d9a38f);
	--k-rose-deep: var(--wp--preset--color--rose-deep, #8f4f3e);
	--k-radius: 20px;
	--k-gutter: clamp(1rem, 4vw, 2.5rem);
}

html { scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: color-mix(in oklab, var(--k-rose) 45%, #fff); color: var(--k-ink); }

:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--k-rose-deep); outline-offset: 3px; }

.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.k-main { margin-block-start: 0 !important; }

/* ------------------------------------------------------------- buttons */

.wp-element-button, .wp-block-button__link { transition: background-color .15s, color .15s, box-shadow .15s; }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--k-ink);
	border: 0;
	box-shadow: inset 0 0 0 1.5px var(--k-ink);
	padding: 0.9rem 1.6rem;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--k-ink); color: #fff; }
.k-btn-small .wp-block-button__link { padding: 0.65rem 1.15rem; font-size: 0.9375rem; }

/* -------------------------------------------------------------- header */

.k-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--k-base);
	box-shadow: 0 1px 0 transparent;
	transition: box-shadow .2s;
}

.admin-bar .k-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.k-scrolled .k-site-header { box-shadow: 0 1px 0 var(--k-line); }

.k-header { padding-block: 14px; }
.k-header-inner { gap: 20px; }
.k-header-right { gap: 22px; }

.k-wordmark { margin: 0; white-space: nowrap; }
.k-wordmark a { color: var(--k-ink); }

.k-nav .wp-block-navigation-item__content { padding: 6px 2px; color: var(--k-ink); }
.k-nav .wp-block-navigation-item__content:hover { color: var(--k-rose-deep); }
.k-nav .wp-block-navigation__container { gap: 22px; }
@media (min-width: 1340px) { .k-nav .wp-block-navigation__container { gap: 16px; } .k-header-right { gap: 16px; } }

/* mobile overlay */
.k-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px var(--k-gutter);
	background: var(--k-base);
	color: var(--k-ink);
}

.k-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; }
.k-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-weight: 600;
}

.k-nav .wp-block-navigation__responsive-container-open svg,
.k-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* language switch (plugin block stempelkarte/sprache) */
.stk-lang-switch {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid var(--k-line);
	border-radius: 99px;
	color: var(--k-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.k-header-cta .wp-block-button__link { white-space: nowrap; }
@media (max-width: 420px) { .stk-lang-switch { min-width: 32px; height: 30px; padding: 0 6px; } .k-header-right { gap: 8px !important; } }
.k-nav .is-menu-open .stk-lang-switch { height: 40px; min-width: 56px; margin-top: 12px; font-size: 0.875rem; }
.stk-lang-switch:hover { border-color: var(--k-ink); }
.stk-lang-switch:focus-visible { outline: 2px solid var(--k-rose-deep); outline-offset: 2px; }

@media (max-width: 599px) {
	.k-header-right { gap: 10px; }
	.k-header-cta { order: -1; }
	.k-wordmark { font-size: 1.5rem !important; }
}

@media (min-width: 600px) {
	.k-nav .k-nav-account .wp-block-navigation-item__content { color: var(--k-muted); }
}

/* Nine menu links: the full menu needs about 1340px, below that the menu button is shown. */
@media (min-width: 600px) and (max-width: 1339px) {
	.k-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.k-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.k-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
	.k-nav .k-nav-account .wp-block-navigation-item__content { color: var(--k-ink); }
}

/* ------------------------------------------------------------ sections */

.k-section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.k-section + .k-section { padding-top: 0; }

.k-section-head { max-width: 680px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.k-section-head h2 { margin: 0 0 0.6rem; }
.k-section-head p { margin: 0; color: var(--k-muted); font-size: 1.0625rem; }
.k-section-actions { margin-top: 2rem; }

/* ---------------------------------------------------------------- hero */

.k-hero { padding-top: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.k-hero-cols { gap: clamp(2rem, 6vw, 4.5rem); margin: 0; }

.k-kicker {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--k-rose-deep);
}

.k-hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.75rem, 6.4vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.k-hero-lead { max-width: 34rem; margin: 0 0 1.75rem; font-size: 1.1875rem; line-height: 1.6; color: var(--k-muted); }
.k-hero-actions { gap: 12px; }
.k-hero-note { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--k-muted); }

.k-hero-media {
	display: grid !important;
	grid-template-columns: 1.45fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	min-width: 0;
}

.k-hero-media > * { margin: 0 !important; }
.k-hero-img { display: block !important; width: 100%; height: 100%; min-width: 0; }
.k-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--k-radius); }
.k-hero-img-main { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }

/* ------------------------------------------------------------ services */

.k-services .stk-pricelist { --stk-accent: var(--k-rose); }

/* ------------------------------------------------------------- gallery */

.k-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

@media (min-width: 782px) {
	.k-gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

.k-gallery > * { margin: 0 !important; display: block !important; width: 100%; }
.k-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }

/* --------------------------------------------------------------- visit */

.k-visit-cols { gap: 16px; margin: 0; }

.k-visit-card {
	padding: 24px;
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius);
	background: #fff;
}

.k-visit-card h3 { margin: 0 0 0.5rem; }
.k-visit-card p { margin: 0 0 0.75rem; color: var(--k-muted); }
.k-visit-card p:last-child { margin-bottom: 0; }
.k-visit-link a { color: var(--k-ink); font-weight: 600; text-underline-offset: 4px; }

/* -------------------------------------------------------------- footer */

.k-site-footer { margin-top: 0; }

.k-footer {
	padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
	background: var(--k-ink);
	color: color-mix(in oklab, #fff 78%, var(--k-ink));
}

.k-footer .k-wordmark a { color: #fff; }
.k-footer-cols { gap: 28px; margin: 0 0 2.5rem; }
.k-footer-text { margin: 0.75rem 0 0; font-size: 0.9375rem; line-height: 1.6; }

.k-footer-h {
	margin: 0 0 0.6rem !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.875rem !important;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--k-rose) !important;
}

.k-footer-links { margin: 0; font-size: 0.9375rem; line-height: 2; }
.k-footer-links a { color: color-mix(in oklab, #fff 86%, var(--k-ink)); text-decoration: none; }
.k-footer-links a:hover { color: #fff; text-decoration: underline; }

.k-footer-legal {
	margin: 0;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in oklab, #fff 14%, transparent);
	font-size: 0.8125rem;
	color: color-mix(in oklab, #fff 55%, var(--k-ink));
}

/* --------------------------------------------------------------- pages */

.k-page { padding-block: clamp(2rem, 6vw, 4rem) clamp(3.5rem, 8vw, 6rem); }
.k-page-title { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem) !important; font-size: clamp(2.5rem, 5.5vw, 4rem) !important; }
.k-page-title:has(+ .k-page-lead) { margin-bottom: .75rem !important; }
.k-page-lead { max-width: 640px; margin: 0 0 clamp(1.75rem, 4vw, 2.75rem) !important; color: var(--k-muted); font-size: 1.125rem; }
.k-page-content > h2 { margin-top: 2.5rem; }
.k-page-content > p, .k-page-content > ul, .k-page-content > ol { color: color-mix(in oklab, var(--k-ink) 88%, var(--k-muted)); }
.k-meta { color: var(--k-muted); font-size: 0.9375rem; }
.k-post-item { padding-block: 1.5rem; border-bottom: 1px solid var(--k-line); }

/* plugin blocks inside pages */
.k-page .stk-signup { margin-top: 0; }
.k-page-wide .stk-bk { margin-top: 0; }
.k-workshops .stk-ws { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* hide the loyalty section when the plugin is not active */
.k-loyalty:not(:has(.stk-teaser)) { display: none; }

/* Course page facts and footer newsletter */
.k-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 0 0 2.5rem !important; padding: 0 !important; list-style: none; }
.k-facts li { padding: 18px 20px; border-radius: 20px; background: var(--k-sand, #f1e8e2); line-height: 1.4; color: var(--k-ink); }
.k-facts li strong { display: block; font-family: var(--wp--preset--font-family--display, "Cormorant Garamond", serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.k-footer-nl { margin-top: 1.75rem; }

/* ============================================================ Schulung */

.k-schulung { --k-sch-gap: clamp(1.25rem, 3vw, 2rem); }
.k-schulung h2 { text-wrap: balance; }
.k-schulung img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-schulung figure { margin: 0; }

/* Hero */
.k-sch-hero { padding-top: clamp(1.5rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.k-sch-hero-cols { gap: clamp(2rem, 6vw, 4.5rem); margin: 0; }
.k-sch-title { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.k-sch-lead { max-width: 34rem; margin: 0 0 1.75rem; font-size: 1.1875rem; line-height: 1.6; color: var(--k-muted); }
.k-sch-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 34rem; margin: 0 0 2rem; }
.k-sch-facts div { padding: 14px 16px 12px; border-radius: 16px; background: var(--k-sand); }
.k-sch-facts dt { font-family: var(--wp--preset--font-family--display, "Cormorant Garamond", serif); font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 600; line-height: 1; color: var(--k-ink); }
.k-sch-facts dd { margin: 4px 0 0; font-size: 0.875rem; line-height: 1.35; color: var(--k-muted); }
.k-sch-actions { gap: 10px; margin: 0 0 1.25rem; }
.k-sch-note { margin: 0; font-size: 0.9375rem; color: var(--k-muted); }

.k-sch-hero-media { position: relative; padding-bottom: 12%; }
.k-sch-hero-main { aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 28px; }
.k-sch-hero-inset { position: absolute; left: -12%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 6px var(--k-base), 0 24px 48px -24px rgba(28, 19, 24, .45); }
@media (max-width: 781px) {
	.k-sch-hero-media { margin-top: 1rem; padding-bottom: 18%; }
	.k-sch-hero-inset { left: auto; right: 6%; width: 48%; }
}

/* Pillars */
.k-sch-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--k-sch-gap); margin: 0; padding: 0; list-style: none; }
.k-sch-pillars li { padding: 1.25rem 0 0.5rem; border-top: 1.5px solid var(--k-ink); }
.k-sch-num { display: block; margin-bottom: 1rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; color: var(--k-rose-deep); }
.k-sch-pillars h3 { margin: 0 0 .5rem; font-family: var(--wp--preset--font-family--display, "Cormorant Garamond", serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.k-sch-pillars p { margin: 0; color: var(--k-muted); line-height: 1.6; }

/* Timeline */
.k-sch-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--k-sch-gap); margin: 0; padding: 0; list-style: none; counter-reset: day; }
.k-sch-timeline li { display: flex; flex-direction: column; gap: 0; }
.k-sch-timeline li > div { padding-top: 1rem; }
.k-sch-timeline figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--k-sand); }
.k-sch-day { display: inline-block; margin: 0 0 .5rem; padding: 3px 12px; border-radius: 99px; background: var(--k-ink); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.k-sch-timeline h3 { margin: 0 0 .4rem; font-size: 1.125rem; }
.k-sch-timeline p { margin: 0; color: var(--k-muted); line-height: 1.6; font-size: 0.9688rem; }
@media (max-width: 1000px) { .k-sch-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.k-sch-timeline { grid-template-columns: 1fr; gap: 1.5rem; }
	.k-sch-timeline li { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; align-items: start; }
	.k-sch-timeline li > div { padding-top: 0; }
	.k-sch-timeline figure { aspect-ratio: 4 / 5; border-radius: 16px; }
	.k-sch-timeline p:not(.k-sch-day) { font-size: 0.9375rem; }
}

/* Before / after */
.k-sch-ba { background: var(--k-ink); color: #f7efeb; }
.k-section + .k-sch-ba { padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.k-sch-ba + .k-section { padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.k-sch-ba-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--k-sch-gap); align-items: center; }
.k-sch-ba .k-kicker { color: var(--k-rose); }
.k-sch-ba h2 { margin: 0 0 1rem; color: #fff; }
.k-sch-ba-text p:last-child { margin: 0; color: color-mix(in oklab, #fff 72%, var(--k-ink)); line-height: 1.6; }
.k-sch-ba-img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 20px; }
.k-sch-ba-img figcaption { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 99px; background: rgba(28, 19, 24, .78); color: #fff; font-size: 0.8125rem; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.k-sch-ba-img + .k-sch-ba-img figcaption { background: var(--k-rose); color: var(--k-ink); }
@media (max-width: 781px) {
	.k-sch-ba-grid { grid-template-columns: 1fr 1fr; }
	.k-sch-ba-text { grid-column: 1 / -1; }
}

/* Learn / get */
.k-sch-learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.k-sch-learn h2 { margin: 0 0 1.25rem; }
.k-sch-checks, .k-sch-gets { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.k-sch-checks li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--k-line); font-size: 1.0625rem; }
.k-sch-checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--k-rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1318' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.k-sch-gets li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--k-line); }
.k-sch-gets b { font-size: 1.0625rem; }
.k-sch-gets span { color: var(--k-muted); line-height: 1.55; }

/* Voices */
.k-sch-voices-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: var(--k-sch-gap); align-items: stretch; }
.k-sch-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 24px; background: var(--k-sand); }
.k-sch-quote blockquote { margin: 0; padding: 0; border: 0; }
.k-sch-quote blockquote p { margin: 0; font-family: var(--wp--preset--font-family--display, "Cormorant Garamond", serif); font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: var(--k-ink); }
.k-sch-quote.is-big { background: var(--k-rose); }
.k-sch-quote.is-big blockquote p { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; line-height: 1.05; }
.k-sch-quote figcaption { font-size: 0.875rem; color: color-mix(in oklab, var(--k-ink) 70%, transparent); }
.k-sch-voices-img { overflow: hidden; border-radius: 24px; min-height: 240px; }
@media (max-width: 900px) {
	.k-sch-voices-grid { grid-template-columns: 1fr 1fr; }
	.k-sch-quote.is-big { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.k-sch-voices-grid { grid-template-columns: 1fr; }
	.k-sch-voices-img { display: none; }
}

/* Model */
.k-sch-model-card { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1rem, 2vw, 1.25rem); border: 1px solid var(--k-line); border-radius: 28px; background: #fff; }
.k-sch-model-card figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; }
.k-sch-model-card > div { padding: clamp(0.5rem, 2vw, 1.5rem) clamp(0.5rem, 2vw, 1.5rem) clamp(0.5rem, 2vw, 1.5rem) 0; }
.k-sch-model-card h2 { margin: 0 0 1rem; }
.k-sch-model-card p { margin: 0 0 1.25rem; line-height: 1.6; color: var(--k-muted); }
.k-sch-link { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 99px; background: var(--k-ink); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.k-sch-link:hover { background: color-mix(in oklab, var(--k-ink) 85%, #fff); }
@media (max-width: 640px) {
	.k-sch-model-card { grid-template-columns: 1fr; }
	.k-sch-model-card figure { aspect-ratio: 16 / 10; }
	.k-sch-model-card > div { padding: 0 0.5rem 0.75rem; }
}

/* FAQ */
.k-sch-faq h2 { margin: 0 0 1.25rem; }
.k-sch-faq-list details { border-bottom: 1px solid var(--k-line); }
.k-sch-faq-list details:first-child { border-top: 1px solid var(--k-line); }
.k-sch-faq-list summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; font-weight: 700; font-size: 1.0625rem; list-style: none; }
.k-sch-faq-list summary::-webkit-details-marker { display: none; }
.k-sch-faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--k-ink); border-bottom: 2px solid var(--k-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.k-sch-faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.k-sch-faq-list details p { margin: 0 0 18px; max-width: 42rem; color: var(--k-muted); line-height: 1.65; }

/* Form section */
.k-sch-form .stk-inq-box { margin-top: 0; }

/* Sticky CTA on phones */
.k-sch-sticky { display: none; }
@media (max-width: 781px) {
	.k-sch-sticky {
		position: fixed;
		left: 16px;
		right: 16px;
		bottom: max(14px, env(safe-area-inset-bottom));
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 54px;
		border-radius: 99px;
		background: var(--k-ink);
		color: #fff !important;
		font-weight: 700;
		text-decoration: none !important;
		box-shadow: 0 16px 36px -14px rgba(28, 19, 24, .6);
		transition: transform .25s, opacity .2s;
	}
	.k-sch-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
	.k-schulung { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .k-sch-sticky { transition: none; } }

/* Schulung: teaching photos */
.k-sch-class-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.k-sch-class-head h2 { margin: 0; }
.k-sch-class-head p { margin: 0; color: var(--k-muted); font-size: 1.0625rem; line-height: 1.6; }
.k-sch-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 19vw, 250px); gap: 12px; }
.k-sch-mosaic figure { overflow: hidden; border-radius: 20px; background: var(--k-sand); }
.k-sch-mosaic .is-wide { grid-column: span 2; grid-row: span 2; }
.k-sch-mosaic .is-tall { grid-row: span 2; }
.k-sch-mosaic .is-tall img { object-position: 40% 30%; }
.k-sch-mosaic .is-wide img { object-position: 50% 10%; }
.k-sch-mosaic figure:nth-child(n+3) img { object-position: 50% 25%; }
@media (max-width: 781px) {
	.k-sch-class-head { grid-template-columns: 1fr; }
	.k-sch-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; }
	.k-sch-mosaic .is-wide { grid-column: 1 / -1; grid-row: span 1; }
	.k-sch-mosaic .is-tall { grid-row: span 1; }
	.k-sch-mosaic figure { border-radius: 16px; }
	.k-sch-mosaic figure:last-child { display: none; }
	.k-sch-mosaic .is-tall { grid-column: auto; }
}
